
bannersRight=new Array(
	"honeywell.jpg",
	"danfoss.jpg",
	"hoffman.jpg",
	"lapauw.jpg",
	"hurst.jpg",
	"tamfelt.jpg",
	"union.jpg",
	"sidimondial.jpg",
	"ozone.jpg",
	"olma.jpg",
	"paige.jpg",
	"bw.jpg",
	"alliance.jpg",
	"aircuity.jpg"
);

bannersRightLinks=new Array(
	"http://www51.honeywell.com",
	"http://www.danfoss.com",
	"http://www.hoffman-newyorker.com",
	"http://www.lapauw.be",
	"http://www.hurstboiler.com",
	"http://www.tamfelt.com",
	"http://www.uniondc.com",
	"http://www.sidimondial.com",
	"http://www.ozonewatertech.com",
	"http://www.olmalaundryequipment.com",
	"http://www.paigeelectric.com",
	"http://www.bnw-laundrymachines.com",
	"http://www.comlaundry.com",
	"http://www.aircuity.com"
);

bannersTop=new Array("animation.swf");

function loadBanners() {

	html="";
	for (i=0; i!=5; i++) {
		ri = Math.floor(Math.random()*bannersRight.length);
		html+="<div style='padding-bottom:5px'>";
		if (bannersRightLinks[ri]!='') {
			html+="<a href='" + bannersRightLinks[ri] + "' target=_blank>";
		}
		html+="<img src='http://www.wotek.com/banners/" + bannersRight[ri] + "' border=0>";
		if (bannersRightLinks[ri]!='') {
			html+="</a>";
		}
		html+="</div>";
		bannersRight.splice(ri,1);
	}
	document.getElementById("banner_right_area").innerHTML=html;

	html="";
	ri = Math.floor(Math.random()*bannersTop.length);

    html+='<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="220">';
	html+='<param name="movie" value="/images/'+bannersTop[ri]+'" id=theSwf />';
	html+='<param name="quality" value="high" />';
	html+='<param name="wmode" value="opaque" />';
	html+='<param name="swfversion" value="7.0.70.0" />';
    html+='<param name="expressinstall" value="/Scripts/expressInstall.swf" />';
	html+='<object type="application/x-shockwave-flash" data="/images/'+bannersTop[ri]+'" width="600" height="220">';
	html+='<!--<![endif]-->';
	html+='<param name="quality" value="high" />';
	html+='<param name="wmode" value="opaque" />';
	html+='<param name="swfversion" value="7.0.70.0" />';
	html+='<param name="expressinstall" value="/Scripts/expressInstall.swf" />';
	html+='<div>';
	html+='<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>';
	html+='<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>';
	html+='</div>';
	html+='</object>';
	html+='<!--<![endif]-->';
    html+='</object>';
	document.getElementById("banner_top_area").innerHTML=html;

}
