function GetBrowser(){var $a=navigator.userAgent.toLowerCase();if($a.indexOf("opera")!=-1){return 'OPERA';}else if($a.indexOf("netscape")!=-1){if($a.indexOf("msie")!=-1){return 'IE';}else{return 'NETSCAPE';}}else if($a.indexOf("firefox")!=-1){return 'FIREFOX';}else if($a.indexOf("chrome")!=-1){return 'CHROME';}else if($a.indexOf("safari")!=-1){return 'SAFARI';}else if($a.indexOf("msie")!=-1){return 'IE';}else{return 'IE*';}};function GetScreenRes(){var $b=screen.height;switch(GetBrowser()){case 'OPERA':$b=($b*0.70);return $b;case 'NETSCAPE':$b=$b-200;return $b;case 'IE':$b=$b-250;return $b;case 'FIREFOX':$b=$b-250;return $b;}};function GetScrennWidth(){var $c=screen.width;$c=$c-($c*0.90);return Math.round($c);};function GetScrennTop(){var $d=screen.height;$d=$d-($d*0.88);return Math.round($d);};function LaunchProduct($e,$f){var $g;if($f){$g=$e;}else{var $h='://';var $i='/';var $j='';var $k='';var $l=$e.toLowerCase();$g=parent.location.href.toLowerCase();var $m=$g.indexOf($h);$j=$g.slice(0,$m+$h.length);$k=$g.slice($m+$h.length,$g.length);var $m=$k.indexOf($i);$k=$k.slice(0,$m+$i.length);$g=$j+$k+$l;};var $c=GetWindowWidth();var $b=GetWindowHeight();$c-=10;$b-=10;var $e='./sitetr.asp?rul='+$g.replace('?','&')+'&rn='+GetRndNum();window.top.location=$e;};function LaunchPrdGames($n,$o,$p){var $c=GetWindowWidth();var $b=GetWindowHeight();var $q='./xproductswitch.asp?stk='+$n+'&lng='+$o+'&prd='+$p+'&rn='+GetRndNum();$c-=10;$b-=10;window.top.location=$q;};function GetWindowHeight(){var $r=0;if(typeof(window.innerWidth)=='number'){$r=window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){$r=document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){$r=document.body.clientHeight;};return $r;};function GetWindowWidth(){var $s=0;if(typeof(window.innerWidth)=='number'){$s=window.innerWidth;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){$s=document.documentElement.clientWidth;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){$s=document.body.clientWidth;};return $s};function alertSize(){var $s=0,$r=0;if(typeof(window.innerWidth)=='number'){$s=window.innerWidth;$r=window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){$s=document.documentElement.clientWidth;$r=document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){$s=document.body.clientWidth;$r=document.body.clientHeight;};window.alert('Width = '+$s);window.alert('Height = '+$r);};function GetBWVer(){return 'browser_vA006cr';};function LaunchPrdInPlay($t,$u,$v){var $w=0;var $x=0;if((typeof swfobject!=='undefined')&&(swfobject!==null)){swfobject.getFlashPlayerVersion();var $y=swfobject.ua.pv;if($y[0]>0){$x=$y[0]+"."+$y[1]+"."+$y[2];}else{$x=0;};var v=String("9.0.115.0").split(".");v[0]=parseInt(v[0],10);v[1]=parseInt(v[1],10)||0;v[2]=parseInt(v[2],10)||0;if($y[0]>v[0]||($y[0]==v[0]&&$y[1]>v[1])||($y[0]==v[0]&&$y[1]==v[1]&&$y[2]>=v[2])){$w=0;}else{$w=1;}};if($w==0){var $z=top.frames['main'];var $q='./FlashGen4/InPlayConsoleApp.asp?e='+$t+'&d='+$u+'&'+$v+'&rn='+GetRndNum();if((typeof $z!=='undefined')&&($z!==null)){var $A=$z.SOIsFinancials();if((Number($A)===-1)&&(!SOValidCombi(g_cstrTypeNormal,true))){top.showMsgv4(true,false);}else if(Number($A)===1){top.showMsgv4(true,true);}else{window.top.location=$q;}}else{window.top.location=$q;}}else{if(typeof top.showMsgv4!=='undefined'){top.showMsgv4(false);}}};function loadInplay(){var $B=top.frames['bslip'];var $q='./FlashGen4/InPlayConsoleApp.asp';if((typeof $B!=='undefined')&&($B!==null)){if($B.SOClS()){setTimeout('window.top.location ="'+$q+'"',1500);}}else{window.top.location=$q;}}


