var cookieBeacon="";
var checkedBeacon=false;
var cookieIgnlogin="";
var checkedIgnlogin=false;
var cookieFrogger="";
var checkedFrogger=false;
var cookieAta="";
var checkedAta=false;
var cookieFavTab="";
var checkedFavTab=false;

function getCookieData(b)
{
	var e=b.length;
	var c=document.cookie;
	
	if(c)
	{
		var d=document.cookie.length;
		
		if(d>0)
		{
			var a=c.indexOf(b+"=");
			
			if(a>-1)
			{
				var f=c.indexOf(";",a);
				f=(f==-1?d:f);
				
				return(unescape(c.substring(a+e+1,f)))
			}
		}
	}
	return("")
}

function getBeacon()
{
	if(cookieBeacon.length==0&&!checkedBeacon)
	{
		cookieBeacon=getCookieData("Beacon");
		checkedBeacon=true
	}
	return cookieBeacon
}

function getIgnlogin(){if(cookieIgnlogin.length==0&&!checkedIgnlogin){cookieIgnlogin=getCookieData("ignlogin");checkedIgnlogin=true}return cookieIgnlogin}function getFrogger(){if(cookieFrogger.length==0&&!checkedFrogger){cookieFrogger=getCookieData("Frogger");checkedFrogger=true}return cookieFrogger}function getAta(){if(cookieAta.length==0&&!checkedAta){cookieAta=getCookieData("ATA");checkedAta=true}return cookieAta}function getFavTab(){if(cookieFavTab.length==0&&!checkedFavTab){cookieFavTab=getCookieData("FavTab");checkedFavTab=true}return cookieFavTab}function getBeaconValue(a){var c=getBeacon();if(c!=null&&c.length>0&&c.indexOf(".")>-1){var b=c.split(".");if(b!=null&&b.length>a+1){if(b[a]!=null){return(b[a])}}}return(null)}function hasBeaconValue(b,a){return cookieHasValue(getBeacon(),".",b,a)}function hasIgnloginValue(b,a){var c=getIgnlogin();return cookieHasValue(getIgnlogin(),"\\",b,a)}function cookieHasValue(d,e,b,a){if(d!=null&&d.length>0&&d.indexOf(e)>-1){var c=d.split(e);if(c!=null&&c.length>b){if(c[b]!=null&&c[b].indexOf(a)>-1){return(true)}}}return(false)}function getUserName(){var c=getUsernameFromIgnLogin();if(c!=null&&c.length!=0){return c}var b=getBeacon();if(b==null||b.length==0){return null}var a=b.split(".");c=a[2];c=c.replace("#",".");return(c)}function getUsernameFromIgnLogin(){var b=getIgnlogin();var a=b.split("\\");return a[3]}function checkRegistration(){checkSubscription();return(getIgnlogin()!=null&&getIgnlogin().length>0)||hasBeaconValue(7,"0")}function checkSubscription(){return hasIgnloginValue(4,"1")||hasBeaconValue(6,"subscription")}function checkFounder(){return true}function showIntrusiveAds(){return(hasBeaconValue(8,"1")||!(getCookieData("adtoggle").length!=0))}function getFroggerPiece(b){var d=getFrogger();var e=d.length;var a=0;var f=0;if(b=="collection"){var c=d.indexOf("*cc");a=d.indexOf("*c",c+3);f=d.indexOf("*",a+2)}else{if(b=="collectioncount"){a=d.indexOf("*cc")+6;f=d.indexOf("*",a)}else{if(b=="wishlist"){a=d.indexOf("*wr");f=d.indexOf("*wa",a+2)}else{if(b=="reviewed"){a=d.indexOf("*r");f=e}}}}return(unescape(d.substring(a,f)))}function checkWatch(b){if(isFroggerB==true){var a=getFroggerEntry(b);if(a!=null){return a.getIsInEmailAlerts()}else{return false}}else{getFrogger();return((cookieFrogger.indexOf("="+b+"w")>-1)||(cookieFrogger.indexOf("_"+b+"w")>-1)||(cookieFrogger.indexOf("D"+b+"w")>-1))}}function checkPlaying(a){if(isFroggerB==true){var b=getFroggerEntry(a);if(b!=null){return b.getIsInNowPlaying()}else{return false}}else{getFrogger();return((cookieFrogger.indexOf("_"+a+"wn")>-1)||(cookieFrogger.indexOf("D"+a+"wn")>-1)||(cookieFrogger.indexOf("_"+a+"n")>-1)||(cookieFrogger.indexOf("D"+a+"n")>-1))}}function checkFavorites(b){if(isFroggerB==true){var a=getFroggerEntry(b);if(a!=null){return a.getIsInFavorites()}else{return false}}else{getFrogger();return((cookieFrogger.indexOf("_"+b+"wnf")>-1)||(cookieFrogger.indexOf("D"+b+"wnf")>-1)||(cookieFrogger.indexOf("_"+b+"nf")>-1)||(cookieFrogger.indexOf("D"+b+"nf")>-1)||(cookieFrogger.indexOf("_"+b+"wf")>-1)||(cookieFrogger.indexOf("D"+b+"wf")>-1)||(cookieFrogger.indexOf("_"+b+"f")>-1)||(cookieFrogger.indexOf("D"+b+"f")>-1))}}function checkWishlist(b){if(isFroggerB==true){var c=getFroggerEntry(b);if(c!=null){return c.getIsInWishlist()}else{return false}}else{var a=getFroggerPiece("wishlist");if(a.indexOf(b)>-1){return(true)}else{return(false)}}}function checkCollection(b){if(isFroggerB==true){var a=getFroggerEntry(b);if(a!=null){return a.getIsInCollection()}else{return false}}else{var c=getFroggerPiece("collection");if(c.indexOf(b)>-1){return(true)}return(false)}}function checkReviewed(a){if(isFroggerB==true){var b=getFroggerEntry(a);if(b!=null){return b.getHasReviewed()}else{return false}}else{var c=getFroggerPiece("reviewed");if(c.indexOf(a)>-1){return(true)}return(false)}}if((getCookieData("ignlogin").length!=0)||(getCookieData("Beacon").length!=0)){document.write('<img src="http://login.ign.com/cookieupdate.aspx" border=0 style="position: absolute; visibility: hidden;">')}var dbits;var canary=244837814094590;var j_lm=((canary&16777215)==15715070);function BigInteger(e,d,f){if(e!=null){if("number"==typeof e){this.fromNumber(e,d,f)}else{if(d==null&&"string"!=typeof e){this.fromString(e,256)}else{this.fromString(e,d)}}}}function nbi(){return new BigInteger(null)}function am1(f,a,b,e,h,g){while(--g>=0){var d=a*this[f++]+b[e]+h;h=Math.floor(d/67108864);b[e++]=d&67108863}return h}function am2(f,s,t,e,q,a){var o=s&32767,r=s>>15;while(--a>=0){var d=this[f]&32767;var g=this[f++]>>15;var b=r*d+g*o;d=o*d+((b&32767)<<15)+t[e]+(q&1073741823);q=(d>>>30)+(b>>>15)+r*g+(q>>>30);t[e++]=d&1073741823}return q}function am3(f,s,t,e,q,a){var o=s&16383,r=s>>14;while(--a>=0){var d=this[f]&16383;var g=this[f++]>>14;var b=r*d+g*o;d=o*d+((b&16383)<<14)+t[e]+q;q=(d>>28)+(b>>14)+r*g;t[e++]=d&268435455}return q}if(j_lm&&(navigator.appName=="Microsoft Internet Explorer")){BigInteger.prototype.am=am2;dbits=30}else{if(j_lm&&(navigator.appName!="Netscape")){BigInteger.prototype.am=am1;dbits=26}else{BigInteger.prototype.am=am3;dbits=28}}BigInteger.prototype.DB=dbits;BigInteger.prototype.DM=((1<<dbits)-1);BigInteger.prototype.DV=(1<<dbits);var BI_FP=52;BigInteger.prototype.FV=Math.pow(2,BI_FP);BigInteger.prototype.F1=BI_FP-dbits;BigInteger.prototype.F2=2*dbits-BI_FP;var BI_RM="0123456789abcdefghijklmnopqrstuvwxyz";var BI_RC=new Array();var rr,vv;rr="0".charCodeAt(0);for(vv=0;vv<=9;++vv){BI_RC[rr++]=vv}rr="a".charCodeAt(0);for(vv=10;vv<36;++vv){BI_RC[rr++]=vv}rr="A".charCodeAt(0);for(vv=10;vv<36;++vv){BI_RC[rr++]=vv}function int2char(a){return BI_RM.charAt(a)}function intAt(b,a){var d=BI_RC[b.charCodeAt(a)];return(d==null)?-1:d}function bnpCopyTo(b){for(var a=this.t-1;a>=0;--a){b[a]=this[a]}b.t=this.t;b.s=this.s}function bnpFromInt(a){this.t=1;this.s=(a<0)?-1:0;if(a>0){this[0]=a}else{if(a<-1){this[0]=a+DV}else{this.t=0}}}function nbv(a){var b=nbi();b.fromInt(a);return b}function bnpFromString(h,c){var e;if(c==16){e=4}else{if(c==8){e=3}else{if(c==256){e=8}else{if(c==2){e=1}else{if(c==32){e=5}else{if(c==4){e=2}else{this.fromRadix(h,c);return}}}}}}this.t=0;this.s=0;var g=h.length,d=false,f=0;while(--g>=0){var a=(e==8)?h[g]&255:intAt(h,g);if(a<0){if(h.charAt(g)=="-"){d=true}continue}d=false;if(f==0){this[this.t++]=a}else{if(f+e>this.DB){this[this.t-1]|=(a&((1<<(this.DB-f))-1))<<f;this[this.t++]=(a>>(this.DB-f))}else{this[this.t-1]|=a<<f}}f+=e;if(f>=this.DB){f-=this.DB}}if(e==8&&(h[0]&128)!=0){this.s=-1;if(f>0){this[this.t-1]|=((1<<(this.DB-f))-1)<<f}}this.clamp();if(d){BigInteger.ZERO.subTo(this,this)}}function bnpClamp(){var a=this.s&this.DM;while(this.t>0&&this[this.t-1]==a){--this.t}}function bnToString(c){if(this.s<0){return"-"+this.negate().toString(c)}var e;if(c==16){e=4}else{if(c==8){e=3}else{if(c==2){e=1}else{if(c==32){e=5}else{if(c==4){e=2}else{return this.toRadix(c)}}}}}var g=(1<<e)-1,l,a=false,h="",f=this.t;var j=this.DB-(f*this.DB)%e;if(f-->0){if(j<this.DB&&(l=this[f]>>j)>0){a=true;h=int2char(l)}while(f>=0){if(j<e){l=(this[f]&((1<<j)-1))<<(e-j);l|=this[--f]>>(j+=this.DB-e)}else{l=(this[f]>>(j-=e))&g;if(j<=0){j+=this.DB;--f}}if(l>0){a=true}if(a){h+=int2char(l)}}}return a?h:"0"}function bnNegate(){var a=nbi();BigInteger.ZERO.subTo(this,a);return a}function bnAbs(){return(this.s<0)?this.negate():this}function bnCompareTo(b){var d=this.s-b.s;if(d!=0){return d}var c=this.t;d=c-b.t;if(d!=0){return d}while(--c>=0){if((d=this[c]-b[c])!=0){return d}}return 0}function nbits(a){var c=1,b;if((b=a>>>16)!=0){a=b;c+=16}if((b=a>>8)!=0){a=b;c+=8}if((b=a>>4)!=0){a=b;c+=4}if((b=a>>2)!=0){a=b;c+=2}if((b=a>>1)!=0){a=b;c+=1}return c}function bnBitLength(){if(this.t<=0){return 0}return this.DB*(this.t-1)+nbits(this[this.t-1]^(this.s&this.DM))}function bnpDLShiftTo(c,b){var a;for(a=this.t-1;a>=0;--a){b[a+c]=this[a]}for(a=c-1;a>=0;--a){b[a]=0}b.t=this.t+c;b.s=this.s}function bnpDRShiftTo(c,b){for(var a=c;a<this.t;++a){b[a-c]=this[a]}b.t=Math.max(this.t-c,0);b.s=this.s}function bnpLShiftTo(j,e){var b=j%this.DB;var a=this.DB-b;var g=(1<<a)-1;var f=Math.floor(j/this.DB),h=(this.s<<b)&this.DM,d;for(d=this.t-1;d>=0;--d){e[d+f+1]=(this[d]>>a)|h;h=(this[d]&g)<<b}for(d=f-1;d>=0;--d){e[d]=0}e[f]=h;e.t=this.t+f+1;e.s=this.s;e.clamp()}function bnpRShiftTo(g,d){d.s=this.s;var e=Math.floor(g/this.DB);if(e>=this.t){d.t=0;return}var b=g%this.DB;var a=this.DB-b;var f=(1<<b)-1;d[0]=this[e]>>b;for(var c=e+1;c<this.t;++c){d[c-e-1]|=(this[c]&f)<<a;d[c-e]=this[c]>>b}if(b>0){d[this.t-e-1]|=(this.s&f)<<a}d.t=this.t-e;d.clamp()}function bnpSubTo(d,f){var e=0,g=0,b=Math.min(d.t,this.t);while(e<b){g+=this[e]-d[e];f[e++]=g&this.DM;g>>=this.DB}if(d.t<this.t){g-=d.s;while(e<this.t){g+=this[e];f[e++]=g&this.DM;g>>=this.DB}g+=this.s}else{g+=this.s;while(e<d.t){g-=d[e];f[e++]=g&this.DM;g>>=this.DB}g-=d.s}f.s=(g<0)?-1:0;if(g<-1){f[e++]=this.DV+g}else{if(g>0){f[e++]=g}}f.t=e;f.clamp()}function bnpMultiplyTo(c,e){var b=this.abs(),f=c.abs();var d=b.t;e.t=d+f.t;while(--d>=0){e[d]=0}for(d=0;d<f.t;++d){e[d+b.t]=b.am(0,f[d],e,d,0,b.t)}e.s=0;e.clamp();if(this.s!=c.s){BigInteger.ZERO.subTo(e,e)}}function bnpSquareTo(d){var a=this.abs();var b=d.t=2*a.t;while(--b>=0){d[b]=0}for(b=0;b<a.t-1;++b){var e=a.am(b,a[b],d,2*b,0,1);if((d[b+a.t]+=a.am(b+1,2*a[b],d,2*b+1,e,a.t-b-1))>=a.DV){d[b+a.t]-=a.DV;d[b+a.t+1]=1}}if(d.t>0){d[d.t-1]+=a.am(b,a[b],d,2*b,0,1)}d.s=0;d.clamp()}function bnpDivRemTo(o,h,g){var A=o.abs();if(A.t<=0){return}var l=this.abs();if(l.t<A.t){if(h!=null){h.fromInt(0)}if(g!=null){this.copyTo(g)}return}if(g==null){g=nbi()}var d=nbi(),a=this.s,n=o.s;var z=this.DB-nbits(A[A.t-1]);if(z>0){A.lShiftTo(z,d);l.lShiftTo(z,g)}else{A.copyTo(d);l.copyTo(g)}var u=d.t;var b=d[u-1];if(b==0){return}var s=b*(1<<this.F1)+((u>1)?d[u-2]>>this.F2:0);var D=this.FV/s,C=(1<<this.F1)/s,B=1<<this.F2;var x=g.t,w=x-u,f=(h==null)?nbi():h;d.dlShiftTo(w,f);if(g.compareTo(f)>=0){g[g.t++]=1;g.subTo(f,g)}BigInteger.ONE.dlShiftTo(u,f);f.subTo(d,d);while(d.t<u){d[d.t++]=0}while(--w>=0){var c=(g[--x]==b)?this.DM:Math.floor(g[x]*D+(g[x-1]+B)*C);if((g[x]+=d.am(0,c,g,w,0,u))<c){d.dlShiftTo(w,f);g.subTo(f,g);while(g[x]<--c){g.subTo(f,g)}}}if(h!=null){g.drShiftTo(u,h);if(a!=n){BigInteger.ZERO.subTo(h,h)}}g.t=u;g.clamp();if(z>0){g.rShiftTo(z,g)}if(a<0){BigInteger.ZERO.subTo(g,g)}}function bnMod(b){var c=nbi();this.abs().divRemTo(b,null,c);if(this.s<0&&c.compareTo(BigInteger.ZERO)>0){b.subTo(c,c)}return c}function Classic(a){this.m=a}function cConvert(a){if(a.s<0||a.compareTo(this.m)>=0){return a.mod(this.m)}else{return a}}function cRevert(a){return a}function cReduce(a){a.divRemTo(this.m,null,a)}function cMulTo(a,c,b){a.multiplyTo(c,b);this.reduce(b)}function cSqrTo(a,b){a.squareTo(b);this.reduce(b)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1){return 0}var a=this[0];if((a&1)==0){return 0}var b=a&3;b=(b*(2-(a&15)*b))&15;b=(b*(2-(a&255)*b))&255;b=(b*(2-(((a&65535)*b)&65535)))&65535;b=(b*(2-a*b%this.DV))%this.DV;return(b>0)?this.DV-b:-b}function Montgomery(a){this.m=a;this.mp=a.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<<(a.DB-15))-1;this.mt2=2*a.t}function montConvert(a){var b=nbi();a.abs().dlShiftTo(this.m.t,b);b.divRemTo(this.m,null,b);if(a.s<0&&b.compareTo(BigInteger.ZERO)>0){this.m.subTo(b,b)}return b}function montRevert(a){var b=nbi();a.copyTo(b);this.reduce(b);return b}function montReduce(a){while(a.t<=this.mt2){a[a.t++]=0}for(var c=0;c<this.m.t;++c){var b=a[c]&32767;var d=(b*this.mpl+(((b*this.mph+(a[c]>>15)*this.mpl)&this.um)<<15))&a.DM;b=c+this.m.t;a[b]+=this.m.am(0,d,a,c,0,this.m.t);while(a[b]>=a.DV){a[b]-=a.DV;a[++b]++}}a.clamp();a.drShiftTo(this.m.t,a);if(a.compareTo(this.m)>=0){a.subTo(this.m,a)}}function montSqrTo(a,b){a.squareTo(b);this.reduce(b)}function montMulTo(a,c,b){a.multiplyTo(c,b);this.reduce(b)}Montgomery.prototype.convert=montConvert;Montgomery.prototype.revert=montRevert;Montgomery.prototype.reduce=montReduce;Montgomery.prototype.mulTo=montMulTo;Montgomery.prototype.sqrTo=montSqrTo;function bnpIsEven(){return((this.t>0)?(this[0]&1):this.s)==0}function bnpExp(h,j){if(h>4294967295||h<1){return BigInteger.ONE}var f=nbi(),a=nbi(),d=j.convert(this),c=nbits(h)-1;d.copyTo(f);while(--c>=0){j.sqrTo(f,a);if((h&(1<<c))>0){j.mulTo(a,d,f)}else{var b=f;f=a;a=b}}return j.revert(f)}function bnModPowInt(b,a){var c;if(b<256||a.isEven()){c=new Classic(a)}else{c=new Montgomery(a)}return this.exp(b,c)}BigInteger.prototype.copyTo=bnpCopyTo;BigInteger.prototype.fromInt=bnpFromInt;BigInteger.prototype.fromString=bnpFromString;BigInteger.prototype.clamp=bnpClamp;BigInteger.prototype.dlShiftTo=bnpDLShiftTo;BigInteger.prototype.drShiftTo=bnpDRShiftTo;BigInteger.prototype.lShiftTo=bnpLShiftTo;BigInteger.prototype.rShiftTo=bnpRShiftTo;BigInteger.prototype.subTo=bnpSubTo;BigInteger.prototype.multiplyTo=bnpMultiplyTo;BigInteger.prototype.squareTo=bnpSquareTo;BigInteger.prototype.divRemTo=bnpDivRemTo;BigInteger.prototype.invDigit=bnpInvDigit;BigInteger.prototype.isEven=bnpIsEven;BigInteger.prototype.exp=bnpExp;BigInteger.prototype.toString=bnToString;BigInteger.prototype.negate=bnNegate;BigInteger.prototype.abs=bnAbs;BigInteger.prototype.compareTo=bnCompareTo;BigInteger.prototype.bitLength=bnBitLength;BigInteger.prototype.mod=bnMod;BigInteger.prototype.modPowInt=bnModPowInt;BigInteger.ZERO=nbv(0);BigInteger.ONE=nbv(1);function bnClone(){var a=nbi();this.copyTo(a);return a}function bnIntValue(){if(this.s<0){if(this.t==1){return this[0]-this.DV}else{if(this.t==0){return -1}}}else{if(this.t==1){return this[0]}else{if(this.t==0){return 0}}}return((this[1]&((1<<(32-this.DB))-1))<<this.DB)|this[0]}function bnByteValue(){return(this.t==0)?this.s:(this[0]<<24)>>24}function bnShortValue(){return(this.t==0)?this.s:(this[0]<<16)>>16}function bnpChunkSize(a){return Math.floor(Math.LN2*this.DB/Math.log(a))}function bnSigNum(){if(this.s<0){return -1}else{if(this.t<=0||(this.t==1&&this[0]<=0)){return 0}else{return 1}}}function bnpToRadix(c){if(c==null){c=10}if(this.signum()==0||c<2||c>36){return"0"}var f=this.chunkSize(c);var e=Math.pow(c,f);var j=nbv(e),l=nbi(),h=nbi(),g="";this.divRemTo(j,l,h);while(l.signum()>0){g=(e+h.intValue()).toString(c).substr(1)+g;l.divRemTo(j,l,h)}return h.intValue().toString(c)+g}function bnpFromRadix(n,h){this.fromInt(0);if(h==null){h=10}var f=this.chunkSize(h);var g=Math.pow(h,f),e=false,a=0,m=0;for(var c=0;c<n.length;++c){var l=intAt(n,c);if(l<0){if(n.charAt(c)=="-"&&this.signum()==0){e=true}continue}m=h*m+l;if(++a>=f){this.dMultiply(g);this.dAddOffset(m,0);a=0;m=0}}if(a>0){this.dMultiply(Math.pow(h,a));this.dAddOffset(m,0)}if(e){BigInteger.ZERO.subTo(this,this)}}function bnpFromNumber(f,e,h){if("number"==typeof e){if(f<2){this.fromInt(1)}else{this.fromNumber(f,h);if(!this.testBit(f-1)){this.bitwiseTo(BigInteger.ONE.shiftLeft(f-1),op_or,this)}if(this.isEven()){this.dAddOffset(1,0)}while(!this.isProbablePrime(e)){this.dAddOffset(2,0);if(this.bitLength()>f){this.subTo(BigInteger.ONE.shiftLeft(f-1),this)}}}}else{var d=new Array(),g=f&7;d.length=(f>>3)+1;e.nextBytes(d);if(g>0){d[0]&=((1<<g)-1)}else{d[0]=0}this.fromString(d,256)}}function bnToByteArray(){var b=this.t,c=new Array();c[0]=this.s;var e=this.DB-(b*this.DB)%8,f,a=0;if(b-->0){if(e<this.DB&&(f=this[b]>>e)!=(this.s&this.DM)>>e){c[a++]=f|(this.s<<(this.DB-e))}while(b>=0){if(e<8){f=(this[b]&((1<<e)-1))<<(8-e);f|=this[--b]>>(e+=this.DB-8)}else{f=(this[b]>>(e-=8))&255;if(e<=0){e+=this.DB;--b}}if((f&128)!=0){f|=-256}if(a==0&&(this.s&128)!=(f&128)){++a}if(a>0||f!=this.s){c[a++]=f}}}return c}function bnEquals(b){return(this.compareTo(b)==0)}function bnMin(b){return(this.compareTo(b)<0)?this:b}function bnMax(b){return(this.compareTo(b)>0)?this:b}function bnpBitwiseTo(c,h,e){var d,g,b=Math.min(c.t,this.t);for(d=0;d<b;++d){e[d]=h(this[d],c[d])}if(c.t<this.t){g=c.s&this.DM;for(d=b;d<this.t;++d){e[d]=h(this[d],g)}e.t=this.t}else{g=this.s&this.DM;for(d=b;d<c.t;++d){e[d]=h(g,c[d])}e.t=c.t}e.s=h(this.s,c.s);e.clamp()}function op_and(a,b){return a&b}function bnAnd(b){var c=nbi();this.bitwiseTo(b,op_and,c);return c}function op_or(a,b){return a|b}function bnOr(b){var c=nbi();this.bitwiseTo(b,op_or,c);return c}function op_xor(a,b){return a^b}function bnXor(b){var c=nbi();this.bitwiseTo(b,op_xor,c);return c}function op_andnot(a,b){return a&~b}function bnAndNot(b){var c=nbi();this.bitwiseTo(b,op_andnot,c);return c}function bnNot(){var b=nbi();for(var a=0;a<this.t;++a){b[a]=this.DM&~this[a]}b.t=this.t;b.s=~this.s;return b}function bnShiftLeft(b){var a=nbi();if(b<0){this.rShiftTo(-b,a)}else{this.lShiftTo(b,a)}return a}function bnShiftRight(b){var a=nbi();if(b<0){this.lShiftTo(-b,a)}else{this.rShiftTo(b,a)}return a}function lbit(a){if(a==0){return -1}var b=0;if((a&65535)==0){a>>=16;b+=16}if((a&255)==0){a>>=8;b+=8}if((a&15)==0){a>>=4;b+=4}if((a&3)==0){a>>=2;b+=2}if((a&1)==0){++b}return b}function bnGetLowestSetBit(){for(var a=0;a<this.t;++a){if(this[a]!=0){return a*this.DB+lbit(this[a])}}if(this.s<0){return this.t*this.DB}return -1}function cbit(a){var b=0;while(a!=0){a&=a-1;++b}return b}function bnBitCount(){var c=0,a=this.s&this.DM;for(var b=0;b<this.t;++b){c+=cbit(this[b]^a)}return c}function bnTestBit(b){var a=Math.floor(b/this.DB);if(a>=this.t){return(this.s!=0)}return((this[a]&(1<<(b%this.DB)))!=0)}function bnpChangeBit(c,b){var a=BigInteger.ONE.shiftLeft(c);this.bitwiseTo(a,b,a);return a}function bnSetBit(a){return this.changeBit(a,op_or)}function bnClearBit(a){return this.changeBit(a,op_andnot)}function bnFlipBit(a){return this.changeBit(a,op_xor)}function bnpAddTo(d,f){var e=0,g=0,b=Math.min(d.t,this.t);while(e<b){g+=this[e]+d[e];f[e++]=g&this.DM;g>>=this.DB}if(d.t<this.t){g+=d.s;while(e<this.t){g+=this[e];f[e++]=g&this.DM;g>>=this.DB}g+=this.s}else{g+=this.s;while(e<d.t){g+=d[e];f[e++]=g&this.DM;g>>=this.DB}g+=d.s}f.s=(g<0)?-1:0;if(g>0){f[e++]=g}else{if(g<-1){f[e++]=this.DV+g}}f.t=e;f.clamp()}function bnAdd(b){var c=nbi();this.addTo(b,c);return c}function bnSubtract(b){var c=nbi();this.subTo(b,c);return c}function bnMultiply(b){var c=nbi();this.multiplyTo(b,c);return c}function bnDivide(b){var c=nbi();this.divRemTo(b,c,null);return c}function bnRemainder(b){var c=nbi();this.divRemTo(b,null,c);return c}function bnDivideAndRemainder(b){var d=nbi(),c=nbi();this.divRemTo(b,d,c);return new Array(d,c)}function bnpDMultiply(a){this[this.t]=this.am(0,a-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(b,a){while(this.t<=a){this[this.t++]=0}this[a]+=b;while(this[a]>=this.DV){this[a]-=this.DV;if(++a>=this.t){this[this.t++]=0}++this[a]}}function NullExp(){}function nNop(a){return a}function nMulTo(a,c,b){a.multiplyTo(c,b)}function nSqrTo(a,b){a.squareTo(b)}NullExp.prototype.convert=nNop;NullExp.prototype.revert=nNop;NullExp.prototype.mulTo=nMulTo;NullExp.prototype.sqrTo=nSqrTo;function bnPow(a){return this.exp(a,new NullExp())}function bnpMultiplyLowerTo(b,f,e){var d=Math.min(this.t+b.t,f);e.s=0;e.t=d;while(d>0){e[--d]=0}var c;for(c=e.t-this.t;d<c;++d){e[d+this.t]=this.am(0,b[d],e,d,0,this.t)}for(c=Math.min(b.t,f);d<c;++d){this.am(0,b[d],e,d,0,f-d)}e.clamp()}function bnpMultiplyUpperTo(b,e,d){--e;var c=d.t=this.t+b.t-e;d.s=0;while(--c>=0){d[c]=0}for(c=Math.max(e-this.t,0);c<b.t;++c){d[this.t+c-e]=this.am(e-c,b[c],d,0,0,this.t+c-e)}d.clamp();d.drShiftTo(1,d)}function Barrett(a){this.r2=nbi();this.q3=nbi();BigInteger.ONE.dlShiftTo(2*a.t,this.r2);this.mu=this.r2.divide(a);this.m=a}function barrettConvert(a){if(a.s<0||a.t>2*this.m.t){return a.mod(this.m)}else{if(a.compareTo(this.m)<0){return a}else{var b=nbi();a.copyTo(b);this.reduce(b);return b}}}function barrettRevert(a){return a}function barrettReduce(a){a.drShiftTo(this.m.t-1,this.r2);if(a.t>this.m.t+1){a.t=this.m.t+1;a.clamp()}this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(a.compareTo(this.r2)<0){a.dAddOffset(1,this.m.t+1)}a.subTo(this.r2,a);while(a.compareTo(this.m)>=0){a.subTo(this.m,a)}}function barrettSqrTo(a,b){a.squareTo(b);this.reduce(b)}function barrettMulTo(a,c,b){a.multiplyTo(c,b);this.reduce(b)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(s,f){var o=s.bitLength(),h,b=nbv(1),y;if(o<=0){return b}else{if(o<18){h=1}else{if(o<48){h=3}else{if(o<144){h=4}else{if(o<768){h=5}else{h=6}}}}}if(o<8){y=new Classic(f)}else{if(f.isEven()){y=new Barrett(f)}else{y=new Montgomery(f)}}var q=new Array(),d=3,u=h-1,a=(1<<h)-1;q[1]=y.convert(this);if(h>1){var C=nbi();y.sqrTo(q[1],C);while(d<=a){q[d]=nbi();y.mulTo(C,q[d-2],q[d]);d+=2}}var l=s.t-1,A,x=true,c=nbi(),B;o=nbits(s[l])-1;while(l>=0){if(o>=u){A=(s[l]>>(o-u))&a}else{A=(s[l]&((1<<(o+1))-1))<<(u-o);if(l>0){A|=s[l-1]>>(this.DB+o-u)}}d=h;while((A&1)==0){A>>=1;--d}if((o-=d)<0){o+=this.DB;--l}if(x){q[A].copyTo(b);x=false}else{while(d>1){y.sqrTo(b,c);y.sqrTo(c,b);d-=2}if(d>0){y.sqrTo(b,c)}else{B=b;b=c;c=B}y.mulTo(c,q[A],b)}while(l>=0&&(s[l]&(1<<o))==0){y.sqrTo(b,c);B=b;b=c;c=B;if(--o<0){o=this.DB-1;--l}}}return y.revert(b)}function bnGCD(c){var b=(this.s<0)?this.negate():this.clone();var h=(c.s<0)?c.negate():c.clone();if(b.compareTo(h)<0){var e=b;b=h;h=e}var d=b.getLowestSetBit(),f=h.getLowestSetBit();if(f<0){return b}if(d<f){f=d}if(f>0){b.rShiftTo(f,b);h.rShiftTo(f,h)}while(b.signum()>0){if((d=b.getLowestSetBit())>0){b.rShiftTo(d,b)}if((d=h.getLowestSetBit())>0){h.rShiftTo(d,h)}if(b.compareTo(h)>=0){b.subTo(h,b);b.rShiftTo(1,b)}else{h.subTo(b,h);h.rShiftTo(1,h)}}if(f>0){h.lShiftTo(f,h)}return h}function bnpModInt(e){if(e<=0){return 0}var c=this.DV%e,b=(this.s<0)?e-1:0;if(this.t>0){if(c==0){b=this[0]%e}else{for(var a=this.t-1;a>=0;--a){b=(c*b+this[a])%e}}}return b}function bnModInverse(f){var l=f.isEven();if((this.isEven()&&l)||f.signum()==0){return BigInteger.ZERO}var j=f.clone(),h=this.clone();var g=nbv(1),e=nbv(0),o=nbv(0),n=nbv(1);while(j.signum()!=0){while(j.isEven()){j.rShiftTo(1,j);if(l){if(!g.isEven()||!e.isEven()){g.addTo(this,g);e.subTo(f,e)}g.rShiftTo(1,g)}else{if(!e.isEven()){e.subTo(f,e)}}e.rShiftTo(1,e)}while(h.isEven()){h.rShiftTo(1,h);if(l){if(!o.isEven()||!n.isEven()){o.addTo(this,o);n.subTo(f,n)}o.rShiftTo(1,o)}else{if(!n.isEven()){n.subTo(f,n)}}n.rShiftTo(1,n)}if(j.compareTo(h)>=0){j.subTo(h,j);if(l){g.subTo(o,g)}e.subTo(n,e)}else{h.subTo(j,h);if(l){o.subTo(g,o)}n.subTo(e,n)}}if(h.compareTo(BigInteger.ONE)!=0){return BigInteger.ZERO}if(n.compareTo(f)>=0){return n.subtract(f)}if(n.signum()<0){n.addTo(f,n)}else{return n}if(n.signum()<0){return n.add(f)}else{return n}}var lowprimes=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509];var lplim=(1<<26)/lowprimes[lowprimes.length-1];function bnIsProbablePrime(e){var d,b=this.abs();if(b.t==1&&b[0]<=lowprimes[lowprimes.length-1]){for(d=0;d<lowprimes.length;++d){if(b[0]==lowprimes[d]){return true}}return false}if(b.isEven()){return false}d=1;while(d<lowprimes.length){var a=lowprimes[d],c=d+1;while(c<lowprimes.length&&a<lplim){a*=lowprimes[c++]}a=b.modInt(a);while(d<c){if(a%lowprimes[d++]==0){return false}}}return b.millerRabin(e)}function bnpMillerRabin(f){var g=this.subtract(BigInteger.ONE);var c=g.getLowestSetBit();if(c<=0){return false}var h=g.shiftRight(c);f=(f+1)>>1;if(f>lowprimes.length){f=lowprimes.length}var b=nbi();for(var e=0;e<f;++e){b.fromInt(lowprimes[e]);var l=b.modPow(h,this);if(l.compareTo(BigInteger.ONE)!=0&&l.compareTo(g)!=0){var d=1;while(d++<c&&l.compareTo(g)!=0){l=l.modPowInt(2,this);if(l.compareTo(BigInteger.ONE)==0){return false}}if(l.compareTo(g)!=0){return false}}}return true}BigInteger.prototype.chunkSize=bnpChunkSize;BigInteger.prototype.toRadix=bnpToRadix;BigInteger.prototype.fromRadix=bnpFromRadix;BigInteger.prototype.fromNumber=bnpFromNumber;BigInteger.prototype.bitwiseTo=bnpBitwiseTo;BigInteger.prototype.changeBit=bnpChangeBit;BigInteger.prototype.addTo=bnpAddTo;BigInteger.prototype.dMultiply=bnpDMultiply;BigInteger.prototype.dAddOffset=bnpDAddOffset;BigInteger.prototype.multiplyLowerTo=bnpMultiplyLowerTo;BigInteger.prototype.multiplyUpperTo=bnpMultiplyUpperTo;BigInteger.prototype.modInt=bnpModInt;BigInteger.prototype.millerRabin=bnpMillerRabin;BigInteger.prototype.clone=bnClone;BigInteger.prototype.intValue=bnIntValue;BigInteger.prototype.byteValue=bnByteValue;BigInteger.prototype.shortValue=bnShortValue;BigInteger.prototype.signum=bnSigNum;BigInteger.prototype.toByteArray=bnToByteArray;BigInteger.prototype.equals=bnEquals;BigInteger.prototype.min=bnMin;BigInteger.prototype.max=bnMax;BigInteger.prototype.and=bnAnd;BigInteger.prototype.or=bnOr;BigInteger.prototype.xor=bnXor;BigInteger.prototype.andNot=bnAndNot;BigInteger.prototype.not=bnNot;BigInteger.prototype.shiftLeft=bnShiftLeft;BigInteger.prototype.shiftRight=bnShiftRight;BigInteger.prototype.getLowestSetBit=bnGetLowestSetBit;BigInteger.prototype.bitCount=bnBitCount;BigInteger.prototype.testBit=bnTestBit;BigInteger.prototype.setBit=bnSetBit;BigInteger.prototype.clearBit=bnClearBit;BigInteger.prototype.flipBit=bnFlipBit;BigInteger.prototype.add=bnAdd;BigInteger.prototype.subtract=bnSubtract;BigInteger.prototype.multiply=bnMultiply;BigInteger.prototype.divide=bnDivide;BigInteger.prototype.remainder=bnRemainder;BigInteger.prototype.divideAndRemainder=bnDivideAndRemainder;BigInteger.prototype.modPow=bnModPow;BigInteger.prototype.modInverse=bnModInverse;BigInteger.prototype.pow=bnPow;BigInteger.prototype.gcd=bnGCD;BigInteger.prototype.isProbablePrime=bnIsProbablePrime;var froggerCookie=null;function FroggerEntry(){var a;var c;var b;this.getIsInCollection=function(){return this.getIsIn(1)};this.getIsInWishlist=function(){return this.getIsIn(2)};this.getIsInEmailAlerts=function(){return this.getIsIn(4)};this.getIsInNowPlaying=function(){return this.getIsIn(8)};this.getIsInPlayed=function(){return this.getIsIn(16)};this.getIsInFavorites=function(){return this.getIsIn(32)};this.getHasReviewed=function(){return this.getIsIn(64)};this.getIsIn=function(d){return(this.listLocs&d)!=0}}function FroggerCookie(b,a){this.versionNum=b;this.entries=a;this.getEntry=function(d){if(a==null){return null}for(var c=0;c<a.length;++c){if(a[c].objId==d){return a[c]}}return null}}function getFroggerCookie(){if(froggerCookie==null){froggerCookie=parseFroggerB()}return froggerCookie}function getFroggerEntry(b){var a=getFroggerCookie();return a.getEntry(b)}function logFroggerEntry(a){document.getElementById("log").innerHTML+="ENTRY: objId="+a.objId+" rating="+a.userRating+" listLocs="+a.listLocs+"<br>"}var COOKIE_NAME="FroggerB";var MAX_NUMBER_OF_COOKIES=1;var NUMBITS_objIdBitSize=5;var NUMBITS_locsBitSize=5;function parseFroggerB(){var c=getCookieStr();if(c==null){return null}c=unescape(c);var b="v=3*";var a="v4_";if(b==c.substring(0,b.length)){return parseFroggerBForVersion3(c)}else{if(a==c.substring(0,a.length)){return parseFroggerBForVersion4(c)}}return null}function getCookieStr(){var b=null;for(var c=0;c<MAX_NUMBER_OF_COOKIES;++c){var a=getCookie(COOKIE_NAME+c);if(a==null){break}else{if(b==null){b=a}else{b+=a}}}return b}function parseFroggerBForVersion4(a){a=a.substring(a.lastIndexOf("_")+2);if(a==null||""==a){return null}var b=b64tohex(a);var c=new BigInteger(b,16);return parseFroggerBForVersionWithBigInteger(4,c)}function parseFroggerBForVersion3(a){a=a.substring(a.lastIndexOf("*")+3);var b=convertFromBase65(a);if(b==null||b==""){return null}return parseFroggerBForVersionWithBigInteger(3,b)}function parseFroggerBForVersionWithBigInteger(d,m){var c=m.and(getMask(NUMBITS_locsBitSize,0)).intValue();if(m.bitLength>900&&c!=7){c=7}else{m=m.shiftRight(NUMBITS_locsBitSize)}var f=m.and(getMask(NUMBITS_objIdBitSize,0)).intValue();if(m.bitLength>900&&f!=21){f=21}else{m=m.shiftRight(NUMBITS_objIdBitSize)}var b=7;var g=f+b+c;var h=getMask(f,b+c);var n=getMask(b,c);var o=getMask(c,0);var e=new Array(Math.ceil(m.bitLength()/g));var j=e.length-1;while(m.compareTo(BigInteger.ZERO)>0){var l=new FroggerEntry();l.objId=h.and(m).shiftRight(b+c).intValue();var a=n.and(m).shiftRight(c).intValue();l.listLocs=o.and(m).intValue();l.userRating=null;if(a>=0&&a<=100){l.userRating=a/10}e[j]=l;m=m.shiftRight(g);--j}return new FroggerCookie(d,e)}function getMask(b,c){var a=new BigInteger("1");a=a.shiftLeft(b);a=a.subtract(new BigInteger("1"));a=a.shiftLeft(c);return a}var baseDigits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_";var baseBig=new BigInteger(""+baseDigits.length,10);function convertFromBase65(f){var h=new BigInteger("1");var e=new BigInteger("0");for(var a=f.length-1;a>=0;--a){var g=f.charAt(a);var b=baseDigits.indexOf(g);var d=new BigInteger(""+b);e=e.add(h.multiply(d));h=h.multiply(baseBig)}return e}var b64map="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789*/";var b64pad="=";function b64tohex(e){var c="";var d;var a=0;var b;for(d=0;d<e.length;++d){if(e.charAt(d)==b64pad){break}v=b64map.indexOf(e.charAt(d));if(v<0){continue}if(a==0){c+=int2char(v>>2);b=v&3;a=1}else{if(a==1){c+=int2char((b<<2)|(v>>4));b=v&15;a=2}else{if(a==2){c+=int2char(b);c+=int2char(v>>2);b=v&3;a=3}else{c+=int2char((b<<2)|(v>>4));c+=int2char(v&15);a=0}}}}if(a==1){c+=int2char(b<<2)}return c}function getCookie(d){var b=d+"=";var f=b.length;var a=document.cookie.length;var e=0;while(e<a){var c=e+f;if(document.cookie.substring(e,c)==b){return getCookieVal(c)}e=document.cookie.indexOf(" ",e)+1;if(e==0){break}}return null}function getCookieVal(b){var a=document.cookie.indexOf(";",b);if(a==-1){a=document.cookie.length}return unescape(document.cookie.substring(b,a))}function setCookie(c,e){var a=setCookie.arguments;var h=setCookie.arguments.length;var b=(h>2)?a[2]:null;var g=(h>3)?a[3]:null;var d=(h>4)?a[4]:null;var f=(h>5)?a[5]:false;document.cookie=c+"="+escape(e)+((b==null)?"":("; expires="+b.toGMTString()))+((g==null)?"":("; path="+g))+((d==null)?"":("; domain="+d))+((f==true)?"; secure":"")}function deleteCookie(a,c,b){if(getCookie(a)){document.cookie=a+"=;expires=Thu, 01-Jan-1970 00:00:01 GMT"}}var isFroggerB=false;if(getFroggerCookie()!=null){if(getFroggerCookie().versionNum>3){isFroggerB=true}}IGN.lib={SCRIPTS_ROOT:"http://scripts.ign.com/scripts/ign/",JSLIB_ROOT:"http://scripts.ign.com/scripts/ign/lib/",PLUGIN_ROOT:"http://scripts.ign.com/scripts/ign/plugins/",_jArr:[],_pArr:[],loadjs:function(a,b){if($j.inArray(a,this._jArr)==-1){IGN.lib._jArr.push(a);IGN[a].init(b)}else{IGN[a].init(b)}},loadplugin:function(b,a){if($j.inArray(b,this._pArr)==-1){$j.getScript(this.PLUGIN_ROOT+b+".js",function(){IGN.lib._pArr.push(b);a()})}else{a()}}};switch(IGN.pagetype){case"mediavideolist":$j.getScript(IGN.lib.SCRIPTS_ROOT+"pagetype/mediavideolist.js");break}$j.getScript(IGN.lib.PLUGIN_ROOT+"jquery.elementReady.js",function(){IGN.lib.loadjs("headernav")});IGN.util={searchCheatsFormSubmit:function(a){var b=document.location.href;qry=urlEncode(a.query.value);if(qry==""){alert("Please type in your search query.");return}redir="";if(a.domain[0].checked){redir="http://search.ign.com/products?objtName=game&query="+qry}else{if(a.domain[1].checked){redir="http://search.ign.com/products?objtName=game&query="+qry}else{if(a.domain[2].checked){redir="http://search.ign.com/products?objtName=game&query="+qry}}}gotoval=redir;if(gotoval!=""){document.location=gotoval}return},validatePlatformForm:function(a){if(a.morePlatformsSelect.value==""){alert("Please select a platform.")}else{document.location=a.morePlatformsSelect.value}},snipIt:function(b,a){if(b==null){return null}b=$j.trim(b);if(b.length<a){return b}return b.slice(0,a)+"..."},cleanText:function(a){if(a!=null){a=a.replace(/\é/g,"&#233;");a=a.replace(/\’/g,"&#39;");a=a.replace(/\“/g,"&#34;");a=a.replace(/\”/g,"&#34;");a=a.replace(/\…/g,"...");a=a.replace(/<[^<|>]+?>/gi,"");return a}else{return null}}};IGN.locale={init:function(a){switch(a){case"uk":IGN.locale.initUK();break;case"au":IGN.locale.initAU();break;case"ie":IGN.locale.initIE();break;default:return}},initUK:function(){$j("#mast_logo_flag").html('<img src="http://media.ign.com/ign/imgs/logo_flag_uk.png"/>').show();$j("#join_img").attr("src","http://media.ign.com/ign/imgs/bg_hub_insider_join_noprice.gif")},initAU:function(){$j("#mast_logo_flag").html('<img src="http://media.ign.com/ign/imgs/logo_flag_au.png"/>').show();$j("#join_img").attr("src","http://media.ign.com/ign/imgs/bg_hub_insider_join_noprice.gif")},initIE:function(){$j("#mast_logo_flag").html('<img src="http://media.ign.com/ign/imgs/logo_flag_ie.png"/>').show()}};IGN.omni={omniTrackLink:function(a,c){var b=s_gi(s_account);b.linkTrackVars="prop15,eVar15";b.prop15=b.eVar15=c;b.tl(this,"o",a)}};document.write("<SCR"+"IPT LANGUAGE='JavaScript' SRC='http://scripts.ign.com/scripts/ign/utilities.js'></SCR"+"IPT>");IGN.ImageLoader={delayByView:function(b,c){var a=new YAHOO.util.ImageLoader.group(window,"scroll",10);a.foldConditional=true;a.registerSrcImage(b,c);a.addTrigger(window,"resize",10)}};$j(document).ready(function(){$j("a[omni_link]").click(function(b){IGN.omni.omniTrackLink($j(this).parents("div[omni_section]").attr("omni_section"),$j(this).attr("omni_link"))});IGN.locale.init(getLocale());$j("ul.tabs").each(function(b,c){$j(c).children("li:last").addClass("last");if($j(c).children("li").length==1){$j(c).addClass("last_selected")}});$j("ul.tabs").click(function(d){var c=$j(d.target);if(c.is("a")){c=c.parent()}var b=$j(this).attr("id").slice(0,-4);if(c.is("li")&&!c.hasClass("tab_selected")){$j(this).children("li").removeClass("tab_selected").addClass("tab_default");c.removeClass("tab_default").addClass("tab_selected");if(c.hasClass("last")){$j(this).addClass("last_selected")}else{$j(this).removeClass("last_selected")}var f=c.attr("id").slice(0,-3);$j("#"+b+"divs").children("div").hide();$j("#"+f+"div").show()}});$j("ul.tabs li").hover(function(b){if(!$j(b.target).hasClass("tab_selected")){$j(this).addClass("hover")}},function(b){if(!$j(b.target).hasClass("tab_selected")){$j(this).removeClass("hover")}});if($j.browser.msie&&$j.browser.version<7){$j.getScript(IGN.lib.PLUGIN_ROOT+"jquery.pngFix.js",function(){$j(document).pngFix()})}$j("#mast_logo").click(function(){document.location="http://www.trialbyfirerocks.com"});$j("#mast_logo").hover(function(){$j(this).addClass("hover")},function(){$j(this).removeClass("hover")});$j(".tab_filters a").click(function(){var b=($j(this).parent().parent()).attr("id");$j("#"+b+" div.tab_filters a").removeClass("selected");$j(this).addClass("selected");var c=$j(this).attr("id").slice(7);$j("#"+b+" .item_list").hide();$j("#"+b+" .list_column_all_link").hide();$j("#"+b+" .item_"+c).show()});$j("#more_platforms").change(function(){var b=$j("#more_platforms").val();window.location=b});$j(".filter_list a,.filter_alpha a").hover(function(){$j(this).addClass("hover")},function(){$j(this).removeClass("hover")});$j(".prev, .next").hover(function(){if(!$j(this).hasClass("disabled")){$j(this).addClass("hover")}},function(){$j(this).removeClass("hover")});$j("div.topstories-image-click").click(function(b){document.location=$j(this).next().find(".ts-title").children("a").attr("href")});$j(".ts-image-click").click(function(b){document.location=$j(this).next().find(".ts-title").children("a").attr("href")});$j("div.ts-selected").click(function(){document.location=$j(".topstories-image:visible").find(".ts-title").children("a").attr("href")});$j("#featuredvids-nav .thumb_div").hover(function(b){$j(this).find(".play_button").show()},function(b){$j(this).find(".play_button").hide()});if($j.browser.msie==true&&$j.browser.version<7){var a=true}$j("div.release_box div.item,div.popular_box div.item").hover(function(b){$j(this).addClass("hover");$j(this).find("div").addClass("menuOn")},function(b){$j(this).removeClass("hover");$j(this).find("div").removeClass("menuOn")});$j("div.thumb_div.has_play").hover(function(){$j(this).find(".thumb_div_img,.play_btn_img").addClass("hover");$j(this).find(".btn_off").hide();$j(this).find(".btn_on").show()},function(){$j(this).find(".thumb_div_img,.play_btn_img").removeClass("hover");$j(this).find(".btn_on").hide();$j(this).find(".btn_off").show()});$j("#col_hot_topics .row_background,#col_hot_topics li").hover(function(){$j(this).addClass("hover")},function(){$j(this).removeClass("hover")});$j(".hub_box3_nav ul").click(function(d){var c=$j(d.target);if(c.is("a")||c.is("span")){c=c.parent()}if(c.is("li")&&!c.hasClass("selected")){$j(this).children("li").removeClass("selected");c.addClass("selected");var b=$j(c).attr("id").split("_")[1];$j(".hub_box3_layer").hide();$j("#htd_"+b).show()}});if($j("#video_exclusive").length){$j("#video_top_stories").hide();$j("#video_top_stories .top_links").show()}$j("#video_top_stories").css({position:"static",top:0});$j(".top_links.toggletop").hover(function(){var b=$j(this).find("img").attr("src").slice(0,-6);$j(this).find("img").attr("src",b+"_1.gif");$j(this).find("a").css({textDecoration:"underline"})},function(){var b=$j(this).find("img").attr("src").slice(0,-6);$j(this).find("img").attr("src",b+"_0.gif");$j(this).find("a").css({textDecoration:"none"})});$j(".top_links.toggletop").click(function(){$j(".hub_box4_toggle").toggle()})});IGN.topstories={init:function(a){var d=800;var j=6000;var h=8000;var b=4;var l=1;var m=$j("#ts-nav").children().length;var n=false;if(m<4&&m!=0){b=m}IGN.lib.loadplugin("jquery.cycle.pack",f);IGN.lib.loadplugin("jcarousellite_1.0.1",g);function f(){$j("#topstories-image-container").cycle({timeout:j,speed:d,delay:h,before:function(s,q,r){if(s==q){return}l=parseInt($j(q).attr("id").slice(6));n=true;$j(".jc-next").click()},after:function(s,q,r){n=false}});$j("#top_stories .next").click(function(){c(".next")});$j("#top_stories .prev").click(function(){c(".prev")});$j(".ts-text").show()}function c(q){$j("#topstories-image-container").cycle("stop");$j("#top_stories .next,#top_stories .prev,.jc-next, .jc-prev").unbind("click");o(q)}function g(){$j("#ts-nav-wrapper").jCarouselLite({visible:b,btnNext:".jc-next",btnPrev:".jc-prev",speed:d})}function o(q){var s=l-1;var r=m-1;$j("#ts-nav li:lt("+b+")").remove();$j("#ts-nav li:gt("+r+")").remove();$j("#ts-nav-wrapper").jCarouselLite({start:s,visible:b,btnNext:"#top_stories .next",btnPrev:"#top_stories .prev",afterEnd:e});if(!(n&&q==".next")){$j("#top_stories "+q).click()}setTimeout(function(){$j(".topstories-image").css({opacity:1})},500)}function e(q){var r=$j(q[0]).attr("id").slice(6);$j("#topstories-image-container .topstories-image").hide();$j("#topstories-image-container #ts-img"+r).show()}}};IGN.imageslider={init:function(g){var f=g[0];var c=g[1];var b=g[2];var e=$j(f+".slider_wrapper ul").children().length;if(e>3){$j(f+" .next").removeClass("disabled")}if(e%3!=0){c=1}function a(){$j(f+" .slider_wrapper").jCarouselLite({visible:b,scroll:c,btnNext:f+" .next",btnPrev:f+" .prev",circular:false})}IGN.lib.loadplugin("jcarousellite_1.0.1",a)}};IGN.communitybox={_channel_id:null,TopPostItem:function(a,b,c){this.title=b;this.location=a;this.postType=c;this.author=null;this.objectID=null;this.iconImg=null;this.snippet=null;this.score=null;this.objectName=null},init:function(){this._channel_id=IGN.channel_id;switch(this._channel_id){case 192:case 269:return false}var a={foreignCategoryID:this._channel_id,daysBack:1,rowCount:1,snippetLength:200};$j.getJSON("http://submissions.ign.com/Services/AggregateServices.asmx/JSON_GetTopDailyPostsByForeignCategoryID?callback=?",a,function(b){if(!b[0]){return}IGN.communitybox.drawBox(b)})},drawBox:function(c){var d=null;var a=null;var b=null;for(i=0;i<c.length;i++){ci=new IGN.communitybox.TopPostItem(c[i].ContentLocation,IGN.util.cleanText(c[i].Title),c[i].PostType);ci.author=c[i].Author.Name;ci.objectID=c[i].ForeignID;ci.iconImg=c[i].Author.Icon.ImageURL;ci.snippet=IGN.util.cleanText(c[i].Snippet);ci.score=c[i].Score;if(ci.score==0){ci.score="0"}ci.objectName=c[i].ObjectName;if(ci.postType=="blog"){d=ci}if(ci.postType=="review"){a=ci}if(ci.postType=="wiki"){b=ci}}this.outputTopPosts(d,"#community_blog");if($j("#community_rr").length>0){this.outputTopPosts(a,"#community_rr")}if($j("#community_quote").length>0){this.outputTopPosts(b,"#community_quote")}},outputTopPosts:function(a,b){if(a!=null){if(a.iconImg==null){a.iconImg="http://media.ignimgs.com/media/boards/images/icons/monkey_ign.gif"}if(a.snippet==null){a.snippet=a.objectName}switch(b){case"#community_blog":a.snippet=IGN.util.snipIt(a.snippet,100)+"&nbsp;&nbsp;";break;case"#community_quote":a.location=a.location+"?tab=quote";a.snippet=IGN.util.snipIt(a.snippet.slice(0,-3),85);break;case"#community_rr":a.snippet=IGN.util.snipIt(a.objectName,25)+'<br/><a href="'+a.location+'">'+IGN.util.snipIt(a.title,25)+"</a>";if(a.score!=null){$j("#community_rr .rr_score").append(a.score).show()}break;default:a.snippet=IGN.util.snipIt(a.snippet,110)}$j(b).find("a").attr("href",a.location);$j(b).find(".community_thumb").children("img").attr("src",a.iconImg);$j(b).find("h5 a").text(a.author);$j(b).find("p").prepend(a.snippet);$j(b).show();$j("#community_stuff").show()}}};IGN.headernav={navBtn:"#account_tools div.nav_btn,#nav_top div.nav_btn,#nav_channel div.nav_btn,#nav_special div.nav_btn",navMenu:"#account_tools div.nav_menu,#nav_top div.nav_menu,#nav_channel div.nav_menu,#nav_special div.nav_menu",navArrow:"#account_tools img.nav_arrow,#nav_top img.nav_arrow,#nav_channel img.nav_arrow,#nav_special img.nav_arrow",navOpt:"#account_tools div.nav_option,#nav_top div.nav_option,#nav_channel div.nav_option,#nav_special div.nav_option",clearNav:function(){$j(this.navBtn).removeClass("selected");$j(this.navMenu).removeClass("vis").hide();$j(this.navArrow).each(function(){$j(this).attr("src",$j(this).attr("src").slice(0,-6)+"_0.gif")})},init:function(){var a=""+window.location;$j.elementReady("nav_top",function(){if(checkRegistration()){uName=getUserName();var c=IGN.util.snipIt(uName,10);if(typeof(c)=="undefined"){c=""}var b='<span class="divider first">|</span>Welcome, <a href="http://club.ign.com" rel="nofollow" omni_link="hdr_user" id="login_name">'+c+"</a>";var e='<span class="divider">|</span><a href="http://my.ign.com/my/sb?paction=logout&network=1&cb='+random+'" omni_link="hdr_logout" id="logout_link" rel="nofollow">Log Out</a>';var d='<span id="boards-pm" style="display:none"><span class="divider">|</span><a href="http://boards.ign.com/ASP/pm_unread.asp">Private Messages (<span id="newPmCountLayer"></span>)</a></span> ';var f='<img src="http://login.ign.com/cookieupdate.aspx?ohrs=1" width="1" height="1" style="display:none;" />';$j("#login").html(b+e+d+f);$j.getScript('http://boards.ign.com/PrivateMessages/NewPMCount.aspx?caption=New&zero=false&rand=0">',function(){if($j("#newPmCountLayer").text()!=""){$j("#boards-pm").show()}});$j("#account_tools_prof").attr("href","http://club.ign.com/b/about?username-"+uName);$j("#account_tools_alerts").attr("href","http://club.ign.com/b/list/custom?owner="+uName+"&mode=edit&lid=100063");$j("#account_tools_wish").attr("href","http://club.ign.com/b/list/custom?owner="+uName+"&mode=edit&lid=0");$j("#account_tools_coll").attr("href","http://club.ign.com/b/list/custom?owner="+uName+"&mode=edit&lid=1");$j("#account_tools_blog").attr("href","http://blogs.ign.com/"+uName+"/");$j("#account_tools .nav_btn").show();$j("#community_upsalelink").empty()}else{if(a.indexOf("/teasers/")>-1){a=js_replace(a,".html","p1.html");a=js_replace(a,"/teasers/","/articles/")}a=js_replace(a,"/teaser.html","/index.html");$j("#login_link").attr("href","http://my.ign.com/my/sb?paction=relogin&params="+urlEncode("#action#protect#location#"+urlEncode(a)));$j("#reg_link").attr("href","http://my.ign.com/my/sb?regAction=reg&params="+urlEncode("#action#protect#location#"+urlEncode(a)));$j(".divider.first").hide()}$j("#login").css({visibility:"visible"});$j("#login_name").click(function(){return trackclick("LoginBox_name-click.ign.com")});$j("#logout_link").click(function(){return trackclick("LoginBox_logout-click.ign.com");$j(".divider.first").show()});$j("#login_link").click(function(){return trackclick("LoginBox_login-click.ign.com")});$j("#reg_link").click(function(){return trackclick("LoginBox_register-click.ign.com")});$j("body").click(function(h){var g=$j(h.target);if(!g.hasClass("has_menu")&&!g.hasClass("nav_arrow")&&!g.hasClass("nav_btn")){IGN.headernav.clearNav()}});$j(IGN.headernav.navBtn).click(function(h){var g=$j(this).find(".nav_arrow").attr("src");if(!$j(this).find(".nav_menu").hasClass("vis")){IGN.headernav.clearNav()}if(!($j(this).find("a").attr("target"))){if($j(this).find("a").attr("href")){document.location=$j(this).find("a").attr("href")}}$j(this).find(".nav_menu").toggleClass("vis").toggle();if(g){$j(this).find(".nav_arrow").attr("src",g.slice(0,-6)+"_1.gif");$j(this).toggleClass("selected");if(!$j(this).hasClass("selected")){$j(this).find(".nav_arrow").attr("src",g.slice(0,-6)+"_0.gif")}}});$j(IGN.headernav.navMenu).click(function(h){var g=$j(h.target);if(g.hasClass("nav_option")){document.location=g.children(0).attr("href")}});$j(IGN.headernav.navOpt+","+IGN.headernav.navBtn).hover(function(g){$j(this).addClass("hover")},function(g){$j(this).removeClass("hover")})});$j.elementReady("community_upsalelink",function(){if(!checkRegistration()){$j("#community_upsalelink").attr("href","http://my.ign.com/my/sb?regAction=reg&params="+urlEncode("#action#protect#location#"+urlEncode(a))).text("Sign-up for free newsletters, blogs, contests, forums and more")}})}};now=new Date();random=now.getTime();function clickCheck(){if(!checkSubscription()){alert("You must be logged in as an IGN Insider to access this content.")}}function checkParam(d,c){p=new String(document.location);p=p.substring(p.indexOf("?")+1,p.length);var b=new String(d);if(p.indexOf(b)>-1){var a=new String(c);pArray=p.split("&");k=pArray.length;for(i=0;i<k;i++){keyVal=pArray[i].split("=");if(keyVal.length!=2){continue}if(keyVal[0]==b&&keyVal[1]==a){return true}}}return false}function getParm(b){b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var a="[\\?&]"+b+"=([^&#]*)";var d=new RegExp(a);var c=d.exec(window.location.href);if(c==null){return""}else{return c[1]}}function stf(b){var a=top.document.location;if(b){a=b}var c="http://www.trialbyfirerocks.com/stf/index.html?pst=1&url="+a;var d=window.open(c,"","status,height=500,width=450")}function stf_spy(b){var a=top.document.location;if(b){a=b}var c="http://www.gamespy.com/stf/index.html?pst=1&url="+a;var d=window.open(c,"","status,height=500,width=450")}function goLogin(){windowgoto="http://my.ign.com/my/sb?paction=relogin&params="+urlEncode("#action#protect#location#"+urlEncode(window.location));document.location=windowgoto;return false}function urlEncode(a){a=new String(a);outStr=" ";for(i=0;i<a.length;i++){aChar=a.substring(i,i+1);switch(aChar){case"%":outStr+="%25";break;case",":outStr+="%2C";break;case"/":outStr+="%2F";break;case":":outStr+="%3A";break;case"~":outStr+="%7E";break;case"!":outStr+="%21";break;case'"':outStr+="%22";break;case"#":outStr+="%23";break;case"$":outStr+="%24";break;case"'":outStr+="%27";break;case"`":outStr+="%60";break;case"^":outStr+="%5E";break;case"&":outStr+="%26";break;case"(":outStr+="%28";break;case")":outStr+="%29";break;case"+":outStr+="%2B";break;case"{":outStr+="%7B";break;case"|":outStr+="%7C";break;case"}":outStr+="%7D";break;case";":outStr+="%3B";break;case"<":outStr+="%3C";break;case"=":outStr+="%3D";break;case">":outStr+="%3E";break;case"?":outStr+="%3F";break;case"[":outStr+="%5B";break;case"\\":outStr+="%5C";break;case"]":outStr+="%5D";break;case" ":outStr+="+";break;default:outStr+=aChar}}return outStr.substring(1,outStr.length)}function js_replace(b,f,d){var g=b.length;var e=f.length;if((g==0)||(e==0)){return b}var a=b.indexOf(f);if((!a)&&(f!=b.substring(0,e))){return b}if(a==-1){return b}var c=b.substring(0,a)+d;if(a+e<g){c+=js_replace(b.substring(a+e,g),f,d)}return c}function trackclick(c,g){var a=new Date();var d=a.getTime();var e="&r="+escape(document.location);e=e.split("/").join("%2F");e=e.split(".").join("%2E");e=e.split("%").join("$");var h=document.location.toString().substring(7);h=h.substring(0,h.indexOf("/"));c=c+"-"+h;var f="&p=http://www.ignlinktrack.com/"+c;f=f.split("/").join("%2F");f=f.split(".").join("%2E");f=f.split("%").join("$");var j="&pagetype=";ptstring=ataxscript.substr(ataxscript.indexOf("pagetype=")+9);j=j+ptstring.substr(0,ptstring.indexOf("&"));var b="";if(g!=null){b="&aggregate="+g}i=new Image();i.src="http://atax.ign.com/network=ign&size=1x1"+f+e+j+b+"&name=ATAtracker?"+d+'" height="1" width="1" style="position: absolute; visibility: hidden'}function gspy_trackclick(e){var b=new Date();var d=b.getTime();var c="&r="+escape(document.location);c=c.split("/").join("%2F");c=c.split(".").join("%2E");c=c.split("%").join("$");var a=document.location.toString().substring(7);a=a.substring(0,a.indexOf("/"));e=e+"-"+a;var f="&p=http://www.ignlinktrack.com/"+e;f=f.split("/").join("%2F");f=f.split(".").join("%2E");f=f.split("%").join("$");i=new Image();i.src="http://atax.gamespy.com/network=gamespy&size=1x1"+f+c+"&name=ATAtracker?"+d+'" height="1" width="1" style="position: absolute; visibility: hidden'}function s_trim(a){if(a.length<1){return""}a=StringTrim(a,"right");a=StringTrim(a,"left");if(a==""){return""}else{return a}}function StringTrim(a,b){return(b=="left"?a.replace(/^\s+/,""):a.replace(/\s+$/,""))}function checkLocale(a){urlLocale=getLocale();paramLocale=a;if(urlLocale==paramLocale){return true}if(checkParam("setLocale",paramLocale)){return true}return false}function getLocale(){p=new String(document.location);regx=/\/\/(\w.*?)\./;result=p.match(regx);if(result!=null){return result[1]}}function multiSiteSearchSubmit(b){var c=document.location.href;qry=urlEncode(b.query.value);if(qry==""){alert("Please type in your search query.");return}redir="";if(b.domain[0].checked){redir="http://search.ign.com/web?query="+qry}else{if(b.domain[1].checked){redir="http://search.ign.com/products?query="+qry}else{if(c.match(/boards\.ign\.com/)){redir="http://boards.ign.com/ASP/search_boards.asp?search_phrase="+qry}else{var a=b.objtName.value;searchTerm="http://search.ign.com/products?genNav=true&query=";additionalSearchTerm="&objtName="+a;if(a=="game"){additionalSearchTerm="&platformSearch="+b.platformSearch.value}if(a=="article"){searchTerm="http://search.ign.com/articles?genNav=true&typeName="+b.typeName.value+"&query="}redir=searchTerm+qry+additionalSearchTerm}}}gotoval=redir;if(gotoval!=""){document.location=gotoval}return}function showSummary(d,c){var e=document.getElementById(d);var f=document.getElementById(c);if(e.style.display!="none"){e.style.display="none";f.style.display=""}else{if(f.style.display!="none"){e.style.display="";f.style.display="none"}}}



function onBodyLoad()
{
}

function JSONscriptRequest(a){this.fullUrl=a;this.noCacheIE="&noCacheIE="+(new Date()).getTime();this.headLoc=document.getElementsByTagName("head").item(0);this.scriptId="YJscriptId"+JSONscriptRequest.scriptCounter++}JSONscriptRequest.scriptCounter=1;JSONscriptRequest.prototype.buildScriptTag=function(){this.scriptObj=document.createElement("script");this.scriptObj.setAttribute("type","text/javascript");this.scriptObj.setAttribute("src",this.fullUrl+this.noCacheIE);this.scriptObj.setAttribute("id",this.scriptId)};JSONscriptRequest.prototype.removeScriptTag=function(){this.headLoc.removeChild(this.scriptObj)};JSONscriptRequest.prototype.addScriptTag=function(){this.headLoc.appendChild(this.scriptObj)};function getSubmittedData(a){aObj=new JSONscriptRequest(a);aObj.buildScriptTag();aObj.addScriptTag()};