function getObject(id) {
	if (document.getElementById) return(document.getElementById(id));
	if( window.mmIsOpera ) return(document.getElementById(id));
	if (document.all) return(document.all[id]);	
	return(false);
}

function openLayer(id) {
	var obj = getObject(id);
	if (obj) obj.style.display = 'block';
}

function closeLayer(id) {
	var obj = getObject(id);
	if (obj) obj.style.display = 'none';
}

function changeClassName(obj,strClassName) {
	if (obj) obj.className = strClassName;
}

function changeState(obj, classOn, classOff){
	if (obj){
		if (obj.className == classOn){
			obj.className = classOff;
		}else{
			obj.className = classOn
		}
	}
}

function isOpen(obj){
	if ((obj.style.display == 'block') || (obj.style.display == 'inline')){
		return true;
	}else{
		return false;
	}
}

function windowOpener16(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}
