
	/*
	
	Description:	All functions for rollovers, preloads, etc.
	
	Revisions:		1.27.01 - JS - Authored	
		
	*/

	// This will load all images in 'arrCycleImages'
    function funLoadImages(arrImages){

        var imgMain;
        var arrBuffer = new Array;
			
    	// Load the images in the array
    	for (idxImage = 0; idxImage < arrImages.length; idxImage++){
           	arrBuffer[idxImage] = new Image();
           	arrBuffer[idxImage].src = arrImages[idxImage];
        }
    }

	// This function uses the 'arrCycleImages' array to use pre-loaded rollovers
    function funRoll(lngImage, strState) {

		if (strState == "on") {
			document.images['img' + lngImage].src = arrCycleImages[lngImage];
		} else {
			var strOffImage = new String(arrCycleImages[lngImage]);
			strOffImage = strOffImage.replace('_on','_off');
			document.images['img' + lngImage].src = strOffImage;
		}
    }

	// This function will allow for anchor text colors to be changed
	function funAnchorRoll(strAnchorName, strColor) {
	
		if (is.ie) {
			eval("document.anchors('" + strAnchorName + "').style.color = '" + strColor + "'");
		}	
	}

	// This function uses the 'arrCycleImages' array to use pre-loaded rollovers
	// for any named image on the page
	function funExtRoll(lngImage, strImageTagName) {
		document.images[strImageTagName].src = arrCycleImages[lngImage];
	}

