isOpera = 0;
isOpera6 = 0;
isOpera7 = 0;
isNetscape4 = 0;
isMozilla = 0;
isDOM=(document.getElementById)?1:0;//DOM1 browser (MSIE 5+, Netscape 6, Opera 5+)
isOpera=isOpera5=(window.opera && isDOM)?1:0;//Opera 5+
isOpera6=(isOpera && window.print)?1:0; //Opera 6+
isOpera7=(isOpera && document.readyState)?1:0 ;//Opera 7+
isMSIE=(document.all && document.all.item && !isOpera)?1:0; //Microsoft Internet Explorer 4+
isMSIE5=(isDOM && isMSIE)?1:0; //MSIE 5+
isNetscape4=(document.layers)?1:0; //Netscape 4.*
isMozilla=(isDOM && navigator.appName=="Netscape")?1:0; //Mozilla eee Netscape 6.*
function chIMG(obj,k){
	s=obj.src;
	n=s.lastIndexOf(".");
	document.getElementById("img_big").src=s.substring(0,n)+s.substring(n,s.length);
}

function chIMG2(obj){
	s1=obj.src;
	n1=s1.lastIndexOf(".");
	document.getElementById("img_big1").src=s1.substring(0,n1)+s1.substring(n1,s1.length);
}

function on(n){
	document.getElementById('td'+n).className='over';
}
function off(n){
	document.getElementById('td'+n).className='normal';
}

function onT(t){
	document.getElementById('mnT'+t).className='overT';
}
function offT(t){
	document.getElementById('mnT'+t).className='normalT';
}

function onLeft(m){
	document.getElementById('mnL'+m).className='overL';
}
function offLeft(m){
	document.getElementById('mnL'+m).className='normalL';
}
function Ral(color,code){
   if(navigator.appName=="Netscape" || isOpera || isOpera6 || isOpera7){     
		document.getElementById("RalCode").innerHTML = code;
		document.getElementById("RalColor").style.background = "#"+color;
		//alert(code);
	}else{
		document.getElementById("RalCode").innerText = code;
		document.getElementById("RalColor").style.background = color;
	}	
}

