var $j=jQuery.noConflict();$j(document).ready(function(){$j('.register-events select').css('width','550px');$j("select.select_region").attr("disabled","disabled");$j("div.one2onedd fselect").attr("disabled","disabled");$j(".select_expertise").change(function(){var c=$j(this).val();var b=$j(this).attr("id");var a=b.replace("select_expertise-","");if(c){$j(this).parent().parent().find("select.select_region").removeAttr("disabled")}else{$j(this).parent().parent().find("select.select_region").attr("disabled","disabled")}$j("#select_region-"+a).find("option").each(function(){if(c!=$j(this).attr("class")&&$j(this).val()!=""){if($j(this).parent()[0].tagName!="SPAN"){$j(this).wrap("<span clss='wrap' style='display:none'></span>")}}else{if($j(this).parent()[0].tagName=="SPAN"){$j(this).unwrap()}}$j(this).removeAttr("checked")});$j("#select_region-"+a).find("option:first").attr("selected","selected");$j(this).parent().parent().find("select.select_region").trigger("change")});$j(".select_region").change(function(){var c=$j(this).val();var b=$j(this).attr("id");var a=b.replace("select_region-","");if(c){$j(this).parent().parent().find("div.one2onedd fselect").removeAttr("disabled")}else{$j(this).parent().parent().find("div.one2donedd select").attr("disabled","disabled")}

$j("div#one2one-"+a+ " select").find("option").each(function(){

if(c!=$j(this).attr('class')  && $j(this).val()!=""){
   if($j(this).parent()[0].tagName!="SPAN"){
     $j(this).wrap("<span clss='wrap' style='display:none'></span>")
   }
} else {
   if($j(this).parent()[0].tagName=="SPAN"){
     $j(this).unwrap()
   }

   if($j(this).val()==""){
     $j(this).parent().parent().parent().find(".select_slot").hide()
   }
}

$j(this).removeAttr("checked")});$j("#select_expert-"+a).find("option:first").attr("class","null")});$j(".tweet").tweet({username:"ukti_atf",join_text:"auto",avatar_size:45,count:3,refresh_interval:60,auto_join_text_default:"",auto_join_text_ed:"",auto_join_text_ing:"",auto_join_text_reply:"",auto_join_text_url:"",loading_text:"loading tweets...",template:"{avatar}  {text}"});$j(".image").hover(function(){var a=$j(this).find("img");$j(a).css("margin-top","-104px")},function(){var a=$j(this).find("img");$j(a).css("margin-top","0px")});$j(".bubble").live("click",function(a){$j(this).css("display","none")});$j(".image").live("click",function(b){b.preventDefault();$j("body").find(".bubble").each(function(){$j(this).css("display","none")});var a=$j(this).parent().find(".bubble");$j(a).css("display","block");$j(a).css("margin-top","-25px");$j(a).css("margin-left","-10px");$j(a).css("position","absolute");$j(a).css("z-index","100")})});

