function formHandler(){ var URL = document.form.site.options[document.form.site.selectedIndex].value; location.href=URL; }; 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://games.ea.com/home/home.jsp"; alert(homelink); location.href = homelink; } return; } function currentFont(here){ site="easportsbig"; if (here.indexOf(site) != -1){ document.write("") }else{ document.write("") } return; } function gotopage(url){ location.href=url; } function rainmanurl(){ if ("EA"=="AOL" ){ document.write("") }else{ document.write("") } } function getDomainURL(site,uri){ switch (site) { case "ea": return "http://games.ea.com" + uri; break; case "easports": return "http://games.easports.com" + uri; break; case "easportsbig": return "http://games.easportsbig.com" + uri; break; case "eagames": return "http://games.eagames.com" + uri; break; case "easportsonline": return "http://games.easportsonline.com" + uri; break; default: return "http://games.ea.com" + uri; break; } } function goto_site(site, uri){ location.href = getDomainURL(site, uri); } function goto_easports(uri){ goto_site("easports", uri); } function goto_ea(uri){ goto_site("ea", uri); } function goto_easportsbig(uri){ goto_site("easportsbig", uri); } function goto_eagames(uri){ goto_site("eagames", uri); } function goto_easportsonline(uri){ goto_site("easportsonline", uri); }