var isNS = (document.layers ? true : false); 
var getWidth = window.innerWidth; 
nsResizeHandler = new Function('if (getWidth != window.innerWidth); location.reload()');

function popMini(nUrl) {
	window.open(nUrl,"HJOL","width=400,height=300,toolbar=no,status=no,scrollbars=no")
} 

function popFull(nUrl) {
	window.open(nUrl,"", "width=580,height=420,resizable=yes,toolbar=yes,status=yes,scrollbars=yes" )
} 

function popFullwithMenuBar (nUrl) {
	window.open(nUrl,"","status=yes,height=420,width=580,scrollbars=yes,location=yes,menubar=yes,resizable=yes,toolbar=yes")
}

function cookieExists(aName){
	thecookies = document.cookie;
	return (thecookies.indexOf(aName + "=") > -1)
}

function JsLoginCookieSet(){
	return cookieExists("JobSeeker_Email")
}

function AdvLoginCookieSet(){
	return cookieExists("JobSeeker_Email")
}
