
//theTexts = new Array()
//theTexts[0] = "<a HREF=#><img src=../image/1.gif height=50 width=430 border=0 alt='东方商务网'></a>";
//theTexts[1] = "<a HREF=#><img src=../image/2.gif height=50 width=430 border=0 alt='东方商务网'></a>";
//theTexts[2] = "<a HREF=#><img src=../image/3.gif height=50 width=430 border=0 alt='东方商务网'></a>";
//theTexts[3] = "<a HREF=#><img src=../image/4.gif height=50 width=430 border=0 alt='东方商务网'></a>";
//theTexts[4] = "<a HREF=#><img src=../image/5.gif height=50 width=430 border=0 alt='东方商务网'></a>";
//theTexts[5] = "<a HREF=#><img src=../image/6.gif height=50 width=430 border=0 alt='东方商务网'></a>";
var rand = Math.round(Math.random()*9);
while (rand >9) {
   rand = Math.round(Math.random()*9);
}
//document.write(theTexts[rand]);

if (rand<0){rand=0;}
if (rand>9){rand=9;}

var tmp;
var flashfile;

if (rand==0){
	tmp= "<a HREF=#><img src=../newyearflash/0.gif height=50 width=430 border=0 alt='东方商务网'></a>";
}else{
	flashfile="../newyearflash/" + rand + ".swf";
	tmp = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='430' height='50'>";
	tmp = tmp + "<param name=movie value='" +  flashfile + "'> <param name=quality value=high> ";
	tmp = tmp + "<embed src='" + flashfile + "' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='430' height='50'> ";
	tmp = tmp + "</embed> </object>";
}
document.write(tmp);

