$(document).ready(function() {
   // do stuff when DOM is ready
	 $("h1#title").hide(0);

	 $("#navbar li").hover(function(){
	 
	 $(this).addClass("subnavroll");
	 $(this).find("ul").slideDown("fast");
	 $(this).find("ul").css({'visibility' : 'visible'});
	 },function(){
	 $(this).removeClass("subnavroll");
	 $(this).find("ul").hide();	 
	 });
	// $('#content div ul li a').lightBox();
});
 
function swapclasses(n,m){
	sectional=n;
	document.getElementById(n).className=m;
	if (thewindowtoclose){
		clearInterval(thewindowtoclose);
	}
}


function swapclassesTO(o){
	thewindowtoclose=window.setInterval(CTN(o),500);
}

function CTN(p){
	document.getElementById(p).className="nav_off";
	thewindowtoclose=null;}
	
function popme(u,w,h){
	window.open(u,'pop','width='+w+',height='+h+',scrollbars=0,toolbars=0');
	}