
function cursor(text, what)
{

document.getElementById(what).innerHTML=text
document.getElementById(what).style.visibility="visible"
document.getElementById(what).style.position="absolute"

document.getElementById(what).style.left=event.clientX+10


}

function hidecursor(what)
{
document.getElementById(what).style.visibility="hidden"
}

function GoToUrl()
{
window.location=document.getElementById("sortby").value
} 

function ExtendTable(tableid)
{

if(document.getElementById(tableid).style.display == "none")
{
document.getElementById(tableid).style.display = "block"
}
else
{
document.getElementById(tableid).style.display = "none"
}

}

function CheckAll(formid, checkthem)
{
count = document.getElementById(formid).elements.length;
    for (i=0; i < count; i++) 
	{
    if(checkthem)
    	{document.getElementById(formid).elements[i].checked = 1; }
    else {document.getElementById(formid).elements[i].checked = 0;}
	}
}

function HideAndShow(showid, hideid)
{


document.getElementById(showid).style.display = "block"

document.getElementById(hideid).style.display = "none"


}





