sandra0 = new Image();
sandra0.src = "images/gundong/x2.jpg";
sandra1 = new Image();
sandra1.src = "images/gundong/x3.jpg";
sandra2 = new Image();
sandra2.src = "images/gundong/x4.jpg";
var i_strngth=1
var i_image=0
var imageurl = new Array()
imageurl[0] ="images/gundong/x2.jpg"
imageurl[1] ="images/gundong/x3.jpg"
imageurl[2] ="images/gundong/x4.jpg"
var imagea = new Array()
imagea[0] ="http://www.newspeed.net/FlightI/FlightSaleDetail.asp?Id=265"
imagea[1] ="http://www.newspeed.net/FlightI/Default.asp"
imagea[2] ="http://www.newspeed.net/FlightI/FlightSaleDetail.asp?Id=274"
function showimage() { 
if(document.all) {
if (i_strngth <=110) {
testimage.innerHTML="<a href="+imagea[i_image]+"><img style='filter:alpha(opacity="+i_strngth+")' src="+imageurl[i_image]+" border=0></a>";
i_strngth=i_strngth+2
var timer=setTimeout("showimage()",200)
}
else {
clearTimeout(timer)
var timer=setTimeout("hideimage()",1000)
}
}
if(document.layers) {
clearTimeout(timer)
document.testimage.document.write("<a href="+imagea[i_image]+"><img src="+imageurl[i_image]+" border=0></a>")
document.close()
i_image++
if (i_image >= imageurl.length) {i_image=0} 
var timer=setTimeout("showimage()",10000)
} 
}
function hideimage() { 
if (i_strngth >=-10) {
testimage.innerHTML="<a href="+imagea[i_image]+"><img style='filter:alpha(opacity="+i_strngth+")' src="+imageurl[i_image]+" border=0></a>";
i_strngth=i_strngth-10
var timer=setTimeout("hideimage()",100)
} 
else {
clearTimeout(timer)
i_image++
if (i_image >= imageurl.length) {i_image=0}
i_strngth=1
var timer=setTimeout("showimage()",500) 
}
}

