function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		btn_theaccident_over = newImage("images/btn-theaccident-over.gif");
		btn_seeingthedoctor_over = newImage("images/btn-seeingthedoctor-over.gif");
		btn_meetingicbc_over = newImage("images/btn-meetingicbc-over.gif");
		btn_payingexpenses_over = newImage("images/btn-payingexpenses-over.gif");
		btn_gettinghealthy_over = newImage("images/btn-gettinghealthy-over.gif");
		btn_doineedalawyer_over = newImage("images/btn-doineedalawyer-over.gif");
		btn_settingtheclaim_over = newImage("images/btn-settingtheclaim-over.gif");
		btn_whatitworth_over = newImage("images/btn-whatitworth-over.gif");
		btn_whycantsettle_over = newImage("images/btn-whycantsettle-over.gif");
		splash_03_over = newImage("splashimages/splash_03-over.gif");
		splash_06_over = newImage("splashimages/splash_06-over.gif");
		splash_09_over = newImage("splashimages/splash_09-over.gif");
		splash_12_over = newImage("splashimages/splash_12-over.gif");
		splash_16_over = newImage("splashimages/splash_16-over.gif");
		splash_19_over = newImage("splashimages/splash_19-over.gif");
		splash_25_over = newImage("splashimages/splash_25-over.gif");
		splash_29_over = newImage("splashimages/splash_29-over.gif");
		splash_35_splash_25_over = newImage("splashimages/splash_35-splash_25_over.gif");
		splash_35_over = newImage("splashimages/splash_35-over.gif");
		splash_36_splash_25_over = newImage("splashimages/splash_36-splash_25_over.gif");
		preloadFlag = true;
	}
}

function mOvr(src,clrOver) {
	if (!src.contains(event.fromElement)) {
		src.style.cursor = 'hand';
		src.bgColor = clrOver;
	}
}  

function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.bgColor = clrIn;
	}
}

function mClk(src,href) {
	if(event.srcElement.tagName=='TD'){          
		this.location.href= href ;          
	}
}