function sdmSetColor (td, colour) {
        if (document.getElementById) {
                cell = document.getElementById(td);
                link = cell.getElementsByTagName('a')[0];
                link.style.color = colour;
        }
}

function navFeatureDown(counter,total) {
	for (var x=0; x<total-1; x++) {
		var item = document.getElementById('navFeature'+x);
		item.className = "navFeatureIdle";	
	}
	
	var down = document.getElementById('navFeature'+counter);
	down.className = "navFeatureDown";
}

function controlSWF(command) {
	var item = document.getElementById('swfFeature');
	return item.controlSWF(command);
}

function imgOn(imgName) {
	if (document.images) {
		document[imgName].src = "/pix/layout/" + imgName + "-over.jpg"
	}
}

function imgOff(imgName) {
	if (document.images) {
		document[imgName].src = "/pix/layout/" + imgName + ".jpg"
	}
}
