function updateNewsView(a,b){$.post(HOST+"listings/updateView",{n:a,s:b})}function makeId(a,b){return"#"+a+b}function updateTimer(){time=new Date;m=paddTime(time.getMinutes());$("#timerCount").html(m)}function paddTime(a){a<10&&(a="0"+a);return a}function isIE6(){if(navigator.userAgent.indexOf("MSIE 6")==-1&&(document.createRange!=null||document.createRange!=-1))return!1;return!0}
function setCookie(a,b,c){var d=new Date,e=d.getDate(),f=d.getHours(),h=d.getMinutes(),g=HOST.replace("http://",""),g=g.replace("/","");if(parseInt(c))d.setDate(e+c);else{var j=c.toString().split(".",2);d.setDate(e);j[1].length==1?d.setHours(f+parseInt(c*10)):j[1].length==2&&d.setMinutes(h+parseInt(c*100))}document.cookie=a+"="+escape(b)+"; expires="+d.toGMTString()+"; path=/; domain="+g}
function getCookie(a){if(document.cookie.length>0&&(c_start=document.cookie.indexOf(a+"="),c_start!=-1)){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end))}return""}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};
function sprintf(){if(!arguments.length)return"";var a=arguments[0],b=[];for(i=1;i<arguments.length;i++)b.push(arguments[i]);if(!b.length)return a;for(i in b)a=a.replace(/%[sfd]/,b[i]);return a}$(document).ready(function(){updateTimer();setInterval("updateTimer()",6E4)});
function strip_tags(a){if(arguments.length<3)a=a.replace(/<\/?(?!\!)[^>]*>/gi,"");else var b=arguments[1],c=eval("["+arguments[2]+"]"),b=b?"</?(?!("+c.join("|")+"))\u0008[^>]*>":"</?("+c.join("|")+")\u0008[^>]*>",a=a.replace(RegExp(b,"gi"),"");a=a.replace(/(&[A-Za-z].*?;)/g,"");return a=a.replace(/\n/g,"")}
var __captchaPopup=new function(){this.captchaPopup=null;this.captchaId="";this.captchaValid=!1;this.callback=null;this.captchaVisible=0;this.show=function(a){if(!this.captchaVisible)anchor=window.location.href.replace(/(#.*)$/,""),window.location.href=anchor+"#",this.captchaVisible=1,captchaId="captchaCheck",this.callback=a,this.captchaId=captchaId,this.captchaPopup=a=new InlinePopup(captchaId),a.show(".main",{callback:function(a){__captchaPopup.__initCaptcha(a)},runCallback:"before"})};this.__initCaptcha=
function(a){$.get("/messages/captchaCheck/"+captchaId+"/"+Math.random()+1234567,function(b){$("#"+a.placeHolder).html(b);Recaptcha.create(XYZ,"captchaContainer",{theme:"white",custom_translations:{instructions_visual:"Introduceti codul din imagine",instructions_audio:"Scrieti literele",play_again:"Reascultati",refresh_btn:"Reincarca codul",audio_challenge:"Asculta",visual_challenge:"Vezi codul text",help_btn:"Ajutor",incorrect_try_again:"Codul introdus este gresit. Incearca din nou"}});$("#captchaCloseButton"+
__captchaPopup.captchaId).attr("href","javascript:__captchaPopup.captchaClose()");$("#form"+__captchaPopup.captchaId).submit(function(){if(__captchaPopup.captchaValidation())try{__captchaPopup.runCallback()}catch(a){}__captchaPopup.captchaResult();return!1})})};this.runCallback=function(){this.callback!=null&&this.callback.call()};this.captchaClose=function(){$("#form"+this.captchaId).unbind();this.captchaPopup.remove();this.captchaVisible=0};this.captchaValidation=function(){this.captchaValid=!1;
var a=Recaptcha.get_response(),b=Recaptcha.get_challenge(),a=$.ajax({url:"/auth/validCaptcha/"+a+"/"+b+"/1/"+Math.random()+1234567,async:!1}).responseText,b=1;try{a=eval("("+a+")"),b=!parseInt(a.status)}catch(c){b=0}if(b==1)this.captchaValid=!0;return b};this.captchaResult=function(){if(this.captchaValid)this.captchaClose();else{$("#notification"+this.captchaId).css("display","block");try{Recaptcha.reload()}catch(a){}}}},search=new function(){this.changeSearchType=function(a,b){b==1?(sType="Adv",
sParam=",1"):sParam=sType="";stiriObj=$("#change"+sType+"SearchTo1");discObj=$("#change"+sType+"SearchTo4");a==4?(stiriObj.html('<a rel="nofollow" class="search_stiri" href="javascript:search.changeSearchType(1'+sParam+')">'+_getNotice("pages","stiri_label")+"</a>"),discObj.html('<span class="search_discutii">'+_getNotice("pages","discutii_label")+"</span>")):(stiriObj.html('<span class="search_stiri">'+_getNotice("pages","stiri_label")+"</span>"),discObj.html('<a rel="nofollow" class="search_discutii" href="javascript:search.changeSearchType(4'+
sParam+')">'+_getNotice("pages","discutii_label")+"</a>"));$("#searchType"+sType).val(a)};this.closeAdvSearch=function(){$("#advSearchForm").slideUp("fast",function(){$("#advSearchControl").removeClass("up3");$("#advSearchControl").addClass("down");$("#advSearchControl").attr("href","javascript:search.openAdvSearch()");$("#advSearchControl").text(_getNotice("pages","deschide_label"))})};this.openAdvSearch=function(){$("#advSearchForm").slideDown("fast",function(){$("#advSearchControl").removeClass("down");
$("#advSearchControl").addClass("up3");$("#advSearchControl").attr("href","javascript:search.closeAdvSearch()");$("#advSearchControl").text(_getNotice("pages","inchide_label"))})};this.searchNews=function(){$("#searchTypeAdv").val(1);$("#advancedSearchForm").submit()};this.searchDiscussions=function(){$("#searchTypeAdv").val(4);$("#advancedSearchForm").submit()};this.checkAdvForm=function(){keyword=$("#advSearchKeyword").val();if(keyword.length<3)return $("#advFormErrorMsg").html(_getNotice("listings",
"search_bad_key")),$("#advFormError").slideDown("fast"),!1;if($("#sStamp").val()>$("#eStamp").val())return $("#advFormErrorMsg").html(_getNotice("listings","search_bad_date")),$("#advFormError").slideDown("fast"),!1;return!0};this.convertToStamp=function(a){dateParts=a.split("/");a=new Date(Date.UTC(dateParts[2],dateParts[1]-1,dateParts[0]));return a.getTime()/1E3};this.containerHidden=!1;this.lastSelected=this.selected=this.timeOutHandler=null;this.QuickSearchInit=function(){$("#keyword").keydown(function(a){key=
a.charCode?a.charCode:a.keyCode?a.keyCode:0;if(key==38||key==40)search.navigateQuickSearchList(key);else if(key==27)try{return search.clearQuickSearch(),!1}catch(b){}});$("#keyword").keyup(function(a){key=a.charCode?a.charCode:a.keyCode?a.keyCode:0;if(key==27)try{return search.clearQuickSearch(),!1}catch(b){}else if(key>8&&key<46||key>90)return;$("#keyword").val().length&&($("#keyword").length>=1&&$("#keyword").val().length<32?$.getJSON(HOST+"search/quickSearch?q="+$("#keyword").val(),function(a){this.selected=
null;try{$("#quickSearch").css("display")=="none"&&$("#quickSearch").css("display","block"),search.printElement(a),$("#quickSearch").css("display","block")}catch(b){}}):$("#quickSearch").css("display","none"))});$("#quickSearch").mouseout(function(){search.containerHidden=!0;search.timeOutHandler=setTimeout("search.hideQuickSearch()",1E3);objects=$(".quickSearchItems");for(i=0;i<objects.length;i++)$(objects[i]).removeAttr("style")});$("#quickSearch").mouseover(function(){clearTimeout(search.timeOutHandler);
$("#quickSearch").css("display","block");objects=$(".quickSearchItem");for(i=0;i<objects.length;i++)$(objects[i]).removeAttr("style")})};this.hideQuickSearch=function(){if(this.containerHidden)$("#quickSearch").css("display","none"),this.containerHidden=!1};this.printElement=function(a){html="";$("#quickSearch").html("");for(i=0;i<a.length;i++)url=HOST+"search?q="+a[i].phrase.replace(" ","+")+"&xx=1",html+='<div class="quickSearchItem">',res=parseInt(a[i].results)?" <strong>"+a[i].results+"</strong>":
"",html+='<a rel="nofollow" href="'+url+'">'+a[i].phrase+res+"</a>",html+="</div>";$("#quickSearch").append(html)};this.navigateQuickSearchList=function(a){if($("#quickSearch").css("display")!="none"&&(items=$(".quickSearchItem"),items.length!=0))this.selected==null?this.selected=0:a==38&&this.selected>=1?this.selected--:a==40&&this.selected<items.length-1&&this.selected++,$(items[this.selected]).css("background","#dfe8f6"),this.lastSelected!=null&&this.lastSelected!=this.selected&&$(items[this.lastSelected]).css("background",
"#ff0000"),this.lastSelected=this.selected,value=$(items[this.selected]).text(),value=value.replace(/\([0-9]*?\)/,""),$("#keyword").val(value)};this.clearQuickSearch=function(){$("#quickSearch").html("");$(".quicksearchitem").remove();$("#quickSearch").css("display","none")}};$(document).ready(function(){});
var userCategories=new function(){this.search=function(){keyword=this.getKeyword();if(keyword.length<2)return!1;$("#userCategoriesPreloader").show();$("#userCategoriesKeyword").attr("disabled",!0);$.getJSON(HOST+"search/userCategories?q="+encodeURI(keyword),function(a){userCategories.handleResponse(a);$("#userCategoriesPreloader").hide()});return!1};this.getKeyword=function(){return $("#userCategoriesKeyword").val()};this.handleResponse=function(a){$("#userCategoriesKeyword").attr("disabled",!1);
parseInt(a.error)==1?this.showNotFound():(div='<div id="tmpCatResults" style="display: none"></div>',$("#userCategoriesResults").html(div),$("#tmpCatResults").html(a.html),this.toggle("tmpCatResults","down"))};this.showNotFound=function(){span='<span class="error" id="catsnotfound" style="display: none; margin: 5px 0pt 0pt;">'+_getNotice("pages","niciun_rezultat")+"</span>";$("#userCategoriesResults").html(span);this.toggle("catsnotfound","down")};this.toggle=function(a,b){b=="up"?$("#"+a).slideUp("fast"):
$("#"+a).slideDown("fast")};this.addLocation=function(a,b){try{$("#noLocCat1").remove()}catch(c){}$("#__AsearchCat"+a).attr("id")?(existElement=$("#catsfoundexists").text(),existElement.length<3&&(span='<span class="error" id="catsfoundexists">'+_getNotice("pages","categoria_exista_deja_in_lista")+"</span>",$("#userCategoriesResults").prepend(span))):$.post(HOST+"fav/addLocation",{c:a,u:b},function(){userCategories.addResult(a)},"json")};this.deleteLocation=function(a,b){$.post(HOST+"fav/deleteLocation",
{c:a,u:b},function(){userCategories.removeResult(a,1)},"json")};this.deleteCategory=function(a,b){$.post(HOST+"fav/deleteCategory",{c:a,u:b},function(){userCategories.removeResult(a)},"json")};this.removeResult=function(a,b){$("#__AsearchCat"+a).slideUp("fast",function(){$(this).remove()});objects=$(".csr:visible");objects.length==1&&(typeof b=="undefined"?(text=_getNotice("pages","nicio_categorie_favorita"),contId="userCategoriesSelected",spanId="noLocCat2"):(text=_getNotice("pages","introduceti_numele_unui_judet_sau_oras"),
contId="userLocationsSelected",spanId="noLocCat1"),$("#"+contId).html('<span class="message" id="'+spanId+'">'+text+"</span>"))};this.addResult=function(a,b){try{$(".notif").remove(),$("#noLocCat").remove()}catch(c){}el=$("#__RsearchCat"+a);el.slideUp("fast").clone(!0).css("display","none").prependTo("#userLocationsSelected").slideDown("fast").attr("id","__AsearchCat"+a).css("display","block");try{$("#__ActionCat"+a+" > a").attr("title","Sterge"),$("#__ActionCat"+a+" > a").text("Sterge"),$("#__ActionCat"+
a).removeClass("csradd"),$("#__ActionCat"+a).addClass("csrrem"),$("#__ActionCat"+a+" > a").attr("href","javascript:userCategories.deleteLocation("+a+", "+b+")"),$("#__ActionCat"+a+" > a").removeClass("add"),$("#__ActionCat"+a+" > a").addClass("delete")}catch(d){}};this.showCategories=function(){$("#ucForm").slideUp("fast");$("#myLocations").html('<a rel="nofollow" href="javascript:userCategories.showLocations()">'+_getNotice("pages","stiri_locale_label")+"</a>");$("#myCategories").html('<span><a href="categorii-favorite.html">'+
_getNotice("pages","categoriile_mele_label")+"</a></span>");$("#userLocationsSelected").css("display","none");$("#userCategoriesSelected").css("display","block");$("#userCategoriesResults").html("");$("#userCategoriesManualLink").attr("href",HOST+"categorii-favorite.html")};this.showLocations=function(){$("#ucForm").slideDown("fast");$("#myLocations").html('<span><a href="locatii-favorite.html">'+_getNotice("pages","stiri_locale_label")+"</a></span>");$("#myCategories").html('<a rel="nofollow" href="javascript:userCategories.showCategories()">'+
_getNotice("pages","categoriile_mele_label")+"</a>");$("#userCategoriesSelected").css("display","none");$("#userLocationsSelected").css("display","block");$("#userCategoriesManualLink").attr("href",HOST+"locatii-favorite.html")}};function InlinePopup(a){this.id=a;this.windowObject=this.createWindow();this.mainTd="mainTd"+a;this.containerId=null;return this}
InlinePopup.prototype.show=function(a,b){this.containerId=a;$(a).append(this.windowObject);if(typeof b=="undefined")return this.display(b),this;_parent=this;if(typeof b.justLoader!="undefined")return this.showWindowPreloader(b),this;typeof b.callback!="undefined"&&((typeof b.runCallback=="undefined"?"after":b.runCallback)=="after"?this.display(b,!0):(this.callFunction(b.callback),setTimeout(function(){_parent.display(b)},100)));return this};
InlinePopup.prototype.callFunction=function(a){a.apply(this,[{placeHolder:this.mainTd,windowObject:this.windowObject}]);return this};
InlinePopup.prototype.display=function(a,b){this.showWindowPreloader(a);if(typeof a=="undefined"||typeof a.effect=="undefined")return this.windowObject.css("display","block"),typeof b!="undefined"&&this.callFunction(a.callback),this;var c=typeof a.speed=="undefined"?"fast":a.speed,d=this;switch(a.effect){case "fadeIn":this.windowObject.fadeIn(c,function(){typeof b!="undefined"&&d.callFunction(a.callback)});break;case "slideDown":this.windowObject.slideDown(c,function(){d.callFunction(a.callback)})}return this};
InlinePopup.prototype.showWindowPreloader=function(a){if(typeof a=="undefined"||typeof a.loader=="undefined")return this;this.clearWindowContent();var b=a.loader,c=$("<"+b._element+">");typeof b._class!="undefined"&&c.attr("class",b._class);typeof b._text!="undefined"&&c.html(b._text);var b=$('<div class="pmain">'),d=$("body").height(),e=$("body").width(),d=$('<div id="canvas'+this.id+'" style="position: absolute; left: 0, top: 0; width: '+e+"px; height: "+d+'px; z-index: 999">');$("body").prepend(d);
b.append(c);$("#"+this.mainTd).append(b);typeof a.justLoader!="undefined"&&this.windowObject.show()};
InlinePopup.prototype.hide=function(a,b){if(typeof a=="undefined"||typeof a.effect=="undefined")return this.windowObject.hide(),typeof b!="undefined"&&this.windowObject.remove(),this;var c=typeof a.runCallback=="undefined"?"after":a.runCallback,d=typeof a.speed=="undefined"?"fast":a.speed,e=this;switch(a.effect){case "fadeOut":this.windowObject.fadeOut(d,function(){typeof b!="undefined"&&(typeof a.callback!="undefined"&&c=="after"&&e.callFunction(a.callback),e.windowObject.remove())});break;case "slideUp":this.windowObject.slideUp(d,
function(){typeof b!="undefined"&&(typeof a.callback!="undefined"&&c=="after"&&e.callFunction(a.callback),e.windowObject.remove())})}return this};InlinePopup.prototype.remove=function(a){$("#canvas"+this.id).remove();this.hide(a,!0);return this};InlinePopup.prototype.clearWindowContent=function(){$("#"+this.mainTd).html("")};
InlinePopup.prototype.createWindow=function(){var a=$("<table>").attr("class","pp").attr("id",this.id).css("display","none").attr("cellspacing","0").attr("cellpadding","0"),b=$("<tr>"),c=$("<td>").attr("class","p1");c.html("&nbsp;");b.append(c);c=$("<td>").attr("class","p2");c.html("&nbsp;");b.append(c);c=$("<td>").attr("class","p3");c.html("&nbsp;");b.append(c);a.append(b);b=$("<tr>");c=$("<td>").attr("class","p4");c.html("&nbsp;");b.append(c);c=$("<td>").attr("class","pmain").attr("id","mainTd"+
this.id);c.html("&nbsp;");b.append(c);c=$("<td>").attr("class","p4");c.html("&nbsp;");b.append(c);a.append(b);b=$("<tr>");c=$("<td>").attr("class","p6");c.html("&nbsp;");b.append(c);c=$("<td>").attr("class","p2");c.html("&nbsp;");b.append(c);c=$("<td>").attr("class","p5");c.html("&nbsp;");b.append(c);a.append(b);return a};function in_array(a,b,c){var d="";if(c)for(d in b){if(b[d]===a)return!0}else for(d in b)if(b[d]==a)return!0;return!1}
function array_search(a,b,c){var c=!!c,d="";for(d in b)if(c&&b[d]===a||!c&&b[d]==a)return d;return!1}function array_remove(a,b){var c=array_search(a,b);b.splice(c,1)}function isNotANumber(a){return!(a>=0||a<0)}
var _mine_util=new function(){this.CLASS_FGOOD="good";this.CLASS_FDEFAULT="default";this.CLASS_FWRONG="bad";this.keyCount=0;this.captchaError=this.emailError=!0;this.skipdb=!1;this.email_id="email";this.hideFormError=function(a){"undefined"==typeof a&&(a="formErrorContainer");$("#"+a).slideUp("fast")};this.emailCheckWhileTyping=function(){this.keyCount++;setTimeout("_mine_util.emailCheck("+this.keyCount+", 1)",200)};this.simpleCheck=function(a,b,c){a=$("#"+a).val();_min=typeof c=="undefined"?3:c;
if(a.length<_min)return this.changeStatus(b,1),!1;this.changeStatus(b,0);return!0};this.captchaCheck=function(a,b){var c=$("#"+a).val();if(c.length!=5)return this.changeStatus(b,1),this.captchaError=!0,!1;this.captchaError&&$.getJSON(HOST+"auth/validCaptcha/"+c,function(a){if(parseInt(a.status)==1)_mine_util.changeStatus(b,1),_mine_util.captchaError=!0});this.changeStatus(b,0);this.captchaError=!1;return!0};this.actuallyEmailChecking=function(){var a=$("#"+this.email_id).val();a.length<6?(this.changeStatus("emailCheck",
1),this.emailError=!0):(a=HOST+"auth/validEmail?s="+encodeURI(a),!0==this.skipdb&&(a+="&e=1"),$.getJSON(a,function(a){parseInt(a.status)==2?(_mine_util.changeStatus("emailCheck",1),_mine_util.emailError=!0):parseInt(a.status)==1?(_mine_util.changeStatus("emailCheck",1),_mine_util.emailError=!0):(_mine_util.changeStatus("emailCheck",0),_mine_util.emailError=!1)}))};this.emailCheck=function(a,b){if(b==1){if(a==this.keyCount)this.keyCount=0,this.actuallyEmailChecking()}else _mine_util.actuallyEmailChecking()};
this.changeStatus=function(a,b){if(b==0){try{$("#"+a).removeClass(_mine_util.CLASS_FDEFAULT),$("#"+a).removeClass(_mine_util.CLASS_FWRONG)}catch(c){}$("#"+a).addClass(_mine_util.CLASS_FGOOD)}else{try{$("#"+a).removeClass(_mine_util.CLASS_FDEFAULT),$("#"+a).removeClass(_mine_util.CLASS_FGOOD)}catch(d){}$("#"+a).addClass(_mine_util.CLASS_FWRONG)}};this.showFormError=function(a,b,c){"undefined"==typeof c&&(c="formErrorMessage");"undefined"==typeof b&&(b="formErrorContainer");$("#"+b).css("display","block");
$("#"+c).removeClass("notif");$("#"+c).addClass("error");$("#"+c).html(a);$("#"+c).css("display","");$("#"+c).slideDown("fast")}},_blog=_discussions=new function(){this.sender=null;this.cat_id=0;this.locked=!1;this.pollDiscussion_id=this.chosen_group=this.chosen_cat=0;this.pollCookieName=null;this.pollInAction=0;this.openDeleteDiscussionPopUp=function(a){StandardPopup.openPopUp("discussions","loadDeleteDiscussionPopUp",[a])};this.openRemoveDiscussionFromGroupPopUp=function(a,b){StandardPopup.openPopUp("discussions",
"loadRemoveDiscussionFromgGroupPopUp",[a,b])};this.initPoll=function(a,b){this.pollDiscussions_id=a;this.pollCookieName=b;$("#pollVoteControll").click(function(){_discussions.pollVote()})};this.removeDiscussionFromGroup=function(a,b){$.getJSON(HOST+"discussions/removeDiscussionFromGroup/"+a+"/"+b,function(b){0==b.status&&$("#discussion_"+a).remove();var d=$("#discussion_"+a+"_message");d.html(b.message);d.show();StandardPopup.close()})};this.pollVote=function(){if(!this.pollInAction)this.pollInAction=
1,selectedAnswer=0,$.each($(".poll_answer"),function(a,b){$(b).attr("checked")==!0&&(selectedAnswer=parseInt($(b).val()))}),selectedAnswer?($("#pollPreloader").show(),this.vote(selectedAnswer,1)):this.pollInAction=0};this.checkSubject=function(){var a=$("#subiect").val();value2=strip_tags(a);value2=value2.trim();if(/([\<\>\\].*?)/.test(a)==!0||value2.length<3)return _mine_util.changeStatus("subiectCheck",1),!1;_mine_util.changeStatus("subiectCheck",0);return!0};this.pumpPollContent=function(a,b){if(a.success&&
(a.question!=null||typeof b!="undefined")){try{$("#pollForm").slideUp("fast").remove(),$("#pollResults").slideUp("fast").remove()}catch(c){}var d=a.html;d.length&&($("#pollContainer").append(d),$("#pollQuestion").text(a.question),$("#pollQuestion").attr("href",a.question_link),typeof a.left!="undefined"&&($("#pollCycleBack").html(""),d=parseInt(a.left)!=0?'<a rel="nofollow" class="prev" href="javascript:_discussions.getPoll('+a.cat_id+', 0)">'+_getNotice("pages","inapoi_label")+"</a>":'<span class="prev">'+
_getNotice("pages","inapoi_label")+"</a>",$("#pollCycleBack").html(d)),typeof a.right!="undefined"&&($("#pollCycleForward").html(""),d=parseInt(a.right)!=0?'<a rel="nofollow" class="next" href="javascript:_discussions.getPoll('+a.cat_id+', 1)">'+_getNotice("pages","inainte_label")+"</a>":'<span class="next">'+_getNotice("pages","inainte_label")+"</a>",$("#pollCycleForward").html(d)))}};this.getPoll=function(a,b){if(!this.pollInAction){this.pollInAction=1;$("#pollPreloader").show();var c=HOST+"discussions/getPoll/"+
a+"/"+parseInt(b)+"/"+Math.random()+1234567,c=$.ajax({url:c,async:!1}).responseText,d=0;$("#pollPreloader").hide();try{c=eval("("+c+")"),d=1}catch(e){}d&&this.pumpPollContent(c);this.pollInAction=0}};this.tinyMCECheck=function(a){try{htmlContent=a.getContent();tmp=document.createElement("div");tmp.innerHTML=htmlContent;content=tmp.textContent||tmp.innerText;try{if(content.length<75)return _mine_util.changeStatus("contentCheck",1),!1;_mine_util.changeStatus("contentCheck",0);return!0}catch(b){return _mine_util.changeStatus("contentCheck",
1),!1}}catch(c){return _mine_util.changeStatus("contentCheck",1),!1}};this.vote=function(a){this.pollInAction=0;$.getJSON(HOST+"discussions/vote/"+this.pollDiscussions_id+"/"+a+"/"+Math.random()+1234567,function(a){_discussions.pumpPollContent(a,1);$("#pollPreloader").hide()})};this.hidePrivate=function(){$(".private_discussion").css("display","none")};this.showPrivate=function(){$(".private_discussion").css("display","")};this.updateRank=function(a,b,c,d){this.post_id=a;this.sender=$(b);this.path=
c;$.getJSON(HOST+d+"/updateBlogPostRank/"+a,function(a){a&&(views=parseInt(_blog.path),isNotANumber(views)?$(location).attr("href",HOST+_blog.path):$(".det1").html("<span>"+(parseInt(views)+5)+"</span>"))})};this.checkCategory=function(a){a="undefined"==typeof a?$("#init_cat_id").val():a;$("#in_category_"+a).attr("checked",!0);$("#init_cat_id").val(null)};this.editDiscussion=function(){$("#formErrorContainer").css("display","none");var a=$("#subiect").val();subiect2=strip_tags(a);subiect2=subiect2.trim();
if(subiect2.length<3)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","enter_subject")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1;if(/([\<\>\\].*?)/.test(a)==!0)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","illegal_subject")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1;a=$("#continut").val();a=strip_tags(a);
if(a.length<75)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","enter_body")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1;if(!$(".tag")[0].value.length)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","enter_tag")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1;return!0};this.sendDiscussion=function(){$("#formErrorContainer").css("display",
"none");var a=$("#subiect").val();subiect2=strip_tags(a);subiect2=subiect2.trim();if(subiect2.length<3)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","enter_subject")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1;if(/([\<\>\\].*?)/.test(a)==!0)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","illegal_subject")),anchor=window.location.href.replace(/#(.*)/ig,
""),window.location.href=anchor+"#",!1;a=$("#continut").val();a=strip_tags(a);if(a.length<75)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","enter_body")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1;if(!$(".tag")[0].value.length)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","enter_tag")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=
anchor+"#",!1;if(!this.chosen_cat)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","enter_cat")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1;try{if($("#intrebare").val().length){var b=$("#raspuns1").val(),c=$("#raspuns2").val();if(!b.length||!c.length)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","bad_poll")),anchor=window.location.href.replace(/#(.*)/ig,
""),window.location.href=anchor+"#",!1;var d=!1;$.each($(".pollAnswer"),function(a,b){$(b).val().length>40&&(d=!0)});if(d)return $("#formErrorContainer").css("display","block"),_mine_util.showFormError(_getNotice("discussions","long_poll_answer")),anchor=window.location.href.replace(/#(.*)/ig,""),window.location.href=anchor+"#",!1}}catch(e){}return!0};this.closePoll=function(){$(".pollContainers").css("display","none");$("#add_poll").css("display","");$("#close_poll").css("display","none");$("#intrebare").val("")};
this.openPoll=function(){$(".pollContainers").css("display","");$("#add_poll").css("display","none");$("#close_poll").css("display","");$.each($(".pollAnswer"),function(a,b){$(b).val("")})};this.closeGroups=function(){$("#groups_list").css("display","none");$("#groupLabel").hide();0!=this.chosen_group?this.forClose("group_manip_",this.chosen_group):this.forClose("group_manip_",null);this.hidePrivate()};this.closeCategories=function(){$("#favourites").css("display","none");$("#categories_11").css("display",
"none");$("#locale_si_regionale_11").css("display","none");var a=$("#init_cat_id").val();if(a&&!this.chosen_cat)this.chosen_cat=a;this.forClose("categ_manip_",this.chosen_cat)};this.forClose=function(a,b){$("#"+a+"close").css("display","none");b?$("#"+a+"change").css("display",""):$("#"+a+"choose").css("display","")};this.chooseGroup=function(){$("#groups_list").css("display","");$("#groupLabel").show();this.forChoose("group_manip_");0!=this.chosen_group&&this.showPrivate()};this.chooseCategory=function(){$("#favourites").css("display",
"");$("#categories_11").css("display","");$("#locale_si_regionale_11").css("display","");this.forChoose("categ_manip_");this.chosen_cat||$(".cat_label").css("display","none")};this.setChosenCat=function(a){this.chosen_cat=a;this.checkCategory(a)};this.forChoose=function(a){$("#"+a+"choose").css("display","none");$("#"+a+"change").css("display","none");$("#"+a+"close").css("display","");$(".cat_label").css("display","")};this.registerChosenCategory=function(a){if($(a).attr("checked"))this.chosen_cat=
$(a).val();try{$("#defaultNoCat").hide()}catch(b){}this.putLabel(".categSelected",this.getLabel("category_",this.chosen_cat))};this.getLabel=function(a,b){var c=a+b,d=$("#"+c+" label").html();null==d&&0!=b&&(d=$("#wrapper_"+c+" label").html());0==b&&(d=$("#wrapper_"+c+" label strong").html());return d};this.putLabel=function(a,b){$(a).text(b);$(a).css("display","")};this.registerChosenGroup=function(a){if($(a).attr("checked"))this.chosen_group=$(a).val();0!=this.chosen_group?(this.putLabel(".groupSelected",
$("#groupLabel"+this.chosen_group).text()),$(".deleteGroupLink").show()):(this.putLabel(".groupSelected",""),$(".groupSelected").css("display","none"),$(".deleteGroupLink").hide())};this.deleteGroup=function(){this.putLabel(".groupSelected","");$(".groupSelected").css("display","none");$(".deleteGroupLink").hide();$.each($(".__group_radios"),function(a,b){$(b).attr("checked",!1)})};this.deleteDiscussion=function(a){$.getJSON(HOST+"discussions/deleteDiscussion/"+a,function(b){0==b.status&&$("#discussion_"+
a).remove();var c=$("#discussion_"+a+"_message");c.html(b.message);c.show();StandardPopup.close()})};this.toggleFavouriteCategories=function(a,b){this.sender=$(a);if(this.sender.hasClass("categ_2plus")){if(!this.locked)this.locked=!0,$("#favloader").css("display",""),$.get(HOST+"discussions/showFavouriteCategories",function(a){$("#favourites").append(a);_discussions.locked=!1;_discussions.sender.removeClass("categ_2plus");_discussions.sender.addClass("categ_2minus");$("#favloader").css("display",
"none")}),this.sender.text("[- Close ]")}else{var c=$('#favouriteCategories input[name="select_category"]');$.each(c,function(a,b){$(b).attr("checked")==!0&&($(".categSelected").hide(),$("#defaultNoCat").show())});$("#favouriteCategories").remove();this.sender.removeClass("categ_2minus");this.sender.addClass("categ_2plus");typeof b!="undefined"?this.sender.text("[ + Deschide ]"):this.sender.html('<a href="javascript:void(0)" class="plus">+</a>')}};this.toggleCatVisibility=function(a,b,c){var d=$("#categories_11").html();
href=$("#"+a).attr("href");c?($("#"+b).show(),$("#"+a).text("[- "+_getNotice("pages","inchide_label")+" ]"),href=href.replace(", 1",", 0"),$("#"+a).attr("href",href),d.length==0&&this.toggleCategories("#"+a,0,1)):($("#"+b).hide(),$("#"+a).text("[ + "+_getNotice("pages","selecteaza_o_categorie_label")+" ]"),href=href.replace(", 0",", 1"),$("#"+a).attr("href",href))};this.toggleCategories=function(a,b,c,d){var e;if($(a).hasClass("categ_2plus")==!0){if(!this.locked){this.locked=!0;this.sender=$(a);this.cat_id=
"undefined"!=typeof b?b:0;var f=HOST+"discussions/showCategories";this.cat_id&&(f=f+"/"+b);this.lr=c;e=!this.cat_id?1:this.cat_id;$(a).hide();this.preloaderContainer=$("#category_"+e+" span.loader");this.preloaderContainer.css("display","");$(a).hasClass("cat")?$("#cat_loader").css("display",""):$(a).hasClass("loc")&&($("#loc_loader").css("display",""),$(a).text("[ - Close ]"));$.get(f,function(b){_discussions.cat_id?_discussions.lr?_discussions.lr||2==_discussions.lr?($("#locale_si_regionale_11 #category_"+
_discussions.cat_id).append(b),typeof d=="undefined"&&$("#category_"+e+" a.plus").removeClass("plus").addClass("minus")):1==_discussions.lr&&$("#locale_si_regionale_11").append(b):($("#categories_11 #category_"+_discussions.cat_id).append(b),$("#category_"+e+" a.plus").removeClass("plus").addClass("minus")):$("#categories_11").append(b);$(a).show();_discussions.sender.removeClass("categ_2plus");_discussions.sender.addClass("categ_2minus");_discussions.checkCategory();_discussions.preloaderContainer.css("display",
"none");_discussions.locked=!1;$(a).hasClass("cat")?$("#cat_loader").css("display","none"):$(a).hasClass("loc")&&$("#loc_loader").css("display","none")})}}else this.sender=$(a),(this.cat_id="undefined"!=typeof b?b:0)?(b=$("#category_"+this.cat_id+' input[name="select_category"]'),$.each(b,function(a,b){$(b).attr("checked")==!0&&($(".categSelected").hide(),$("#defaultNoCat").show())}),$("#subcategoriesOf_"+this.cat_id).remove()):$("#categories_11 div.scateg_l2").remove(),this.sender.removeClass("categ_2minus"),
this.sender.addClass("categ_2plus"),e=!this.cat_id?1:this.cat_id,typeof d!="undefined"?this.sender.text("[ + Deschide ]"):this.sender.html('<a href="javascript:void(0)" class="plus">+</a>'),$("#category_"+e+" a.minus").removeClass("minus").addClass("plus")}},discPhoto=new function(){this.opened=0;this.view=function(a,b){if(!this.opened){this.opened=1;this.windowId=windowId="largeimage";var c=new InlinePopup(windowId);this.popup=c;/ AppleWebKit\//.test(navigator.userAgent)?c.show(".main",{callback:function(c){discPhoto.loadImage(c,
a,b)},runCallback:"before"}):c.show(".main",{effect:"fadeIn",speed:"fast",callback:function(c){discPhoto.loadImage(c,a,b)},runCallback:"before"})}};this.loadImage=function(a,b,c){var d=$('<div class="pmain"><a name="loginPopup"></a>');d.append('<a rel="nofollow" href="javascript:discPhoto.close()" class="pclose" title="'+_getNotice("pages","inchide_label")+'">'+_getNotice("pages","inchide_label")+"</a>");var e=$('<div class="pp">');e.append('<img src="/uploads/discavatars/'+c+"/"+b+'" width="450" />');
d.append(e);$("#"+a.placeHolder).html(d)};this.close=function(){this.popup.remove({effect:"fadeOut",speed:"fast"});this.opened=0}},fav=new function(){this.favInProgress=0;this.maxActions=3;this.setActionsCounter=function(){var a=getCookie("__niuz_ac__");if(!a.length)this.actionsCounter=0;a=parseInt(a);this.actionsCounter=isNaN(a)?0:a};this.getFavFor=function(a,b){if(!this.favInProgress)$("#favLoader").show(),this.favInProgress=1,typeof a=="undefined"||typeof b=="undefined"||$.post(HOST+"fav/getFav",
{u:a,s:b},function(a){$("#favLoader").hide();fav.favInProgress=0;a.status==1&&$("#favContent").html(a.data)},"json")};this.registerAction=function(){this.actionsCounter++;setCookie("__niuz_ac__",this.actionsCounter,0.09)};this.checkCaptcha=function(){if(this.actionsCounter<this.maxActions)return!1;var a=arguments.callee.caller.arguments,b=arguments.callee.caller,c=[];for(i=0;i<a.length;i++)c.push(a[i]);c.push(1);a=c;__captchaPopup.show(function(){b.apply(fav,a)});return!0};this.resetActionsCounter=
function(){this.actionsCounter=0;setCookie("__niuz_ac__",this.actionsCounter,-1)};this.addNews=function(a,b,c){$.post(HOST+"fav/addNews",{n:a,u:b,r:c},function(){$("#favNewsContainer"+a).html("<span>"+_getNotice("pages","favorite_label")+"</span>");$("#rankNewsContainer"+a).html("<span><em>Recomanda<br />stirea</em></span>")},"json")};this.delNews=function(a,b,c){$.post(HOST+"fav/delNews",{n:a,u:b,r:c},function(){$("#favNewsContainer"+a).html("<span>"+_getNotice("pages","favorite_label")+"</span>")},
"json")};this.addDisc=function(a){$.getJSON(HOST+"discussions/addToFavourites/"+a,function(){$("#favDiscContainer"+a).html("<span>Favorite</span>")})};this.delDisc=function(a){$("#discussion_"+a+" .is_not_favourite").css("display","none");$("#discussion_"+a+" .is_favourite").css("display","");$.getJSON(HOST+"discussions/delFromFavourites/"+a,function(){$("#favDiscContainer"+a).html("<span>Favorite</span>")})};this.addCategory=function(a,b){$.post(HOST+"fav/addCategory",{c:a,u:b},function(){$("#favCatContainer").html('<span class="sort_fav" title="'+
_getNotice("pages","adauga_la_favorite_label")+'">'+_getNotice("pages","favorita_label")+"</span>")},"json")};this.addLocation=function(a,b){$.post(HOST+"fav/addLocation",{c:a,a:b},function(){$("#favCatContainer").html('<span class="sort_fav" title="'+_getNotice("pages","adauga_la_favorite_label")+'">'+_getNotice("pages","favorita_label")+"</span>")},"json")}},rank=new function(){this.updateNews=function(a,b,c,d,e){$.post(HOST+"fav/updateNewsRank",{n:a,s:b,u:c,r:d,v:e},function(){},"json")}};
function toggleAccountMenu(a){a?($("#menuOpenHandler").hide(),$("#menuCloseHandler").show(),$(".js_my_profile").fadeIn("fast")):($("#menuOpenHandler").show(),$("#menuCloseHandler").hide(),$(".js_my_profile").fadeOut("fast"))}
function fbpublish(a){var b={message:"citeste stiri si participa la discutii pe Niuzer.ro",name:"Niuzer.ro",description:"Stiri si articole mai multe in timp mai scurt din toate domeniile in timp real. Fii Niuzer si deschide o discutie in domeniul care te intereseaza."};b.link=HOST+"/";b.picture=HOST+"/images/frontend/logo.png";b.caption="Niuzer.ro";FB.api("/me/feed","post",b,function(){typeof a.redirectTo!="undefined"?window.location.href=a.redirectTo:window.location.reload()})}
function fblogin(){FB.login(function(a){a.session&&((new InlinePopup("FbPopup")).show(".main",{justLoader:!0,loader:{_element:"span",_class:"ppreloader",_text:"Loading..."}}),FB.api("/me",function(a){$.post("/auth/fblogin",a,function(a){a.status>0?typeof a.first_time!="undefined"?fbpublish(a):typeof a.redirectTo!="undefined"?window.location.href=a.redirectTo:window.location.reload():window.location.href=a.status==-2?"/reactiveaza-cont.html":"/login.html"},"json")}))},{perms:"user_about_me,user_birthday,email,user_location,publish_stream"})}
$(document).ready(function(){try{FB.init({appId:__FBID__,status:!0,cookie:!0,xfbml:!0,channelUrl:__FBHOST__})}catch(a){}});
var LoginWindow=new function(){this.opened=0;this.windowId=this.popup=null;this.open=function(){if(!this.opened){this.opened=1;this.windowId=windowId="LoginWindow";var a=new InlinePopup(windowId);this.popup=a;/ AppleWebKit\//.test(navigator.userAgent)?a.show(".main",{callback:function(a){LoginWindow.loginForm(a)},runCallback:"before"}):a.show(".main",{effect:"fadeIn",speed:"fast",callback:function(a){LoginWindow.loginForm(a)},runCallback:"before"})}};this.close=function(){this.popup.remove({effect:"fadeOut",
speed:"fast"});this.opened=0};this.loginForm=function(a){var b=$('<div class="pmain"><a name="loginPopup"></a>');b.append('<a rel="nofollow" href="javascript:LoginWindow.close()" class="pclose" title="'+_getNotice("pages","inchide_label")+'">'+_getNotice("pages","inchide_label")+"</a>");var c=$('<div class="pp">');c.append('<div class="title" style="margin-top: 0px"><h2>'+_getNotice("pages","intra_in_cont_label")+'</h2><a class="fbconnect" href="javascript:fblogin();">Conecteaza-te prin FaceBook</a></div>');
var d=$('<table class="form1" cellspacing="0" cellpadding="0">'),e=$("<tr>");e.append('<td class="form1_1"><label for="emailW'+this.windowId+'">'+_getNotice("pages","adresa_de_email_label")+"</label></td>");e.append('<td class="form1_2"><input type="text" class="txt_1" id="emailW'+this.windowId+'" name="email" size="35" />');d.append(e);e=$("<tr>");e.append('<td class="form1_1"><label for="passwd'+this.windowId+'">'+_getNotice("pages","parola_label")+"</label></td>");e.append('<td class="form1_2"><input type="password" class="txt_1" name="pass" size="35" id="pass" />');
d.append(e);e=$("<tr>");e.append('<td class="corm1_1p"></td>');var f=$('<td class="form1_2">'),h=$("<table>"),g=$("<tr>");g.append('<td style="padding: 2px 0; width: 15px;"><input class="radio_button" type="checkbox" id="remember'+this.windowId+'" value="1" name="remember" checked="checked" /></td>');g.append('<td style="padding: 2px 4px; text-align: left;"><label for="remember'+this.windowId+'">'+_getNotice("pages","tinema_minte_label")+"</label></td>");h.append(g);f.append(h);e.append(f);d.append(e);
e=$("<tr>");f=$('<td colspan="2">');div=$('<div class="button">');div.append('<input type="hidden" name="backto" value="'+window.location.href+'" />');div.append('<input type="submit" name="submit_auth" value="'+_getNotice("pages","autentificare_label")+'" class="button" />');div.append('<span>&nbsp;&nbsp;or <a rel="nofollow" href="inregistrare.html"><strong>'+_getNotice("pages","inregistreazate_label")+'</strong></a> / <a rel="nofollow" style="text-align: right;" href="am-uitat-parola.html">'+_getNotice("pages",
"recupereaza_parola_label")+"</a></span>");f.append(div);e.append(f);d.append(e);c.append(d);b.append(c);c=$("<form>");c.attr("action","/login.html").attr("method","post").attr("autocomplete","on");c.append(b);$("#"+a.placeHolder).html(c);anchor=window.location.href.replace(/#(.*)/ig,"");window.location.href=anchor+"#"}},Ifr=function(a){this.frameId=a;this.loadInterval=this.loadTimeout=null;this.resizeFrame=function(){var a=$("#siteHeader").outerHeight(!0);$(document).height();a=$(window).height()-
a;$("#"+this.frameId).css("height",a+"px")};this.bindFrame=function(){var a=this;$("#"+this.frameId).load(function(){$("#ifrpreloader").hide();$("#"+a.frameId).show();clearTimeout(a.loadTimeout);clearInterval(a.loadInterval)})};this.handleLoadTimeout=function(){clearTimeout(this.loadTimeout);$("#"+this.frameId).unbind("load");$("#ifrpreloader").hide();$("#"+this.frameId).show()};this.setLoadTimeout=function(){this.loadTimeout=setTimeout(function(){$(document).trigger("ifrLoadTimedOut")},15E3);var a=
this;$(document).bind("ifrLoadTimedOut",function(){a.handleLoadTimeout()})};this.cancelAlert=function(){try{window=$("#newsifr")[0].contentWindow}catch(a){console.log(a)}};this.setCancelAlert=function(){this.loadInterval=setInterval(function(){$(document).trigger("ifrLoadingInterval")},100);var a=this;$(document).bind("ifrLoadingInterval",function(){a.cancelAlert()})};this.init=function(){this.resizeFrame();this.bindFrame()};this.init()};
startList=function(){if(document.all&&document.getElementById){cssdropdownRoot=document.getElementById("cssdropdown");for(x=0;x<cssdropdownRoot.childNodes.length;x++)if(node=cssdropdownRoot.childNodes[x],node.nodeName=="LI")node.onmouseover=function(){this.className+=" over"},node.onmouseout=function(){this.className=this.className.replace(" over","")}}};window.attachEvent?window.attachEvent("onload",startList):window.onload=startList;
var VariableMenu=new function(){this.menus={};this.lastEvent=this.lastId=null;this.init=function(){this.populateMenu();this.addEventHandlers()};this.addEventHandlers=function(){var a=$(".mainitems > a");$.each(a,function(a,c){var d=$(c);id=d.attr("id");if(id.length&&id!="c"+ACTIVE_MENU&&id!="c50"&&id!="c2"){var e=d.parent();(function(a){e.mouseenter(function(b){VariableMenu.showMenu(a,b)})})(id);(function(a){e.mouseleave(function(b){VariableMenu.hideMenu(a,b)})})(id)}})};this.showMenu=function(a,
b){$(b.currentTarget).append(this.menus[a])};this.hideMenu=function(a,b){$(b.currentTarget).children("ul").remove()};this.populateMenu=function(){var a='<ul class="subuls">';a+='<li><a href="Actualitate-Externa/">Actualitate Externa</a></li>';a+='<li><a href="Actualitate-Interna/">Actualitate Interna</a></li>';a+="</ul>";var b='<ul class="subuls">';b+='<li><a href="Filme/">Filme</a></li>';b+='<li><a href="Monden/">Monden</a></li>';b+='<li><a href="Muzica/">Muzica</a></li>';b+='<li><a href="Timp-Liber/">Timp Liber</a></li>';
b+="</ul>";var c='<ul class="subuls">';c+='<li><a href="Auto/">Auto</a></li>';c+='<li><a href="Business-International/">Business International</a></li>';c+='<li><a href="Economie/">Economie</a></li>';c+='<li><a href="Media-si-Comunicare/">Media si Comunicare</a></li>';c+='<li><a href="Real-Estate/">Real-Estate</a></li>';c+='<li><a href="Criza/">Stiri de criza</a></li>';c+="</ul>";var d='<ul class="subuls">';d+='<li><a href="Foto-Video/">Foto - Video</a></li>';d+='<li><a href="Hardware/">Hardware</a></li>';
d+='<li><a href="Internet/">Internet</a></li>';d+='<li><a href="Jocuri/">Jocuri</a></li>';d+='<li><a href="Software/">Software</a></li>';d+='<li><a href="Stiinta/">Stiinta</a></li>';d+='<li><a href="Telefoane-Mobile/">Telefoane Mobile</a></li>';d+="</ul>";var e='<ul class="subuls">';e+='<li><a href="Fotbal/">Fotbal</a></li>';e+='<li><a href="Sporturi-cu-Motor/">Sporturi cu Motor</a></li>';e+='<li><a href="Tenis/">Tenis</a></li>';e+='<li><a href="Baschet/">Baschet</a></li>';e+='<li><a href="Handbal/">Handbal</a></li>';
e+='<li><a href="Alte-Sporturi/">Alte Sporturi</a></li>';e+="</ul>";var f='<ul class="subuls">';f+='<li><a href="Evenimente/">Evenimente</a></li>';f+='<li><a href="Cultura-si-Educatie/">Cultura si Educatie</a></li>';f+='<li><a href="Sanatate/">Sanatate</a></li>';f+='<li><a href="Justitie/">Justitie</a></li>';f+='<li><a href="Copii/">Copii</a></li>';f+='<li><a href="Femei/">Femei</a></li>';f+='<li><a href="Comunicate-de-Presa/">Comunicate de Presa</a></li>';f+='<li><a href="Natura/">Natura</a></li>';
f+='<li><a href="Animale/">Animale</a></li>';f+="</ul>";this.menus.c7=a;this.menus.c34=b;this.menus.c19=c;this.menus.c9=d;this.menus.c4=e;this.menus.c39=f}};$(document).ready(function(){isIE6()||VariableMenu.init()});

