function gdnewsl(news_id,news_name,news_link,news_content)
{
this.news_id=news_id;
this.news_name=news_name;
this.news_link=news_link;
this.news_content=news_content;
}
/*-------------บแน๖-----------------*/
newsl=new Array();
newsl[1]=new gdnewsl('1','','','');
newsl[2]=new gdnewsl('2','','','');
newsl[3]=new gdnewsl('3','','','');
newsl[4]=new gdnewsl('4','','','');
newsl[5]=new gdnewsl('5','','','');
newsl[6]=new gdnewsl('6','','','');
newsl[7]=new gdnewsl('7','','','');
newsl[8]=new gdnewsl('8','','','');
newsl[9]=new gdnewsl('9','','','');
isns = navigator.appName == "Netscape";
function initl()
{
if(isns)
{
tag0='document.divnewsl.document.clipnewsl.document.'
tag1='document.divnewsl.document.clipnewsl.'
tag2=''
}
else
{
tag0=''
tag1=''
tag2='.style'
}
newsnuml=newsl.length-1
if(isns) eval(tag1+'clip.width=540')
eval(tag0+'newsl1'+tag2+'.left=0')
if(isns) eval(tag1+'visibility="show"')
if(newsnuml>5) newsmovel()
}
stephl=1
nnl=false
strtnum=false
widthlimit=540
function newsmovel()
{
nnl=true
strtnum=true
xminl=1
for(i=1;i<=newsnuml;i++)
{
if(isns) xleft=eval(tag0+'newsl'+xminl+'.left')
else xleft=eval('newsl'+xminl+'.style.pixelLeft')
if(isns) nileft=eval(tag0+'newsl'+i+'.left')
else nileft=eval('newsl'+i+'.style.pixelLeft')
if(nileft=1&&xminlwidthlimit) newpos=widthlimit
eval(tag0+'newsl'+nexti+tag2+'.left='+newpos)
}