var message="Funkt\u0069on \144\145\u0061kt\u0069v\u0065r\u0065t\041";function clickIE(){if(document.all){alert(message);return false;}}function clickNS(e){if(document.layers||(document.getElementById&&!document.all)){if(e.which==2||e.which==3){alert(message);return false;}}}if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}document.oncontextmenu=new Function("return fal\u0073\145")
var tree1=null;function onButtonClick(itemId,itemValue){if(itemId=='\060\137\u0063op\171'){CopyText();}if(itemId=='0_\u0070aste'){DoQueryFromClip();}if(itemId=='0_s\162c\u0068'){CopyAndQuery();}if(itemId=='0\u005f\u0073e\u0074\164'){GoToURL();}if(itemId=='0_\155u\154t\u0069'){openMulti();}}function doOnLoad(){var xmlsheet=null;if(window.clipboardData){xmlsheet="_to\157lba\162.\170\u006dl";}else{xmlsheet="\137\u0074oolbar\062.\u0078ml";}aToolBar=new dhtmlXToolbarObject("to\u006flb\141r\137zo\156e",'\u003100%',20,"");aToolBar.setOnClickHandler(onButtonClick);aToolBar.loadXML(xmlsheet);aToolBar.showBar();}function doOnLoadpw(){var xmlsheet=null;if(window.clipboardData){xmlsheet="_too\u006cba\162\u0033.xml";}else{xmlsheet="_t\u006fo\154bar\064.xm\u006c";}aToolBar=new dhtmlXToolbarObject("\u0074oolbar_z\u006fne",'10\u0030%',20,"");aToolBar.setOnClickHandler(onButtonClick);aToolBar.loadXML(xmlsheet);aToolBar.showBar();}function CopyText(){s=(window.parent.parent.parent.tekst.document.selection.createRange());if(s.text){if(window.clipboardData){window.clipboardData.setData('\u0054ext',s.text);}}}function DoQueryFromClip(){var cliptekst=clipboardData.getData("\u0054\145\u0078t");cliptekst=cliptekst.replace(/^\s*|\s*$/g,"");if(cliptekst){window.parent.parent.ht.document.form1.q.value=cliptekst;window.parent.parent.ht.document.getElementById('\123u\u0062m\151t').click();}}function CopyAndQuery(){t=(window.parent.parent.parent.tekst.document.selection.createRange());if(t.text){var Tcliptekst=t.text;Tcliptekst=Tcliptekst.replace(/^\s*|\s*$/g,"");if(Tcliptekst){window.parent.parent.ht.document.form1.q.value=Tcliptekst;window.parent.parent.ht.document.getElementById('\123u\u0062mit').click();}}}function ChangeAlt(){var Clpcontent=clipboardData.getData("T\u0065\u0078t");Clpcontent=Clpcontent.replace(/^\s*|\s*$/g,"");if(Clpcontent==null){aToolBar.getItem('0_p\141ste').setAltText('Fo\162et\141\u0067\040di\u0072\u0065kt\u0065 o\u0070\163\154\u0061g \u006d\u0065d\u0020teks\u0074\u0020f\162\u0061\u0020\u0055d\u006bl\u0069p\u0073hold\145\u0072');}else{aToolBar.getItem('0_p\u0061\u0073\u0074e').setAltText('F\157re\u0074\141\u0067\u0020d\u0069rek\164e op\163l\u0061g \155\u0065d \u0074\145kst\040\146ra\u0020U\144klip\u0073holde\162\072\r\r'+Clpcontent);}}function GoToURL(){window.parent.parent.parent.tekst.location.href='/c\u0067i\055\u0062\u0069n\u002f\167ebdic\164/\167\u0077c\u006f\156fi\147_js.c\147\u0069';}var lhmulti='';function openMulti(){var newW=800,newH=600;var w=800,h=600;if(document.all||document.layers){w=screen.availWidth;h=screen.availHeight;if(w>1280){w=1280};if(h>1024){h=1024};newW=(w-60);newH=(h-80);}var leftPos=(w-newW)/2,topPos=(h-newH)/2;if(!window.lhmulti){lhmulti=window.open('/\u0077\145\142w\157rds/m\165\u006c\164i\057index.\u0068tm\154','lh\u006dult\151','\167i\u0064th='+newW+'\054\150\145ig\u0068\164='+newH+'\054\u0074op='+topPos+',\u006ce\146t\u003d'+leftPos+',\u0073cr\u006f\u006c\u006cb\141rs,re\163\151\u007aabl\u0065');}else{if(!lhmulti.closed){lhmulti.focus();}else{lhmulti=window.open('/we\142w\u006frds/\u006d\165lt\u0069\u002f\u0069ndex.h\164m\154','l\u0068\u006du\u006c\u0074i','\u0077\u0069\144\164h='+newW+',h\u0065ight\u003d'+newH+'\u002ct\u006fp='+topPos+',\154eft\u003d'+leftPos+'\u002cscrollba\162\u0073,re\163i\172a\142le');}}}
