var searchDefault='search';var searchColor='#000000';var obj=null;function checkHover(){if(obj)obj.find('ul').fadeOut('fast');}
jQuery(function(){jQuery('#header ul > li').hover(function(){if(obj){obj.find('ul').css('display','none');obj=null;}
jQuery(this).find('ul').fadeIn();},function(){obj=jQuery(this);setTimeout("checkHover()",1000);});jQuery('#s').attr({'value':searchDefault});jQuery('#s').focus(function(){var temp=jQuery(this).attr('value');color=jQuery(this).css('color');jQuery(this).css({'color':searchColor});if(temp==searchDefault)
jQuery(this).attr({'value':''})});jQuery('#s').blur(function(){if(jQuery(this).attr('value')==''){jQuery(this).attr({'value':searchDefault});}
jQuery(this).css({'color':color});});jQuery('.sidebar img').animate({"opacity":1});jQuery('.sidebar img').hover(function(){jQuery(this).stop().animate({"opacity":1});},function(){jQuery(this).stop().animate({"opacity":1});});jQuery('#content a img').parent().attr({'rel':'lightbox[blah]'});var tempBoxH=jQuery('.featured .buffer').height();var tempImgH=jQuery('.featured .buffer img').height();var tempH=(tempImgH- tempBoxH)/2;jQuery('.featured .buffer img').css('margin-top','-'+tempH+'px');var tempBoxH=jQuery('.catlatest .thumb .buffer').height();var tempImgH=jQuery('.catlatest .thumb .buffer img').height();var tempH=(tempImgH- tempBoxH)/2;jQuery('.catlatest .thumb .buffer img').css('margin-top','-'+tempH+'px');});
