// CatOMO Script v1, (c) 2007 by Robert Bares - CocoMedia, roba@cocomedia.net

if (document.all)    {n=0;ie=1;ns6=0;}
if (document.getElementById && !document.all)    {n=0;ie=0;ns6=1;} 

function CatOn (catid,locale) {
	if (ie) {
		//catimgsrc = document.all(catid+"img").src;
		//document.all(catid+"img").src = "images\/"+locale+"\/ip-cat-omo.gif";
		document.all(catid).style.backgroundColor = "#F3F5F7";
		}
	if (ns6){
		//catimgsrc = document.getElementById(catid+"img").src;
		//document.getElementById(catid+"img").src = "images\/"+locale+"\/ip-cat-omo.gif";
		document.getElementById(catid).style.backgroundColor = "#F3F5F7";
		}
	}
function CatOff (catid,locale) {
	if (ie) {
		//catimgsrc = document.all(catid+"img").src;
		//document.all(catid+"img").src = "images\/"+locale+"\/ip-cat.gif";
		document.all(catid).style.backgroundColor = "#FFFFFF";
		}
	if (ns6) {
		//catimgsrc = document.getElementById(catid+"img").src;
		//document.getElementById(catid+"img").src = "images\/"+locale+"\/ip-cat.gif";
		document.getElementById(catid).style.backgroundColor = "#FFFFFF";
		}
	}
function CatOnS (catid,locale) {
	if (ie) {
		document.all(catid).style.backgroundColor = "#F3F5F7";
		}
	if (ns6){
		document.getElementById(catid).style.backgroundColor = "#F3F5F7";
		}
	}
function CatOffS (catid,locale) {
	if (ie) {
		document.all(catid).style.backgroundColor = "#F9F9F9";
		}
	if (ns6) {
		document.getElementById(catid).style.backgroundColor = "#F9F9F9";
		}
	}

