// JavaScript Document
function changeLoc(page){
	location.href=page+".html";
	return true;	
	}
function savePageAsPDF() {
   var pURL = "http://savepageaspdf.pdfonline.com/pdfonline/pdfonline.asp?cURL=" + escape(document.location.href);
  window.open(pURL, "PDFOnline", "scrollbars=yes, resizable=yes,width=640, height=480,menubar,toolbar,location");

}
function printPage() {
	window.print();
}
var newwindow;
function openpopup(url)
{
	newwindow=window.open(url,'name','height=400,width=600, scrollbars=false, location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}

function openpopup2(url)
{
	newwindow=window.open(url,'name','height=600,width=600, scrollbars=false, location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}
function showDiv(id)
{
	
	if(id=="far"){
	hideDiv('login');
	}
	else if(id=="login"){
		hideDiv('far');
		
		}
		else{
			}
			
		document.getElementById(id).style.visibility="visible";
		document.getElementById(id).style.display="block";
	}
function hideDiv(hid){
	document.getElementById(hid).style.visibility="hidden";
		document.getElementById(hid).style.display="none";
	}
