image0=new Image();
image0.src="http://picascii.com/img/loader-0.gif";
image1=new Image();
image1.src="http://picascii.com/img/loader.gif";
function displayit(what) 
{
	where = document.getElementById(what);
	if (where.style.display=="none" || where.style.display==""){where.style.display="block";where.focus();} 
	else {where.style.display="none";}
}
function dontdisplayit(what) 
{
	where = document.getElementById(what);
	where.style.display="none";
}

function ajaxget (urlpage,what)
{
	if(window.XMLHttpRequest) obj1=new XMLHttpRequest();else if(window.ActiveXObject) obj1=new ActiveXObject("Microsoft.XMLHTTP");else return(false);
        obj1.open ('GET', urlpage, true);
        obj1.onreadystatechange = function() 
        {
         if(obj1.readyState==1) {document.getElementById(what).innerHTML="<img src='http://picascii.com/img/loader.gif' alt='' border='0'/>";}
         else if(obj1.readyState==4)
         {
                   if(obj1.status==200){document.getElementById(what).innerHTML=obj1.responseText;}
                   else if(obj1.status==404){document.getElementById(what).innerHTML = "Url BUG";}
                   else{document.getElementById(what).innerHTML = "Error : ".obj1.status;}
         }
        }
        obj1.send(null);
        return;
} 



function favorite(a,b){if (window.sidebar)window.sidebar.addPanel(a,b,"");
else if(window.opera && window.print){var c=document.createElement('a');c.setAttribute('title',a);c.setAttribute('href',b);c.setAttribute('rel','sidebar');c.click();} 
else if(document.all)window.external.AddFavorite(b, a);}	