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,'#042745');

	obj.onmouseout="ChangeColor("+obj+",'#042745');"

}









function show(line,div){

	line.style.display='';

	div.style.visibility='visible';

}



function hide(line,div){

	line.style.display='none';

	div.style.visibility='hidden';

}



function lodeinc()

{



 if(document.getElementById('admin')) clientSideInclude('admin', '../includes/left_panel.htm'); 

}



function loadincludes(){	

	clientSideInclude('topinc', '../includes/top_bar.php');

}



function loadincludes1(){

	if(document.getElementById('topinc1')) clientSideInclude('topinc1', '../includes/left_panel.htm');



  if(document.getElementById('topinc4')) clientSideInclude('topinc4', '../includes/thriving.php');

if(document.getElementById('ce')) clientSideInclude('ce', '../includes/ce.php');

if(document.getElementById('legal')) clientSideInclude('legal', '../includes/legal.php');

if(document.getElementById('zon')) clientSideInclude('zon', '../includes/zon.php');

if(document.getElementById('resi')) clientSideInclude('resi', '../includes/resi.php');



if(document.getElementById('news')) clientSideInclude('news', '../includes/news.php');

        if(document.getElementById('cd')) clientSideInclude('cd', '../includes/cd.htm');

 if(document.getElementById('rd')) clientSideInclude('rd', '../includes/rd.htm');

 if(document.getElementById('ord')) clientSideInclude('ord', '../includes/ord.php');

 if(document.getElementById('cm')) clientSideInclude('cm', '../includes/cm.php');

if(document.getElementById('fl')) clientSideInclude('fl', '../includes/fl.php');

if(document.getElementById('ce')) clientSideInclude('ce', '../includes/ce.php');

if(document.getElementById('topinc7')) clientSideInclude('topinc7', '../includes/residents.php');

       if(document.getElementById('topinc8')) clientSideInclude('topinc8', '../includes/government.htm');

if(document.getElementById('topinc5')) clientSideInclude('topinc5', '../includes/top_bar1.htm');





     //   if(document.getElementById('topinc6')) clientSideInclude('topinc6', '../includes/left_panel_admin.htm');

	if(document.getElementById('topinc2')) clientSideInclude('topinc2', '../includes/top_bar.php');

	//if(document.getElementById('topinc5')) clientSideInclude('topinc5', '../includes/top_bar1.htm');

           //  if(document.getElementById('topinc3')) clientSideInclude('topinc3', '../includes/left_panel1.htm'); 

          //    if(document.getElementById('topinc4')) clientSideInclude('topinc4', '../includes/left_panel3.htm');    

       





}



function changeEvents()

{

	var events=document.getElementById("selectevents").value;

	if(events!="")

	{

		window.location="community_events.php?sort="+events;

	}

	else

	{

		window.location="community_events.php";

	}

}