function keepOut() {
	if (self != top) {top.location.replace(self.location);}
	return (true);
}

// PopSurvey is called in the LeadCollection functionality.
function PopSurvey(URL,section,subsection,pagedisplayed,itemid,intID,response,strLeadSuccess) {
	if (response == 1) {
		ChildYes = window.open(URL, 'ChildYes', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=400');
	} else {
		ChildNo = window.open('','ChildNo', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=300,height=200');
		ChildNo.document.write('<title>Information Sign Up</title>')
		ChildNo.document.write('<body bgcolor=#FFFFFF>')
		ChildNo.document.write('<br><font face=arial>If you would like to sign up for this newsletter at a later date, you can visit the "<a href="/index.asp?Sec=log&Sub=reg&Pag=103#eMember" onclick="window.moveTo(0,0); window.resizeTo(screen.availWidth,screen.availHeight)";>Change Profile</a>" page.<br>')
		ChildNo.document.write('<br><center><a href="javascript:self.close()">Close Window</a></center></font>')
	}
	window.location = '/index.asp?sec=' + section + '&sub=' + subsection + '&pag=' + pagedisplayed + itemid + intID + strLeadSuccess;
}

// Used by vdp/websearch product routines
function funOpenWindow(strUrl) {
	winStats='toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,width=250,height=300'
	if (navigator.appName.indexOf("Microsoft")>=0) {
		winStats+=',left=500,top=100'
	} else {
		winStats+=',screenX=500,screenY=100'
	}
	floater=window.open(strUrl,"winTest",winStats)
}

function openWindow(url) {
	popupWin = window.open(url, 'printWin',  'menubar=1, status=1,scrollbars=1,toolbar=1,resizable=1,location=1,dependent=1,width=700,height=600,left=50,top=50');
}

//used by the Insider list in User Options
function insiderPopup(text) 
{
   popupwin = window.open('','Info','width=200,height=230,resizable=yes');
   //popupwin.document.write(unescape(text));
   popupwin.document.write(text);
   popupwin.document.close;
}
 


