var col = document.body.getAttribute("class");

document.write("<div Id='Menu1' class='"+col+"1' style=\" visibility: hidden; position: absolute; width: 153px; height: 236px; z-index: 1; border-style: outset;  border-width: 1px; left: 250px; top: 250px; \" ><table border='0' width='100%' id='table1' cellspacing='1' cellpadding='1'><td id='td1' height='26' onClick='javascript:history.back(1);'  onmouseover=\"change('td1')\" onmouseout=\"change_back('td1')\" style='border-style: solid; border-width: 0px;color: #000000;'><img src='Back.gif' hspace='0' border=0  align='left'>&nbsp;Back</td></tr><tr><td id='td2' height='26' onClick='javascript:history.forward(1);'  onmouseover=\"change('td2')\" onmouseout=\"change_back('td2')\" style='border-style: solid; border-width: 0px;color: #000000; '><img src='forward.gif' hspace='0' border=0  align='left'>&nbsp;Forward</td></tr><div style='position: absolute;top: 45px;width: 150px;'><hr size='1' width='83%' align='right'></div><tr><td id='td3' height='26' onClick='javascript:location.reload();'  onmouseover=\"change('td3')\" onmouseout=\"change_back('td3')\" style='border-style: solid; border-width: 0px;color: #000000'><img src='reload.gif' hspace='0' border=0  align='left'>&nbsp;&nbsp;Reload</td></tr><tr><td id='td4' height='26'onclick=\"javascript:location.href='mailto:Tblessing@msn.com'\"  onmouseover=\"change('td4')\" onmouseout=\"change_back('td4')\" style='border-style: solid; border-width: 0px;color: #000000'><img src='mail.gif' hspace='0' border=0  align='left'>&nbsp;Mail Me</td></tr><div style='position: absolute;top: 103px;width: 150px;'><hr size='1' width='83%' align='right'></div><tr><td id='td5' height='26'onclick=\"javascript:location.href='index.html'\"    onmouseover=\"change('td5')\" onmouseout=\"change_back('td5')\" style='border-style: solid; border-width: 0px;color: #000000'><img src='home.gif' hspace='0' border=0  align='left'>&nbsp;Home</td></tr><tr><td id='td6' height='26'  onclick=\"javascript:location.href='boys.html'\" onmouseover=\"change('td6')\" onmouseout=\"change_back('td6')\" style='border-style: solid; border-width: 0px;color: #000000'><img src='boy.gif' hspace='0' border=0  align='left'>&nbsp;boys</td></tr><tr><td id='td7' height='26'    onclick=\"javascript:location.href='girls.html'\" onmouseover=\"change('td7')\" onmouseout=\"change_back('td7')\" style='border-style: solid; border-width: 0px;color: #000000'><img src='girl.gif' hspace='0' border=0  align='left'>&nbsp;Girls</td></tr><tr><td id='td8' height='26'  onclick=\"javascript:location.href='available1.html'\" onmouseover=\"change('td8')\" onmouseout=\"change_back('td8')\" style='border-style: solid; border-width: 0px;color: #000000'><img src='money.gif' hspace='0' border=0  align='left'>&nbsp;For Sale</td></tr></table></div>");


var x,y;
document.onclick = hide;

function change_back(td_id)
{
document.getElementById(td_id).style.borderWidth ="0";
document.getElementById(td_id).style.backgroundColor = "";	//bgcolor
}

function change(td_id)
{
document.getElementById(td_id).style.backgroundColor = "#99B1E6";	//bgcolor
document.getElementById(td_id).style.borderWidth ="1";
document.getElementById(td_id).style.borderColor = "#315FC8";

}

function hide()
{
if (document.getElementById("Menu1").style.visibility == "visible")
{

if ((event.x < x-5) || (event.y < y-5) || (event.x > x+150) || (event.y > y+230))
document.getElementById("Menu1").style.visibility = "hidden";
}
}
document.oncontextmenu=function(){
x = event.offsetX;
y = event.offsetY;
x1 = event.x;
y1 = event.y;
window.setTimeout("click()",0);
return false;
}
function click()
{

if (x1 > (screen.width - 165))
x = x - 165

if (y1 > (screen.height - 390))
y = y - 200

document.getElementById("Menu1").style.top=y;
document.getElementById("Menu1").style.left=x;
document.getElementById("Menu1").style.visibility = "visible";
}


