var form='formSurvey' //Give the form name here

if (document.images) {
buttonUp = new Image(); buttonUp.src = "grafx/BUTTON_RED.gif"; // Never use bitmaps for the web.
buttonDown = new Image(); buttonDown.src = "grafx/BUTTON_RED_72.gif";
}

function turn_off(cell) {
if (document.images != null) {
cell.style.backgroundImage = "url('" + buttonUp.src + "')";
}
}

function turn_on(cell) {
if (document.images != null) {
cell.style.backgroundImage = "url('" + buttonDown.src + "')";
}
}

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) {
		topmenu_05_over = newImage("grafx/BUTTON_RED_72.gif");
		topmenu_05_over = newImage("grafx/BUTTON_RED.gif");
	
		preloadFlag = true;
	}
}