<!--
var css_secs
var css_timerID = null
var css_timerRunning = false
var css_delay = 1000

function css_InitializeTimer()
{
    // Set the length of the timer, in seconds
    css_secs = 15
    
    css_StopTheClock()
    css_StartTheTimer()
}
function css_StopTheClock()
{
    if(css_timerRunning)
        clearTimeout(css_timerID)
    css_timerRunning = false
}
var ID = 1	
function css_StartTheTimer()
{

    if (css_secs==0)
    {
        css_StopTheClock()
        loadobjs('/css/img'+ID+'.css')
        
        //alert(ID)
		//ajaxpageload('/bgpic/','bg')
		
		if(ID<8)
		{
		ID = ID+1
		css_InitializeTimer()
		}
		else
		{
		ID = 0
		css_InitializeTimer()
		}
		
       	
        	
    }
    else
    {
        self.status = css_secs
        css_secs = css_secs - 1
        css_timerRunning = true
        css_timerID = self.setTimeout("css_StartTheTimer()", css_delay)
    }
}
//-->
