/* imploded by cf{implode_file} @ 24.07.2010 13:03:22 */


/* filename: default.js @ 10, hash: da39a3ee5e6b4b0d3255bfef95601890afd80709 */





/* filename: jquery.cf_mobile_box.js @ 50, hash: b97b946a164248d113d45c5da8f19cab43dcec69 */



$.cf_mobile_box={url:'',box_body:null,box_middle:null,box_content:null,show:function(on_show){if(!this.box_body){this.create();}
this.box_content.hide();this.box_body.show();this.box_content.fadeIn('fast',function(){try{if($.browser.msie){$(this).pngFix();}
on_show();}
catch(e){}});},hide:function(on_hide){if(!this.box_body){return false;}
var bb=this.box_body;this.box_content.fadeOut('fast',function(){bb.hide();try{on_hide();}
catch(e){}});},create:function(){this.box_body=$(document.createElement('div')).addClass('cf_mobile_box').css({display:'none'}).appendTo('body');this.box_middle=$(document.createElement('div')).addClass('cf_mobile_box_middle').appendTo(this.box_body);this.box_content=$(document.createElement('div')).addClass('cf_mobile_box_content').appendTo(this.box_middle);var table=$(document.createElement('table')).attr({'cellPadding':0,'cellSpacing':0}).appendTo(this.box_content);var top_tr=$(document.createElement('tr')).appendTo(table);$(document.createElement('td')).attr({'colSpan':3}).addClass('top').append($(document.createElement('img')).attr({'src':'/image/cf_mobile_box_bg_top.png'}).css({'width':'337px','height':'103px'})).appendTo(top_tr);var center_tr=$(document.createElement('tr')).appendTo(table);$(document.createElement('td')).addClass('left').append($(document.createElement('img')).attr({'src':'/image/cf_mobile_box_bg_left.png'}).css({'width':'28px','height':'419px'})).appendTo(center_tr);var content_td=$(document.createElement('td')).addClass('content').appendTo(center_tr);this.iframe=$(document.createElement('iframe')).attr({'scrolling':'auto','frameborder':'0','src':this.url}).appendTo(content_td);$(document.createElement('td')).addClass('right').append($(document.createElement('img')).attr({'src':'/image/cf_mobile_box_bg_right.png'}).css({'width':'28px','height':'419px'})).appendTo(center_tr);var bottom_tr=$(document.createElement('tr')).appendTo(table);var button_img=$(document.createElement('img')).attr({'src':'/image/cf_mobile_box_button.png','alt':'close'}).css({'width':'60px','height':'60px'});var button_div=$(document.createElement('div')).addClass('bottom').append($(document.createElement('a')).attr({'href':'#','title':'Zapri'}).append(button_img).click(function(){$.cf_mobile_box.hide();return false;})).appendTo(bottom_tr);$(document.createElement('td')).attr({'colSpan':3}).addClass('bottom').append(button_div).append($(document.createElement('img')).attr({'src':'/image/cf_mobile_box_bg_bottom.png'}).css({'width':'337px','height':'106px','z-index':10})).appendTo(bottom_tr);}};


/* filename: jquery.cf_box.js @ 50, hash: 18d334d0e9aa38acc77ea194ab0e5921e7bc8eb5 */



(function($){$.extend({cf_box_current_z_index:1000,cf_box_new_z_index:function(){return $.cf_box_current_z_index++;}});$.fn.extend({cf_box:function(options){var defaults={title:'...',top:'50px',width:'620px',modal:false,buttons:[]};var options=$.extend(defaults,options);var prepend_elements=[];$(this).each(function(){prepend_elements.push(this);});var obj={reposition:function(){var scroll_top=parseInt((document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop,10)+'px';var client_height=parseInt((document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight,10)+'px';this.box_modal.css({height:client_height});this.box_body.css({top:scroll_top});var max_height=parseInt(''+$(window).height(),10)-this.offset_top-120;if(this.optional_height&&max_height>this.optional_height){this.box_content.css({height:this.optional_height+'px'});return this.optional_height;}
if(max_height<20){max_height=20;}
this.box_content.css({height:max_height+'px'});return max_height;},title:function(t){if(typeof(t)=='undefined'){return this.box_title.html();}
return this.box_title.html(t);},empty:function(){this.box_content.empty();},show:function(on_show){this.box_container.hide();this.box_body.show();var t=this;this.box_container.fadeIn('fast',function(){t.box_button_inner.find('input:first').focus();try{on_show(t);}
catch(e){}});},hide:function(on_hide){var t=this;this.box_container.fadeOut('fast',function(){t.box_body.hide();try{on_hide(t);}
catch(e){}});},append:function(element){return this.box_content.append(element);},create:function(opt){this.modal=(opt.modal)?true:false;this.box_body=$(document.createElement('div')).addClass('cf_box').css({display:'none'}).appendTo('body');this.box_modal=$(document.createElement('div')).addClass('cf_box_modal').css({zIndex:$.cf_box_new_z_index(),height:'200px'}).appendTo(this.box_body);if(opt.modal){this.box_modal.fadeTo('fast',0.1);}
else{this.box_modal.hide();}
this.box_middle=$(document.createElement('div')).addClass('cf_box_middle').css({top:opt.top,width:opt.width,zIndex:$.cf_box_new_z_index()}).appendTo(this.box_body);this.box_container=$(document.createElement('div')).addClass('cf_box_cont').css({zIndex:$.cf_box_new_z_index()}).appendTo(this.box_middle);this.box_title=$(document.createElement('div')).addClass('cf_box_title').html(opt.title).appendTo(this.box_container);this.box_content=$(document.createElement('div')).addClass('cf_box_content').appendTo(this.box_container);if(prepend_elements.length){while(true){var element=prepend_elements.shift();if(!element){break;}
this.box_content.append(element);}}
if(typeof(opt.buttons)=='undefined'){this.box_content.css({'border-bottom-width':'1px'});}
else{this.box_button_outter=$(document.createElement('div')).addClass('cf_box_button_outter').appendTo(this.box_container);this.box_button_inner=$(document.createElement('div')).addClass('cf_box_button_inner').appendTo(this.box_button_outter);this.box_buttons={};for(var but in opt.buttons){this.box_buttons[but]=$(document.createElement('input')).attr({type:'button'}).val(but).addClass('cf_box_button').click(opt.buttons[but]).appendTo(this.box_button_inner);}}
this.optional_height=(typeof(opt.height)!='undefined')?parseInt(opt.height,10):false;this.offset_top=parseInt(opt.top,10);this.reposition();var t=this;$(window).resize(function(){t.reposition();});$(window).scroll(function(){t.reposition();});return true;}};obj.create(options);return obj;}});})(jQuery);


/* filename: main_menu.js @ 50, hash: 48d019bbaa8762b2eeae0fa99a62d06b8b7605e3 */



function contribute_open_close(){return function(){if(!contribute_window){var contribute_iframe=$(document.createElement('iframe')).attr({'scrolling':'auto','frameborder':'0','src':'/objava/'}).css({'border':'none','width':'100%','height':'580px'});contribute_window=$(document.createElement('div')).append(contribute_iframe).cf_box({title:$('div.contribute_container a').attr('title'),width:'822px',height:'580px',top:'20px',buttons:{'Prekliči':function(){contribute_window.hide(function(){contribute_window_visible=false;});}}});}
if(!contribute_window_visible){contribute_window.show();contribute_window_visible=true;}
return false;}}
function main_menu_mobile_site_mouse(over){return function(){$('div.mobile_site_container img').attr({'src':'/image/mobile_page'+((over)?'_over':'')+'.png'}).css({'width':'42px','height':'60px'});}}
function main_menu_mobile_site_open(){return function(){$.cf_mobile_box.url=mobile_url;$.cf_mobile_box.show();}}
var contribute_window=null;var contribute_window_visible=false;$(document).ready(function(){$('div.mobile_site_container a').mouseenter(main_menu_mobile_site_mouse(true)).mouseleave(main_menu_mobile_site_mouse(false)).click(main_menu_mobile_site_open());$(document.createElement('a')).attr({href:'#',title:$('div.contribute_container span').attr('title')}).html($('div.contribute_container span').html()).click(contribute_open_close()).appendTo($('div.contribute_container div.button').empty());});


/* filename: jquery.pngFix.js @ 1000, hash: 4de410673503051a11659c852fd168045ffa5e80 */



eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(s($){3.1s.1k=s(j){j=3.1a({12:\'1m.1j\'},j);8 k=(n.P=="r 10 Z"&&U(n.v)==4&&n.v.E("14 5.5")!=-1);8 l=(n.P=="r 10 Z"&&U(n.v)==4&&n.v.E("14 6.0")!=-1);o(3.17.16&&(k||l)){3(2).L("1r[m$=.M]").z(s(){3(2).7(\'q\',3(2).q());3(2).7(\'p\',3(2).p());8 a=\'\';8 b=\'\';8 c=(3(2).7(\'K\'))?\'K="\'+3(2).7(\'K\')+\'" \':\'\';8 d=(3(2).7(\'A\'))?\'A="\'+3(2).7(\'A\')+\'" \':\'\';8 e=(3(2).7(\'C\'))?\'C="\'+3(2).7(\'C\')+\'" \':\'\';8 f=(3(2).7(\'B\'))?\'B="\'+3(2).7(\'B\')+\'" \':\'\';8 g=(3(2).7(\'R\'))?\'1d:\'+3(2).7(\'R\')+\';\':\'\';8 h=(3(2).1c().7(\'1b\'))?\'19:18;\':\'\';o(2.9.y){a+=\'y:\'+2.9.y+\';\';2.9.y=\'\'}o(2.9.t){a+=\'t:\'+2.9.t+\';\';2.9.t=\'\'}o(2.9.w){a+=\'w:\'+2.9.w+\';\';2.9.w=\'\'}8 i=(2.9.15);b+=\'<x \'+c+d+e+f;b+=\'9="13:11;1q-1p:1o-1n;O:W-V;N:1l;\'+g+h;b+=\'q:\'+3(2).q()+\'u;\'+\'p:\'+3(2).p()+\'u;\';b+=\'J:I:H.r.G\'+\'(m=\\\'\'+3(2).7(\'m\')+\'\\\', D=\\\'F\\\');\';b+=i+\'"></x>\';o(a!=\'\'){b=\'<x 9="13:11;O:W-V;\'+a+h+\'q:\'+3(2).q()+\'u;\'+\'p:\'+3(2).p()+\'u;\'+\'">\'+b+\'</x>\'}3(2).1i();3(2).1h(b)});3(2).L("*").z(s(){8 a=3(2).T(\'N-S\');o(a.E(".M")!=-1){8 b=a.X(\'1g("\')[1].X(\'")\')[0];3(2).T(\'N-S\',\'1f\');3(2).Q(0).Y.J="I:H.r.G(m=\'"+b+"\',D=\'F\')"}});3(2).L("1e[m$=.M]").z(s(){8 a=3(2).7(\'m\');3(2).Q(0).Y.J=\'I:H.r.G\'+\'(m=\\\'\'+a+\'\\\', D=\\\'F\\\');\';3(2).7(\'m\',j.12)})}1t 3}})(3);',62,92,'||this|jQuery||||attr|var|style|||||||||||||src|navigator|if|height|width|Microsoft|function|padding|px|appVersion|margin|span|border|each|class|alt|title|sizingMethod|indexOf|scale|AlphaImageLoader|DXImageTransform|progid|filter|id|find|png|background|display|appName|get|align|image|css|parseInt|block|inline|split|runtimeStyle|Explorer|Internet|relative|blankgif|position|MSIE|cssText|msie|browser|hand|cursor|extend|href|parent|float|input|none|url|after|hide|gif|pngFix|transparent|blank|line|pre|space|white|img|fn|return'.split('|'),0,{}))
