// ANIMATION SCRIPTS - all rights delimit.net - revision 20100618

document.domain = 'delimit.net'

function checkFrames(){
	var s = location.href.toLowerCase()
	var n = s.length
	var p = parent.location.href.toLowerCase()
	if ((p.indexOf('deekay')<0||p==s)&&s.indexOf('frames')<0&&s.charAt(n-1)=='m'&&document.referrer.toLowerCase().substring(0,4)=='http'){
		if (self.name.substring(0,7)!='DeeKay@') self.name='DeeKay@'+document.referrer
		location.replace('../frames.html?page='+s.substring(s.lastIndexOf('/')+1,s.lastIndexOf('.')))
		}
	}
	
checkFrames()

function showPic(url){parent.request=url;parent.right.location.href="../pages/picture.html"}

function hintLine(hint){hint=parent.getHint(hint);return true}

function refresh(){parent.ceil.location.replace("../pages/upper.html")}

function warn(obj,nr){if(obj.href!="cancel.html"&&!window.confirm(parent.getWarn(nr)))obj.href="cancel.html"}

function addAd(type,page){document.write(parent.writeAd(parent.getAd(type,page)))}

function showNew(date){if(parent.getToday()-date<2500000)document.write('<b><font color="red">NEW</font></b>')}

function getEMID(){id='0709';return'deekay'+id}

function getFMID(){id='0605';return'form'+id}

function checkTarget(obj){obj.target='deekaywindow';deekaywindow.onLoad='window.focus()'}

function link(obj,url){obj.href=url} 

//function ageCheck(obj,url){if(parent.ageConfirm==''){if(window.confirm("Are you at least 18 years of age?"))parent.ageConfirm='Yes';else parent.ageConfirm='No';}if(parent.ageConfirm=='Yes')obj.href=url}
