

$(document).ready(function(){
						   
	$('a[href^="http://"]')
	  .attr({
		target: "_blank"
	  });
				
	$(".example8").colorbox({width:"680px", inline:true, href:"#contact"});
	$(".psduhtml").colorbox({width:"680px", inline:true, href:"#psdUhtml"});
	
	$(".example8").click(function(){ 
		$(".contact h4").css("display","block");
		$(".contact_content_left").css("display","block");
		$(".contact_content_right").css("display","block");
		$(".success").css("display","none");
	});
	
	$('input[type="text"]').focus(function() {
		$(this).parent().addClass("inputfocus")
	});
	$('input[type="text"]').blur(function() {
		$(this).parent().removeClass("inputfocus")
	});	
	$("textarea").focus(function() {
		$(this).parent().addClass("areafocus")
	});
	$("textarea").blur(function() {
		$(this).parent().removeClass("areafocus")
	});		

	//$("#tabs").tabs({ fx: { opacity: 'toggle' } });
	
	$(".boxcaption").css({opacity:0.8});
	
	$('.boxgrid.captionfull').hover(function(){
		$(".zoom").css("display","block");											 
		$(".cover", this).stop().animate({bottom:'-1'},{queue:false,duration:250});
	}, function() {
		$(".cover", this).stop().animate({bottom:'-55px'},{queue:false,duration:250});
	});	
	
	$(".zoom").colorbox();	
	$(".zoom").click(function(){ $(this).css("display","none")});
	
			
});

