/* navigation */
var prevMenu=""

function showMenu(cid, linkObj){
if (document.getElementById){
hiliteMenuTab(linkObj)
getSourceTab(linkObj)
if (prevMenu!="")
document.getElementById(prevMenu).style.display="none"
document.getElementById(cid).style.display="block"
prevMenu=cid
if (linkObj.blur)
linkObj.blur()
return false
}
else
return true
}

function hiliteMenuTab(linkObj){
if (typeof linkTabObj=="undefined")
countMenuTabs()
for (i=0; i<linkTabObj.length; i++)
linkTabObj[i].className=""
linkObj.className="active"
}

function countMenuTabs(){
var tabobj=document.getElementById("menu")
linkTabObj=tabobj.getElementsByTagName("A")
}

function getSourceTab(linkObj){
for (i=0; i<linkTabObj.length; i++){
if (linkObj==linkTabObj[i]){
SourceTab=i
break
}
}
}

function do_onload(){
countMenuTabs()
showMenu(defaultMenu[1], linkTabObj[defaultMenu[0]-1])
}

if (window.addEventListener)
window.addEventListener("load", do_onload, false)
else if (window.attachEvent)
window.attachEvent("onload", do_onload)
else if (document.getElementById)
window.onload=do_onload


function featureWin(url) {  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=370,height=470,screenX=150,screenY=150,top=10,left=10')
}
