/*Partner logo's rotation*/

var eimages=new Array();
eimages[0]=new Image();
eimages[0].src="images/sponsors/logo_new/CDS.jpg";
eimages[0].link="pages/exhibitor.html";
eimages[1]=new Image();
eimages[1].src="images/sponsors/logo_new/Cisco.jpg";
eimages[1].link="pages/exhibitor.html";
eimages[2]=new Image();
eimages[2].src="images/sponsors/logo_new/Motorola.jpg";
eimages[2].link = "pages/exhibitor.html";
eimages[3]=new Image();
eimages[3].src="images/sponsors/logo_new/TANDBERG.jpg";
eimages[3].link = "pages/exhibitor.html";
var numImages3=eimages.length;
var curImage3=0;

function ex_rotation()
{
	if(document.images)
	{
		var nextImage3=curImage3+1;

		if(nextImage3>=numImages3){
			nextImage3=0;
		}
		if(eimages[nextImage3] && eimages[nextImage3].complete)
		{
			var target=0;
			var target2=0;

			if(document.images.m1Image)
			{
				target=document.images.m1Image;
				target2=document.anchors.m1Link;
			}

			if(document.all && document.getElementById("m1Image"))
			{
				target=document.getElementById("m1Image");
				target2=document.getElementById("m1Link");
			}

			if(target)
			{
				target.src=eimages[nextImage3].src;
				target2.href=eimages[nextImage3].link;
				curImage3=nextImage3;
			}

			setTimeout("ex_rotation()", 1500);

		}
		else
		{
			setTimeout("ex_rotation()", 1500);
		}
	}
}

setTimeout("ex_rotation()", 1500);