<!-- Begin

var varClickTab = "";
var varImageBlock = "";

function tabClick(varId){

	varTemp = "";
	//make the tab text bold	
	document.getElementById(varId).style.fontWeight = "bold";


	if (varImageBlock !="") {
		document.getElementById(varImageBlock).style.display = "none";
	}

	//make the tab display visible
	switch (varId) {
		case "Aircraft":
			varTemp = "air";
			break;
			
		case "CapPolice":
			varTemp = "capPol";
			break;	
			
		case "K9":
			varTemp = "canine";
			break;	
			
		case "Patrol":
			varTemp = "pat";
			break;
	
		case "SRT":
			varTemp = "special";
			break;			

		case "TrainingAcad":
			varTemp = "training";
			break;	
				
		case "Troopers":
			varTemp = "troop";
			break;						
	}
	
	//displaying the images
	document.getElementById(varTemp).style.display = "block";	
	
	
	//putting font back to normal
	if ((varClickTab !="") && (varClickTab != varId)) {
		document.getElementById(varClickTab).style.fontWeight = "normal";
	}

	
	//reset the selected tab	
	varClickTab = varId;
	
	
	
	//reset the selected tab	
	varImageBlock = varTemp;
	
}


function tabMouseOver(varId){
	document.getElementById(varId).style.background = "#003366";
	document.getElementById(varId).style.color = "#ffcc00";
}

function tabMouseOut(varId){
	document.getElementById(varId).style.background = "#ffffff";
	document.getElementById(varId).style.color = "#000033";
}

//End -->
