function gohelp()
{
h_height = screen.availheight - 28
h_width = 345
h_left = screen.availwidth-350
window.open("help.htm","help","toolbar=" + "no" + ",location=" + "no" + ",directories=" + "no" + ",status=" + "no" + ",menubar=" + "no" + ",scrollbars=" + "yes" + ",resizable=" + "no" + ",copyhistory=" + "yes" + ",width=" + h_width + ",height=" + h_height + ",top=" + "0" + ",left=" + h_left)
}

function sethp(element)
{
element.style.behavior='url(#default#homepage)' 
element.setHomePage('http://thepharaohs.100megspop2.com')
}
function addfav()
{
window.external.AddFavorite("http://thepharaohs.100megspop2.com","The Pharaohs")
}
function goh(urlh)
{
window.location= urlh
}
function printh()
{
window.print()
}
function closeh()
{
window.close()
}
function stat(written1,written2,written3,written4,written5,written6,written7,written8,written9,written10)
{
window.status = written1 + " " + written2 + " " + written3 + " " + written4 + " " + written5 + " " + written6 + " " + written7 + " " + written8 + " " + written9 + " " + written10
}
function goflag()
{
f_top = (screen.availheight / 2) - 175
f_left = (screen.availwidth / 2) - 175
window.open("flag.htm","flag","toolbar=" + "no" + ",location=" + "no" + ",directories=" + "no" + ",status=" + "no" + ",menubar=" + "no" + ",scrollbars=" + "no" + ",resizable=" + "no" + ",copyhistory=" + "yes" + ",width=" + "400" + ",height=" + "425" + ",top=" + f_top + ",left=" + f_left)
}
function respass()
{
if (screen.width < 800) 
{
alert ("Your current screen resolution is " + screen.width + "*" + screen.height + " and this site is best viewed on 800*600 or higher please change your screen resolution to the nearst proper one")
}
}
function goint()
{
f_top = (screen.availheight / 2) - 310
f_left = (screen.availwidth / 2) - 310
window.open("pharint.htm","int","toolbar=" + "no" + ",location=" + "no" + ",directories=" + "no" + ",status=" + "no" + ",menubar=" + "no" + ",scrollbars=" + "no" + ",resizable=" + "no" + ",copyhistory=" + "yes" + ",width=" + "620" + ",height=" + "430" + ",top=" + f_top + ",left=" + f_left)
}
