var limit="0:07"

if (document.images){
  var parselimit=limit.split(":")
  parselimit=parselimit[0]*60+parselimit[1]*1
}

function begintimer(){
  if (!document.images)
    return
  if (parselimit==1)
    window.history.back(-1)
  else{ 
    parselimit-=1
    curmin=Math.floor(parselimit/60)
    cursec=parselimit%60
    if (curmin!=0)
      curtime="Вам осталось "+curmin+" мин. и "+cursec+" секунд на чтение этой страницы"
    else
      curtime="Вам осталось "+cursec+" секунд на чтение этой страницы"
      window.status=curtime
      setTimeout("begintimer()",1000)
  }
}
//////////

function raspah(){
  if (navigator.appName == "Microsoft Internet Explorer") 
  {
    window.moveTo(-4,-4);
    window.resizeTo(screen.availWidth+8,screen.availHeight+8);
  }
}
//////////

function autoIframe(frame){ 
  try{ 
    innerDoc = (frame.contentDocument) ? frame.contentDocument : frame.contentWindow.document; 
    objToResize = (frame.style) ? frame.style : frame; 
    objToResize.height = innerDoc.body.scrollHeight + 10; 
} 
  catch(err){ 
    alert(err.message); 
  } 
} 
//////////

var layerRef="null", styleSwitch="null", leftProp = "null", topProp = "null";
var mouseX = "null", mouseY = "null";

layerRef="document.all.item('";
styleSwitch="').style";
leftProp = ".pixelLeft";
topProp = ".pixelTop";
mouseX = "document.body.scrollLeft + window.event.clientX";
mouseY = "document.body.scrollTop + window.event.clientY";

function hideLayer(layerName){
  eval(layerRef+layerName+styleSwitch+'.visibility="hidden"');
}
  
function showHelp(layerName,newLeft,newTop) {
  newLeft=newLeft+2;
  newTop=newTop+2;
  eval(layerRef+layerName+styleSwitch+topProp+' = newTop');
  eval(layerRef+layerName+styleSwitch+leftProp+' = newLeft');
  eval(layerRef+layerName+styleSwitch+'.visibility="visible"');
}
//////////


