
function imgSwapQ(clientid, name, isSector, imagesRoot, vORh, buttonColour) {
	if  (navigator.appVersion.indexOf("MSIE 4.")!=-1) {
		return;
	}
	var fact = "ar" + isSector + vORh + name;
	var path = "";
	path += imagesRoot + "images/client" + clientid + "/themeGraphics/";
	if (isSector != "y") {
		path += "menubuttons";
	}
	else {
		path += "fasttext" + vORh;
	}
	path += "/button" + buttonColour;

	document.images[fact].src = path + "in.gif";
}

function imgBackQ(clientid, name, isSector, imagesRoot, vORh, buttonColour) {
	if  (navigator.appVersion.indexOf("MSIE 4.")!=-1) {
		return;
	}
	var fact = "ar" + isSector + vORh + name;
	var path = "";
	path += imagesRoot + "images/client" + clientid + "/themeGraphics/";
	if (isSector != "y") {
		path += "menubuttons";
	}
	else {
		path += "fasttext" + vORh;
	}
	path += "/button" + buttonColour;
	
	document.images[fact].src = path + "out.gif";
}

function change(which, isSector, vORh, fadeColor) {
	if  (navigator.appVersion.indexOf("MSIE 4.")!=-1) {
		return;
	}
	if (document.all ) {
		var fact = "chan" + isSector + vORh + which;
		var tab = "tr" + isSector + vORh + which;
		if (vORh != "v") {
			document.all[fact].style.textDecoration = "none";
		}
		if (fadeColor != "") {
			document.all[tab].style.backgroundColor = fadeColor;
		}
	}
}

function changeback(which, isSector, vORh, theBcolor) {
	if  (navigator.appVersion.indexOf("MSIE 4.")!=-1) {
		return;
	}
	if (document.all ) {
		var fact = "chan" + isSector + vORh + which;
		var tab = "tr" + isSector + vORh + which;
		if (vORh != "v") {
			document.all[fact].style.textDecoration = "none";
		}
		if (theBcolor != "") {
			document.all[tab].style.backgroundColor = theBcolor;
		}
	}
}

