<!--



/* do pornstars skate randomizer*/

var doPornStarsSk8 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

doPornStarsSk8[0] = '1'
doPornStarsSk8[1] = '2'
doPornStarsSk8[2] = '3'
doPornStarsSk8[3] = '4'
doPornStarsSk8[4] = '5'
doPornStarsSk8[5] = '6'
doPornStarsSk8[6] = '7'
doPornStarsSk8[7] = '8'

var whichdoPornStarsSk8=Math.floor(Math.random()*(doPornStarsSk8.length))

function doPornStarsSkate(){
document.write('<img id="doPornStarsSk8"src="/images/celebrities/ps/doPornStarsSk8_'+doPornStarsSk8[whichdoPornStarsSk8]+'.jpg" class="inLine noPrint" width="550" alt="Do Pornstars Skate?">');
}

function doPornStarsSkate_sm(){
document.write('<a href="../images/celebrities/ps/doPornStarsSk8_'+doPornStarsSk8[whichdoPornStarsSk8]+'.jpg" rel="lightbox" title="Do Pornstars Skate?"><img id="doPornStarsSk8_sm" src="/images/celebrities/ps/doPornStarsSk8_'+doPornStarsSk8[whichdoPornStarsSk8]+'.jpg" alt="Do Pornstars Skate?"></a>');
}

/* used on the main gallery link pages for all porn star links */
function doPornStarsSkate_med(){
document.write('<a href="../images/celebrities/ps/doPornStarsSk8_'+doPornStarsSk8[whichdoPornStarsSk8]+'.jpg" rel="lightbox" title="Do Pornstars Skate?"><img id="doPornStarsSk8_med" src="/images/celebrities/ps/doPornStarsSk8_'+doPornStarsSk8[whichdoPornStarsSk8]+'.jpg" alt="Do Pornstars Skate?"></a>');
}
/* END do pornstars skate randomizer*/








/*
Ultimate Age calculator script- By JavaScript Kit (http://www.javascriptkit.com)
Over 200+ free scripts here!
Credit must stay intact for use
*/

var one_day=1000*60*60*24
var one_month=1000*60*60*24*30
var one_year=1000*60*60*24*30*12

function displayage(yr, mon, day, unit, decimal, round){
today=new Date()
var pastdate=new Date(yr, mon-1, day)

var countunit=unit
var decimals=decimal
var rounding=round

finalunit=(countunit=="days")? one_day : (countunit=="months")? one_month : one_year
decimals=(decimals<=0)? 1 : decimals*10

if (unit!="years"){
if (rounding=="rounddown")
document.write(Math.floor((today.getTime()-pastdate.getTime())/(finalunit)*decimals)/decimals+" "+countunit)
else
document.write(Math.ceil((today.getTime()-pastdate.getTime())/(finalunit)*decimals)/decimals+" "+countunit)
}
else{
yearspast=today.getFullYear()-yr-1
tail=(today.getMonth()>mon-1 || today.getMonth()==mon-1 && today.getDate()>=day)? 1 : 0
pastdate.setFullYear(today.getFullYear())
pastdate2=new Date(today.getFullYear()-1, mon-1, day)
tail=(tail==1)? tail+Math.floor((today.getTime()-pastdate.getTime())/(finalunit)*decimals)/decimals : Math.floor((today.getTime()-pastdate2.getTime())/(finalunit)*decimals)/decimals
document.write(yearspast+tail+" "+countunit)
}
}

//Sample usage
//displayage (year, month, day, unit, decimals, rounding)
//Unit can be "years", "months", or "days"
//Decimals specifies demical places to round to (ie: 2)
//Rounding can be "roundup" or "rounddown"

//displayage(1997, 11, 24, "years", 0, "rounddown")
// END Ultimate Age calculator script



// 
