Massachuetts Paintball

Massachuetts Paintball
03-01-08 02:51
Alter: 285 days





Massachuetts Paintball /*

Dynamic Splash Screen effect- © Dynamic Drive (www.dynamicdrive.com)

For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, Visit dynamicdrive.com

*/ //Specify the paths of the images to be used in the splash screen, if any.

//If none, empty out array (ie: preloadimages=new Array())

var preloadimages=new Array("http://wwww.masspaintball.com/point.gif","http://www.masspaintball.com/point2.gif")

//configure delay in miliseconds between each message (default: 2 seconds)

var intervals=2000

//configure destination URL

var targetdestination="http://www.masspaintball.com/main" //configure messages to be displayed

//If message contains apostrophe('), backslash them (ie: "I\'m fine") var splashmessage=new Array()

var openingtags='

'

splashmessage[0]='Loading...'

splashmessage[1]='

'

splashmessage[2]=' Massachuetts Paintball '

splashmessage[3]='Your source for all local paintball needs'

splashmessage[4]='We bring paintball to YOU!!!' var closingtags='

' //Do not edit below this line (besides HTML code at the very bottom) var i=0 var ns4=document.layers?1:0

var ie4=document.all?1:0

var ns6=document.getElementById&&!document.all?1:0

var theimages=new Array() //preload images

if (document.images){

for (p=0;p

<preloadimages.length;p++){ theimages[p]=new Image()

theimages[p].src=preloadimages[p]

}

} function displaysplash(){

if (i

<splashmessage.length){ sc_cross.style.visibility="hidden"

sc_cross.innerHTML='

'+openingtags+splashmessage[i]+closingtags+'

'

sc_cross.style.left=ns6?parseInt(window.pageXOffset)+parseInt(window.innerWidth)/2-parseInt(sc_cross.style.width)/2 : document.body.scrollLeft+document.body.clientWidth/2-parseInt(sc_cross.style.width)/2

sc_cross.style.top=ns6?parseInt(window.pageYOffset)+parseInt(window.innerHeight)/2-sc_cross.offsetHeight/2 : document.body.scrollTop+document.body.clientHeight/2-sc_cross.offsetHeight/2

sc_cross.style.visibility="visible"

i++

}

else{

window.location=targetdestination

return

}

setTimeout("displaysplash()",intervals)

} function displaysplash_ns(){

if (i

<splashmessage.length){ sc_ns.visibility="hide"

sc_ns.document.write('

'+openingtags+splashmessage[i]+closingtags+'

')

sc_ns.document.close() sc_ns.left=pageXOffset+window.innerWidth/2-sc_ns.document.width/2

sc_ns.top=pageYOffset+window.innerHeight/2-sc_ns.document.height/2 sc_ns.visibility="show"

i++

}

else{

window.location=targetdestination

return

}

setTimeout("displaysplash_ns()",intervals)

} function positionsplashcontainer(){

if (ie4||ns6){

sc_cross=ns6?document.getElementById("splashcontainer"):document.all.splashcontainer

displaysplash()

}

else if (ns4){

sc_ns=document.splashcontainerns

sc_ns.visibility="show"

displaysplash_ns()

}

else

window.location=targetdestination

}

window.onload=positionsplashcontainer [ Skip Intro ]







Massachuetts Paintball


<- Zurück zu: indiecentre.com