var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.

submenu[5]='<table cellpadding=0 cellspacing=0 border=0 align=left></table>'

submenu[0]='<table cellpadding=0 cellspacing=0 border=0><tr><td></td><td colspan=5 height=8><img src=images/menu_pointing_arrow.gif width=21 height=8></td></tr><tr><td width=112></td><td bgcolor=#f1f1f1 height=3><img src=images/blank.gif width=1 height=1></td><td width=2></td><td bgcolor=#f1f1f1><img src=images/blank.gif width=1 height=1></td><td width=2></td><td bgcolor=#f1f1f1><img src=images/blank.gif width=1 height=1></td></tr><tr><td></td><td><a href=index.php?p=profile class=navsubmenu>company profile</a>&nbsp;&nbsp;&nbsp;</td><td width=2></td><td><a  href=index.php?p=team class=navsubmenu>Team & Management</a>&nbsp;&nbsp;&nbsp;</td><td width=2></td><td><a href=index.php?p=partners class=navsubmenu>partners</a>&nbsp;&nbsp;&nbsp;</td></tr></table>'
submenu[1]='<table cellpadding=0 cellspacing=0 border=0><tr><td colspan=3></td><td height=8><img src=images/menu_pointing_arrow.gif width=21 height=8></td><td></td><td colspan=2></td><td></td></tr><tr><td width=150></td><td bgcolor=#f1f1f1 height=3><img src=images/blank.gif width=1 height=1></td><td width=2></td><td bgcolor=#f1f1f1 height=3><img src=images/blank.gif width=1 height=1></td><td width=2></td><td bgcolor=#f1f1f1><img src=images/blank.gif width=1 height=1></td><td width=2></td><td bgcolor=#f1f1f1><img src=images/blank.gif width=1 height=1></td></tr><tr><td></td><td><a href=index.php?p=whost class=navsubmenu>web hosting</a>&nbsp;&nbsp;&nbsp;</td><td width=2></td><td><a href=index.php?p=wdesign class=navsubmenu>web designing</a>&nbsp;&nbsp;&nbsp;</td><td width=2></td><td><a href=index.php?p=domain class=navsubmenu>domain registration</a>&nbsp;&nbsp;&nbsp;</td><td width=2></td><td><a href=index.php?p=gdesign class=navsubmenu>graphic design</a>&nbsp;&nbsp;&nbsp;</td></tr></table>'

submenu[2]='<table cellpadding=0 cellspacing=0 border=0 align=left></table>'

submenu[3]='<table cellpadding=0 cellspacing=0 border=0 align=left></table>'

submenu[4]='<table cellpadding=0 cellspacing=0 border=0 align=right><tr><td colspan=4 align=right align=right height=8><img src=images/menu_pointing_arrow.gif width=21 height=8></td></tr><tr><td bgcolor=#f1f1f1 height=3><img src=images/blank.gif width=1 height=1></td><td width=2></td><td bgcolor=#f1f1f1><img src=images/blank.gif width=1 height=1></td></tr><tr><td><a href=index.php?p=contact class=navsubmenu>contact address</a>&nbsp;&nbsp;&nbsp;</td><td width=2></td><td><a href=index.php?p=enquiry class=navsubmenu>enquiry form</a>&nbsp;&nbsp;&nbsp;</td></tr></table>'



//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=300

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
