var show,sd=0,cd=0,f=0;
o = document.all;
setInterval("ShowTimer();",100);

function ShowTimer()
{
  if (sd > 0) sd--;
  if (cd > 0) cd--;
  if (show == 1) {
    if (sd < 1) {
    	if (o) o.help.style.visibility='visible';
    	if(f==0) { cd=90; f=1; }
    	if(cd<1) { show=0; f=0; }
    }
  }
  else {
    if (o) {
    	o.help.style.visibility='hidden';
    	sd=5;
    	f=0;
    }
  }
}

function ShowHelp(select,id)
{
  if(select==1) {
    o.help.style.left=event.clientX-160+'px';
    o.help.style.top=event.clientY+document.body.scrollTop-40+'px';
    o.helps.src='/help.php?id='+id;
    show=1 }
  else show=0;
}


