// show hide
function smHdrLnk01_ON() {
	if (document.getElementById) {
		document.getElementById('smHeaderRightCol_01_link_01').style.background = 'url(images/btn_header_go_ON.gif)';
	}
}
function smHdrLnk01_OFF() {
	if (document.getElementById) {
		document.getElementById('smHeaderRightCol_01_link_01').style.background = 'url(images/btn_header_go.gif)';
	}
}

function smHdrLnk02_ON() {
	if (document.getElementById) {
		document.getElementById('smHeaderRightCol_01_link_02').style.background = 'url(images/btn_header_go_ON.gif)';
	}
}
function smHdrLnk02_OFF() {
	if (document.getElementById) {
		document.getElementById('smHeaderRightCol_01_link_02').style.background = 'url(images/btn_header_go.gif)';
	}
}

function smHdrLnk03_ON() {
	if (document.getElementById) {
		document.getElementById('smHeaderRightCol_01_link_03').style.background = 'url(images/btn_header_go_ON.gif)';
	}
}
function smHdrLnk03_OFF() {
	if (document.getElementById) {
		document.getElementById('smHeaderRightCol_01_link_03').style.background = 'url(images/btn_header_go.gif)';
	}
}

// form btns
function enterEmailHeaderON() {
	if (document.getElementById) {
		document.getElementById('enterEmailID').className  = 'signupFieldContainerON';
	}
}
function enterEmailHeaderOFF() {
	if (document.getElementById) {
		document.getElementById('enterEmailID').className  = 'signupFieldContainer';
	}
}
function searchFieldON() {
	if (document.getElementById) {
		document.getElementById('searchRightID').className  = 'searchRightContainerON';
	}
}
function searchFieldOFF() {
	if (document.getElementById) {
		document.getElementById('searchRightID').className  = 'searchRightContainer';
	}
}
function searchFieldON_2() {
	if (document.getElementById) {
		document.getElementById('searchFooterID').className  = 'searchFooterContainerON';
	}
}
function searchFieldOFF_2() {
	if (document.getElementById) {
		document.getElementById('searchFooterID').className  = 'searchFooterContainer';
	}
}

// top5 read more
function top5ReadMoreON() {
	if (document.getElementById) {
		document.getElementById('top5StoryReadMore').style.background = 'url(images/top5_read_more_bgON.gif)';
	}
}
function top5ReadMoreOFF() {
	if (document.getElementById) {
		document.getElementById('top5StoryReadMore').style.background = 'url(images/top5_read_more_bg.gif)';
	}
}


//
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}




// About submenu
function aboutShow() {
	if (document.getElementById) {
		allNavClose();
		document.getElementById('submenuAbout').style.visibility = 'visible';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function aboutHide() {
	if (document.getElementById) {
		document.getElementById('submenuAbout').style.visibility = 'hidden';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}

// Locations submenu
function locationsShow() {
	if (document.getElementById) {
		allNavClose();
		document.getElementById('submenuLocations').style.visibility = 'visible';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function locationsHide() {
	if (document.getElementById) {
		document.getElementById('submenuLocations').style.visibility = 'hidden';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}

// Admissions submenu
function admissionsShow() {
	if (document.getElementById) {
		allNavClose();
		document.getElementById('submenuAdmissions').style.visibility = 'visible';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function admissionsHide() {
	if (document.getElementById) {
		document.getElementById('submenuAdmissions').style.visibility = 'hidden';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}

// Schools & Industry submenu
function schoolsIndustryShow() {
	if (document.getElementById) {
		allNavClose();
		document.getElementById('submenuSchoolsIndustry').style.visibility = 'visible';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry').style.visibility = 'hidden';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}

function schoolsIndustryShow_01() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB01').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID01').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_01() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB01').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID01').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_02() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB02').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID02').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_02() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB02').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID02').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_03() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB03').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID03').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_03() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB03').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID03').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_04() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB04').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID04').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_04() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB04').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID04').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_05() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB05').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID05').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_05() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB05').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID05').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_06() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB06').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID06').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_06() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB06').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID06').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_07() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB07').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID07').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_07() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB07').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID07').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_08() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB08').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID08').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_08() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB08').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID08').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_09() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB09').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID09').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_09() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB09').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID09').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_10() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB10').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID10').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_10() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB10').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID10').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_11() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB11').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID11').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_11() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB11').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID11').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}
function schoolsIndustryShow_12() {
	if (document.getElementById) {
		allSubNavClose();
		document.getElementById('submenuSchoolsIndustry_SUB12').style.visibility = 'visible';
		document.getElementById('submenuSchoolsIndustry_ID12').className  = 'submenuON';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function schoolsIndustryHide_12() {
	if (document.getElementById) {
		document.getElementById('submenuSchoolsIndustry_SUB12').style.visibility = 'hidden';
		document.getElementById('submenuSchoolsIndustry_ID12').className  = 'submenuOFF';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}

// Admissions submenu
function contactShow() {
	if (document.getElementById) {
		allNavClose();
		document.getElementById('submenuContact').style.visibility = 'visible';
		document.getElementById('allSubNavCloseID').style.visibility = 'visible';
	}
}
function contactHide() {
	if (document.getElementById) {
		document.getElementById('submenuContact').style.visibility = 'hidden';
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
	}
}








// nav close
function allNavClose() {
	if (document.getElementById) {
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
		aboutHide();
		locationsHide();
		admissionsHide();
		schoolsIndustryHide();
		contactHide();
		allSubNavClose();	
	}	
}
function allSubNavClose() {
	if (document.getElementById) {
		document.getElementById('allSubNavCloseID').style.visibility = 'hidden';
		schoolsIndustryHide_01();
		schoolsIndustryHide_02();
		schoolsIndustryHide_03();
		schoolsIndustryHide_04();
		schoolsIndustryHide_05();
		//schoolsIndustryHide_06();
		//schoolsIndustryHide_07();
		//schoolsIndustryHide_08();
		//schoolsIndustryHide_09();
		//schoolsIndustryHide_10();
		//schoolsIndustryHide_11();
		//schoolsIndustryHide_12();
	}	
}
































