function myAD(Source,url,type,width,height) {
this.Source = Source;
this.url = url;
this.type = type;
this.width = width;
this.height = height;
}
function disads() {
with (this)
switch (type){
case "img":
return"
";
break;
case "html":
return"";
break;
case "flash":
return"";
break;
case "con":
return Source;
break;
default:
return "";
}
}
function showADs()
{
document.getElementById('ads_index1').innerHTML=myADs[0].disads();
//document.getElementById('ads_index2').innerHTML=myADs[1].disads();
}
setTimeout("showADs()",500);
myAD.prototype.disads = disads;
myADs = new Array();
myADs[0] = new myAD("/js/zlist_1.asp","","html","778","5");
//myADs[1] = new myAD("/js/zlist_2.asp","","html","170","300");