/**********************************

	Light Weight RollOver JS
	Avery James Brooks 2007
	http://www.ajbnet.com

**********************************/


var imgArray = new Image();

imgArray['Solutions']   = Array('images/ui/Solutions.jpg','images/ui/Solutions-Rollover.jpg');
imgArray['Testimonial'] = Array('images/ui/Testimonial.jpg','images/ui/Testimonial-Rollover.jpg');
imgArray['Support']     = Array('images/ui/Support.jpg','images/ui/Support-Rollover.jpg');
imgArray['News']        = Array('images/ui/News.jpg','images/ui/News-Rollover.jpg');
imgArray['Contact']     = Array('images/ui/Contact.jpg','images/ui/Contact-Rollover.jpg');

function setImg(targetKey,state){
	var curObj = document.getElementById(targetKey);
	curObj.src = imgArray[targetKey][state];
}

$(document).ready(function() {
	$('#ImageRotate').innerfade({ 
		speed: 1000, 
		timeout: 5000, 
		type: 'sequence', 
		containerheight: '519px',
		animationtype: 'fade'
	});
});
