if (document.images) {
	picture0 = new Image;
	picture0.src = '../images/ucheader.gif';
	picture1 = new Image;
	picture1.src = '../images/butTop.jpg';
	picture2 = new Image;
	picture2.src = '../images/Kevin.jpg';
	picture3 = new Image;
	picture3.src = '../images/Ray.jpg';
	picture4 = new Image;
	picture4.src = '../images/Bob.jpg';
	picture5 = new Image;
	picture5.src = '../images/Mike.jpg';
	picture6 = new Image;
	picture6.src = '../images/Jerry.jpg';
	picture7 = new Image;
	picture7.src = '../images/Dave.jpg';
	picture8 = new Image;
	picture8.src = '../images/kevin.gif';
	picture9 = new Image;
	picture9.src = '../images/ray.gif';
	picture10 = new Image;
	picture10.src = '../images/bob.gif';
	picture11 = new Image;
	picture11.src = '../images/mike.gif';
	picture12 = new Image;
	picture12.src = '../images/jerry.gif';
	picture13 = new Image;
	picture13.src = '../images/dave.gif';
	picture14 = new Image;
	picture14.src = '../images/cuffslogo.gif';
}

// function to swap the images on click
function imageChange(original_image,new_image) {
	if (document.images) {
	 	document.images[original_image].src = new_image;
	}
}

// Script to open pop-up window
function popUp(file,name,winwidth,winheight, features) {
	var window_open;
	if (features == 'no') {
		// no features
		window_open = window.open(file,'name','height=' + winheight + ', width=' + winwidth + ', left=5, top=5, toolbar=no, scrollbars=no, directories=no, menubar=no, resizable=no, dependent=no');
	}
	else {
		// features
		window_open = window.open(file,'name','height=' + winheight + ', width=' + winwidth + ', left=5, top=5, toolbar=no, scrollbars=yes, directories=no, menubar=yes, resizable=yes, dependent=no');
	}
	window_open.focus();
}
