//==============================================================
// NOTICE: You may not use this code whole or in part for any purpose commercial or other
//To license or purchase contact http://www.prowebassociates.com
//==============================================================
function areaonehover(){
document.getElementById('schmap').src = 'images/one_map.gif';
document.osearch.pschool.options[9].style.background='yellow';

	}
function areatwohover(){
document.getElementById('schmap').src = 'images/two_map.gif';
document.osearch.pschool.options[0].style.background='yellow';
document.osearch.pschool.options[2].style.background='yellow';
document.osearch.pschool.options[4].style.background='yellow';
document.osearch.pschool.options[6].style.background='yellow';
	}

function areathreehover(){
document.getElementById('schmap').src = 'images/three_map.gif';
document.osearch.pschool.options[8].style.background='yellow';
document.osearch.pschool.options[12].style.background='yellow';
document.osearch.pschool.options[14].style.background='yellow';
document.osearch.pschool.options[15].style.background='yellow';

	}
	
function areafourhover(){
document.getElementById('schmap').src = 'images/four_map.gif';
document.osearch.pschool.options[13].style.background='yellow';

	}
	
function areafivehover(){
document.getElementById('schmap').src = 'images/five_map.gif';
document.osearch.pschool.options[1].style.background='yellow';
document.osearch.pschool.options[3].style.background='yellow';
document.osearch.pschool.options[5].style.background='yellow';
document.osearch.pschool.options[7].style.background='yellow';
document.osearch.pschool.options[10].style.background='yellow';
document.osearch.pschool.options[11].style.background='yellow';
document.osearch.pschool.options[16].style.background='yellow';

	}
	
function areaoneout(){
document.getElementById('schmap').src = 'images/full_map.gif';
document.osearch.pschool.options[9].style.background='#ffffff';

	}
	
function areatwoout(){
document.getElementById('schmap').src = 'images/full_map.gif';
document.getElementById('schmap').src = 'images/full_map.gif';
document.osearch.pschool.options[0].style.background='#ffffff';
document.osearch.pschool.options[2].style.background='#ffffff';
document.osearch.pschool.options[4].style.background='#ffffff';
document.osearch.pschool.options[6].style.background='#ffffff';

	}

function areathreeout(){
document.getElementById('schmap').src = 'images/full_map.gif';
document.osearch.pschool.options[8].style.background='#ffffff';
document.osearch.pschool.options[12].style.background='#ffffff';
document.osearch.pschool.options[14].style.background='#ffffff';
document.osearch.pschool.options[15].style.background='#ffffff';

	}
	
function areafourout(){
document.getElementById('schmap').src = 'images/full_map.gif';
document.osearch.pschool.options[13].style.background='#ffffff';

	}
	
function areafiveout(){
document.getElementById('schmap').src = 'images/full_map.gif';
document.osearch.pschool.options[1].style.background='#ffffff';
document.osearch.pschool.options[3].style.background='#ffffff';
document.osearch.pschool.options[5].style.background='#ffffff';
document.osearch.pschool.options[7].style.background='#ffffff';
document.osearch.pschool.options[10].style.background='#ffffff';
document.osearch.pschool.options[11].style.background='#ffffff';
document.osearch.pschool.options[16].style.background='#ffffff';

	}

function oneclick(){
if(document.clickedone!=this){document.clickedone=this;document.osearch.pschool.options[9].selected = true;} 
else{document.clickedone=null;document.osearch.pschool.options[9].selected = false;};
}
function twoclick(){
if(document.clickedtwo!=this){document.clickedtwo=this;
document.osearch.pschool.options[0].selected = true;
document.osearch.pschool.options[2].selected = true;
document.osearch.pschool.options[4].selected = true;
document.osearch.pschool.options[6].selected = true;} 
else{document.clickedtwo=null;
document.osearch.pschool.options[0].selected = false;
document.osearch.pschool.options[2].selected = false;
document.osearch.pschool.options[4].selected = false;
document.osearch.pschool.options[6].selected = false;};
}
function threeclick(){
if(document.clickedthree!=this){document.clickedthree=this;
document.osearch.pschool.options[8].selected = true;
document.osearch.pschool.options[12].selected = true;
document.osearch.pschool.options[14].selected = true;
document.osearch.pschool.options[15].selected = true;} 
else{document.clickedthree=null;
document.osearch.pschool.options[8].selected = false;
document.osearch.pschool.options[12].selected = false;
document.osearch.pschool.options[14].selected = false;
document.osearch.pschool.options[15].selected = false;};
}
function fourclick(){
if(document.clickedfour!=this){document.clickedfour=this;
document.osearch.pschool.options[13].selected = true;} 
else{document.clickedfour=null;
document.osearch.pschool.options[13].selected = false;};
}
function fiveclick(){
if(document.clickedfive!=this){document.clickedfive=this;
document.osearch.pschool.options[1].selected = true;
document.osearch.pschool.options[3].selected = true;
document.osearch.pschool.options[5].selected = true;
document.osearch.pschool.options[7].selected = true;
document.osearch.pschool.options[10].selected = true;
document.osearch.pschool.options[11].selected = true;
document.osearch.pschool.options[16].selected = true;} 
else{document.clickedfive=null;
document.osearch.pschool.options[1].selected = false;
document.osearch.pschool.options[3].selected = false;
document.osearch.pschool.options[5].selected = false;
document.osearch.pschool.options[7].selected = false;
document.osearch.pschool.options[10].selected = false;
document.osearch.pschool.options[11].selected = false;
document.osearch.pschool.options[16].selected = false;};
}

function clearschool(){
document.clickedone=null;
document.clickedotwo=null;
document.clickedthree=null;
document.clickedfour=null;
document.clickedfive=null;
document.osearch.pschool.options[0].selected = false;
document.osearch.pschool.options[1].selected = false;
document.osearch.pschool.options[3].selected = false;
document.osearch.pschool.options[2].selected = false;
document.osearch.pschool.options[4].selected = false;
document.osearch.pschool.options[5].selected = false;
document.osearch.pschool.options[6].selected = false;
document.osearch.pschool.options[7].selected = false;
document.osearch.pschool.options[8].selected = false;
document.osearch.pschool.options[9].selected = false;
document.osearch.pschool.options[10].selected = false;
document.osearch.pschool.options[11].selected = false;
document.osearch.pschool.options[12].selected = false;
document.osearch.pschool.options[13].selected = false;
document.osearch.pschool.options[14].selected = false;
document.osearch.pschool.options[15].selected = false;
document.osearch.pschool.options[16].selected = false;
}