// JavaScript Document

function slide_dt1(div){ 
	speed01=types01=links01=images01
	if (!document.images) return
	if(dt01[2][types01]=='I'){
		if(dt01[1][images01].substr(0,7)=="uploads")
			document.getElementById(div).innerHTML ='<a href="'+urllink+dt01[3][links01]+'"><img src="'+urlimg+dt01[1][images01]+'" border=0 ></a>'
		else document.getElementById(div).innerHTML ='<a href="'+urllink+dt01[3][links01]+'"><img src="'+dt01[1][images01]+'" border=0 ></a>'
	}	
	if(dt01[2][types01]=='F'){
		if(dt01[1][images01].substr(0,7)=="uploads")
	 		document.getElementById(div).innerHTML = '<a href="'+urllink+dt01[3][links01]+'"><embed src="'+urlimg+dt01[1][images01]+'"  quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%" align="left"  z-index="0" wmode="transparent" ></embed></a>'
		else document.getElementById(div).innerHTML = '<a href="'+urllink+dt01[3][links01]+'"><embed src="'+dt01[1][images01]+'"  quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%" align="left"  z-index="0" wmode="transparent" ></embed></a>'	
	} 
	images01=(images01<dt01[1].length)? images01+1 : 0
	if(dt01[1].length>1)	setTimeout("slide_dt1('"+div+"')",dt01[0][speed01])
}

function slide_dt2(div){ 
	if (!document.images) return
	speed02=types02=links02=images02
	if(dt02[2][types02]=='I'){
		if(dt02[1][images02].substr(0,7)=="uploads")
			document.getElementById(div).innerHTML ='<a href="'+urllink+dt02[3][links02]+'"><img src="'+urlimg+dt02[1][images02]+'" border=0 ></a>';
		else document.getElementById(div).innerHTML ='<a href="'+urllink+dt02[3][links02]+'"><img src="'+dt02[1][images02]+'" border=0 ></a>';
	}	
	if(dt02[2][types02]=='F'){
		if(dt02[1][images02].substr(0,7)=="uploads")
	 		document.getElementById(div).innerHTML = '<a href="'+urllink+dt02[3][links02]+'"><embed src="'+urlimg+dt02[1][images02]+'"  quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%" align="left"  z-index="0" wmode="transparent" ></embed></a>';
		else document.getElementById(div).innerHTML = '<a href="'+urllink+dt02[3][links02]+'"><embed src="'+dt02[1][images02]+'"  quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%" align="left"  z-index="0" wmode="transparent" ></embed></a>'	;
	} 
	images02=(images02<dt02[1].length)? images02+1 : 0;
	 if(dt02[1].length>1) 	setTimeout("slide_dt2('"+div+"')",dt02[0][speed02]);
}
function slide_dt3(div){ 
	if (!dt03) return false 
	if (!document.images) return
	speed03=types03=links03=images03
	
	if(dt03[2][types03]=='I'){
		if(dt03[1][images03].substr(0,7)=="uploads")
			document.getElementById(div).innerHTML ='<a href="'+urllink+dt03[3][links03]+'"><img src="'+urlimg+dt03[1][images03]+'" border=0 ></a>'
		else document.getElementById(div).innerHTML ='<a href="'+urllink+dt03[3][links03]+'"><img src="'+dt03[1][images03]+'" border=0 ></a>'
	}	
	if(dt03[2][types03]=='F'){
		if(dt03[1][images03].substr(0,7)=="uploads")
	 		document.getElementById(div).innerHTML = '<a href="'+urllink+dt03[3][links03]+'"><embed src="'+urlimg+dt03[1][images03]+'"  quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%" align="left"  z-index="0" wmode="transparent" ></embed></a>'
		else document.getElementById(div).innerHTML = '<a href="'+urllink+dt03[3][links03]+'"><embed src="'+dt03[1][images03]+'"  quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%" align="left"  z-index="0" wmode="transparent" ></embed></a>'	
	} 
	
	images03=(images03<dt03[1].length)? images03+1 : 0
	if(dt03[1].length>1)	setTimeout("slide_dt3('"+div+"')",dt03[0][speed03])
}
function swapAd(idControl) {
 if (idControl == "dt01") slide_dt1("dt01");
 if (idControl == "dt02") slide_dt2("dt02");
 if (idControl == "dt03") slide_dt3("dt03");

} 
