var DocHgt,D=document,d=D.links,P="Promo",B="Rebate",z=0,c1="#FFD525",c2="#000000",b1="#000000",b2="#FFFF00",c3="#FF0000",a="Auxiliary/FileCounter.php?filename=",a2="Auxiliary/GameCounter.php?V=",b=D.URL,c="&Refer=",R=D.referrer,ie4=D.all,ns4=D.layers,ns6=D.getElementById&&!D.all,dragswitch=0,nsy, nstemp,si=15, isFF = (navigator.userAgent.indexOf("Firefox") > -1)  ? true : false, isNS = (navigator.appName == "Netscape") ? true : false, isOP = (navigator.userAgent.indexOf("Opera") > -1)  ? true : false, isSF = (navigator.userAgent.indexOf("Safari") > -1)  ? true : false, isNotAuto = ( isFF || isNS || isSF), FlPlayer="off", DBlock = isNS ?  'table-cell' : 'block', TBlock = isNS ?  'table' : 'block',htp='http://', htpw='http://www', hts='https://',tmp,DHTo, DHFrom="0",SLShow=true, vSBOC, sId, vSBOC, vSBy, vWLOC, vWLx, vWLy, vWLD, vAdx, vAdy, vCId, H1Hlp ,H2Hlp,topGo,IsGo460,IsGo125,AdjH;

var pad,MovieScr,factorW,ScrWdt,ScrollWdt,factorH,ScrHgt,ScrollHgt,factorWH,factorImWH,numScrWdt,numScrHgt;
 if(parent.frames.length>0)
 SLShow=false;

 function visb()
 {
  if(D.getElementById("RszFulldoc"))
  D.getElementById("RszFulldoc").style.visibility='visible'; //this
//  if(D.getElementById("pop_content").scrollWidth > 500) D.getElementById("pop").style.display='none';
//  if(D.getElementById("Ipop") && isFF)  D.getElementById("Ipop").style.display='none'; return true
// return true;//this
 };

window.onerror = visb;//for Goo improper remote cache + Goo bar line 435 js bug

//*Work
 function TOVisb()
 { 
  if(D.getElementById("RszFulldoc"))
  {
   if(D.getElementById("RszFulldoc").style.visibility == 'hidden')
   {
    if(b.indexOf("poker")>-1)
    {
     if(D.getElementById("pop_content") && isNS)
     {
      if(D.getElementById("pop_content").scrollWidth > 500)
      D.getElementById("pop").style.display='none';
     }
    }
   window.setTimeout( "D.getElementById('RszFulldoc').style.visibility='visible'",5000);
   }
  return false
  }
 }; 
//end Work*/

var elMP=false;
var elBAF=false;
var elIMF;
var stop1;
var NbS=10;
var initY = 34;
var Msg = new Array;
var Help = new Array;
var n,i,Url;

var ecranW=screen.width;
var ecranH=screen.height;
WHratio = ecranW/ecranH;
var factor = (WHratio>0) ? Math.max( Math.min( Math.round( ( (ecranW/1024) + ( (1.333-WHratio) / 2.666) ) * 100  ) /100, 1.05), 0.5) : 1;// /100, 1.2)

 function NSResize() {
   if(isNotAuto)  {
   Ma = "Ma="+Math.random(); 
   Ha = D.location.hash; 
   DU=D.URL.replace(/Ma=(.*)|#(.*)/g,'');  
   if(DU.indexOf("\?")>-1) s="&"; 
   else s="?"; 
   h=(DU+s+Ma+Ha).replace(s+s,s);
  window.top.location.href=h;
  }
  else
  window.history.go(0);
 }

 function LaliW(a,c) { if(D.getElementById(a) && c>0) { c=Math.max(c,1); D.getElementById(a).style.width = c } }
 function LaliH(a,c) { if(D.getElementById(a) && c>0) { c=Math.max(c,1); D.getElementById(a).style.height = c } }
 function LaliF(a,c) { if(D.getElementById(a)) { D.getElementById(a).style.fontSize = c } }
 function LaliMT(a,c) { if(D.getElementById(a)) { D.getElementById(a).style.marginTop = c } }
 function LaliPT(a,c) { if(D.getElementById(a)) { D.getElementById(a).style.paddingTop = c } }
 function LaliBo(a,c) { if(D.getElementById(a)) { D.getElementById(a).style.bottom = c } }
 function LaliX(a,c) { if(D.getElementById(a)) { D.getElementById(a).style.overflowX = c } }
 function LaliVA(a,c) { if(D.getElementById(a)) { D.getElementById(a).style.verticalAlign = c } }
 function LaliAl(a,c) { if(D.getElementById(a)) { D.getElementById(a).style.align = c } }
//Styles
 function MOC(a,b){D.getElementById(a).style.color=b}
 function MOB(a,b){D.getElementById(a).style.borderColor=b}
//JV Cat & Desc
 function MTMenuHov(a){a.style.color='#FFFCCC';}
 function MTMenuOut(a){a.style.color='#CCCCCC'}
 function STMenuHov(a){a.style.border='solid #99CCFF 2px';a.style.padding=0;a.style.backgroundColor='#663333'}
 function STMenuOut(a){a.style.border='';a.style.padding=2;a.style.backgroundColor=''}
 function CCl(v,SId){if(SId==undefined)q=b+c+R;else q=SId;cadreSys.location.href=v+q;}
 function CCWO(a2,SId,Dom){CCl(a2,SId);window.location.href=Dom+"Description.php?V="+SId;}
//Open windows
 function WLC(F,C){window.open(F,C)}
 function WLH(F){window.open(F,'_blank')}
 function WIF(F,C,W){D.getElementById(W).style.visibility='hidden'; D.getElementById(W).style.display='block'; window.open(F,C); window.open('Sys.php'+sId+'&vWLOC=Open','cadreSys'); D.getElementById(W).style.visibility='visible' }//shortlist
 function WIFy(F,C,W,Y){ el=D.getElementById(W); el.style.visibility='hidden'; el.style.display='block'; window.open(F,C); el.style.top=(Y*factorH)+D.body.scrollTop+'px'; el.style.visibility='visible'; if(W=="ShortList") {window.open('Sys.php'+sId+'&vWLOC=Open','cadreSys') } }//cs shortlist

 function WIFOffy(F,C,W,Y,L){
  if(parent.D.getElementById("ROBar") && L!=undefined)
  {
  L=L.replace(/\+/g,' ').replace(/%2B/g,"+").replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";").replace(/%3A/g,":").replace(/%28/g,"(").replace(/%29/g,")").replace(/%25/g,"%").replace(/%5B/g,'[').replace(/%5D/g,']').replace(/%3F/g,'?').replace(/%2F/g,'/');
  parent.D.getElementById("ROBar").innerHTML=L;
  }
 var ellali=D.getElementById(C+"A"); //containee
  if(isNS)
  {
  ScrHgt = window.innerHeight;
  ScrWdt = D.body.innerWidth;
  }
  else
  {
  ScrHgt = D.body.clientHeight;
  ScrWdt = D.body.clientWidth;
  }
 var fH = Math.round( ScrHgt*0.8 );
 var fW = Math.round( ScrWdt*0.8 );
  if(ellali)
  {
  ellali.style.height=fH+'px';
  ellali.style.width=fW+'px'; 
  }
 ellali=D.getElementById(W); //container
  if(ellali)
  {
  ellali.style.height=(fH+18)+'px'; 
  ellali.style.width=(fW+2)+'px'; 
  ellali.style.zIndex=1002; 
  ellali.style.visibility='hidden'; 
  ellali.style.display='block';
  ellali.style.top=Y+'px';
  }
  if(F.length>0)
  window.open(F,C);
 if(ellali)
 ellali.style.visibility='visible'; 
 }

var isNSIe;//Netscape 8 bugs on IE display mode. Todo: complete isNSIe condition.
 function DHash(Dh)
 {
  if(Dh.length < 2)
  Dh='#Im0';
 window.location.hash=Dh; 
  if(isNSIe)//conditional to NS for IE only
  {
   //if( Dh == "SiteInfo" )
   //do domething here
   D.getElementById('error').scrollTop=0;//error that breaks NSIE 40 seconds long useless computation. Resumes at onerror vis.
  }
  if( Dh == "ScrInf" ) //conditional to NS for IE only
  window.location.hash='#Im0'; 
 }
 
 //windows
 function OWB(F,Wid,Hei){window.open(F,'_blank','toolbar=no,menubar=no,resizable=yes,status=yes,top=5,width='+Wid+',height='+Hei+',scrollbars=yes')}
//Misc
 function BackF(){window.history.go(-1);}
 function CtLk(){L=D.links.length;D.write(L);}
//Display
 function ROClose(W,IF) { D.getElementById(W).style.display='none'; window.open('Wait.php',IF)}

 function WLClose(W,IF,v) 
 {
 var ra="&rand="+Math.random();
 window.open('Sys.php'+sId+'&vWLOC=Close','cadreSys');
  if( D.getElementById(W) )
  D.getElementById(W).style.display='none';
 }

 function WLOpen(W,IF,v) { var ra="&rand="+Math.random(); window.open('Sys.php'+sId+'&'+v+'=Open'+ra,'cadreSys'); }
 function hideBox(){ D.getElementById("pop_content").style.display='none'; D.getElementById("pop").style.height=24*factor; if(vSBOC=="Open") { window.open('Sys.php'+sId+'&vSBOC=Close','cadreSys'); vSBOC="Close" } }
 function showBox() { D.getElementById("pop_content").style.display=TBlock; D.getElementById('pop').style.height=D.getElementById("Cs").scrollHeight ; window.open('Sys.php'+sId+'&vSBOC=Open','cadreSys'); window.clearInterval(stop1); }

 function shoHid() { if(D.getElementById("pop_content").style.display==TBlock) hideBox(); else showBox();}
 function showBoxIb(hpop)
 {
 si+=5;
 D.getElementById('pop').style.height=si;
  if(si >= hpop)
  {
  window.clearInterval(stop1);
  showBox(hpop);
  }
 }
 function showBoxI(hpop)
 {
 hpop=hpop*factor;
  if(vSBy>0)
  D.getElementById('pop').style.top=(vSBy*factor)+'px';
 D.getElementById('pop').style.height=(24*factor)+'px';
   if(SLShow) 
   D.getElementById('pop').style.visibility='visible';
  if( vSBOC != "Close" )
  stop1 = window.setInterval('showBoxIb(hpop)',20);
 }
//MP
 function mp_volOn() {if(elMP) elMP.Mute=false; } 
 function mp_volMute() {if(elMP) elMP.Mute=true; } 
 function mp_volM() {if(elMP) elMP.Mute=false; currV = Math.min(-140, elMP.Volume); elMP.Volume = Math.max(-10000, currV*2); }
 function mp_volP() {if(elMP) elMP.Mute=false; currV = elMP.Volume; elMP.Volume = Math.min(0, currV-(Math.min(currV/2,-60))); }
 function mp_fullscreen() {if(elMP) elMP.DisplaySize=3; } //not in use
 
 function mp_stopC(k) 
 { 
 mp_volMute();
  if(isNS) elMP.stop; 
  else elMP.Stop(); 
 sendF=mp_ShutDownC(k);
 setTimeout('sendF',500) }
 
 function mp_pause() 
 { 
  if(isNS) elMP.pause; 
  else elMP.Pause(); 
 };
//end Common JG JV

//JV MP / extended to JG
 function mp_play(Url,k) { 
 MovieScr=D.getElementById("ImgAmz"+k+"A").style.height;
 document.getElementById('BAF'+k).innerHTML='<OBJECT id="MediaPlayer" codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 type=application/x-oleobject standby="Loading Microsoft? Windows Media Player components..." classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 width="'+MovieScr+'" height="'+MovieScr+'" align="middle" style="zindex:5">'
  +' <PARAM NAME="AnimationatStart" VALUE="false">'
  +' <PARAM NAME="TransparentatStart" VALUE="true">'
  +' <PARAM NAME="AutoStart" VALUE="true">'
  +' <PARAM NAME="ShowControls" VALUE="false">'
  +' <PARAM NAME="FileName" VALUE="'+Url+'">'
  +' <embed type="application/x-mplayer2" src="../'+Url+'" style="zindex:15" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=Media&amp;sba=Plugin&amp;" name="MediaPlayer" width="'+MovieScr+'" height="'+MovieScr+'" showcontrols="0" showdisplay="0" showstatusbar="0"></embed></OBJECT>';
  elBAF.style.backgroundColor = "#FFFFFF"; 
  elBAF.style.padding =1; 
  elBAF.style.paddingTop =2; 
  elBAF.style.width = MovieScr; 
  elBAF.style.height = MovieScr; 
  elBAF.style.visibility = 'visible'; 
  elMP = D.getElementById('MediaPlayer');
  elMP.style.visibility = 'visible'; 
  mp_msg(2,k);
  }

 function fl_showC(k,Url)
 {
 var n=D.forms.length, j=0, f=-1, ValSrc=false;
  if(D.getElementById("LogoCtlC1"+k+"A"))
  ValSrc = (D.getElementById("LogoCtlC1"+k+"A").src.indexOf("MovieFlash\.gif")>-1);
  for(i=0; i<n; i++)
  {
   if(D.forms.item(i))//all forms
   {
   IsImg = ( D.forms.item(i).name.indexOf("MovieImg")>-1 )
   IsForm = ( D.forms.item(i).name.indexOf("MovieForm")>-1 )
    if( IsForm )
    {
     if(D.forms.item(i).elements[0].value==Url)
     { f=i; }//form id
    D.forms.item(i).elements[0].value='none';
    }
    if( IsImg || IsForm )
    {
    mp_ShutDownC(j);
    j++;
    }
   }
  }
  if(f>-1)
  {
  IsForm = ( D.forms.item(f).name.indexOf("MovieForm")>-1 )
   if( IsForm )
   {
   D.forms.item(f).elements[0].value=Url;
    if(Url!='none')
    FlPlayer="off";
   }
  }
  else if( ValSrc )
  FlPlayer="off";
  
  if(FlPlayer=="off")
  {
  elBAF=D.getElementById('BAF'+k);
  elImF=D.getElementById('ImF'+k);
  elImF.style.visibility='hidden'; 
  elImF.style.display='none'; 
  val=D.getElementById("ImgAmz"+k+"A").style.height.replace(/[^0-9\.]/g,'');
  flMovieScrH=Math.max(Math.round(val)+2,190*factorImWH);
  flMovieScrW=Math.round(flMovieScrH*1.2);
  elBAF.style.padding = 0;
  elBAF.style.height = flMovieScrH;
  elBAF.style.width = flMovieScrW;
  elBAF.style.backgroundColor = "transparent";
  elBAF.style.display=DBlock;
  elBAF.style.visibility = 'visible';
   if(D.getElementById("LogoCtlC1"+k+"A"))
   {
   D.getElementById("LogoCtlC1"+k+"A").src= "Auxiliary/icones/MovieFlashNo.gif";
   D.getElementById("LogoCtlC1"+k+"A").style.height = 23*factorImWH;
   D.getElementById("LogoCtlC1"+k+"A").style.width = 100*factorImWH;
   }
  FlPlayer = "on";
  mp_msg(2,k);
  fl_Play(k,Url);
  }
  else
  {
  FlPlayer="off";
  }
 }

 function fl_ShutDownC(k) { D.getElementById('BAF'+k).innerHTML = ""; FlPlayer="off"; }

 function fl_Play(k,Url)
 {
 D.getElementById('BAF'+k).innerHTML = '<object id="FlashPlayer'+k+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="padding:0;margin:0;visibility:visible" height="'+flMovieScrH+'" width="'+flMovieScrW+'" align="bottom">'
 +' <param name="movie" value="'+Url+'">'
 +' <param name="quality" value="high">'
 +' <param name="wmode" value="transparent">'
 +' <param name="bgcolor" value="#009900">'
 +' <embed src="'+Url+'" type="application/x-shockwave-flash" wmode="transparent" width="'+flMovieScrW+'" height="'+flMovieScrH+'"></embed></object>';
 }
 
//Display JV
 function mp_ShutDownC(k)
 {
 elBAF=D.getElementById('BAF'+k);
 elImF=D.getElementById('ImF'+k);
   if(D.getElementById("LogoCtlC1"+k+"A"))
   D.getElementById("LogoCtlC1"+k+"A").src = "Auxiliary/icones/MovieFlash.gif";
  if(D.getElementById('FlashPlayer'+k))
  elMP=D.getElementById('FlashPlayer'+k);
  else if(D.getElementById('MediaPlayer'+k))
  elMP=D.getElementById('MediaPlayer'+k);
//   alert("is "+elBAF.style.visibility)
  if(elBAF.style.visibility=='visible')
  {
  elMP.style.visibility='hidden';
  elImF.style.display=DBlock;
  elImF.style.visibility='visible';
  elBAF.style.visibility='hidden';
  elBAF.style.display='none';
  D.getElementById('BAF'+k).innerHTML = "";
  }
//  else
//  mp_msg(1,k);
 }

 function mp_showC(k,Url) 
 {
 elMP=D.getElementById('MediaPlayer');
 elBAF=D.getElementById('BAF'+k);
 elImF=D.getElementById('ImF'+k);
  if(elBAF.style.visibility!='visible' && elMP) 
  mp_msg(1); 
  else if(!elMP) 
  {
  elImF.style.visibility='hidden'; 
  elImF.style.display='none'; 
  elBAF.style.display=DBlock; 
  mp_play(Url,k); 
  }
  else if(elBAF.style.visibility=='visible')
  if(!isNS)
  elMP.Play();
 } 
//end Display JV

//Firefox todo
 window.onload = function() 
 {
  if(D.getElementById('MediaPlayer'))
  {
  elMP = D.getElementById('MediaPlayer'); 
   elMP.stop = function() 
   { 
   mp_volMute();elMP.controls.Stop();
   }; 
   elMP.pause = function() 
   { 
   elMP.Pause();
   }; 
   elMP.play = function() 
   { 
   elMP.Play();
   }; 
  }
 posAd();
  if (ns4) {document.captureEvents(Event.MOUSEMOVE);} 
 }


 function posAd()
 {
  if(D.getElementById("AdIpop"))
  {
  val = Math.floor(D.getElementById("AdIpop").style.width.replace(/[^0-9\.]/g,''));
  Ma = Math.random();
   if(D.getElementById("AdIpop"))
   {
    if(val == undefined) val = 50;
   D.getElementById("AdIpop").style.left = ( (ScrWdt * ( 1 - (Ma * 0.05))) - (280*factorW) - 7 - val ) +'px';
   D.getElementById("AdIpop").style.display = DBlock;
   }
  }
 }

//Msg
 function mp_msg(a,k)
 {
 Msg[1]='<nobr>Stop the clip first.';
 Msg[2]='<nobr>Downloading.';
 Msg[3]='<nobr>Loading.';
 Msg[4]='<nobr>Open your browser window larger.';
 Msg[5]='<nobr>Increase the screen area: F11 key.';
 Msg[6]='<nobr>Reposition the elements: F5 key';
 Msg[7]='<nobr>Cookie write failed (<a href="HelpForum.php#Cook" class="Categories">Help</a>).';
 elMSG = D.getElementById("MSG");
 PvMsg = elMSG.innerHTML;
  if(PvMsg.indexOf(Msg[a])<0)
  {
  elMSG.innerHTML = PvMsg+" "+Msg[a];
  elMSG.style.display = DBlock; 
  }
  else
  elMSG.innerHTML = Msg[a];
 window.setTimeout('elMSG.innerHTML=""',4500); }

 function HideHelp()
 {
 document.getElementById('NoCookId').innerHTML="";
 }
 
var ButPos='up';//init

 function ShowAllHelp(s,t)
 {
  if(ButPos=='up')
  {
  ButPos='dn';
  s.style.borderStyle='inset';
  }
  else
  {
  s.style.borderStyle='outset';
  ButPos='up';
  }
 ShowHelp(0,t);
 }

 function ShowHelp(s,t)
 {
 yw = 20*factorH; 
 HlpW=500*factorW;
 HSc=(ScrWdt)-D.getElementById('pop').scrollWidth-20-HlpW;
 HlpW=500*factorW+'px';
  if(t > HSc)
  t = 20;
  else
  t = HSc;
 
 HelpTxt = '<table id="generalHelp" style="font-size:'+(factorWH*90)+'%;background-color:white;color:black;position:absolute;top:'+yw+'px;left:'+t+'px;width:'+HlpW+'; z-index:1000; border:#FFFF00 outset">'
  +'<tr><td valign="top" align="center" style="border-bottom:#FFFF00 thin solid; padding:1">'
  +'Help<br>'
  +'</td></tr>'
  +'<tr><td valign="top" style="border-bottom:#FFFF00 thin solid; padding:1">';
  
  if(ButPos=='up')
  {
  Help[0]='<b>To obtain help on this page:</b><br>'
  +'<li style="padding-top:2px">click button to obtain this state: <span  style="border:inset;font-size:90%">&nbsp;?&nbsp;</span></li>'
  +'<li style="margin-left:8px;list-style:none outside">Help will display on mouse over the buttons.</li>'
  +'</td></tr>'
  }
  else
  {
  Help[0]='<b>Current choice:</b><br>'
  +'<li style="margin-left:8px;">'+H1Hlp+'</li>'
  +'<li style="margin-left:8px;">'+H2Hlp+'</li>'
  +'<li style="margin-left:8px;list-style:none outside"><i>(this page title and subtitle)</i></li>'
  +'</td></tr>'
  +'<tr><td valign="top" style="border-bottom:#FFFF00 thin solid;padding:1;line-height:145%">'
  +'<b>To access a product type</b><br>'
  +'<li style="margin-left:8px;list-style:none outside">Select the wanted product type in the top menu. </li>'
  +'<li style="margin-left:8px;list-style:none outside">On the new page, click the help button again to obtain more help </li>';

  }
  Help[1]='<b>Finding an item</b>' 
  +'<li style="margin-left:8px;">chose your <span  style="background-color:brown;color:yellow;border:red 1px solid;font-size:90%">&nbsp;platform&nbsp;</span> (recommended)</li>'
  +'<li style="margin-left:8px;">select a <span  style="background-color:brown;color:yellow;border:red 1px solid;font-size:90%">&nbsp;category&nbsp;</span> (recommended)</li>'
  +'<li style="margin-left:8px;">limit to an <span  style="background-color:brown;color:yellow;border:red 1px solid;line-height:90%">&nbsp;audience&nbsp;</span> (when it applies)</li>'

  +'<li style="margin-left:18px;list-style-type:none">-The games presenting violence and shocking material or of generally little interest to children are displayed on the adult website. Chose <span  style="background-color:brown;color:white;border:red 1px solid;line-height:90%">adults and seniors to get there.</span></li>'

+'<li style="margin-left:8px;">pick a <span  style="background-color:brown;color:yellow;border:red 1px solid;font-size:90%">&nbsp;detailed category&nbsp;</span> to trim the results further.</li>'
  +'<li style="margin-left:18px;list-style-type:none">-The detailed categories are displayed on the right hand side of the screen after a main category was selected</li>'
  +'<li style="margin-left:8px;">sort the results with the <span  style="background-color:brown;color:yellow;border:red 1px solid;font-size:90%">&nbsp;sorted by&nbsp;</span> filter</li>'
  +'&nbsp;&nbsp;=><b>Use:</b><br>' 
  +'<li style="margin-left:18px;list-style-type:square"> <span  style="background-color:cyan;color:red;border:red 1px solid;font-size:90%">&nbsp;&lt; Previous&nbsp;</span> and  <span  style="background-color:cyan;color:red;border:red 1px solid;font-size:90%">&nbsp;Next 3 &gt;&nbsp;</span> to scroll up and down the results</li>'
  +'&nbsp;&nbsp;=><b>And /or refine the results with a text search</b>' 
  +'<li style="margin-left:18px;list-style-type:square"> using the <i>Complete Search</i> box</li>';
 
 Help[3]='Children items for this type of product<br>';
 
 Help[4]='<b>Free search with Complete Search</b>' 
 +'<li style="margin-left:8px;">Select a product type, a category, a platform and a target audience for the current products </li>' 
 +'<li style="margin-left:8px;">Key in a text to search for:</li>'
 +'<li style="margin-left:18px;list-style-type:square">title or part of the title</li>' 
  +'<li style="margin-left:18px;list-style-type:square">terms in the products descriptions or players&#039; comments</li>' 
  +'<li style="margin-left:18px;list-style-type:square">&#039;new&#039;, &#039;used&#039; or &#039;collectible&#039; condition </li>' 
  +'<li style="margin-left:18px;list-style-type:square">studio, supplier, category ...etc.</li>' 
  +'<li style="margin-left:18px;list-style-type:square">release date in any format : 01/06, 01-2006, January 2006... etc.</li>'
  +'<li style="margin-left:18px;list-style-type:square">your search text must be at least 4 letters long, the words &quot;games&quot; and &quot;video&quot; need not to be keyed in; They are implied.</li>' 
  +'<li style="margin-left:8px;list-style-type:none"><i>example:</li>'
  +'<li style="margin-left:8px;list-style-type:none">filters : &#039;Video games&#039; + &#039;Wii&#039;</li>'
  +'<li style="margin-left:8px;list-style-type:none">search text: &#039;Disney 2007 girls new&#039;</i></li>'
 +'<li style="margin-left:8px;">If too many results, trim the results further with your choice of a detailed category.</li>' ;

//Descriptifs et fiche technique
 Help[10]='<b>For a desciption quick view</b><br>'
  +'<li>click on &#039;Glance&#039;</li>'
  +'<li>click on &#039;Return;&#039; to come back</li>'
  +'<b>If the word &#039;File&#039; appears instead of &#039;Preview&#039;)</b><br>'
  +'<li>the technical description is available</li>'
  +'<li>no editorial description or players&#039; comments is available</li>';
 Help[14]='<b>To open a description</b><br>'
  +'<li>in the same window: click on the product title</li>'
  +'<li>in a new window: click on the product image</li>';
  Help[16]='<b>To see this product on the Amazon website</b><br>';
  Help[17]='<b>Current bids on EBay</b><br>'
  +'<li>click on the EBay button</li>';
//Coups de coeur 
 Help[30]='<b>To add to your shortlist</b><br>'
  +'<li>click on the &#039;heart&#039; item</li>'
  +'<li>a new window opens</li>'
  +'<li style="margin-left:14px;list-style:none outside">-the item is added to your shortlist</li>'
  +'<li style="margin-left:14px;list-style:none outside">-you can transfer from your shortlist to your cart</li>'
  +'<li style="margin-left:14px;list-style:none outside">-you can add to and retrieve from your shortlist.</li>';
 Help[35]='<b>To open your shortlist without adding an item to it</b><br>'
  +'<li>click on the &#039;heart&#039; icon at the top or bottom of the page</li>';

//Offres
 Help[36]='<b>To send an item to your cart:</b><br>'
  +'<li>Click on the &#039;cart&#039; icon for the desired offer listing</li>'
  +'<li>in the new page, confirm your wish to add the item.</li>'
  +'<b>To close the cart</b><br>'
  +'<li>Close the page</li>'
  +'<li style="margin-left:18px;list-style:none outside">Your cart references are stored in a cookie,<br>'
  +'but you may want to write down its number for more security.</li>'
  +'<b>To open the cart without adding to it,</b><br>'
  +'<li>click on the cart icon at the bottom of the page.</li>'
  +'<b>To wrap up your order</b><br>'
  +'<li>open the cart</li>'
  +'<li>check your order details and confirm.</li>'
  +'<li style="list-style:none"><i>Transactions are secured by amazon.com</i><br>';

 Help[37]='<b>To checck the new order</b><br>'
  +'<li>click on the white list icon</li>'
  +'<li>chose an offer (amazon.com recommended)</li>'
  +Help[36];

 Help[38]='<b>To check the used offers</b><br>'
  +'<li>click on the green list icon</li>'
  +Help[36];

 Help[48]='<b>To find the best real time used offer</b><br>'
  +'<li>click on the green &#039;Best Price Used&#039; button</li>'
  
//Panier
 Help[39]='<b>Best Amazon Price</b><br>'
  +'To send this item to your cart:</b><br>'
  +'<li>click on the price button or on the the glance page &#039;cart icon&#039;</li>';

//Panier  
 Help[40]='<b>To add to the cart</b><br>'
  +'<li>click on the &#039;cart&#039; icon</li>'
  +'<li style="margin-left:14px;list-style:none outside">a window opens, availability is checked, the specific features are displayed</li>'
  +'<li>click on &#039;Make a reservation&#039; to send to cart</li>'
  +'<b>Cart validity is 90 days, reservation usually lasts 4 hours</b><br>'
  +'If you have logged in, you will find your lists and carts again on your next visit.<br>'
  +'Else, they may be difficult to find.<br>'
 Help[45]='<b>To open a cart without adding to it</b><br>'
  +'<li>click on the icon &#039;Cart&#039; at the top or bottom of the page</li>';
Help[47]='<b>To confirm a cart</b><br>'
  +'<li>click on cashier</li>';

 Help[50]='<b>To add to cart</b><br>'
  +'<li>click on the cart icon below the product image</li>'
  +'<li>chose an offer (Amazon recommended) in the resulting list of offers</li>'
  +'<li>confirm the selection when prompted to do so:</li>'
  +'<li style="margin-left:18px;list-style-type:none">-the product is added to the cart.</li>'
  +'<li>close the cart, which will stay active for the next 90 days</li>'
  +'<b>To open the cart without adding to it</b><br>'
  +'<li>click on the cart icon at the bottom of the page</li>'
  +'<b>Checking out</b><br>'
  +'<li>click on the cart icon at the bottom of the page</li>'
  +'<li>verify the cart content</li>'
  +'<li>confirm and follow the onscreen instructions</li>'
  +'<li style="list-style:none"><i>(Payments secured by Amazon.com, customer service by vendor)</i><br>';
 Help[52]='<b>To open a cart</b><br>'
  +'<li>click on this cart icon at the bottom of the page</li>'
  +'<b>to finalise an order</b><br>'
  +'<li>click on this cart icon at the bottom of the page</li>'
  +'<li>check the items in your cart</li>'
  +'<li>confirm the order and follow the onscreen instructions</li>'
  +'<li style="list-style:none"><i>(Payments secured by Amazon.com, customer service by vendor)</i><br>';
 Help[100]='<b>To see a Flash clip</b><br>'
  +'<li>click on &#039;Spot&#039; to open</li>'
  +'<li>click on &#039;Play &gt;&#039; to watch</li>'
  +'<li>clic on &#039;stop&#039; to quit</li>'
  +'<li>YouTube and DailyMotion clips: 1 click on the movie opens it in a new window</li>'
  +'-A foreign clip (Japan, French, German...) may be shown when none is available in English.<br>';
 Help[101]='<b>To watch a Flash clip</b><br>'
  +'<li>Pick a clip from the select box</li>'
  +'<li>Select &#039;stop&#039; to quit</li>'
  +'<li>YouTube and DailyMotion clips: 1 click on the movie opens it in a new window</li>'
  +'-A foreign clip (Japan, French, German...) may be shown when none is available in English.<br>';
 Help[102]='<b>To view a Wmv, MPeg or Avi clip</b><br>'
  +'<li>click on Play <b>&gt;</b> to open</li>'
  +'<li>click on Pause <v>||</b> to freeze the reading</li>'
  +'<li>click on &#039;Stop <span style=\"border:red solid thin\">&nbsp;&nbsp;</span>&#039; to quit</li>'
  +'<li>Arr&ecirc;ter la projection avant d&#039;en commencer une nouvelle.</li>'
  +'-A foreign clip (Japan, French, German...) may be shown when none is available in English.<br>';
 Help[120]='<b>To find this moment best used condition items</b><br>'
  +'<li>click on &#039;Used&#039;, a new window opens</li>'
  +'<b>To send a used item to the cart</b><br>'
  +'<li>click on the cart icon in the new window</li>'
  +'<li style="list-style:none"><i>(Payments secured by Amazon.com, customer service by vendor)</i><br>';
 Help[122]='Data was not available at the last verification<br>'
  +'<b>To determine if some newly added used items are available</b><br>'
  +'<li>click on &#039;Used&#039;, a new window opens</li>'
  +'<b>to send the used item to the cart</b><br>'
  +'<li>click on the cart icon</li>'
  +'<li style="margin-left:14px;list-style:none outside">Check for used condition items often.</li>';
 Help[150]='<b>Partial reviews and descriptions within this same page</b><br>';//na
 Help[151]='<b>Reviews and descriptions in an inner window</b><br>';
 Help[152]='<b>Reviews and descriptions in a new page</b><br>';

 Help[160]='<b>Post your comments or review</b><br>'
  +'<li>Feel free to share your experience on this item</li>';
 Help[170]='<b>Log in</b><br>'
  +'When you have logged in, you can save your shortlist and easily find your cart back at each new visit<br>'
  +'By logging in, you can access the entire website, forums and download hundreds of free games.';
 Help[180]='<b>Website info plus about us page</b><br>';
 Help[200]=Help[0]+Help[14];
 HelpTxt += Help[s];
 HelpTxt += '</td></tr></table>';
  
  if(s==0 || ButPos=='dn')
  {
  document.getElementById('NoCookId').style.width=(500*factorW)+'px';
  document.getElementById('NoCookId').style.fontSize=(100*factorWH)+'%';
  document.getElementById('NoCookId').innerHTML = HelpTxt;
  } 
 } 

//dad
 function drag_drop(e)
 {
// var Blim = (isNS ? window.innerHeight : D.body.clientHeight)-(100*factor);
  var Blim = ScrHgt-Math.max(hgt*factor);

  if(dragapproved)
  {
  NbS=1
  dragapproved=false
   if (ie4)
   initY=event.clientY;
   else if (ns6)
   initY=e.clientY;
   if(initY<25)
   initY=25;
   else if(initY>Blim)
   initY=Blim;
   else
   dragapproved=true;
  crossobj.style.top=tempy+initY-offsety+"px";
  return false
  }
 }

 function initialize_drag(e)
 {
 crossobj = D.getElementById("pop");
 var firedobj = ns6 ? e.target : event.srcElement
 var topelement = ns6 ? "html" : D.compatMode && D.compatMode!="BackCompat" ? "documentElement" : "body"
  while (firedobj.tagName != topelement.toUpperCase() && firedobj.id != "dragbar")
  {
  firedobj=ns6 ? firedobj.parentNode : firedobj.parentElement
  }
  if (firedobj.id == "dragbar")
  {
  offsety = ie4 ? event.clientY : e.clientY
  tempy = parseInt(crossobj.style.top)
  hgt = parseInt(crossobj.style.height)
  dragapproved = true
  D.onmousemove = drag_drop
  }
 }
D.onmouseup=new Function("dragapproved=false");
//Styles
 function PGa(s){els=D.getElementById(s);els.style.color=c1;els.style.background=b1;setTimeout("PWa(s)",800)}
 function PWa(s){els=D.getElementById(s);els.style.color=c2;els.style.background=b2;setTimeout("PGa(s)",800)}
 function PGb(w){elw=D.getElementById(w);elw.style.color=c2;elw.style.background=b2;setTimeout("PWb(w)",1000)}
 function PWb(w){elw=D.getElementById(w);elw.style.color=c3;elw.style.background=b1;setTimeout("PGb(w)",800)}
 function PGc(v){elv=D.getElementById(v);elv.style.color=c2;elv.style.background=b2;setTimeout("PWc(v)",1100)}
 function PWc(v){elv=D.getElementById(v);elv.style.color=c3;elv.style.background=b1;setTimeout("PGc(v)",800)}
 function SpPromo(){n=10;for (i=0;i<n;i++){X=B+i;Y=X+'A';if(D.getElementById(Y)){z++;t=X;if(z==1){s=t+'A';PGa(s);}else if(z==2){w=t+'A';PGb(w);}else if(z>2){v=t+'A';PGc(v);}}}}

