
var pop;
// Function requires a URL to open in the window, name of the window, and width / height parameters
function popGenericWin(url,name,w,h,s) {
	if(!pop || pop.closed) {	
		url.replace("\\",'/');
		h = h + 60;
		w = w + 60;
		pop = window.open(url,name,'width='+w+',height='+h+',left=50,top=50,personal=no,toolbar=no,menubar=no,scrollbars='+s+',location=no,status=no,resizable=no,directories=no');
	}
	else {
		pop.location.href = url;
    	pop.focus();
		}
	

}