jQuery.noConflict();(function($){
/**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
* 
* @param  f  onMouseOver function || An object with configuration options
* @param  g  onMouseOut function  || Nothing (use configuration options object)
* @return    The object (aka "this") that called hoverIntent, and the event object
* @author    Brian Cherne <brian@cherne.net>
*/
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);
$(function(){var def=$('#search').val();$('#search').focus(function(){if($(this).val()==def)$(this).val('');}).blur(function(){if($(this).val()=='')$(this).val(def);});$('#left .box:odd').addClass('odd');$('#left .box:even').addClass('even');if(($.browser.msie)&&($.browser.version<=6)){$(':text, textarea').mouseover(function(){$(this).addClass('overthis');}).mouseout(function(){$(this).removeClass('overthis');});}
$(':text, textarea').focus(function(){$(this).addClass('clicked')}).blur(function(){$(this).removeClass('clicked');});$(':checkbox, :radio').addClass('check');$('.check').parent().addClass('checkdiv');$(':file').addClass('fileType');$('.tx-simplesurvey-pi1 :text').addClass('textType');$('.tx-simplesurvey-pi1-help a').hoverIntent({over:function(){$(this).next('.helpDiv').show('slow');},out:function(){$(this).next('.helpDiv').hide('slow');}});$('#right .tx-simplesurvey-pi1').wrap('<div class="commInner"></div>')
$('#trackback').wrapInner('<div class="holder"><div class="clip"></div></div>').append('<span class="edgeBottom"></span>');$('#left table.forum').each(function(){$(this).find('tr:even').addClass('even');$(this).find('td:first-child').addClass('firstTd');});$('.news-list-browse .tx-ttnews-browsebox-table').width($('#left').width());$('.news-list-browse .tx-ttnews-browsebox-table td:eq(1)').addClass('secondTd')
$('.threadauthor div').removeAttr('style');$('table.newpost tr:odd').addClass('oddtr');$('.news-single-imgcaption:empty').hide();$('.inregistrare .tx-mmforum-table tr').find('td:eq(0)').addClass('onrightTd');$('.onrightTd:last').addClass('lastTd').parent().prev().find('td').addClass('beforelastTd');$('h1:contains("concursuri")').parent().addClass('concursuri');$('.commercial:empty').hide();});})(jQuery);function OpenTrackback(url){if(url){var mypopup=window.open(url,'trackback','width=480,height=480,scrollbars=yes,status=yes');mypopup.focus();}}
function ShowTrackback(id){ID=document.getElementById(id);if(ID.style.display=="block")
ID.style.display="none";else
ID.style.display="block";}