function dopop(url, breed, hoog)
{	page = window.open(url,"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,left="+(screen.width/2 - breed/2)+",top="+(screen.height/2-hoog/2)+",screenX="+(screen.width/2 - breed/2)+",screenY="+(screen.height/2 - hoog/2)+",width=" + breed + ",height=" + hoog);
}
function dopop2(url, breed, hoog)
{	page = window.open(url,"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+(screen.width/2 - breed/2)+",top="+(screen.height/2-hoog/2)+",screenX="+(screen.width/2 - breed/2)+",screenY="+(screen.height/2 - hoog/2)+",width=" + breed + ",height=" + hoog);
}
function mTo(name,address) {
	location.href = 'mailto:'+name+'@'+address;
}
function addBookmark(title,url) {
if (window.sidebar) { 
window.sidebar.addPanel(title, url,""); 
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}

var baseopacity=0

function showtext(thetext){
if (!document.getElementById)
return
textcontainerobj=document.getElementById("subNavTip")
browserdetect=textcontainerobj.filters? "ie" : typeof textcontainerobj.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
document.getElementById("subNavTip").innerHTML=thetext
highlighting=setInterval("gradualfade(textcontainerobj)",50)
}

function hidetext(){
cleartimer()
instantset(baseopacity)
}

function instantset(degree){
if (browserdetect=="mozilla")
textcontainerobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
textcontainerobj.filters.alpha.opacity=degree
else if (document.getElementById && baseopacity==0)
document.getElementById("subNavTip").innerHTML=""
}

function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}

function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.2, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=20
else if (window.highlighting)
clearInterval(highlighting)
}