function OpenLink(pNum){	// version 1.0 051606	var newWin = 0;//open in self	var plink = "http://www.motorola.com";//default url	//alert('OpenLink('+pNum+')'); // 4local test	switch (pNum) {		case 1 :plink="http://direct.motorola.com/ENS/Web_ProductHome.asp?Country=USA&language=ENS&productid=30527";newWin=1;break; // LEARN MORE / PEBL COLORS KERNEL 		case 2 :plink="http://peblpond.motorola.com/PEBLPond/ASP/index.html";newWin=2;break; // PEBL POND		case 15 :plink="http://direct.motorola.com/ENS/privacy.asp?country=USA&language=ENS";newWin=1;break; // privacy policy from tell a friend		// buy now		case 17 :plink="http://www.t-mobile.com/promotions/phonemultipleplans.aspx?PAsset=Pro_Pro_1DevOrangePEBL&WT.mc_n=PEBLOrange_MotoSite&WT.mc_t=Other";newWin=1;break; // buy now - orange		case 18 :plink="http://www.t-mobile.com/promotions/phonemultipleplans.aspx?PAsset=Pro_Pro_1DevGreenPEBL&WT.mc_n=PEBLGreen_MotoSite&WT.mc_t=Other";newWin=1;break; // buy now - green		case 19 :plink="http://www.t-mobile.com/promotions/phonemultipleplans.aspx?PAsset=Pro_Pro_1DevBluePEBL&WT.mc_n=PEBLBlue_MotoSite&WT.mc_t=Other";newWin=1;break; // buy now - blue		case 20 :plink="http://motorola.digitalriver.com/DRHM/servlet/ControllerServlet?Action=DisplayProductDetailsPage&SiteID=motostor&Locale=en_US&Env=BASE&productID=36468600";newWin=1;break; // buy now - black						// wallpaper downloads		 // 800x600		case 1001 :plink="./extras/nature_green800.html";newWin=1;break; // 800x600 woman bamboo		case 1002 :plink="./extras/nature_all800.html";newWin=1;break; // 800x600 woman man bamboo		case 1003 :plink="./extras/nature_blue800.html";newWin=1;break; // 800x600 man orange		case 1004 :plink="./extras/museum_green800.html";newWin=1;break; // 800x600 woman heist fulll ength		case 1005 :plink="./extras/museum_orange800.html";newWin=1;break; // 800x600 woman heist closeup		case 1006 :plink="./extras/museum_blue800.html";newWin=1;break; // 800x600 woman heist reclined		// 1024x768		case 2001 :plink="./extras/nature_green1024.html";newWin=1;break; // 1024x768 woman bamboo		case 2002 :plink="./extras/nature_all1024.html";newWin=1;break; // 1024x768 woman man bamboo		case 2003 :plink="./extras/nature_blue1024.html";newWin=1;break; // 1024x768 man orange		case 2004 :plink="./extras/museum_green1024.html";newWin=1;break; // 1024x768 woman heist fulll ength		case 2005 :plink="./extras/museum_orange1024.html";newWin=1;break; // 1024x768 woman heist closeup		case 2006 :plink="./extras/museum_blue1024.html";newWin=1;break; // 1024x768 woman heist reclined		// 1400x1024		case 3001 :plink="./extras/nature_green1400.html";newWin=1;break; // 1400x1024 woman bamboo		case 3002 :plink="./extras/nature_all1400.html";newWin=1;break; // 1400x1024 woman man bamboo		case 3003 :plink="./extras/nature_blue1400.html";newWin=1;break; // 1400x1024 man orange		case 3004 :plink="./extras/museum_green1400.html";newWin=1;break; // 1400x1024 woman heist fulll ength		case 3005 :plink="./extras/museum_orange1400.html";newWin=1;break; // 1400x1024 woman heist closeup		case 3006 :plink="./extras/museum_blue1400.html";newWin=1;break; // 1400x1024 woman heist reclined	}			if (newWin==2) {		// make sure back window is not closed		if (opener && !opener.closed){			// load pebl pond launch page in parent window (the current pebl colors launch page window)			window.opener.top.location.href=plink;		} else {			// if the parent window has been closed, load pebl pond launch page in newly created window			window.open(plink,"opener");		}		// close this window		self.close();	} else {		if (newWin==1) {window.open(plink,"motoLink");} else {window.location.href=plink;};	};}function webTrack(pNum){	// version 1.0 051606	//alert('webTrack('+pNum+')'); // 4local test}
