function getClientInfo()
{
	nn4=(document.layers) ? true : false; 
	ie4=(document.all) ? true : false; 
	if(navigator.cookieEnabled)
	{		
		if(document.cookie.indexOf("cpuClass")==-1)
		{			
			document.cookie="cpuClass="+navigator.cpuClass+";";
			if(ie4 || nn4)
			{						
				document.cookie="screenW="+screen.width+";";
				document.cookie="screenH="+screen.height+";";
				document.cookie="colorDepth="+screen.colorDepth+";";				
			}
		}		
	}
}

function chroma(thiscolor) {
    if(document.all) {
        document.all.mapname.style.filter="chroma(color="+thiscolor+")"
        }
}

function onmouseoverImg(img) {
    img.style.cursor = 'pointer';
    img.style.borderWidth = "1px 1px 0px 1px";
    img.style.borderStyle = "solid";
    img.style.borderColor = "SteelBlue";
}
function omovImg(img,bw,clr) {
    img.style.cursor = 'pointer';
    img.style.borderWidth = bw;
    img.style.borderStyle = "solid";
    img.style.borderColor = clr;
}
function omouImg(img, bw, clr) {
    img.style.cursor = 'pointer';
    img.style.borderWidth = bw;
    img.style.borderStyle = "solid";
    img.style.borderColor = clr;
}
function onmouseoutImg(img) {
    img.style.cursor = 'auto';
    img.style.borderWidth = "1px 1px 0px 1px";
    img.style.borderStyle = "solid";
    img.style.borderColor = "Silver";
}		

function Otworz(w,s,src,t) {
    Nowe = null;
	Nowe=window.open("","_blank","toolbar=0,menubar=0,location=0,personalbar=0,scrollbars=0,status=0,directories=0,resizable=0,height="+w+",width="+s);
	Nowe.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>' + t + '</title><meta http-equiv="content-type" content="text/html; charset=UTF-8" /><script language="javascript" type="text/javascript">function But_onclick(){window.close();}</script></head><body onclick="return But_onclick()" style="background-repeat:no-repeat;background-position: 0px 30px; background-image:' + src + '"><input id="ButOff" type="button" value="Zamknij" onclick="return But_onclick()"/></body></html>');
    Nowe.focus();
}

function Ow(u, t, w, h) {
    if (u != "") {
        window.open(u, t, "toolbar=0,menubar=0,location=0,personalbar=0,scrollbars=0,status=0,directories=0,resizable=0,width=" + w + ",height = " + h);
    }
    return false;
}

