/*
-----------------------------------------------------------------------------
WordPress Baseline Theme – JAVASCRIPT

updated:	17 June 2009
author:		Clayton Farr
url:		http://www.claytonfarr.com
-----------------------------------------------------------------------------*/

jQuery(document).ready(function () {
	
	/* logo fade-in */
	jQuery(".home #branding h1 a").animate({width: 'toggle'},1000);
	
	/* nav fade-in */
	jQuery(".home #nav-page").fadeIn(1000);
	
	/* photo fade-in */
	jQuery("div.entry").fadeIn(1500);

	/* css rules for previous, next links */
	  var cssObj = {
		position:"absolute",
		top:"515px",
		right:"5px",
		color:"#76751f",
		border:"none",
		background:"transparent",
		"text-transform":"uppercase",
		"font-size":"12px"
	}
	jQuery(".wp-pagenavi a:first-child").css(cssObj);
	jQuery(".wp-pagenavi a:last-child").css(cssObj);
	  var cssObjTwo = {
		left:"600px"
	}
	jQuery(".wp-pagenavi a:first-child").css(cssObjTwo);
	
	/* current_page_item fix */
	jQuery(".page-id-14 li.page-item-14").addClass("current_page_item");
	jQuery(".page-id-375 li.page-item-375").addClass("current_page_item");
	jQuery(".page-id-377 li.page-item-377").addClass("current_page_item");
	
	/* remove title tag from images */
	jQuery(".hentry img").attr("title","");
	
	/* contact form field focus */
	jQuery(".contact #clean_contact #clean_contact_from_name").focus();

});