$(document).ready(function(){
	
	// Rollovers using the class .rollover
	$(".rollover").mouseover(function(){
		imgsrc = $(this).attr("src");
		matches = imgsrc.match(/-ro/);
		
		// don't do the rollover if state is already ON
		if (!matches) {
			imgsrcON = imgsrc.replace(/.jpg$/ig,"-ro.jpg"); // strip off extension
			$(this).attr("src", imgsrcON);
		}
	});
	
	$(".rollover").mouseout(function() {
		$(this).attr("src", imgsrc);
	});
		
});

function ValidateForm(theForm) {
if(theForm.clientcode.value == '') {
	alert('Please fill in the "Proposal Code" field.');
	theForm.clientcode.focus();
	return false;
	}
return true;
}

