var dom = (document.getElementById) ? (window.HTMLElement) ? true:false:false;
var ie = (document.all) ? true:false; 
var ns = (document.layers) ? true:false;

function color( id , color) {
	
	if(dom){
		var element = document.getElementById(id);
	} else if(ie){
		var element = document.all(id);
	} else if (ns){
		var element = document.layers(id);
	}
	element.style.backgroundColor = color;
	element.style.cursor='hand';
	
	return true;
}

function followLink(linkToFollow) {
	document.location = linkToFollow;
}
