sfHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";}
sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");}}}
if(window.attachEvent)window.attachEvent("onload",sfHover);sfHover1=function(){var sfEls1=document.getElementById("side-nav").getElementsByTagName("LI");for(var i=0;i<sfEls1.length;i++){sfEls1[i].onmouseover=function(){this.className+=" sfhover1";}
sfEls1[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover1\\b"),"");}}}
if(window.attachEvent)window.attachEvent("onload",sfHover1);jQuery(document).ready(function(){jQuery('input[type=text],textarea').addClass('placeholder');});jQuery('input[type=text],textarea').focus(function(){if(jQuery(this).hasClass('placeholder')&&jQuery(this).val()==jQuery(this).attr('defaultValue'))
{jQuery(this).val('');jQuery(this).removeClass('placeholder');}});jQuery('input[type=text],textarea').blur(function(){if(jQuery(this).val()=='')
{jQuery(this).val(jQuery(this).attr('defaultValue'));jQuery(this).addClass('placeholder');}});jQuery(document).ready(function(){jQuery('.post a[href*=.jpg]').attr('rel','lightbox');jQuery('.post a[href*=.jpg]').fancybox({'zoomSpeedIn':700,'zoomSpeedOut':500});});jQuery('#print-page').click(function(){if(window.print){window.print();}else{alert('Go to File > Print to print this page');}
return false;});