//Gecko Detection function IsGekko(){ return(navigator.appName == "Netscape")?true:false } function GetTheVersion(gt){ var gua = navigator.userAgent; if(gt == "Mozilla"){ temp = gua.split("rv:"); major_version = parseFloat(temp[1]); } else{ var marker = gua.lastIndexOf("/"); var subMe = gua.substr(marker + 1); var major_version = parseFloat(subMe); } return major_version; } function PassVersion(bt,version,req_version){ defaultAr = new Array(1.2,2,7,85.8); this.strippedAppVersion = version; if(req_version){ reqAr = req_version.split(","); for(i=0;i= reqAr[0])?true:false case "Firefox": this.browser = "Firefox"; if(version >= 1 || version == reqAr[1]) return true; else return false; case "Netscape": this.browser = "Netscape"; return(version >= reqAr[2])?true:false; case "Safari": this.browser = "Safari"; return(version >= reqAr[3])?true:false; case "default": return false; } return false; } function WhatGecko(){ var use_agent = navigator.userAgent; if(use_agent.indexOf("Netscape") != -1) nua = "Netscape"; else if(use_agent.indexOf("Safari") != -1) nua = "Safari"; else if(use_agent.indexOf("Firefox") != -1) nua = "Firefox"; else if(use_agent.indexOf("Mozilla/5.0") != -1) nua = "Mozilla"; else { if(navigator.appName == "Netscape")nua = "Netscape"; } return nua; } function GeckoInterface(page_transition,req_version){ this.myGecko = WhatGecko(); var theVersion = GetTheVersion(this.myGecko); passBrowser = this.PassVersion(this.myGecko,theVersion,req_version); return passBrowser; //return true; } function TellMeWhatBrowser(){ return(browser_object.myGecko); } // end geck detection //SP2 Detection function IsServicePack(){ var ua = navigator.userAgent; if(ua.indexOf("SV1") != -1) return true; else return false; } //end SP2 Detection var today = new Date(); var expire = new Date(today.getTime() - 10); var oneYear = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000); var oneMonth = new Date(today.getTime() + 30 * 24 * 60 *60 * 1000); var oneWeek = new Date(today.getTime() + 7 * 24 * 60 *60 * 1000); var twoWeek = new Date(today.getTime() + 14 * 24 * 60 *60 * 1000); function deliverPopDisclaimer(mLink){ var popDisclaimer=window.open("","disclaimer","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=370,height=250,top=100,left=150,screenX=180,screenY=100"); popDisclaimer.document.write ('Disney.com - Disclaimer'); popDisclaimer.document.write (''); popDisclaimer.document.write ('sendTimer = setTi'+'meout("sendToClientSide()",1500);closeTimer = setT'+'imeout("window.close()",18000);'); popDisclaimer.document.write ('func'+'tion sendToCl'+'ientSide(){window.op'+'en("'+mLink+'"); this.focus();}'); popDisclaimer.document.write (''); popDisclaimer.document.write (''); popDisclaimer.document.write ('

The web site you are about to link to is not controlled by Disney Online and different terms of use and privacy policy will apply. By proceeding you agree and understand that Disney Online is not responsible for the site you are about to access.

'); popDisclaimer.document.write ('If your page does not load within a few seconds, please click here to open it.


'); popDisclaimer.document.write ('
Close this window
'); popDisclaimer.document.write (''); popDisclaimer.document.close(); } function UpgradeFlash(arg,ie_land,set_cookie){ if(isBranded)the_host = "disney"; else the_host = "global"; if(!arg) var default_page = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"; else var default_page = arg; if(!ie_land) var default_land = "http://"+the_host+".go.com/detect/setup/ie/flash_landing.html"; else var default_land = ie_land; if(this.hasActiveX){ window.location = default_land; } else deliverPopDisclaimer(default_page); if(set_cookie)SetCookieUtil("return_path",set_cookie,oneWeek); } function UpgradeShockwave(arg,ie_land,set_cookie){ if(isBranded)thatHost = "disney"; else thatHost = "global"; if(set_cookie)SetCookieUtil("return_path",set_cookie,oneWeek); if(!arg) var default_page = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=Disney&UI=plain&ReturnURL=www.disney.com&ReturnName=Disney"; else var default_page = arg; if(!ie_land) var default_land = "http://"+thatHost+".go.com/detect/setup/ie/shockwave.html"; else var default_land = ie_land; if(this.hasActiveX)window.location = default_land; else deliverPopDisclaimer(default_page); } var nonbranded = "http://disney.go.com/detect/nonbranded.html"; function SetCookieUtil (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "; path=/") + ((domain) ? "; domain=" + domain : "; domain=.go.com") + ((secure) ? "; secure" : ""); } function PullVersionNumber(arg){ var toReturn = arg.split(" "); for(var i=0;i= 1){ return num; } } } function FindVersionNumber(){ var ret; var version = navigator.appVersion; var versionAr = version.split(";"); for(i=0;i \n'); document.write('Dim flash2Installed,flash3Installed,flash4Installed,flash5Installed,flash6Installed,flash7Installed \n'); document.write('on error resume next \n'); document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n'); document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n'); document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n'); document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n'); document.write('flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n'); document.write('flash7Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n'); document.write('flash8Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n'); document.write('flash9Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9"))) \n'); document.write(' \n'); // break up end tag so it doesn't end our script return(flash6Installed)?true:false; } else return false; } function GetFlashVersion(){ var activex_flash; var na_flash; if(this.GetActiveX()) activex_flash = HasFlash(); if (navigator.plugins) { for (var i=0; i < navigator.plugins.length; i++) { if (navigator.plugins[i].name.toLowerCase().indexOf("shockwave flash") >= 0) { na_flash = navigator.plugins[i].description.substring(navigator.plugins[i].description.toLowerCase().lastIndexOf("flash ") + 6, navigator.plugins[i].description.length); } } } if(activex_flash){ return activex_flash; } if(na_flash){ na_flashHold = na_flash.split("r"); na_flashHold2 = na_flashHold[0].split(".") na_flashHold2[1] = na_flashHold2[1].substring(0,na_flashHold2[1].length - 2) na_flash = na_flashHold2[0] + ",0,0,0"; return na_flash } return false } function SuperObj(val){ this.d_appName = navigator.appName; this.UpgradeFlash = UpgradeFlash; this.UpgradeShockwave = UpgradeShockwave; this.d_appVersion = navigator.appVersion; this.d_platForm = navigator.platform; d_appName = this.d_appName; d_appVersion = this.d_appVersion; d_platForm = this.d_platForm; // addition 12-01-2004 this.hasServicePack = false this.passGecko = true; this.passIE = true; this.strippedAppVersion = -1; // end addition this.GetActiveX = GetActiveX; this.hasActiveX = this.GetActiveX(); if(this.d_appName.indexOf("Micro") != -1) this.strippedAppVersion = FindVersionNumber(); if(this.d_appName.indexOf("Micro") != -1){ if(this.strippedAppVersion <= 4.9){ this.passIE = false; } } //addition this.GetFlashVersion = GetFlashVersion; this.GeckoInterface = GeckoInterface; this.PassVersion = PassVersion; this.hasFlash = this.GetFlashVersion(); this.browser = ""; if(this.d_appName == "Netscape"){ this.passGecko = this.GeckoInterface(val); }else if(this.d_appName.indexOf("Micro") != -1){ this.browser = "Internet Explorer"; } this.HasFlash = HasFlash; this.strippedAppVersionDisplay = this.strippedAppVersion.toString(); if(this.strippedAppVersionDisplay.indexOf(".") == -1)this.strippedAppVersionDisplay = this.strippedAppVersionDisplay + ".0"; } function CreateInterface(loc,val,gecko_val,gecko_require){ if(!loc){ defaultLP = "http://disney.go.com/home/html/index.html"; } else{ defaultLP = loc; } browser_object = new SuperObj(gecko_val,gecko_require); } // From HTML Page //Javascript Detect var myHost = window.location.host if(myHost.toLowerCase().indexOf("disney.go.com") != -1)var isBranded = true; else isBranded = false; winSearch = window.location.search; if(winSearch.indexOf("flash=false") != -1){ flash_override = true; } else { flash_override = false; } if(winSearch.indexOf("shockwave=true") != -1)setShockwave = true; else setShockwave = false; CreateInterface("",true); if(winSearch.indexOf("manualoverride=true") != -1)manualoverride = true; else manualoverride = false; //End JavaScript Detect //Disclaimers function DPDFF(){ deliverPopDisclaimer('http://www.mozilla.org/products/firefox/'); } function DPDIE(){ deliverPopDisclaimer('http://www.microsoft.com/windows/ie/default.mspx'); } function DPDNS(){ deliverPopDisclaimer('http://channels.netscape.com/wrap/linker.jsp?ref=http://channels.netscape.com/ns/browsers/download.jsp'); } //Dynamic Writing logoAr = new Array("flash_logo_2","shockwave_logo_2","ie_logo_2","firefox_logo_2","netscape_logo_2"); logoLinkAr = new Array("javascript:UpgradeFlash()","javascript:UpgradeShockwave()","javascript:DPDIE()","javascript:DPDFF()","javascript:DPDNS()"); //key //0=flash_logo //1=shockwave_logo //2=ie_logo //3=firefox_logo //4=netscape_logo function MakeLogoPlaceHolder(arg){ var div_hold = "
"; return div_hold; } function PlaceLogos(arg){ argi = arg.split(","); for(i=0;i'); PlaceLogos(LogoNeeds()); document.write(''); } } function WriteSpecs(){ foo = ""; display = false; allClearCopy = "You do not require any updates at this time."; if(navigator.appName == "Netscape"){ if(browser_object.passGecko == false && manualoverride != true){ display = true; if(browser_object.browser == "Netscape")display_copy = "Your current browser is Netscape 6.0 or less.
Our site requires Netscape 7.0 or above.
"; else if(browser_object.browser == "Mozilla")display_copy = "Your current browser is Mozilla 1.1 or less.
Our site requires require Mozilla 1.2 or above."; else display_copy = "Your browser is not supported at this time." }else{ display = false; } }else if(browser_object.passIE == false){ display = true; display_copy = "Your current browser is Internet Explorer 4.x or older.
Our site requires Internet Explorer 5.0 or above."; } if(!display){ if((!browser_object.hasFlash || flash_override) && setShockwave != true){ display = true; display_copy = 'You do not have the most current version of Flash TM'; } else if(setShockwave == true){ display = true; display_copy = 'You do not have the most up-to-date version of Shockwave TM'; } } if(display) document.write(display_copy); else document.write(allClearCopy); } function WriteRecCopy(){ if(isBranded)the_host = "disney"; else the_host="global"; softwarecenter = "http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=http://"+the_host+".go.com/help/software_center/index.html&name=hp_html_toSoftCent" browserstandards = "http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=http://"+the_host+".go.com/guestservices/upgrade/index.html&name=hp_html_upgrade" if(display){ copyAr = new Array(); copyAr[0] ='

' copyAr[1]='The page you were attempting to view requires that you upgrade the software listed.'; copyAr[2]=''; //copyAr[2]='This will ensure that you get the most out of your online experience.'; copyAr[3]='

'; copyAr[4]='

Choose the appropriate button(s) to the right or read about the new browser standards and what upgrading can do for you.'; copyAr[5]='

' } else{ copyAr = new Array(); copyAr[0]='

Good News! Our tests show that you already have the appropriate browser and plug-ins to enjoy the features and fun of the Walt Disney Internet Group family of sites. '; copyAr[1]='

Just a note: If you do find that you have problems viewing our home page, you might want to check your browser version and plug-in on your own. If your browser is older than Internet Explorer 5 or Netscape 7, or you do not have the latest version of Flash, you will need to upgrade in order to enjoy our sites.

'; copyAr[2]=''; //copyAr[3]='

Check out our Software Center for more details.'; } for(i=0;i'; return rs; } function RecTableSize(){ if(display){ if(navigator.appName.indexOf("Microsoft") != -1 && navigator.platform.indexOf("Win") != -1){ var the_size = '42'; }else{ var the_size = '64'; } } else { if(navigator.appName.indexOf("Microsoft") != -1 && navigator.platform.indexOf("Win") != -1){ var the_size = '42'; }else{ var the_size = '53'; } } var mysize = ''; return (mysize); } function WriteQuickLinksActual(){ if(isBranded){ transfer = "http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto="; link1 = transfer + "http://disney.go.com/corporate/&name=hp_html_qlinks_corpInfo"; link2 = transfer + "http://go-disneystore.com/dcomhtmlquicklink&name=hp_html_qlinks_disDirect"; link3 = transfer + "http://disney.go.com/disneycareers/&name=hp_html_qlinks_disCareers"; link4 = transfer + "http://disney.go.com/vault/archives/today.html&name=hp_html_qlinks_disArchives"; link5 = transfer + "http://legends.disney.go.com/legends/index&name=hp_html_qlinks_disLegends"; link6 = transfer + "http://disney.go.com/features/insider/index.html&name=hp_html_qlinks_insider"; id1 = "Corporate Info"; id2 = "Disney Direct"; id3 = "Disney Careers"; id4 = "Disney Archives"; id5 = "Disney Legends"; id6 = "Disney Insider"; }else{ link1 = "http://movies.go.com"; link2 = "http://www.abc.go.com"; link3 = "http://familyfun.go.com"; link4 = "http://www.espn.go.com"; link5 = "http://go.com"; link6 = "http://corporate.disney.go.com/index.html"; id1 = "Movies.com"; id2 = "ABC.com"; id3 = "Family Fun"; id4 = "ESPN"; id5 = "Go.com"; id6 = "Corprate Info"; } linkTable = new Array(); linkTable[0]=''; linkTable[1]=''+id1+''; linkTable[2]=''+id5+''; linkTable[3]=''; linkTable[4]=''; linkTable[5]=''+id2+''; linkTable[6]=''+id4+''; linkTable[7]=''; linkTable[8]=''; linkTable[9]=''+id3+''; linkTable[10]=''+id6+''; linkTable[11]=''; linkTable[12]=''; //linkTable[13]=''+id6+''; //linkTable[14]=''+id8+''; linkTable[13]=''; linkTable[14]=''; //linkTable[17]=''; //linkTable[18]=''; linkTable[15]=''; for(i=0;i'; chromeAr[2]=''; //if(isBranded){ for(i=0;i'; logo = ''; software_detect_top = ''; software_nested_1 = ''; software_nested_2 = ''; software_detect_bottom = ''; recommendation_table = ''; rec_table_left = ''; rec_table_right = ''; rec_table_bottom = ''; quick_link_top = ''; quick_link_left = ''; quick_link_grafic_1 = ''; quick_link_right = ''; quick_link_bottom = ''; quick_links_actual_table = '
'; quick_link_outline_table = '
' } function DW(arg){ document.write(arg); } //Footer Code function ScriptFooter(){ // This sets the footer font color to black if no color is defined. if(!legalFooterColor){var legalFooterColor = "#000000";} //This portion of the legal footer is solely for the use of BVPM and BVHE. //This is to determine the Copyright info to be displayed on the page. var copyRight = "" var copyRightType = ""; var ftTransfer = "http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto="; if(legalFooterColor.indexOf("&") != -1){ dvMarker = legalFooterColor.indexOf("&"); copyRightType = legalFooterColor.substring(dvMarker+1, legalFooterColor.length); legalFooterColor = legalFooterColor.substring(0, dvMarker); } if(isBranded)copyRight = "© DEI. All rights reserved."; else copyRight = "© Walt Disney Internet Group. All rights reserved."; //Spit out the legal footer... document.write('
Member Services | Register
'); document.write('
UPDATED Privacy Policy | Internet Safety | Terms of use
'+copyRight+'

'); } //Creates branded or non branded elements; ConvertElements();