// JavaScript Document
//post gradution
var idbx=new Array('bx1','bx2','bx4','bx5','bx6','bx7','bx8','bx9','bx10','bx11','bx12','bx13','bx14','bx15','bx16');
function switchidSbx(id){	
	hideallidsEbx();
	showdivSbx(id);
}
function hideallidsEbx(){
	//loop through the array and hide each element by id
	for (var i=0;i<idbx.length;i++){
		hidedivEbx(idbx[i]);
	}		  
}
function hidedivEbx(idS) {
//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(idS).style.display = 'none';
}
else {
	if (document.layers) { // Netscape 4
	document.idS.display = 'none';
	}
	else { // IE 4
		document.all.idS.style.display = 'none';
		}
	}
}
function showdivSbx(idS) {
//safe function to show an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(idS).style.display = 'block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.idS.display = 'block';
		}
		else { // IE 4
			document.all.idS.style.display = 'block';
		}
	}
}
//end here 

// greaduation show hide 
var idcde=new Array('cde1','cde2','cde3','cde4','cde5','cde6','cde7','cde8','cde9','cde10','cde11','cde12','cde13','cde14','cde15','cde16','cde17','cde18','cde19');



function switchidcde(id){	

	hideallidscde();

	showdivScde(id);

}



function hideallidscde(){

	//loop through the array and hide each element by id

	for (var i=0;i<idcde.length;i++){

		hidedivcde(idcde[i]);

	}		  

}



function hidedivcde(idS) {

	//safe function to hide an element with a specified id

	if (document.getElementById) { // DOM3 = IE5, NS6

		document.getElementById(idS).style.display = 'none';

	}

	else {

		if (document.layers) { // Netscape 4

			document.idS.display = 'none';

		}

		else { // IE 4

			document.all.idS.style.display = 'none';

		}

	}

}



function showdivScde(idS) {

	//safe function to show an element with a specified id

		  

	if (document.getElementById) { // DOM3 = IE5, NS6

		document.getElementById(idS).style.display = 'block';

	}

	else {

		if (document.layers) { // Netscape 4

			document.idS.display = 'block';

		}

		else { // IE 4

			document.all.idS.style.display = 'block';

		}

	}

}
//end here
//location show hide pop up start here






//here you place the idlocation of every element you want.

var idlocation=new Array('A1','A2','A3','A4','A5','A6','A7','A8','A9','A10','A11','A12','A13','A14','A15','A16','A17','A18','A19','A20','A21','A22','A23','A24','A25','A26','A27','A28','A29','A30','A31','A32','A33','A34','A35');



function switchidlocation(id){	

	hideallids();

	showdiv(id);

}



function hideallids(){

	//loop through the array and hide each element by id

	for (var i=0;i<idlocation.length;i++){

		hidediv(idlocation[i]);

	}		  

}



function hidediv(id) {

	//safe function to hide an element with a specified id

	if (document.getElementById) { // DOM3 = IE5, NS6

		document.getElementById(id).style.display = 'none';

	}

	else {

		if (document.layers) { // Netscape 4

			document.id.display = 'none';

		}

		else { // IE 4

			document.all.id.style.display = 'none';

		}

	}

}



function showdiv(id) {

	//safe function to show an element with a specified id

		  

	if (document.getElementById) { // DOM3 = IE5, NS6

		document.getElementById(id).style.display = 'block';

	}

	else {

		if (document.layers) { // Netscape 4

			document.id.display = 'block';

		}

		else { // IE 4

			document.all.id.style.display = 'block';

		}

	}

}





//end here location 

//functiona aarea and specilization

var ids=new Array('W1','W2','W3','W4','W5','W6','W7','W8','W9','W10','W11','W12','W13','W14','W15','W16','W17','W18','W19','W20','W21','W22','W23','W24','W25','W26','W27','W28','W29','W30','W31','W32','W33','W34','W35','W36','W37');



function AswitchidS(id){	AhideallidsE();AshowdivS(id);}function AhideallidsE(){

	//loop through the array and hide each element by id

	for (var i=0;i<ids.length;i++){hidedivE(ids[i]);}		  }function hidedivE(idS) {//safe function to hide an element with a specified id

	if (document.getElementById) { // DOM3 = IE5, NS6

		document.getElementById(idS).style.display = 'none';

	}

	else {

		if (document.layers) { // Netscape 4

			document.idS.display = 'none';

		}

		else { // IE 4

			document.all.idS.style.display = 'none';

		}

	}

}



function AshowdivS(idS) {

	//safe function to show an element with a specified id

		  

	if (document.getElementById) { // DOM3 = IE5, NS6

		document.getElementById(idS).style.display = 'block';

	}

	else {

		if (document.layers) { // Netscape 4

			document.idS.display = 'block';

		}

		else { // IE 4

			document.all.idS.style.display = 'block';

		}

	}

}

//end here functiona and specilization



/*location */



