//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://abstract.simplenet.com/point.gif","http://abstract.simplenet.com/point2.gif")
//configure delay in miliseconds between each message (default: 4.5 seconds)
var intervals=4500
//configure destination URL
var targetdestination="http://www.hiresuccess.com.au/tour/1.htm"

//configure messages to be displayed

var splashmessage=new Array()
var openingtags='<font face="Arial" size="4">'
splashmessage[0]='WELCOME TO THE GUIDED TOUR<br>OF THE<br><font size="6">HIRE SUCCESS</font><font size="2" face="Arial"><sup>©</sup></font><br>EMPLOYMENT TESTING SYSTEM'
splashmessage[1]='See For Yourself How Easy It Is<br>To Be On The Road To<br>HIRE SUCCESS'
splashmessage[2]='In A Moment, We Will Begin the Tour<br>Where You Will Learn Why<br>HIRE SUCCESS<font size="2" face="Arial"><sup>©</sup></font>'
splashmessage[3]='Provides You With The Most<br>Flexible, Accurate and Cost Effective<br>Solution on the Market Today.'
splashmessage[4]='Why HIRE SUCCESS?<br><i>Because The Closest Anyone Ever Comes To Perfection<br>Is On Their Resume.'
splashmessage[5]='Please stand by...'
var closingtags='</font>'

//Do not edit below this line (besides HTML code at the very bottom)


var i=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_ie(){
if (i<splashmessage.length){
sc_ie.style.visibility="hidden"
sc_ie.innerHTML='<b><center>'+openingtags+splashmessage[i]+closingtags+'</center></b>'
sc_ie.style.left=document.body.scrollLeft+document.body.clientWidth/2-sc_ie.offsetWidth/2
sc_ie.style.top=document.body.scrollTop+document.body.clientHeight/2-sc_ie.offsetHeight/2
sc_ie.style.visibility="visible"
i++
}
else{
window.location=targetdestination
return
}
setTimeout("displaysplash_ie()",intervals)
}

function displaysplash_ns(){
if (i<splashmessage.length){
sc_ns.visibility="hide"
sc_ns.document.write('<b>'+openingtags+splashmessage[i]+closingtags+'</b>')
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 (document.all){
sc_ie=document.all.splashcontainer
sc_ie.style.left=document.body.scrollLeft+document.body.clientWidth/2-sc_ie.offsetWidth/2
sc_ie.style.top=document.body.scrollTop+document.body.clientHeight/2-sc_ie.offsetHeight/2
displaysplash_ie()
}
else if (document.layers){
sc_ns=document.splashcontainerns
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"
displaysplash_ns()
}
else
window.location=targetdestination
}
window.onload=positionsplashcontainer
