var delayLength = 15;

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function popOpen(theURL,winName,features) {
	window.open(theURL,winName,features);
	return true;
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

function pause() {
	myTimer=setTimeout("rotatePromo()",delayLength*1000)
}

function openCart() {
	popOpen('','cart_win','toolbar=yes,status=yes,location=yes,scrollbars=yes,resizable=yes,width=600,height=600');
	//window.cartwin.focus();
	//window.cart_win.location='/CART/kbtf_cart.php';	
}

