//SoundlySaved.Org countup Script- © 2006 Walter Streeter
// Based on code from DynamicDrive.com

//Configure the below 5 variables to set the width, height, background color, and text style of the countup area
var countupwidth='50px'
var countupheight='20px' //applicable only in NS4
var countupbgcolor='red'
var opentags='<font face="Verdana" font color="#FFFFFF" font size="4">'
var closetags='</font>'

// Set init values for some variables

var crosscount=''
var teh=0

function start_countup(){
if (document.layers)
document.countupnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countupie") : countupie
countup()
}

if (document.all||document.getElementById)
document.write('<span id="countupie" style="width:'+countupwidth+'; background-color:'+countupbgcolor+'"></span>')

window.onload=start_countup

function countup(){
var today=new Date()
var todayy=today.getYear()
teh+=.117
result=teh.toFixed(2)
if (document.layers){
document.countupnsmain.document.countupnssub.document.write(result+closetags)
document.countupnsmain.document.countupnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+result+closetags

setTimeout("countup()",100)
}
