function formHandler(){ var URL = document.form.site.options[document.form.site.selectedIndex].value; document.location=URL; } function confirmLogOut() { var message = "Logout from EA Games?"; if (confirm(message)) { if (navigator.appName == "Netscape") { location.href = "/webcore/logout.jsp?site=eaco&redr=http://www.eagames.com/official/simpsons_roadrage/home.jsp"; } else { self.location.replace("/webcore/logout.jsp?site=eaco&redr=http://www.eagames.com/official/simpsons_roadrage/home.jsp"); } } }; function getSecureLink(url) { secureurl = "https://"+document.domain+url; location.href = secureurl; return; } function goHome() { if ((document.domain.indexOf("aol") != -1) && !(document.domain.indexOf("aolcom") != -1) ){ location.href = "aol://1722:games"; }else{ homelink = "http://"+document.domain+"/home/home.jsp"; alert(homelink); location.href = homelink; } return; } function currentFont(pageurl){ here = document.URL; if (here.indexOf(pageurl) != -1){ document.write("") }else{ document.write("") } return; } function gotopage(url){ location.href=url; } function rainmanurl(){ if ("EA"=="AOL" ){ document.write("") }else{ document.write("") } } /* Begin Store Locator Code */ function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0 && parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) { if (bPop) { sTemp = "document.zipForm" + iInst + ".target" sCheck = eval(sTemp); sLoc = "http://ea.links.channelintelligence.com/Pages/StoreStock.asp?sZip=" + eval("document.zipForm" + iInst + ".sZip.value") + "&sSKU=" + eval("document.zipForm" + iInst + ".sSKU.value") + "&nIID=" + eval("document.zipForm" + iInst + ".nIID.value") + "&nRadius=" + eval("document.zipForm" + iInst + ".nRadius.value") + "&nRGID=" + eval("document.zipForm" + iInst + ".nRGID.value") + "&nRID=" + eval("document.zipForm" + iInst + ".nRID.value") + "&sCT=" + eval("document.zipForm" + iInst + ".sCT.value") + "&nPGID=" + eval("document.zipForm" + iInst + ".nPGID.value") + "&sCountry=" + eval("document.zipForm" + iInst + ".sCountry.value") + "&sCDATA=" + eval("document.zipForm" + iInst + ".sCDATA.value"); if (iInst == 0) sLayer = MM_showHideLayers('PopCall','','hide', iInst); else sLayer = MM_showHideLayers('PopCall2','','hide', iInst); ykb_PopUp('Pinpointer', 'Pinpointer', sLoc, '500', '810', 'middle', 'center', true, '', true, false, false, false, false); } else { temp = eval("document.zipForm1.submit()"); if (iInst == 0) sLayer = MM_showHideLayers('PopCall','','hide', iInst); else sLayer = MM_showHideLayers('PopCall2','','hide', iInst); eval(temp); return true; } return false; } else { alert("You have entered a invalid zip code. Please try again."); return false; } } function SetText(sText) { this.value = sText; } /* End Store Locator Code */