function newwin(x,y,win)
{ window.open("",""+win+"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+x+",height="+y+""); }

function menuItemOver(o, selected) {
o.style.cursor = 'hand';
o.style.backgroundColor='#E0E8EC';
o.style.backgroundColor='#E0E8EC'; 
}
 
function menuItemOut(o, selected) {
o.style.cursor = '';
o.style.backgroundColor='#E0E8EC';
o.style.backgroundColor='#E0E8EC';
}
 
function menuItem(name, selected, url) {
var s = '<tr></tr><td width=8 height=17><img src=\"img/xx2.gif\" width=4 height=7 border=0 hspace=6></td><td class=ad3 onclick="self.location = \'' + url + '\';" onmouseover="menuItemOver(this, ' + selected + ')" onmouseout="menuItemOut(this, ' + selected + ')" > <a href="' + url + '" class="m2">' + name + '</a>' + '</td></tr><tr><td colspan="2" bgcolor="#EEEEEE"></td></tr>';
document.write(s)
}



function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
function poptastic(url,x,y)
{
	newwindow=window.open(url,'name','height='+y+',width='+x+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}
