
function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.style.cursor = 'default'; 
		src.bgcolor = clrOver; 
	} 
} 

function mOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.style.cursor = 'default'; 
		src.bgcolor = clrIn; 
	} 
}

function ChangeColor(obj,color){
	obj.style.background=color;
}

function markmenu(obj){
	ChangeColor(obj,'#000000');
	obj.onmouseout="ChangeColor("+obj+",'#000000');";
}




function show(line,div){
	line.style.display='';
	div.style.visibility='visible';
}

function hide(line,div){
	line.style.display='none';
	div.style.visibility='hidden';
}

function loadincludes(){	
	clientSideInclude('topinc', '../includes/top_bar.htm');
        
}

function loadincludes1(){
	clientSideInclude('topinc1', '../includes/top_bar_admin.htm');
         
}
function loadincludes2(){
	clientSideInclude('topinc2', '../includes/top_bar2.htm');
         
}

function loadincludes3(){
	clientSideInclude('topinc4', '../includes/top_bar3.htm');
         
}


function leftmenuselect(pagename)
{
	if(pagename=="galleries")
	{
		document.getElementById("link1").className="mainmenuhover";	
	}else if(pagename =="services"){
		document.getElementById("link3").className="mainmenuhover";	
	}
}

