//Legacy Scriptage
//NH1655520070606

if(parseURL(document.location, "popup") || parseURL(document.location, "Popup"))
		document.location.replace("/residential/products/wireless/coverage/popup.html");	
	  var g_navNode_Path = new Array();
   
      g_navNode_Path[0] = '5';
   
      g_navNode_Path[1] = '39';
   
      g_navNode_Path[2] = '12';
   
      g_navNode_Path[3] = '46';
   
      g_navNode_Path[4] = '178';
   
   var g_ssSourceNodeId = "178";
   var g_ssSourceSiteId = "5";
   var g_strLanguageId = "en";
  function SiteStudioPopupMexico(path)
  { 
    if(path=="residential") 	
  	 {popup_window = window.open('http://www.qwest.com/residential/productsandservices/wireless/coverage/MexicoRoamingCoverage/index.html', 'MexicoCoverage', "scrollbars=yes, height=500, width=800");}
  	else
  	  {popup_window = window.open('http://www.qwest.com/smallbusiness/productsandservices/wireless/coverage/MexicoRoamingCoverage/index.html', 'MexicoCoverage', "scrollbars=yes, height=500, width=800");}
  }
  
  function SiteStudioPopupCanada(path)
  {  
    if(path=="residential") 	
  	 {popup_window = window.open('http://www.qwest.com/residential/productsandservices/wireless/coverage/CanadaRoamingCoverage/index.html', 'CanadaCoverage', "scrollbars=yes, height=500, width=800");}
  	else
  	  {popup_window = window.open('http://www.qwest.com/smallbusiness/productsandservices/wireless/coverage/CanadaRoamingCoverage/index.html', 'CanadaCoverage', "scrollbars=yes, height=500, width=800");}
  }
  
  function SiteStudioPopupAdvancedDataServices(path)
  {  	
  	if(path=="residential") 	
  	 {popup_window = window.open('http://www.qwest.com/residential/productsandservices/wireless/coverage/AdvancedDataServicesMap/index.html', 'AdvancedDataServicesCoverage', "scrollbars=yes, height=500, width=800");}
    else
    {popup_window = window.open('http://www.qwest.com/smallbusiness/productsandservices/wireless/coverage/AdvancedDataServicesMap/index.html', 'AdvancedDataServicesCoverage', "scrollbars=yes, height=500, width=800");}
  }

  function SiteStudioPopup(popupURL, winName, winHeight, winWidth)
  {  
    
  		        
  	popup_window = window.open(popupURL, winName, "scrollbars=yes, height=" +winHeight + ",width=" + winWidth);  	
  }
  function delayClose(){
	try{
		if(window.opener){
			setTimeout("window.close()","200");
		}
   	} catch (e){
		alert(e.message);
	}
  }

	function loadFeaturePopup(productID,marketSegment) {
	        window.open("https://shop.qwest.com/en/US/wireless/service?cmd=QWEC_FeaturePopup&productId=" + productID +"&showPrice=false&marketSegment=" + marketSegment, "Qwest", "width=452, height=630, scrollbars=yes");
	}

    function loadPhonePopup(productID,marketSegment) {
      window.open("https://shop.qwest.com/en/US/wireless/service?cmd=QW_PhonePopup&productId=" + productID +"&marketSegment=" + marketSegment, "Qwest", "width=452, height=630, scrollbars=yes");
    }

    function loadAccessoryPopup(productID,marketSegment) {    
	    window.open("https://shop.qwest.com/en/US/wireless/service?cmd=QWEC_AccesoryPopup&productId=" + productID +"&marketSegment=" + marketSegment, "Qwest", "width=452, height=630, scrollbars=yes");
	}

    function loadPlanPopup(productID,marketSegment) {
	    window.open("https://shop.qwest.com/en/US/wireless/service?cmd=QWEC_PlanPopup&productId=" + productID +"&showPrice=false&marketSegment=" + marketSegment, "Qwest", "width=452, height=630, scrollbars=yes");
	}

    function SS_loadPhoneDetailPage(productID, marketSegment) {      
	    window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QW_PhonesList&marketSegment=" + marketSegment + "&selectedPhoneForDetail=" + productID;      
	}

    function SS_loadPlanDetailPage(productID, marketSegment) {      
	    window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QW_PlansList&marketSegment=" + marketSegment + "&selectedPlanForDetail=" + productID;
	}

    function SS_loadPromotionOrderingPage(promotionID, marketSegment) {        
	      window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QW_Promotion&promotionid=" + promotionID + "&marketSegment=" + marketSegment;
	}

    function SS_loadWirelessLoginPage(marketSegment) {
	    window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QWEC_LoginPageDisplay&marketSegment=" + marketSegment;
	}

    function SS_loadWirelessFeaturesPage(marketSegment) {
	    window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QW_FeaturesList&marketSegment=" + marketSegment;
	}

    function SS_loadWirelessAccessoriesPage(marketSegment) {
	    window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QW_Accessories&action=addAccessories&marketSegment=" + marketSegment;	    
	}

    function SS_loadWirelessPhoneListPage(marketSegment) {
	    window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QW_PhonesList&marketSegment=" + marketSegment;
	}

    function SS_loadWirelessPlanListPage(marketSegment) {
	    window.location = "https://shop.qwest.com/en/US/wireless/service?cmd=QW_PlansList&marketSegment=" + marketSegment;
	}