// do not edit this file, it is created by the theme, any edits will be lost

jQuery(document).ready(function(){
	jQuery('.entry-post:last').css('border', 'none');
	var padding = jQuery('body.single .entry-content').css('padding-bottom');
	jQuery('.entry-post:last').css('padding-bottom', '0');
	jQuery('.entry-post:last').css('background-image', 'none');
			
	jQuery('a#hidden-bio').click(function(){
		 
		jQuery('#bio-inner').css('background', 'none');
				jQuery('#bio').slideToggle(350,function(){
			jQuery('#bio-outer').css('display', 'block');
			jQuery('#biocolumns').css('display', 'inline');
			jQuery('.biocolumn').css('display', 'block');
			jQuery('#bio-inner').css('background', 'url(http://www.jamieweiss.com/blog/wp-content/themes/prophoto2/images/bio-pageturn.jpg) no-repeat top right');
		});
	});
		 
});




var params = {
	FlashVars: "path2xml=http://www.jamieweiss.com/blog/wp-content/uploads/p2/images.xml?74443",
	bgcolor: "#121212",
	wmode: "opaque"
}
swfobject.embedSWF("http://www.jamieweiss.com/blog/wp-content/themes/prophoto2/flash/flashheader.swf", "flash-header", "962", "250", "7.0.0", "http://www.jamieweiss.com/blog/wp-content/themes/prophoto2/flash/expressinstall.swf", false, params);
sfHover = function() {
	var sfEls = document.getElementById("topnav").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);

jQuery(document).ready(function(){        
    jQuery(".entry-content img").lazyload({
		effect : "fadeIn",
		threshold : 1500,
		placeholder : "http://www.jamieweiss.com/blog/wp-content/themes/prophoto2/images/nodefaultimage.gif" 
	});
});
jQuery(document).ready(function(){
	jQuery(".form-message").animate({opacity: 1.0}, 3500);
	jQuery(".form-message").fadeTo(500, 0);
	jQuery(".form-message").slideUp(300);
});



