$(function(){$("#menu ul").lavaLamp({fx:"backout",speed:700});});function showinfo(infotoshow){$('.proinfo').slideUp("fast");$('.coninfo').slideUp("fast");if(infotoshow!=''){$('#'+infotoshow).slideDown("fast");}}
$(document).ready(function(){$content=$(".wp_cumulus_widget div").html();$(".wp_cumulus_widget").mouseover(function(){$(".wp_cumulus_widget").addClass("cumuluszoom");$(".wp_cumulus_widget").mouseout(function(){$(this).removeClass("cumuluszoom");});});if(getUrlVars()["highlight"]=='s2'){highlights2();}});var jump=function(e)
{e.preventDefault();var target=jQuery(this).attr("href");jQuery('html,body').animate({scrollTop:jQuery(target).offset().top},1000,function(){location.hash=target;});}
jQuery(document).ready(function(){jQuery('.post a[href*=#]').each(function(){if(jQuery(this).attr('href').charAt(0)=='#'){jQuery(this).bind("click",jump);}});return false;});function highlights2(){if($('.s2_form_widget')){$('html,body').animate({scrollTop:$('.s2_form_widget').offset().top-100},1000,function(){$('.s2_form_widget').effect("highlight",{color:"#ec7f23"},500);});}}
function getUrlVars(){var vars={};var parts=window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(m,key,value){vars[key]=value;});return vars;}
