//home page slider
	$(document).ready(function(){
		$('#slider_area').cycle({ 
			fx:     'fade', 
			easing: 'backout', 
			timeout: 10000, 
			pager:  '#numbers', 
			cleartype:  1,
			pagerAnchorBuilder: function(idx) { 
				return '<li><a href="#" title="">' + (idx+1) + '</a></li>'; 
			} 
		});
	});
//cufon fonts
	$(document).ready(function(){
		Cufon.replace('h1,h2,h3,h4,h5,h6,#navigation', {hover: true});
	});
//page peel effect
	$(document).ready(function(){
		$("#pageflip").hover(function() {
			$("#pageflip img , .msg_block").stop()
				.animate({
					width: '307px', 
					height: '319px'
				}, 500); 
			} , function() {
			$("#pageflip img").stop() 
				.animate({
					width: '50px', 
					height: '52px'
				}, 220);
			$(".msg_block").stop() 
				.animate({
					width: '50px', 
					height: '50px'
				}, 200);
		});
	});
//validate contact form
  $(document).ready(function(){
	  jQuery.validator.messages.required = "";
		$("#validate_form").validate({});
  });
//pretty photo
	$(document).ready(function(){
		$("a[rel^='prettyPhoto']").prettyPhoto();
	});

