// JavaScript Document
$(document).ready(function()	{			
	
	// Social Links
	//socialLinks();
	
	//posLogo($(window).width());
	
	

$('#james_w').mouseover(function() {
  $(this).attr('src', 'images/james_alternate.jpg');
});

$('#james_w').mouseout(function() {
  $(this).attr('src', 'images/james.jpg');
});
	
	

});

/*
	Make sure logo displays correctly


function posLogo(winWidth)	{
	if(winWidth < 1202)	{
		$("#wrapper").css({
		  overflow: "hidden"						  
		  });		
	} else	{
		$("#wrapper").css({
		  overflow: "visible"						  
		  });
	}
}*/


function socialLinks()	{

	var targetWidth = '';
	
	$("#soc_links a.soc_launch").toggle(function()	{																		
												
		targetId = $(this).attr("href");
		targetWidth = $(targetId).width();
		
		$(targetId).show("slow").animate({
										 left : 0
										 });
		$("a.soc_launch").animate({
								  left : targetWidth
								  });
		
		return false;
	}, function()	{
	
		targetId = $(this).attr("href");
		targetWidth = $(targetId).width();
		
		$(targetId).show("slow").animate({
										 left : "-" + targetWidth
										 });
		$("a.soc_launch").animate({
								  left : 0
								  });
	
	});
	
}

