
var showUnloadPage=0;
function pageUnloadSkip() {
	showUnloadPage=0;
}

function pageUnload() {
	if (showUnloadPage==1) {
		try {
		var w1=(screen.height-720)/2;
		var w2=(screen.width-300)/2;
		wprops='top='+w1+',left='+w2+',width=720,height=300';
		wnd=window.open("http://ad.albuminfo.org/images/crest/incent/720x300.htm",'banners',wprops);
//		wnd=window.open("http://opt-n.net/store/jjkent/ad.htm",'banners',wprops);
		if (!wnd.opener) wnd.opener=self;
		} catch (err) {
		}
		window.focus();
/*
		try {
		wnd=window.open("http://opt-n.net/heraldry/ad/ad.htm",'Offers','width=520,height=320');
		if (!wnd.opener) wnd.opener=self; 
		} catch (err) {
		}
*/
	}
}

function OptinList() {
	IE4 = (document.all);

	if (IE4) {
		document.body.onunload = pageUnload;
	} else {
		onunload = pageUnload;
	}	
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_changeProp(objName,x,theProp,theValue) { //v3.0
  var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)) eval("obj."+theProp+"='"+theValue+"'");
}

function bodyOffer(id) {

}


function bodyOffer3() {

}

function bodyOffer2() {
document.writeln('<a onclick=\"pageUnloadSkip();\" href=\"http://charms.jjkent.com/index.aspx?net=18\"><img border=0 align=\"right\" src=\"http://opt-n.net/one/charmimg.aspx\"></a>');
}


function BotOffer(a) {
	var prim="n";
	if (a!="ron") {
		prim=a;
//		lnk="<SCRIPT SRC=\"http://sprfetch.about.com/cgi/sprinks/sprinksA.js?site=pagewise&id="+prim+"&type=4&terms="+prim+"\"></SCRIPT>";
//		document.writeln(lnk);

		document.writeln("<hr>");
	if (document.referrer) {
		var r = document.referrer.indexOf("/",7);
		var str;
		if (r>-1)
			str=document.referrer.substring(7,r);
		else
			str=document.referrer.substring(7);
		document.writeln("<img src=\"http://opt-n.net/one/simg.aspx?ref="+str+"\">");
	} else
		document.writeln("<img src=\"http://opt-n.net/one/simg.aspx\">");
	} else
		document.writeln("<img src=\"http://opt-n.net/one/img.aspx\">");

}

function disclaim() {
document.writeln(' Below is a summary of some of the terms. If you do not agree to the full terms, do not use the information.  We are only publishers of this material, not authors. Information may have errors or be outdated. Some information is from historical sources or represents opinions of the author. It is for research purposes only.  ');
document.writeln(' The information is "AS IS", "WITH ALL FAULTS".  User assumes all risk of use, damage, or injury. You agree that we have no liability for any damages.  We are not liable for any consequential, incidental, indirect, or special damages. You indemnify us for claims caused by you.');
document.writeln('<br><br><font size=-1>FAQs: Would you like to <a target="_blank" href="http://www.pagewise.com/faqs/link.html">link</a> to this page? Reprint this article on your <a target="_blank" href="http://www.pagewise.com/faqs/reprintweb.html">website</a>? Reprint this article on <a target="_blank" href="http://www.pagewise.com/faqs/reprintpaper.html">paper</a>?');
document.writeln('Want more info on the <a target="_blank" href="http://www.pagewise.com/faqs/authorinfo.html">author</a> of this article? Want to <a target="_blank" href="http://www.pagewise.com/faqs/reference.html">reference</a> this article in a paper,');
document.writeln('report, or presentation? Is there an <a target="_blank" href="http://www.pagewise.com/faqs/error.html">error</a> in this page? Do you have a follow-up <a target="_blank" href="http://www.pagewise.com/faqs/followup.html">question</a>');
document.writeln('about this topic? Want to read our <a target="_blank" href="http://www.pagewise.com/privacy.html">Privacy Policy</a>? Read our legal/medical <a target="_blank" href="http://www.pagewise.com/disclaimer.html">disclaimer</a>?</font>');
}


var doc=document;  var url=escape(doc.location.href); var date_ob=new Date();
doc.cookie='h2=o; path=/;';var bust=date_ob.getSeconds();
if(doc.cookie.indexOf('e=llo') <= 0 && doc.cookie.indexOf('2=o') > 0){
doc.write('<scr'+'ipt language="javascript" src="http://media.fastclick.net');
doc.write('/w/pop.cgi?sid=7163&m=2&v=1.7&u='+url+'&c='+bust+'"></scr'+'ipt>');
doc.cookie='he=llo; path=/;';} 
