function openwin(w, h, url) {
	w+=30;
	h+=30;
  window.open(url,'_blank','width='+w+',height='+h+',status=no,toolbar=no,resizable=no,scrollbars=yes');
	
}
function hide(oId){

	var e = document.getElementById(oId).style;
	if(e.display=='block') e.display = 'none';
	else e.display = 'block';

}

//// menu function 

function startList() {
   for(var s=0; s<3; ++s)
   { 
      node = document.getElementById("nav2_"+s);
          node.onclick = function() {
		
		eClass = this.className.split(" ");
		if(!eClass[1] || eClass[1]=="over")
			this.className = eClass[0]+" drop";
		else
			this.className = eClass[0];
		
		if(this.id=="nav2_0"){
		  for(i=0; i<this.childNodes.length; ++i)
			if(this.childNodes[i].nodeName=="A")
		         document.location = this.childNodes[i].href;
		 }
		  
	     }
	   node.onmouseover = function()
	   { 
		eClass = this.className.split(" ");
 		if(!eClass[1])
			this.className += " over";

	     }
	   node.onmouseout = function()
	   {
		eClass = this.className.split(" ");
	
 		if(eClass[1]=="over")
			this.className = eClass[0];
	   }
    } 
 }
