// JavaScript for PeopleFinders.com

// Basic popup window
// <a href="javascript:OpenWin('/path/to/file.htm',400,225);">
function OpenWin(url, w, h) {
	intLeft = 10;
	intTop = 100;
	try {
		var intLeft = (screen.availWidth / 2) - (w / 2);
		//var intTop = (screen.availHeight / 2) - (h / 2);
	}
	catch (e) { }
	window.open(url, "win", 'toolbar=0,location=0,directories=0,status=0,menubar=0,top=' + intTop + ',left=' + intLeft + ',scrollbars=1,resizable=0,width=' + w + ',height=' + h);
}

// Secured page google ad verification
var secured = (("https:" == document.location.protocol) ? true : false);
var regularorssl = (("https:" == document.location.protocol) ? "https://" : "http://");
if (secured != true) {
	document.write(unescape("%3Cscript src='http://partner.googleadservices.com/gampad/google_service.js' type='text/javascript'%3E%3C/script%3E"));
}

// Checkout Free Window location reference
function SetWindow(newurl, winname) {
	var newwin = window.open(newurl, winname);
	newwin.focus();
}
