
function p(win) {
 //if (window.open) {
  var w=window.open(win.href,win.target,',location,menubar,scrollbars,toolbar,resizable,width=720,height=630');
 // if (w&&w.focus) {
    w.focus();
 //   return false;
  //}
 //}
 //return true;
}

function pop(win) {
	window.open((win.href),'',',location,menubar,scrollbars,toolbar,resizable,width=720,height=630'); 
	return false;
} 


var the_timeout;
function IEHoverPseudo() {
	navItems = document.getElementById("primary-nav").getElementsByTagName("li");
	for (var i=0; i<navItems.length; i++) {
		if(navItems[i].className == "menuparent") {
			navItems[i].onmouseover=function() {show(this);}
			navItems[i].onmouseout=function(){hide(this);};
		}
	}
}
function hide(p){
	the_timeout= window.setTimeout(function(){t(p)},500 );
}

function t(c){
	c.className=c.className.replace(" over", "");
	DivSetVisible(true);
}

function hideAll( currentLi ){
    for (var i=0; i<navItems.length; i++) { 
	  	t(navItems[i]);
    }
}

function show(q){
	hideAll( q );
	q.className += " over";
	clearTimeout(the_timeout);
	DivSetVisible(false);
}

//window.onload = IEHoverPseudo;