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,'#9CB9D9');
	obj.onmouseout="ChangeColor("+obj+",'#9CB9D9');";
}


function markmenu2(obj,obj1){
	ChangeColor(obj,'#9CB9D9');
	obj.onmouseout="ChangeColor("+obj+",'#9CB9D9');";
ChangeColor(obj1,'#9CB9D9');
	obj1.onmouseout="ChangeColor("+obj1+",'#9CB9D9');";
}



function loadincludes(){	
		if(document.getElementById('topinc')) clientSideInclude('topinc', '../includes/top_bar.htm');
		if(document.getElementById('topinc1')) clientSideInclude('topinc1', '../includes/bottom_bar.htm');
		if(document.getElementById('topinc9')) clientSideInclude('topinc9', '../includes/left_panel1_admin.htm');
		//if(document.getElementById('topinc2')) clientSideInclude('topinc2', '../includes/left_panel2.htm');
		//if(document.getElementById('topinc5')) clientSideInclude('topinc5', '../includes/top_bar1.php');
		if(document.getElementById('topinc7')) clientSideInclude('topinc7', '../includes/top_bar_admin.htm');
		//if(document.getElementById('topinc7')) clientSideInclude('topinc7', '../includes/top_bar_admin.htm');
		if(document.getElementById('topinc_login')) clientSideInclude('topinc_login', '../includes/top_bar_login_admin.htm');
		if(document.getElementById('topinc_ncompass')) clientSideInclude('topinc_ncompass', '../includes/left_panel_ncompass.htm');
		if(document.getElementById('topinc_ncase')) clientSideInclude('topinc_ncase', '../includes/left_panel_ncase.htm');
		if(document.getElementById('topinc_nvision')) clientSideInclude('topinc_nvision', '../includes/left_panel_nvision.htm');
		if(document.getElementById('topinc_nform')) clientSideInclude('topinc_nform', '../includes/left_panel_nform.htm');
		if(document.getElementById('topinc_nable')) clientSideInclude('topinc_nable', '../includes/left_panel_nable.htm');
		if(document.getElementById('topinc_ncapture')) clientSideInclude('topinc_ncapture', '../includes/left_panel_ncapture.htm');
		if(document.getElementById('topinc_ncounter')) clientSideInclude('topinc_ncounter', '../includes/left_panel_ncounter.htm');
}	



function loadincludes11(){
	clientSideInclude('topinc11', '../includes/top_bar_admin.php');
}