function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="visible";
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="hidden";
}



function postaBox()
{
e = window.event ;    

if (event.shiftKey==1)
{
} else {
if (e.keyCode == 13)
{ 

document.getElementById("submits").focus();
}
}
}

function bottom() 
{ 
if (document.body.scrollHeight) 
{ 
window.scrollTo(0, document.body.scrollHeight); 
} 
else if (screen.height) 
{ 
// IE5 window.scrollTo(0, screen.height); 
} 
} 

function postBoxTextDel(box)
{
if (box.value == "Enter your post here.")
{
box.value='';
}
}

function postBoxTextInsert(box)
{

if (box.value == "")
{
box.value='Enter your post here.';
}
}


function go()
{
document.form.submit();
document.getElementById('postBox').value ="";

document.getElementById("postBox").focus(); 
}
function popup()
{
window.open('http://www.hackncrap.com/chat/popup.php','mywindow','width=400,height=200,toolbar=no,location=yes,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');
}

function over(td)
{
td.className = 'not-clicked';
}
function click(td)
{
td.className = 'clicked';
}

