function loade(){
document.getElementById('kr').style.fontSize='1'
document.getElementById('kr').style.height='1'
document.getElementById('kr').style.visibility='hidden'
document.getElementById('kr').style.position='absolute'
document.getElementById('tabl').style.visibility='visible'
}

function onmn(d){
document.getElementById(d).src='dizpix/'+d+'_1.gif'
}

function onmt(d_){
document.getElementById(d_).src='dizpix/'+d_+'_.gif'
}

function onove(p){
document.getElementById('base').src='dizpix/'+p+'.gif'
}

function onout(p_){
document.getElementById('base').src='dizpix/'+p_+'.gif'
}

function onove1(b){
document.getElementById(b).style.color='#000077'
document.getElementById(b+'l').style.backgroundImage='URL(dizpix/bthl.gif)'
document.getElementById(b+'b').style.backgroundImage='URL(dizpix/bthb.gif)'
document.getElementById(b+'r').style.backgroundImage='URL(dizpix/bthr.gif)'
}

function onout1(b_){
document.getElementById(b_).style.color='#555555'
document.getElementById(b_+'l').style.backgroundImage='URL(dizpix/btcl.gif)'
document.getElementById(b_+'b').style.backgroundImage='URL(dizpix/btcb.gif)'
document.getElementById(b_+'r').style.backgroundImage='URL(dizpix/btcr.gif)'
}

function popp(adsr){
var vard='adsr';
var adresas='dizpix/tink/'+adsr+'.jpg';
popupas = window.open("", vard, 'width=394, status=yes, height=600, toolbar=no, top=1, left=1, resizable=no');
popupas.document.write("<html>");
popupas.document.write("<body topmargin='0' leftmargin='0' rightmargin='0' bottommargin='0'><img src='"+adresas+"' border='0'><\/body><\/html>")
}

function pop(kur, kas){
  window.open("pop.php?kur="+kur+"&kas="+kas, 'galerija', 'width=710, status=yes, height=400, toolbar=no, top=1, left=1, resizable=no');
}

function keisk(norm){
document.getElementById('img').src=norm;
}

function stdg(adrs,wh,hh){
var vards=adrs.slice(adrs.length -1, adrs.length);
var plo=wh;
var auk=hh;
var adresaz='tvs/'+adrs+'.jpg';
popupz = window.open("", vards, 'width='+plo+', status=yes, height='+auk+', toolbar=no, top=1, left=1, resizable=no');
popupz.document.write("<html>");
popupz.document.write("<body topmargin='0' leftmargin='0' rightmargin='0' bottommargin='0'><img src='"+adresaz+"' border='0'><\/body><\/html>")
}

function res(){
	aukstis = document.getElementById('baseTD').clientHeight
	document.getElementById('childTABLE').style.height= aukstis
}