if(top != self){ top.location = self.location }; if ( self.location.protocol == "file:" ) { Kamienas="../../" } else { Kamienas="http://" }; var browserIE4; browserIE4 = 0; if(parseFloat(navigator.appVersion)>=4) if(navigator.appName == 'Microsoft Internet Explorer') browserIE4 = 1; /////////////////////// BGN RASTI NARSYKLES TIPA /////////////////////// var kitoks=true; var agt=navigator.userAgent.toLowerCase(); var ie=false; var ie4=false; var ie5=false; var op5=false; var konqi=false; if (typeof document.all!="undefined"&&(agt.indexOf('msie')!=-1)) { ie=true; ie4=true; kitoks=false; if (agt.indexOf('msie 4')==-1) { ie5=true; ie4=false; } if (agt.indexOf('opera')!=-1) { ie=false; ie4=false; ie5=false; op5=true; } } var ns6=false; var mz7=false; if (typeof document.getElementById!="undefined"&&!ie) { ns6=true; kitoks=false; if (agt.indexOf('netscape6')==-1) { ns6=false; mz7=true; } if (typeof window.opera!="undefined") { mz7=false; op5=true;} else if (agt.indexOf('gecko')==-1) { mz7=false; kitoks=true; } } if (agt.indexOf('opera 4')!=-1) { op5=false; mz7=false; kitoks=true; } var ns4=false; if ((agt.indexOf('mozilla')!=-1)&&(parseInt(navigator.appVersion)>=4)&&!ie&&!op5&&!ns6&&!mz7) { ns4=true; kitoks=false; } if (agt.indexOf('webtv')!=-1) { ie=false; ie4=false; kitoks=true; } var win=false; var mac=false; var lin=false; if (agt.indexOf('win')!=-1) { win=true; mac=false; lin=false; } else if (agt.indexOf('mac')!=-1) { win=false; mac=true; lin=false; } else { win=false; mac=false; lin=true; } //djochange - added the following code to find Konqueror if (typeof navigator.vendor!="undefined"){ if (navigator.vendor =="KDE") { ie=false; ie4=false; ie5=false; konqi = true; ns6=true; ns4 = false; kitoks = false; // exclude earlier than kde2.2 var thisKDE=agt; var splitKDE=thisKDE.split("konqueror/"); var aKDE=splitKDE[1].split("; "); var KDEn=parseFloat(aKDE[0]); var oldKde=false; if(KDEn<2.2){oldKde=true;kitoks=true;ns6=false;konqi=false;} } } //end djochange // differentiate between opera 5 and 6 var op6=false; if(op5){ if((agt.indexOf("opera 6")!=-1)||(agt.indexOf("opera/6")!=-1)){op6=true;op5=false;} } // find ie6 var ie6=false; if(ie5&&agt.indexOf("msie 6")!=-1) { ie6=true; } /////////////////////// END RASTI NARSYKLES TIPA /////////////////////// // Randam kalba: //var lx='l'; //if (document.location.search=='?e') lx='e'; //if (document.location.search=='?o') lx='o'; //if (document.location.search=='?p') lx='p'; //if (document.location.search=='?r') lx='r'; // Randam pilna urli (a): var a = window.location.toString(); // Randam urli be "-l" ir be file extension (c): var ftype = ''; var b = a.indexOf("-l.htm"); if ( b != -1 ) { ftype = 'htm'; } else { b = a.indexOf("-l.cgi"); }; if ( b != -1 && ftype == '' ) { ftype = 'cgi'; }; var c = a.substring(0,b); // Randam failo varda incl. # v. ? ir tai, kas po # v. ? (e): var d = a.lastIndexOf("/"); var e = a.substring(d+1); // Randam failo varda incl. ? ir tai, kas po ? (sisFailas): var sisFailas = e; var f = e.indexOf("#"); if ( f != -1 ) { sisFailas = e.substring(0,f) }; // Randam gryna failo varda (sisFailas1): var sisFailas1 = e; var f = e.indexOf("?"); if ( f != -1 ) { sisFailas1 = e.substring(0,f) }; //Debuginimui: //document.write('a: pilnas urlis:   '+a+'
'); //document.write('b: "-l.htm" v. "-l.cgi" pozicija in above:   '+b+'
'); //document.write('c: url be "-l.xxx":   '+c+'
'); //document.write('d: last "/" pozicija in above:   '+d+'
'); //document.write('e: filename.xxx#yy   '+e+'
'); //document.write('f: "#" v. "?" pozicija in above:   '+f+'
'); //document.write('ftype:   '+ftype+'
'); //document.write('sisFailas:   '+sisFailas+'
'); document.write(''); function OpenMenu(SubMenuID){ SubMenuID.style.visibility = 'visible';} function CloseMenu(SubMenuID){ SubMenuID.style.visibility = 'hidden';} // SubMenu Item hovered: function HLTM(TDId,AId){ TDId.style.background = '#990000'; if(AId) AId.style.color = '#FFFFFF'; } function HLTMI(TDId,AId){ TDId.style.background = '#FFAA88'; if(AId) AId.style.color = '#999999'; } // SubMenu Item left after hover: function UHLTM(TDId,AId){ TDId.style.background = '#FFAA88'; if(AId) AId.style.color = '#000000'; } function UHLTMI(TDId,AId){ TDId.style.background = '#FFAA88'; if(AId) AId.style.color = '#999999'; } function BgnSubMenu(SubMenuID){ document.write('');} function MenuItem(SubMenuID,MenuName,MenuURL,MenuTitle,MenuTarget){ document.write(''); if (MenuURL) {document.write(' ' + MenuName + ' '); } function Divider() { document.write('¤'); } //zenklas "Lietuva internete": document.write('
'); document.write(''); document.write('
'); //gedulo zenklas: //if ( klb == 'p' ) { //document.write('
'); //document.write(''); //document.write('
Kondolencje wszystkim
Polakom w związku
z katastrofą lotniczą
pod Smoleńskiem!

 '); //document.write('
'); //} //jubiliejaus anonsas: document.write('
'); document.write(''); document.write('
'); document.write(''); // NAUJO VARIANTO DARYMAS: document.write(''); //document.write('
'); document.write(''); // kalbu veliaveles: document.write(''); document.write('
'); // Meniu elementai (viename lenteles langelyje!): document.write(' '); leopr('KAS NAUJESNIO?','WHAT\'S NEW?','KIO ESTAS NOVA?','CO NOWEGO?','ЧЕГО НОВЕНЬКОГО?'); document.write(' '); Divider(); document.write(' '); leopr('RTV DABAR','PRESENT STATE','NUNTEMPA SITUACIO','RTV DZISIAJ','РиТВ СЕГОДНЯ'); document.write(' '); Divider(); document.write(' '); leopr('LITUANICA','LITUANICA','LITUANICA','LITUANICA','LITUANICA'); document.write(' '); Divider(); p1 = 'Sigitas'; p2 = 'gmx.net'; document.write(' '); leopr('AUTORIUS','AUTHOR','AŬTORO','AUTOR','АВТОР'); document.write(' '); var titulinislapas = a.indexOf("history/index.php"); if ( titulinislapas == -1 ) { Divider(); document.write(' '); leopr('Į PRADŽIĄ','MAIN PAGE','TITOLPAĜO','STRONA GŁÓWNA','В НАЧАЛО'); document.write(' '); }; // Meniu elementai baigesi, lenteles langelis uzsidaro: document.write(''); if ( sisFailas1 != 'events.php' ) { //isimtys, kai veliaveliu nereikia - events.php, nes jis tik lietuviskai if ( klb != 'l' ) { document.write(' LIETUVIŠKAI '); }; if ( klb != 'e' ) { document.write(' in ENGLISH '); }; if ( klb != 'o' ) { document.write(' en ESPERANTO '); }; if ( klb != 'p' ) { document.write(' po POLSKU '); }; } document.write('
'); //Debugginimui: //document.write('
mac '+mac); //document.write('
ie4 '+ie4); //document.write('
ie5 '+ie5); //document.write('
ns4 '+ns4); //document.write('
ns6 '+ns6); //document.write('
mz7 '+mz7); //document.write('
op6 '+op6); //document.write('
op5 '+op5); //document.write('
ie '+ie); //document.write('
kitoks '+kitoks); //document.write('
visi '+visi);