// JavaScript Documentvar sTopPath = top.location.href;var currentLang=""; if (sTopPath .indexOf("/english/") > -1) {	currentLang="english"; }else{	 currentLang = "tchinese" } function ChangeLang() {	// alert(currentLang);       //var sTopPath = top.location.href;       if (currentLang == "english") {		                  sTopPath = sTopPath .replace("/english/", "/tchinese/");       } else {               sTopPath = sTopPath .replace("/tchinese/", "/english/");       }       top.location.href = sTopPath ;}function subjecta(whichSubj){	var mySubj=whichSubj;	document.all("subjectFrame").src="subject_"+mySubj+".html"}function subject(whichSubj){	var mySubj=whichSubj;  var oIframe = document.getElementById("subjectFrame");  var oDoc = oIframe.contentWindow || oIframe.contentDocument; // if (oDoc.document){   // oDoc = oDoc.document; 	 //oDoc.body.style.backgroundColor = "#00f";	 oIframe.src="subject_"+mySubj+".html";  //	return true;	//}}//for rotating imagesvar myPicNu=0;function swapPics ( ) {if (myPicNu<myPicArr.length-1){	myPicNu+=1;		}else{	myPicNu=0;	}  myPic.src=myPicArr[myPicNu];}var myPicNu1=0;function swapPics1 ( ) {if (myPicNu1<myPicArr1.length-1){	myPicNu1+=1;		}else{	myPicNu1=0;	}  myPic1.src=myPicArr1[myPicNu1];}function swapImg(){	setInterval ("swapPics()", 1500 );}function swapImg1(){	setInterval ("swapPics1()", 1500 );}function enlarge(whichCampus,whichPic){myPic.src="../images/campus_"+whichCampus+"/l/"+whichPic+".jpg";}
