//Partners
function setPartner()
{     
     var hasQueryString = document.URL.indexOf('?');
     var partnerID = "";  
     var fo;	 	   
     if (hasQueryString != -1) 
     {     
        partnerID = document.URL.substring(hasQueryString+1, document.URL.length);      
        
         switch (partnerID)
         {  
            case "id=lenovo":                
				document.body.style.display = "block";				
				document.getElementById("contentshell").style.display = "block";

				//Small Pods
				document.getElementById('smpod1text').innerHTML = "<a href=\"coverage.htm\" name=\"&lid=Lenovo Coverage and Speeds Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById('smpod2text').innerHTML = "<a href=\"pricing_builtIn.htm\" name=\"&lid=Lenovo Pricing Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById("smpod3hdr").innerHTML = "Promotions";
				document.getElementById("smpod3text").innerHTML = 'Get the latest on<br />Mobile Broadband<br />offers and promotions.</div><div class="smpodtext" style="padding-top:8px;padding-bottom:20px;"><a href="promotions.html?id=Lenovo" name="&lid=Promotion Learn More clicked" class="learnlink">Learn More</a>';
				document.getElementById("smpod4hdr").innerHTML = "Lenovo Products";
				document.getElementById("smpod4text").innerHTML = "Find a Lenovo<br />notebook equipped with Mobile Broadband<br />Built-In.</div><div class=\"smpodtext\" style=\"padding-top:8px;padding-bottom:20px;\"><a href=\"http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/special-offers.workflow:ShowPromo?LandingPage=/All/US/Landing_pages/WWAN/2006_10_wwan_verizon_notebooks_283300\" name=\"&lid=Lenovo Products Learn More clicked\" target=\"_blank\" class=\"learnlink\">Learn More</a>";
				//Flash Pods
				fo = new FlashObject("flash/spotlight/BBA_Spotlight_lenovo.swf", "spotlight", "550", "225", "6", "#fff");	
				fo.setAltContent("<img src='imgs/alt_hp_bba_spotlight.jpg'  width='200' height='81' border='0' usemap='#hp_nonFlash'/>")   

				//Promo Pods     				
                document.images["imgPromo3"].src = "imgs/100_rebate.gif";
				document.images["imgPromo3"].alt = "Get a $100 Mail-In Rebate Debit Card";        
				
                document.getElementById("billCreditLink").innerHTML = '<a id="promo2Link" href="promotions.html?id=Lenovo" name="&lid=Promotion Learn More clicked" class="learnlink"><img src="imgs/learn_more.jpg" style="border:none" border="0"/></a>';
				document.getElementById("promo2Link").onclick = function() {
					_hbLink('Its the Network Learn More Clicked');
				};
				//document.getElementById("P3Partner").innerHTML = "Lenovo"
				document.getElementById("Network_pod").style.display = "block";
				document.getElementById("MIR_pod").style.display = "none";
				
				document.getElementById("promo3Link").innerHTML = "<a onclick=\"window.open(\'documents/Lenovo_rebate_0409.pdf\',\'popup1\',\'width=620,height=580,scrollbars=yes,resizable=yes,toolbar=no\'); return false; _hbLink(\'Rebate learn more Clicked\');\" href=\"#\" target=\"_blank\" class=\"learnlink\"><img src=\"imgs/learn_more.jpg\" style=\"border:none;padding-top:12px;\" border=\"0\"/></a>";

				//footer rebate text
				//document.getElementById("footer_rebate").innerHTML = "$100 rebate only available with minimum 2-yr customer agreement on BroadbandAccess Plan $59.99 or higher.";
				document.getElementById("footer_rebate").innerHTML = "";

				//SpotlightTag				
				var axel = Math.random();
				var a = axel * 10000000000000;
				document.getElementById("spotlightTag").innerHTML = '<IFRAME SRC=\"http://fls.doubleclick.net/activityi;src=685973;type=vzwsp762;cat=bbami994;ord='+ a + '?\" WIDTH=1 HEIGHT=1 FRAMEBORDER=0></IFRAME>';	
            break; 
			
			case "id=hp":
			    document.body.style.display = "block";				
				document.getElementById("contentshell").style.display = "block";

				//Small Pods
				document.getElementById('smpod1text').innerHTML = "<a href=\"coverage.htm\" name=\"&lid=HP Coverage and Speeds Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById('smpod2text').innerHTML = "<a href=\"pricing_builtIn.htm\" name=\"&lid=HP Pricing Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById("smpod3hdr").innerHTML = "Promotions";
				document.getElementById("smpod3text").innerHTML = "Get the latest on<br />Mobile Broadband<br />offers and promotions.</div><div class=\"smpodtext\" style=\"padding-top:8px;padding-bottom:20px;\"><a href=\"promotions.html?id=HP\" name=\"&lid=HP Promotions Clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById("smpod4hdr").innerHTML = "HP Products";
				document.getElementById("smpod4text").innerHTML = "Find an HP notebook equipped with Mobile Broadband Built-In.</div><div class=\"smpodtext\" style=\"padding-top:8px;padding-bottom:20px;\"><a href=\"http://www.hp.com/sbso/wireless/wwan-ntbks-gobiwireless.html\" name=\"&lid=HP Products Clicked\" target=\"_blank\" class=\"learnlink\">Learn More</a>";
				//Flash Pods
				fo = new FlashObject("flash/spotlight/BBA_Spotlight_HP2.swf", "spotlight", "550", "225", "6", "#fff");	
				fo.setAltContent("<img src='imgs/alt_hp_bba_spotlight.jpg'  width='200' height='81' border='0' usemap='#hp_nonFlash'/>")   

				//Promo Pods     				
                document.images["imgPromo3"].src = "imgs/100_rebate.gif";
				document.images["imgPromo3"].alt = "Get a $100 Mail-In Rebate Debit Card";        
                document.getElementById("billCreditLink").innerHTML = '<a id="promo2Link" href="promotions.html?id=HP" name="&lid=Promotion Learn More clicked" class="learnlink"><img src="imgs/learn_more.jpg" style="border:none" border="0"/></a>';
				document.getElementById("promo2Link").onclick = function() {
					_hbLink('Its the Network Learn More Clicked');
				};
				
				document.getElementById("Network_pod").style.display = "block";
				document.getElementById("MIR_pod").style.display = "none";
				
				document.getElementById("promo3Link").innerHTML = "<a onclick=\"window.open(\'documents/HP_rebate_0409.pdf\',\'popup1\',\'width=620,height=580,scrollbars=yes,resizable=yes,toolbar=no\'); return false; _hbLink(\'Rebate learn more Clicked\');\" href=\"#\" target=\"_blank\" class=\"learnlink\"><img src=\"imgs/learn_more.jpg\" style=\"border:none;padding-top:12px;\" border=\"0\"/></a>";

				//footer rebate text
				//document.getElementById("footer_rebate").innerHTML = "$100 rebate only available with minimum 2-yr customer agreement on BroadbandAccess Plan $59.99 or higher.";
				document.getElementById("footer_rebate").innerHTML = "";

				//SpotlightTag				
				var axel = Math.random();
				var a = axel * 10000000000000;
				document.getElementById("spotlightTag").innerHTML = '<IFRAME SRC=\"http://fls.doubleclick.net/activityi;src=685973;type=vzwsp762;cat=bbami994;ord='+ a + '?\" WIDTH=1 HEIGHT=1 FRAMEBORDER=0></IFRAME>';								
									
            break;
            
            case "id=dell":
                document.body.style.display = "block";
				document.getElementById("contentshell").style.display = "block";

				//Small Pods
				document.getElementById('smpod1text').innerHTML = "<a href=\"coverage.htm\" name=\"&lid=Dell Coverage and Speeds Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById('smpod2text').innerHTML = "<a href=\"pricing_builtIn.htm\" name=\"&lid=Dell Pricing Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById("smpod3hdr").innerHTML = "Promotions";
				document.getElementById("smpod3text").innerHTML = "Get the latest on<br />Mobile Broadband<br />offers and promotions.</div><div class=\"smpodtext\" style=\"padding-top:8px;padding-bottom:20px;\"><a href=\"promotions.html?id=Dell\" name=\"&lid=Dell Promotions Clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById("smpod4hdr").innerHTML = "Dell Products";
				document.getElementById("smpod4text").innerHTML = "Find a Dell notebook equipped with Mobile Broadband Built-In.</div><div class=\"smpodtext\" style=\"padding-top:8px;padding-bottom:20px;\"><a href=\"http://www.dell.com/content/topics/topic.aspx/us/segments/bsd/verizon_external?c=us&l=en&s=bsd&cs=04\" name=\"&lid=Dell Products Clicked\" target=\"_blank\" class=\"learnlink\">Learn More</a>";
				//Flash Pods
				fo = new FlashObject("flash/spotlight/BBA_Spotlight_dell.swf", "spotlight", "550", "225", "6", "#fff");	
				fo.setAltContent("<img src='imgs/flash_hp2.jpg'  width='550' height='225' border='0' usemap='#hp_nonFlash'/>")   

				//Promo Pods     				
                document.images["imgPromo3"].src = "imgs/BBA_PArtners_125rebate.jpg";
				document.images["imgPromo3"].alt = "Get a $125 Mail-In Rebate Debit Card";   
				document.images["imgPromo3"].width = "260";
				document.images["imgPromo3"].height = "38";
        		document.getElementById("billCreditLink").innerHTML = '<a id="promo2Link" href="promotions.html?id=Dell" name="&lid=Promotion Learn More clicked" class="learnlink"><img src="imgs/learn_more.jpg" style="border:none" border="0"/></a>';
				document.getElementById("promo2Link").onclick = function() {
					_hbLink('Its the Network Learn More Clicked');
				};
				
				document.getElementById("Network_pod").style.display = "block";
				document.getElementById("MIR_pod").style.display = "none";
				
				document.getElementById("promo3Link").innerHTML = "<a onclick=\"window.open(\'documents/dell_rebate_0409.pdf\',\'popup1\',\'width=620,height=580,scrollbars=yes,resizable=yes,toolbar=no\'); return false; _hbLink(\'Rebate learn more Clicked\');\" href=\"#\" target=\"_blank\" class=\"learnlink\"><img src=\"imgs/learn_more.jpg\" style=\"border:none;padding-top:12px;\" border=\"0\"/></a>";
				
				//footer rebate text
				//document.getElementById("footer_rebate").innerHTML = "$125 rebate only available with minimum 2-yr customer agreement on BroadbandAccess Plan $59.99 or higher.";				
				document.getElementById("footer_rebate").innerHTML = "";

				//SpotlightTag				
				var axel = Math.random();
				var a = axel * 10000000000000;
				document.getElementById("spotlightTag").innerHTML = '<IFRAME SRC=\"http://fls.doubleclick.net/activityi;src=685973;type=vzwsp762;cat=bbami553;ord='+ a + '?\" WIDTH=1 HEIGHT=1 FRAMEBORDER=0></IFRAME>';
				
				//window.location = "http://b2b.vzw.com/productsservices/wirelessinternet"
            break;            
            
            case "id=toshiba":
                /*document.body.style.display = "block";
				document.getElementById("contentshell").style.display = "block";

				//Small Pods
				document.getElementById('smpod1text').innerHTML = "<a href=\"coverage.htm\" name=\"&lid=Toshiba Coverage and Speeds Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById('smpod2text').innerHTML = "<a href=\"pricing_builtIn.htm\" name=\"&lid=Toshiba Pricing Learn more clicked\" class=\"learnlink\">Learn More</a>";
				document.getElementById("smpod3hdr").innerHTML = "Port&eacute;g&eacute; M400";
				document.getElementById("smpod3text").innerHTML = "Intuitively functional, the M400 is a tablet PC in a supremely portable package.</div><div class=\"smpodtext\" style=\"padding-top:8px;padding-bottom:20px;\"><a href=\"http://www.toshibadirect.com/td/b2c/pdet.to?seg=HHO&poid=356710&coid=-30603\" name=\"&lid=Portege m400 Learn More Clicked\" target=\"_blank\" class=\"learnlink\">Learn More</a>";
				document.getElementById("smpod4hdr").innerHTML = "Port&eacute;g&eacute; R400";
				document.getElementById("smpod4text").innerHTML = "The R400 is the first notebook PC with Microsoft&reg; Active notifications.</div><div class=\"smpodtext\" style=\"padding-top:8px;padding-bottom:20px;\"><a href=\"http://www.toshibadirect.com/td/b2c/ebtext.to?page=r400_micro\" name=\"&lid=Portege r400 Learn More Clicked\" target=\"_blank\" class=\"learnlink\">Learn More</a>";
				//Flash Pods
				fo = new FlashObject("flash/spotlight/BBA_Spotlight_toshiba.swf", "spotlight", "550", "225", "6", "#fff");	
				fo.setAltContent("<img src='imgs/flash_hp2.jpg'  width='550' height='225' border='0' usemap='#hp_nonFlash'/>")   

				//Promo Pods     				
                document.images["imgPromo3"].src = "imgs/100_rebate.gif";
				document.images["imgPromo3"].alt = "Get a $100 Mail-In Rebate Debit Card";        
                document.getElementById("promo2Link").href = "http://www.verizonwireless.com/b2c/bestNetwork/itsthenetwork.jsp";
				//document.getElementById("P3Partner").innerHTML = "Toshiba"
				document.getElementById("promo2Link").onclick = function() {
					_hbLink('Its the Network Learn More Clicked');
				};
				document.getElementById("promo3Link").innerHTML = "<a onclick=\"window.open(\'documents/toshiba_2008_Rebate.pdf\',\'popup1\',\'width=620,height=580,scrollbars=yes,resizable=yes,toolbar=no\'); return false; _hbLink(\'Rebate learn more Clicked\');\" href=\"#\" target=\"_blank\" class=\"learnlink\"><img src=\"imgs/learn_more.jpg\" style=\"border:none;padding-top:16px;\" border=\"0\"/></a>";

				//footer rebate text
				//document.getElementById("footer_rebate").innerHTML = "$100 rebate only available with minimum 2-yr customer agreement on BroadbandAccess Plan $59.99 or higher.";
				document.getElementById("footer_rebate").innerHTML = "";

				//SpotlightTag				
				var axel = Math.random();
				var a = axel * 10000000000000;
				document.getElementById("spotlightTag").innerHTML = '<IFRAME SRC=\"http://fls.doubleclick.net/activityi;src=685973;type=vzwsp762;cat=bbami804;ord='+ a + '?\" WIDTH=1 HEIGHT=1 FRAMEBORDER=0></IFRAME>';
                */

				window.location = "http://b2b.vzw.com/broadband/bbabuiltin.html"
            break;        
			
			case "id=panasonic":              
				/*fo = new FlashObject("flash/partners/BBA_Partners_toshiba.swf", "spotlight", "793", "273", "6", "#fff");	
				fo.setAltContent("<img src='imgs/toshiba_partners.jpg'  width='793' height='274' border='0' usemap='#nonFlash' />")        				
                document.images["imgPromo2"].src = "imgs/promo_Network.jpg";
                document.images["imgPromo3"].src = "imgs/promo_Toshiba.jpg";
                document.getElementById("promo2Link").href = "http://www.toshibadirect.com/td/b2c/cmod.to?seg=HHO&coid=-30603";*/ 
				window.location = "http://b2b.vzw.com/productsservices/wirelessinternet/"
            break;   
           
            default:             
                /*fo = new FlashObject("flash/intro/BBA_demo.swf", "spotlight", "793", "273", "6", "#fff");						
				fo.setAltContent("<img src='imgs/flash_ph.jpg' width='793' height='274' border='0' usemap='#nonFlash' />")
                document.images["imgPromo2"].src = "imgs/promo_Network.jpg";
                document.images["imgPromo3"].src = "imgs/bba_promo.jpg";   
                document.getElementById("promo2Link").href = "http://www.verizonwireless.com/b2c/mobileoptions/broadband/notebook.jsp";*/
				window.location = "http://b2b.vzw.com/productsservices/wirelessinternet/"
         }            
            
          
     }
     else
     {
            /*fo = new FlashObject("flash/intro/BBA_demo.swf", "spotlight", "793", "273", "6", "#fff");						
			fo.setAltContent("<img src='imgs/flash_ph.jpg' width='793' height='274' border='0' usemap='#nonFlash' />")
            document.images["imgPromo2"].src = "imgs/promo_Network.jpg";
            document.images["imgPromo3"].src = "imgs/bba_promo.jpg";    
            document.getElementById("promo2Link").href = "http://www.verizonwireless.com/b2c/mobileoptions/broadband/notebook.jsp";*/   
			window.location = "http://b2b.vzw.com/productsservices/wirelessinternet/"
			
     }
    
    if (fo != undefined) { 
        fo.addParam("play", "true");
        fo.addParam("loop", "false");
        fo.addParam("quality", "high");
        fo.addParam("menu", "false");		
        fo.write("flashContent");
    }
}

//Rollovers
var rollOverArr=new Array();
function setrollover(OverImgSrc,pageImageName)
{
if (! document.images)return;
if (pageImageName == null)
    pageImageName = document.images[document.images.length-1].name;
rollOverArr[pageImageName]=new Object;
rollOverArr[pageImageName].overImg = new Image;
rollOverArr[pageImageName].overImg.src=OverImgSrc;
}

function rollover(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
if (! rollOverArr[pageImageName].outImg)
    {
    rollOverArr[pageImageName].outImg = new Image;
    rollOverArr[pageImageName].outImg.src = document.images[pageImageName].src;
    }
document.images[pageImageName].src=rollOverArr[pageImageName].overImg.src;
}

function rollout(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
document.images[pageImageName].src=rollOverArr[pageImageName].outImg.src;
}

setrollover('imgs/navOn_benefits.jpg','benefits');
setrollover('imgs/navOn_pcCard.jpg', 'pcCard');
setrollover('imgs/navOn_builtIn.jpg', 'builtIn');
setrollover('imgs/navOn_connect.jpg', 'connect');

//Popup Windows

function popupWindow(url,name) {
	
	window.open(url, name, "status=yes,scrollbars=yes,resizable=yes,width=781,height=550");

}

