// imin UI & functions

$(document).ready(function(){
	
	$(".design").click(function(){
	$("#main").load("php/design.php");
	$("#main").fadeOut('fast');
	document.title = "imin . projects . filter: Design ";
	$('html').animate({scrollTop:0}, 'slow'); 
	});
	
	$(".code").click(function(){
	$("#main").load("php/code.php");
	$("#main").fadeOut('fast');
	document.title = "imin . projects . filter: Code/Programming ";
	$('html').animate({scrollTop:0}, 'slow'); 
	});
	
	$(".html").click(function(){
	$("#main").load("php/html.php");
	$("#main").fadeOut('fast');
	document.title = "imin . projects . filter: HTML/CSS ";
	$('html').animate({scrollTop:0}, 'slow'); 
	});
	
	$(".flash").click(function(){
	$("#main").load("php/flash.php");
	$("#main").fadeOut('fast');
	document.title = "imin . projects . filter: Flash/ActionScript ";
	$('html').animate({scrollTop:0}, 'slow'); 
	});
						   
	$(".javascript").click(function(){
	$("#main").load("php/javascript.php");
	$("#main").fadeOut('fast');
	document.title = "imin . projects . filter: JavaScript ";
	$('html').animate({scrollTop:0}, 'slow'); 
	});
	
	$("#expand").click(function(){
	$("#tail").load("php/more-expand.php");
	// $("#tail").fadeOut('fast');
	});
	
	$(".top").click(function(){
	$('html').animate({scrollTop:0}, 'slow'); 
	});
	
	
	// Thumb Hover
	$("img.screen").hover(function(){
	$(this).fadeTo("slow", 0.95);
	},function(){
	$(this).fadeTo("slow", 1.0);
	});
	
	// Tags Hover
	$(".tags a").hover(function(){
	$(this).fadeTo("slow", 1.0);
	},function(){
	$(this).fadeTo("slow", 0.7);
	});
   

});