// JavaScript Document // Jquery
$(document).ready(function(){
$("#javascript").css({display: "none"});
});


//hover menu
$(document).ready(function(){
	$(".a").hover(function() {
		$(this).animate({"opacity": "0"}, "slow");
		
		
	},
	function() {
		$(this).animate({"opacity": "1"}, "slow");
		
	});
});


// hover footerlinks
$(document).ready(function(){
	$(".sub").hover(function() {
		$(this).stop().animate({color: "#666666"}, "slow");
		
	},
	function() {
		$(this).stop().animate({color: "#ffffff"}, "slow");
		
	});
});


// fadein content

//$(document).ready(function(){
//$(".fader").css({opacity: "0"});
//});


$(document).ready(function(){
	$(".sub").mousedown(function() {
		$("#mask").animate({"opacity": "1"}, 100);
		$(".fader").animate({"opacity": "0"}, 100);	
		
	});
});

$(document).ready(function(){
	//$(".fader").animate({"opacity": "1"}, 500);	
	$("#mask").animate({"opacity": "0"}, 100);
	 Cufon.replace("h1");	
	 cleartype:  1	
});








/*
//fade content
$(document).ready(function(){
	$(".sub").click(function() {
		
		$("#cycle").css({opacity: "0"});	
		
			
		var str = $(this).html();	
		var maxm = str.length;
		var wich = str.substring(2);		
		
		var myid = $(this).attr("id");	
		var add = (myid + "_t");
		var newid = "#" + add;		
		
		$("#mask").animate({opacity: "1"}, 500);		
		$(".fade").fadeOut(500, function() {
		
		  $("#heading").html(wich);		
		  Cufon.replace("h1");
		  $("#maintext").html($(newid).html());
		  cleartype:  1			  
		  $(".fade").fadeIn(500);
		  $("#mask").animate({opacity: "0"}, 500);
		  
		  $("#showpic").click(function() {
		  $("#cycle").animate({opacity: "1"}, 500);	
		  $("#showpic").css({display: "none"});		
		  });		
			
		});
	});
});
*/

























