function f_onunload()
{
 ajax0('adminx.php')
}

function ajax0(URL)
{
 httpObject=createRequestObject();
 if(httpObject!=null)
 {
  URL+='?ms='+new Date().getTime();
  httpObject.open('GET', URL, true);
  httpObject.send(null);
 }
} 

function showpicture(pic)
{
 d.getElementById('picture').innerHTML='<img src="'+pic+'" style="cursor:pointer" onclick=hidepicture(); alt="" title="click to remove"/>';
 a=Math.max(d.documentElement.scrollTop, d.body.scrollTop)+0.45*(d.documentElement.clientHeight-450);
 d.getElementById('picture').style.top=a+'px';
 d.getElementById('picture').style.display='block';
}

function hidepicture()
{
 d.getElementById('picture').style.display='none';
}
