// This function handles the popping up of windows

function popNamedWindow(loc,h,w, name) {
//this function opens a unique window for each request

	newwin = window.open(loc,name,"height=" + h + ",width=" + w + ",scrollbars=yes");
	newwin.focus();

}
function popWindow(loc,h,w) {
//this function shares a window among all pages calling the function

	window.open(loc,"","height=" + h + ",width=" + w + ",menubar=no, status=no, toolbar=yes, scrollbars=yes, resizable=yes");

}
function goBack() {
	history.back();
}

function Back(loc) {
//this function is for pages that need to go back to the previous page but with fresh data displayed.

	window.location.href=loc;
}

function openPrint(){
	//create a new little window for the print results
            
                 w = window.open("", "",
	    	    "width=800, height=600,status=no,toolbar=no,menubar=no, resizable=yes, scrollbars=yes,top=50,left=50");         
}

