// JavaScript Document
var thhight=60;
var thjuan=20
function Juan_view()
{
var strArray1=new Array();
strArray1[0]='□<A href=ad/congratulate.htm><FONT color=#666666>澳洲各界恭賀澳洲聯合商貿進入試運營階段 </FONT></A><img src=images/head4/new.gif>';
strArray1[1]='□<A href=exhibit/20070301/index.htm><FONT color=#666666>澳中交易會 </FONT></A><img src=images/head4/new.gif>';
strArray1[2]='';

document.write('<table width=220 border=0 cellspacing=0 cellpadding=2><tr><td>');
document.write('<div id="newRunMsg">'
							+'<table width=220 border=0 cellspacing=0 cellpadding=0>'
							+'<tr><td height=20>&nbsp;'+strArray1[0]+'</td></tr>'
							+'<tr><td height=20>&nbsp;'+strArray1[1]+'</td></tr>'
							+'<tr><td height=20>&nbsp;'+strArray1[2]+'</td></tr>'
							+'</table>'
							+'</div>'
							);
			marqueesHeight1=thhight;
			stopscroll1=false;
			newRunMsg.scrollTop=0;
			with(newRunMsg){
				style.width=0;
				style.height=marqueesHeight1;
				style.overflowX="visible";
				style.overflowY="hidden";
				noWrap=true;
				onmouseover=new Function("stopscroll1=true");
				onmouseout=new Function("stopscroll1=false");
			}
			preTop1=0; currentTop1=thjuan; stoptime1=0;
			newRunMsg.innerHTML+=newRunMsg.innerHTML;
			init_srolltext1();

document.write('</td></tr></table>');
}
function init_srolltext1(){
  newRunMsg.scrollTop=0;
  setInterval("scrollUp1()",40);
}
function scrollUp1(){
if(stopscroll1==true) return;
currentTop1+=1;
if(currentTop1==thjuan+1)
{
  stoptime1+=1;
  currentTop1-=1;
  if(stoptime1==thjuan) 
  {
    currentTop1=0;
    stoptime1=0;
  }
}
else {  	
  preTop1=newRunMsg.scrollTop;
  newRunMsg.scrollTop+=1;
 if(preTop1==newRunMsg.scrollTop){
	newRunMsg.scrollTop=thjuan;
	newRunMsg.scrollTop+=1;
 }
}
}
Juan_view();
