// JavaScript Document
messages = new Array()               
messages[0] = "<div align=center><a href=putuo.php><img  border=0   src=photo/p1.gif width=150 height=114></a></div>"               
messages[1] ="<div align=center><a href=putuo.php><img   border=0   src=photo/p2.gif width=150 height=114></a></div>" 
messages[2] ="<div align=center><a href=putuo.php><img   border=0   src=photo/p3.gif width=150 height=114></a></div>" 
messages[3] = "<div align=center><a href=putuo.php><img  border=0   src=photo/p4.gif width=150 height=114></a></div>" 
               
               
mescolor = new Array()               
mescolor[0] = "000000"               
               
textfont = new Array()               
textfont[0] = "ËÎÌå"               
               
bagcolor = new Array()               
bagcolor[0] = "CCCCCC"               
bagcolor[1] = "CCFFFF"               
bagcolor[2] = "AAEEFF"               
bagcolor[3] = "CCFF88"               
bagcolor[4] = "orange"               
bagcolor[5] = "99AAFF"               
bagcolor[6] = "lightyellow"               
               
var i_messages = 0               
var timer               
               
function randomposition(range) {		               
	return Math.floor(range*Math.random())               
}               
               
function dotransition() {               
    if (document.all) {               
        content.filters[i_messages].apply()               
        content.innerHTML = "<table cellspacing=0 cellpadding=0 width=150 height=115 border=0><tr><td bgcolor="+bagcolor[randomposition(6)]+" style='color:"+mescolor[randomposition(0)]+";font-family:"+textfont[randomposition(0)]+"' valign=top class=text2>"+messages[i_messages]+"</td></tr></table>"               
        content.filters[i_messages].play()               
        if (i_messages >= messages.length-1) {               
            i_messages = 0               
        }               
        else {               
            i_messages++               
        }               
    }                
    timer = setTimeout("dotransition()",6400)                  
}               