var imgWidth=196; //圖片寬
var imgHeight=180; //圖片高
var textFromHeight=15; //焦點(diǎn)字框高度 (單位為px)
var textStyle="class='blue t14 fw'"; //焦點(diǎn)字class style (不是連接class)
var textLinkStyle="p1"; //焦點(diǎn)字連接class style
var buttonLineOn="#f60"; //button下劃線on的顏色
var buttonLineOff="#000"; //button下劃線off的顏色
var TimeOut=5000;
var temp=new Array(); //每張圖切換時(shí)間 (單位毫秒);
var imgUrl=new Array();
var imgLink=new Array();
var imgtext=new Array();
var imgAlt=new Array();
var adNum=0;
//焦點(diǎn)字框高度樣式表 開(kāi)始
document.write('');
document.write('
');
//焦點(diǎn)字框高度樣式表 結(jié)束
temp[1]='

';
imgUrl[1]='image/pro1.jpg';
imgtext[1]='
立式液壓制香機(jī)';
imgLink[1]='http:///Html/ProductView.asp?ID=52&SortID=122';
imgAlt[1]='立式液壓制香機(jī)';
temp[2]='

';
imgUrl[2]='image/pro2.jpg';
imgtext[2]='
成品展示';
imgLink[2]='image/lpro2.jpg';
imgAlt[2]='成品展示';
temp[3]='

';
imgUrl[3]='image/pro3.jpg';
imgtext[3]='
臥式液壓機(jī)(標(biāo)準(zhǔn)型)';
imgLink[3]='http:///Html/ProductView.asp?ID=55&SortID=122';
imgAlt[3]='臥式液壓機(jī)(標(biāo)準(zhǔn)型)';
temp[4]='

';
imgUrl[4]='image/pro4.jpg';
imgtext[4]='
淋香機(jī)';
imgLink[4]='http:///Html/ProductView.asp?ID=54&SortID=122';
imgAlt[4]='淋香機(jī)';
function changeimg(n)
{
adNum=n;
window.clearInterval(theTimer);
adNum=adNum-1;
nextAd();
}
function goUrl(){
window.open(imgLink[adNum],'_blank');
}
//NetScape開(kāi)始
if (navigator.appName == "Netscape")
{
document.write('');
function nextAd(){
if(adNum<(imgUrl.length-1))adNum++;
else adNum=1;
theTimer=setTimeout("nextAd()", TimeOut);
document.images.imgInit.src=imgUrl[adNum];
document.images.imgInit.alt=imgAlt[adNum];
document.getElementById('focustext').innerHTML=imgtext[adNum];
document.getElementById('imgLink').href=imgLink[adNum];
}
document.write('
!['+imgAlt[1]+']('+imgUrl[1]+')
'+imgtext[1]+'
')
document.write('
');
document.write('
');
//數(shù)字按鈕代碼開(kāi)始
for(var i=1;i
'+i+'');}
//數(shù)字按鈕代碼結(jié)束
document.write('');
document.write('
');
document.write('
');
nextAd();
}
//NetScape結(jié)束
//IE開(kāi)始
else
{
var count=0;
for (i=1;i