var sPicArr = new Array();
sPicArr[0]=new Array("uploadpic/2008639591230250.jpg","西子奥的斯向杭州红十…","西子奥的斯向杭州红十字会捐赠员工爱心捐款      5月29日下午,西子奥的斯传媒交流部…","newsdetail.asp?ID=402");sPicArr[1]=new Array("uploadpic/20085131448268798.jpg","安徽省宿州市委书记李…","安徽省宿州市委书记李宏鸣一行访问西子奥的斯            5月12日下午,安徽省宿州…","newsdetail.asp?ID=397");sPicArr[2]=new Array("uploadpic/20085510515934293.jpg","西子奥的斯参加2008国…","西子奥的斯参加2008国际电梯展并获得圆满成功            4月22日—25日,西子奥的…","newsdetail.asp?ID=389");sPicArr[3]=new Array("uploadpic/20084813153022346.jpg","32位市长、市政领导组…","32位市长、市政领导组团来访学习合资合作模式,商讨节能减排大计     4月2日,西…","newsdetail.asp?ID=386");
/* Data end */
function GetObj(objName){
if(document.getElementById){
return eval('document.getElementById("' + objName + '")');
}else if(document.layers){
return eval("document.layers['" + objName +"']");
}else{
return eval('document.all.' + objName);
}
}
var plPic = new Image();
var gIndex = 0;
function SlidePic(index){
gIndex = index;
//patch by dorian 1017
if ('Microsoft Internet Explorer' == navigator.appName)
{
document.images["slidePic"].filters.item(0).apply()
document.images["slidePic"].filters.item(0).transition = 12
//document.images["slidePic"].Style.visibility = ""
//document.images["slidePic"].filters.item(0).Apply();
}
document.images["slidePic"].src = sPicArr[index][0];
document.images["slidePic"].alt = sPicArr[index][1];
GetObj("slidePicLink").href = sPicArr[index][3];
GetObj("slideTitle").innerHTML = sPicArr[index][1];
GetObj("slideDesc").innerHTML = ""+sPicArr[index][2]+"";
//GetObj("slideLink").innerHTML = 全文;
if((index+1)=sPicArr.length?0:(gIndex+1));
SlidePic(gIndex);
}
function PrevPic(){
//alert(gIndex);
gIndex = ((gIndex-1)<0?(sPicArr.length-1):(gIndex-1));
//alert(gIndex);
SlidePic(gIndex);
}
var sid;
function inislide()
{
if(sid==null) sid = setInterval('NextPic()', 6000);//fixed by AmourGUO, 051017
}
function pauseslide()
{
clearInterval(sid);
sid = null;//fixed by AmourGUO, 051017
}
document.writeln("