if(top.location!=self.location){top.location=self.location}function PromoCompetitionPopUp(r,n,h,d,k,b,c){var j=screen.availHeight-10;var q=screen.availWidth-10;var e=d;var m=k;var p=q-e;var g=10;var o=q-750;o=o/2;var f=j-m;f=f/2;if(r!=null&&r!="undefined"&&n!=null&&n!="undefined"){var l=null;var a="";l=window.open(r,"comp","width="+e+",height="+m+",left="+p+",top=0,resizable=no,scrollbars=yes");document.location.href=n;l.focus()}}function showMobilePhoneNetworks(b){var a=window.open(b,"","width=400,height=400,resizable=no,scrollbars=yes");a.focus()}function flagcorrections(a,b,d){var c=window.open(a+"?mode=correct&pid="+b+"&r="+d,"corrections","width=530,height=400,resizable=no,scrollbars=no");c.focus()}function siteseal(){var a=window.open("https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=WWW.PLAY.COM&lang=en","win","toolbar=0,location=1,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=560,height=480");a.focus()}function browseGenre(){var a=document.frmBrowsegenre.browsegenre[document.frmBrowsegenre.browsegenre.selectedIndex].value;if(a!="0"){document.location.href=a}}function openATrailer(a,e,b,c){var d=window.open(a,e,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+b+",height="+c);d.focus()}function hyperlaunchMGM(a,d,c,b){newWin=window.open(a,d,"width="+c+",height="+b+',alwaysLowered=0,alwaysRaised=1,channelmode=0,dependent=1,directories=0 ,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=50,screenY=50,left=50,top=50"')}function clickToEnlarge(g,f,d){var e=document.getElementById(f);var c=document.getElementById(g);var b=document.getElementById(d);var a=document.getElementById("frontthumb");if(c!=null&&b!=null){a.style.border="";c.style.border="2px solid #ccc";b.src=c.src.substring(0,c.src.lastIndexOf(".")-1)+".jpg";if(e!=null){e.style.border=""}}}function HideContent(a){if(a.length<1){return}document.getElementById(a).style.display="none"}function AppendToClassName(a,b){var c=a.className;if(c){if(c.charAt(c.length-1)!=" "){c+=" "}c+=b}else{c=b}a.className=c}function RemoveClassName(a,c){var d=a.className;if(d){if(d.substring(d.length-c.length-1,d.length)==" "+c){a.className=d.substring(0,d.length-c.length-1);return}if(d==c){a.className="";return}var b=d.indexOf(" "+c+" ");if(b!=-1){a.className=d.substring(0,b)+d.substring(b+c.length+2,d.length);return}if(d.substring(0,c.length)==c+" "){a.className=d.substring(c.length+1,d.length)}}}function addEvent(b,c,a){if(b.addEventListener){b.addEventListener(c,a,false);return true}else{if(b.attachEvent){return b.attachEvent("on"+c,a)}else{return false}}}if(top.location!=self.location){top.location=self.location}flash2Installed=false;flash3Installed=false;flash4Installed=false;flash5Installed=false;flash6Installed=false;flash7Installed=false;flash8Installed=false;flash9Installed=false;requiredVersion=5;maxVersion=9;actualVersion=0;hasRightVersion=false;isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;if(isIE&&isWin){document.write('<script language="vbscript"> \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("</script> \n")}if(navigator.plugins){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){isVersion2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";flashDescription=navigator.plugins["Shockwave Flash"+isVersion2].description;flashVersion=parseInt(flashDescription.substring(16));flash2Installed=flashVersion==2;flash3Installed=flashVersion==3;flash4Installed=flashVersion==4;flash5Installed=flashVersion==5;flash6Installed=flashVersion==6;flash7Installed=flashVersion==7;flash8Installed=flashVersion==8;flash9Installed=flashVersion>=9}}for(i=2;i<=maxVersion;i++){if(eval("flash"+i+"Installed")==true){actualVersion=i}}if(actualVersion>=requiredVersion){hasRightVersion=true}function writeFlash(d,b,e,a,c){if(hasRightVersion){flashContent='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="'+a+'" width="'+c+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"><param name="movie" value="'+d+'"><param name="play" value="true"><param name="loop" value="false"><param name="quality" value="high"><param name="menu" value="false"><embed src="'+d+'"height="'+a+'" width="'+c+'" alt="'+e+'" play="true" loop="false" quality="high" menu="false" type="application/x-shockwave-flash"pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>';document.write(flashContent)}else{altContent='<div><img src="'+b+'" height="'+a+'" width="'+c+'" alt="'+e+'" ></div>';document.write(altContent)}}function competitionBanner(c,e,g,a,f,d,b){bannerLink="<div><a href=\"javascript:competitionPopUp('"+c+"','"+e+"','"+g+'\');"title="'+b+'"><img src="http://www.play.com/newimages/'+a+'"width="'+f+'" height="'+d+'" alt="'+b+'" /></a></div>';document.write(bannerLink)}function competitionPopUp(a,b,c){popupURL="http://competition.play.com/"+a;popupName=b;popupFeatures="width=610,height=550,left="+(screen.availWidth-620)+",top=0,resizable=no,scrollbars=yes";popup=window.open(popupURL,popupName,popupFeatures);if(b!=""){b.toLowerCase();if(b.indexOf("promo_")==-1){if(b.indexOf("link_")==-1){document.location.href="http://www.play.com/play247.asp?page=title&r="+c+"&title="+b}else{b=b.replace("link_","");document.location.href="http://www.play.com/play247.asp?page="+b}}else{b=b.replace("promo_","");document.location.href="http://www.play.com/play247.asp?page=promo&r="+c+"&id="+b}}popup.focus()}function FormPost(a){theForm.action=a;theForm.__VIEWSTATE.value=""};
