//Splash Page script- http://www.dynamicdrive.com/
//Created: August 17th, 2007'
var splashpage={
// Splash Page Script Activation (1=enabled, 0=completely disabled!)
splashenabled: 1,
//1) URL to file on your server to display as the splashpage
splashpageurl: "warning.html",
//2) Enable frequency control? (1=yes, 0=no)
enablefrequency: 1,
//3) display freqency: "sessiononly" or "x days" (string value). Only applicable if 3) above is enabled
displayfrequency: "1 days",
//4) HTML for the header bar portion of the Splash Page
// Make sure to create a link that calls "javascript:splashpage.closeit()")
// An IE bug means you should not right align any image within the bar, but instead use "position:absolute" and the "right" attribute
defineheader: '
') //Main splashpage container
//document.write(this.defineheader) //header portion of splashpage
//document.write('
') //iframe
document.write('
WARNING ADULT CONTENT This site contains adult-oriented material of a graphic and sexual nature, and may be objectionable to some persons. This material is intended for persons over 18 years of age, only. If you are accessing this area from any location that deems this type of material to be illegal, you must not proceed. You must agree with each statement below and indicate your comprehension and permission to abide by the laws that are applicable to you in your geographical location.1) You agree that you are an adult, being of legal age, 18 or 21, in your legal jurisdiction, to view adult-oriented material that may be sexual or graphical in nature. (Local laws vary, so if you are not 100% sure of the applicable laws, you are advised exit the site.) 2) You will not redistribute this material to anyone for whom it is illegal to view or possess, nor will you permit any minor, or any person who would find this personally offensive, to view this material. By using houseofpainandpleasure.com or "HOPP" as it will be referred to, you agree to hold harmless HOPP, it\'s officers, employees and agents,against any claims, liability, losses, costs, damages, or expenses (including attorney\'s fees) arising from your use of HOPP or the information contained on the site. You will defend HOPP, against all claims of impropriety related to your use of HOPP. You understand HOPP is a listing service only and does not directly charge for advertised services of flirts. Flirts who are listed on the site are not employees, agents or contractors of HOPP nor are they endorsed by HOPP. "Flirts" are solely responsible for the content on their listing and HOPP makes no claims as to the accuracy of the information. |
Click to
or
')
this.splashpageref=document.getElementById("slashpage")
//this.splashiframeref=window.frames["splashpage-iframe"]
//this.splashiframeref.location.replace(this.splashpageurl) //Load desired URL into splashpage iframe
this.standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
if (!/safari/i.test(navigator.userAgent)) //if not Safari, disable document scrollbars
this.standardbody.style.overflow="hidden"
this.splashpageref.style.left=0
this.splashpageref.style.width="100%"
this.splashpageref.style.top=0
this.splashpageref.style.height="100%"
this.moveuptimer=setInterval("window.scrollTo(0,0)", 50)
},
closeit:function(){
clearInterval(this.moveuptimer)
this.splashpageref.style.display="none"
this.standardbody.style.overflow="auto"
this.setCookie(this.cookiename[0], parseInt(this.displayfrequency), parseInt(this.displayfrequency))
},
init:function(){
if (this.enablefrequency==1){ //if frequency control turned on
if (/sessiononly/i.test(this.displayfrequency)){ //if session only control
if (this.getCookie(this.cookiename[0]+"_s")==null){ //if session cookie is empty
//this.setCookie(this.cookiename[0]+"_s", "loaded")
this.launch=true
}
}
else if (/day/i.test(this.displayfrequency)){ //if persistence control in days
if (this.getCookie(this.cookiename[0])==null || parseInt(this.getCookie(this.cookiename[0]))!=parseInt(this.displayfrequency)){ //if persistent cookie is empty or admin has changed number of days to persist from that of the stored value (meaning, reset it)
//this.setCookie(this.cookiename[0], parseInt(this.displayfrequency), parseInt(this.displayfrequency))
this.launch=true
}
}
}
else //else if enablefrequency is off
this.launch=true
if (this.launch){
this.output()
if (parseInt(this.autohidetimer)>0)
setTimeout("splashpage.closeit()", parseInt(this.autohidetimer)*1000)
}
},
getCookie:function(Name){
var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair
if (document.cookie.match(re)) //if cookie found
return document.cookie.match(re)[0].split("=")[1] //return its value
return null
},
setCookie:function(name, value, days){
var expireDate = new Date()
//set "expstring" to either an explicit date (past or future)
if (typeof days!="undefined"){ //if set persistent cookie
var expstring=expireDate.setDate(expireDate.getDate()+parseInt(days))
document.cookie = name+"="+value+"; expires="+expireDate.toGMTString()+"; "+splashpage.cookiename[1] //last portion sets cookie path
}
else //else if this is a session only cookie setting
document.cookie = name+"="+value+"; "+splashpage.cookiename[1] //last portion sets cookie path
}
}
if (splashpage.browserdetectstr && splashpage.splashenabled==1){
splashpage.init()}