IE= null;
NS= null;

ua = navigator.appName.toLowerCase();

if(ua.indexOf('explorer')>-1 && document.getElementById && document.childNodes) {IE=true;}
if(ua.indexOf('netscape')>-1 && document.getElementById && document.childNodes) {NS=true;}



// zmeni kurzor
function changeCursor(obj,onoff) {
if (IE==true) {
    if (onoff==1) { obj.style.cursor='hand'; }
        else { obj.style.cursor='auto'; }
    }
    else {
    if (onoff==1) { obj.style.cursor='pointer'; }
       else { obj.style.cursor='auto'; }
    }
 return(true);   
}


// zvyrazni radek tabulky, parametry jsou 'this' a druhy je 0/1 jestli zapnout/vypnout
function zR(co,jak) { 
    if (jak==1)  { 
        changeCursor(co,1);
        co.style.color="#6E767F";
    } else {
        changeCursor(co,0);
        co.style.color="#000000";
    }
} 
