function setPage(PID){
	/*switch(PID){
		case "":
			
		break;
	}*/
}

function redirectTo(sPage){
	window.location=sPage;
}

function popupPic(sPicURL) { 
	window.open("/imgpopup.html?"+sPicURL, "", "resizable=1,height=200,width=200");
}

function openPopup(URL, width, height){
	window.open(URL,"my_window","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height)
}

function alternate(id){
	if(document.getElementById){
		var table = document.getElementById(id);
		var rows = table.getElementsByTagName("tr");
		for(i = 0; i < rows.length; i++){
			if(i % 2 == 0){
				rows[i].className = "a_RowHighlightOff";
			}else{
				rows[i].className = "a_RowHighlightOn";
			}
		}
	}
}

function popupPic(sPicURL) { 
	window.open("/imgpopup.html?"+sPicURL, "", "resizable=1,height=200,width=200");
}

function openPopup(URL, width, height){
	window.open(URL,"my_window","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height)
}
