function set(name,type) {
  document.images[name].src="img/"+name+"_"+type+".gif";
};

function putheight() {
 if (navigator.appName=="Microsoft Internet Explorer") { 
  docheight=document.body.clientHeight-540;
 } else {
  docheight=window.innerHeight-550;
 };
 if (docheight>0) { document.write('<br><img src="img/clear.gif" width=1 height='+docheight+'>'); };
};

function showstat() {
  if (navigator.appName=="Microsoft Internet Explorer") { 
    docwidth=document.body.clientWidth;
    docheight=document.body.clientHeight;
  } else {
    docwidth=window.innerWidth;
    docheight=window.innerHeight;
  };
  docleft=Math.round(docwidth/2)-160;
  doctop=Math.round(docheight/2)-110;
  NS=(document.layers)?1:0;
  IE=(document.all)?1:0;
  if (IE) {
    document.all.statdiv.style.pixelLeft=docleft;
    document.all.statdiv.style.pixelTop=doctop;
    if (document.all.statdiv.style.visibility=="visible") { document.all.statdiv.style.visibility="hidden"; }
      else { document.all.statdiv.style.visibility="visible" };
  };
  if (NS) {
    document.statdiv.left=docleft;
    document.statdiv.top=doctop;
    if (document.statdiv.visibility=="show") { document.statdiv.visibility="hide"; }
      else { document.statdiv.visibility="show"; };
  };
}