if ((navigator.userAgent.indexOf("MSIE")>0) && (navigator.userAgent.indexOf("Windows")>0) && (navigator.userAgent.indexOf("Opera")<=0)) {blnIEwin=true} else {blnIEwin=false}
var allowSwap=true;

var bullet_off=new Image();
var bullet_on=new Image();
bullet_off.src="/images/bullet_off.gif";
bullet_on.src="/images/bullet_on.gif";

function swapImage(ProdImg,SwapImg,SwapAllow) {if (SwapAllow) {ProdImg.src=SwapImg.src}}

function startUp() {
	imgArray = new Array();
	for (i=0;i<imageCount;i++) {
		obj=new Image();
		obj.src = srcPath + (i + 1) + ".jpg";
		imgArray[i] = obj;
		}
	changeImg();
	if ((document.getElementById) && (document.getElementById("Rotator"))) {looper=window.setInterval("changeImg()",globalSpeed)}
	}

function changeImg() {
	var elemRotator=document.getElementById("Rotator");
	if (isIE) {elemRotator.filters.blendTrans.Apply()}
	elemRotator.src = imgArray[globalCount].src;
	if (isIE) {elemRotator.filters.blendTrans.play()}
	globalCount++;
	if (globalCount>(imageCount - 1)) {globalCount=0}
	}