$(document).ready(function() {// drop down menu starts//	jQuery('ul.sf-menu').superfish();// drop down menu ends// input hover effects in all browsers starts	$('input[type="text"]');	$('input[type="text"]').focus(function() {		if (this.value == this.defaultValue){ 			this.value = '';		}		if(this.value != this.defaultValue){			this.select();		}	});	$('input[type="text"]').blur(function() {		if ($.trim(this.value) == ''){			this.value = (this.defaultValue ? this.defaultValue : '');		}	});	// input hover effects in all browsers ends// fancybox starts	$("a.fancy_box").fancybox({		'transitionIn'		: 'elastic',		'transitionOut'		: 'elastic',		'titlePosition' 	: 'over',		'titleFormat'		: 'formatTitle'		});	$("a[rel=fancy_box_group]").fancybox({		'transitionIn'		: 'elastic',		'transitionOut'		: 'elastic',		'titlePosition' 	: 'over',		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {			return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';		}	});// fancybox ends	// zoom icon starts    $(".zoom_glass a").append("<span></span>");     $(".zoom_glass a").hover(function(){         $(this).children("span").fadeIn(200);     },function(){         $(this).children("span").fadeOut(200);     }); // zoom icon ends});// custom text replaced (for titles) startsCufon.replace('h2, .link, #body .main_content .comments .comment .comment_content .comment_head .right, #body .full_width .three_column_portfolio .item h2, #body .full_width .three_column_portfolio .item .actions a, #body .full_width .big_portfolio .item h1, #body .full_width .big_portfolio .item .actions a, #body .main_content .blog .blog_post .post_head h1 a, #body .full_width .big_portfolio .item h1 a, #body .full_width .three_column_portfolio .item h2 a', { hover: true });	Cufon.replace('#featured_content .body .box h1, #featured_content .body .box h2, #three_boxes .box h3, #footer .content h2, #body .main_content .head h1, #body .sidebar .body h3, #body .main_content .comments h3, #body .main_content .blog .blog_post .post_head h1, #body .main_content .comments .comment .comment_content .comment_head .right, #body .main_content .post_comment h3, #body .full_width .head h1, #body .full_width .three_column_portfolio .item h2, #body .full_width .three_column_portfolio .item .actions a, #body .full_width .big_portfolio .item h1, #body .full_width .big_portfolio .item .actions a, #body .half_main_content .head h1, #body .half_sidebar .body h3', { fontFamily: 'Myriad Pro' });// custom text replaced (for titles) ends
