function foc(){document.formaMeklet.meklet.focus()}

// izcelshanai
function light(x,kl)
{
        for(f=1;f<=3;f++)
        {
                document.getElementById('td'+f+'_'+x).className=kl;
        }
}
function lightrow(prm){
        prm.className='izcelts';
        prm.style.cursor='hand';
}

function setback(prm, clas){
        prm.className=clas;
}

function kursors_links(prm){
        prm.style.cursor='pointer';
}



function new_window(url,wi,hi) {
link =
window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width="+wi+",height="+hi+",left=0,top=0");
};

function new_window_stat(url,wi,hi) {
links =
window.open(url,"Links","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+wi+",height="+hi+",left=0,top=0");
};

/* -- driikst likt tikai tajaa lapaa - kur tas vajadziigs, savaadaak uz IE nav smuka -"izcelsana" preceem
if (document.all) {
document.onmousemove = captureMousePosition;
} else if (document.getElementById) {
document.onmousemove = captureMousePosition;
}
var mouse_x = 0;
var mouse_y = 0;
function captureMousePosition(e) {
if (document.all) {
mouse_x = window.event.x+document.body.scrollLeft+10;
mouse_y = window.event.y+document.body.scrollTop+10;
}
else if (document.getElementById) {
mouse_x = e.pageX+10;
mouse_y = e.pageY+10;
}
}
*/



