//image swap autoloader script
// Hide from old browsers
function stopError(){
	return true;
}
	
window.onerror = stopError;

	imag = new Array()
    imag[0] = "images/info_off.gif"
	imag[1] = "images/info_on.gif"
	imag[2] = "images/features_off.gif"
	imag[3] = "images/features_on.gif"
	imag[4] = "images/contact_off.gif"
	imag[5] = "images/contact_on.gif"
	imag[6] = "images/demo_off.gif"
	imag[7] = "images/demo_on.gif"
	
im = new Array()

if (document.images){
for (var i = 0; i < imag.length; i++){
       im[i] = new Image()
       im[i].src = imag[i]

	}
}

function swtch(num,imgname){

if (document.images){
     imgname.src = im[num].src

	}
}
