$(function(){
	  
  /* =========================================================== */
	$("#A").mouseenter(function(){
					   $("#firstA").fadeOut("fast");
					   $("#secondA").fadeIn("fast");
	});
  $("#A").mouseleave(function(){
					 $("#secondA").fadeOut("fast");
					 $("#firstA").fadeIn("fast");
					 });
  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#P").mouseenter(function(){
					 $("#firstP").fadeOut("fast");
					 $("#secondP").fadeIn("fast");
					 });
  $("#P").mouseleave(function(){
					 $("#secondP").fadeOut("fast");
					 $("#firstP").fadeIn("fast");
					 });
  
  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#C").mouseenter(function(){
					 $("#firstC").fadeOut("fast");
					 $("#secondC").fadeIn("fast");
					 });
  $("#C").mouseleave(function(){
					 $("#secondC").fadeOut("fast");
					 $("#firstC").fadeIn("fast");
					 });
  
  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#B").mouseenter(function(){
					 $("#firstB").fadeOut("fast");
					 $("#secondB").fadeIn("fast");
					 });
  $("#B").mouseleave(function(){
					 $("#secondB").fadeOut("fast");
					 $("#firstB").fadeIn("fast");
					 });

  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#sideH").mouseenter(function(){
						 $("#blackBox").animate({top:0,});
						 $("#blackBox").css({'border' :'solid 3px #000000'});
						 });
  
  $("#sideH").mouseleave(function(){
						 });
  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#sideA").mouseenter(function(){
						 $("#blackBox").animate({top:150,});
						 $("#blackBox").css({'border' :'solid 3px #0072BC'});
						 $("#sideAup").fadeOut();
						 });
  
  $("#sideA").mouseleave(function(){
						 $("#sideAup").fadeIn();
						 });
  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#sideC").mouseenter(function(){
						 $("#blackBox").animate({top:300,});
						 $("#blackBox").css({'border' :'solid 3px #ED1C24'});
						 $("#sideCup").fadeOut();
						 });
  
  $("#sideC").mouseleave(function(){
						 $("#sideCup").fadeIn();
						 });
  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#sideB").mouseenter(function(){
						 $("#blackBox").animate({top:600,});
						 $("#blackBox").css({'border' :'solid 3px #00A651'});
						 $("#sideBup").fadeOut();
							});
  
  $("#sideB").mouseleave(function(){
						 $("#sideBup").fadeIn();
						 });
  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#sideP").mouseenter(function(){
						 $("#blackBox").animate({top:450,});
						 $("#blackBox").css({'border' :'solid 3px #F4E30C'});
						 $("#sidePup").fadeOut();
						 });
  
  $("#sideP").mouseleave(function(){
						 $("#sidePup").fadeIn();
						 });
   /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  $("#menuWrapper").mouseleave(function(){
							   $("#blackBox").css({'border' : 'none'});
							   });
/* +++++++++++++++++++++++++++++++Code for resume effect++++++++++++ 
	summaryDescription
	educationDescription
	employmentDescription
	skillsDescription
	softwareDescription*/
	
	$("#summaryDescription").hide();
	$("#educationDescription").hide();
	$("#employmentDescription").hide();
	$("#skillsDescription").hide();
	$("#softwareDescription").hide();
/* ---------------------------------------- 
	$("#summaryButton1").click(function(){
		$(this).hide();
		$("#summaryButton2").show();
		$("#summaryDescription").fadeIn(500);
	});
	
	$("#summaryButton2").click(function(){
		$(this).hide();
		$("#summaryButton1").show();
		$("#summaryDescription").fadeOut(500);
	});
	
 	$("#educationButton1").click(function(){
		$(this).hide();
		$("#educationButton2").show();
		$("#educationDescription").fadeIn(500);
	});
	
	$("#educationButton2").click(function(){
		$(this).hide();
		$("#educationButton1").show();
		$("#educationDescription").fadeOut(500);
	});
		
	$("#employmentButton1").click(function(){
		$(this).hide();
		$("#employmentButton2").show();
		$("#employmentDescription").fadeIn(500);
	});
	
	$("#employmentButton2").click(function(){
		$(this).hide();
		$("#employmentButton1").show();
		$("#employmentDescription").fadeOut(500);
	});
		
	$("#skillsButton1").click(function(){
		$(this).hide();
		$("#skillsButton2").show();
		$("#skillsDescription").fadeIn(500);
	});
	
	$("#skillsButton2").click(function(){
		$(this).hide();
		$("#skillsButton1").show();
		$("#skillsDescription").fadeOut(500);
	});
		
	$("#softwareButton1").click(function(){
		$(this).hide();
		$("#softwareButton2").show();
		$("#softwareDescription").fadeIn(500);
	});
	
	$("#softwareButton2").click(function(){
		$(this).hide();
		$("#softwareButton1").show();
		$("#softwareDescription").fadeOut(500);
	});*/
	
	/* =============Code for the porfolio========================== */
	
	$("#closeSample").click(function(){
		$(".portHolder").fadeOut("fast");
		$(".flashSample").remove();
	});
		
	$("#sanJose").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='720' height='576' id='FlashID' title='San Jose Clinic'><param name='movie' value='Media/San_Jose_Clinic.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/Dacnce.swf' width='720' height='576'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
	
	$("#flykids").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='396' height='612' id='FlashID' title='Flash Kids Summer Intensive'><param name='movie' value='Media/Summer_Intensive.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/Summer_Intensive.swf' width='396' height='612'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
	
	$("#six").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='396' height='612' id='FlashID' title='Flash Kids Six Insects'><param name='movie' value='Media/Six-Insects.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/Six-Insects.swf' width='396' height='612'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
	
	
	$("#GE").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='684' height='612' id='FlashID' title='Flash Kids Six Insects'><param name='movie' value='Media/GE_Report.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/GE_Report.swf' width='684' height='612'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
	
	$("#impressions").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='700' height='288' id='FlashID' title='Flash Kids Six Insects'><param name='movie' value='Media/Impressions.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/Impressions.swf' width='700' height='288'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
	
	$("#bellaire").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='800' height='518' id='FlashID' title='Flash Kids Six Insects'><param name='movie' value='Media/Bellaire.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/Bellaire.swf' width='800' height='518'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
	
	$("#soccer").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='288' height='432' id='FlashID' title='Flash Kids Six Insects'><param name='movie' value='Media/soccer.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/soccer.swf' width='288' height='518'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
	
	$("#writer	").click(function(){
		$(".flashSample").remove();
		$(".portHolder").append("<div class='flashSample'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='432' height='288' id='FlashID' title='Flash Kids Six Insects'><param name='movie' value='Media/Writer.swf'><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --><!--[if !IE]>--><object type='application/x-shockwave-flash' data='Media/Writer.swf' width='432' height='288'><!--<![endif]--><param name='quality' value='high'><param name='wmode' value='opaque'><param name='swfversion' value='6.0.65.0'><param name='expressinstall' value='../../Scripts/expressInstall.swf'><!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --><div><h4>Content on this page requires a newer version of Adobe Flash Player.</h4><p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></div>");
		$(".portHolder").fadeIn("slow");
	});
  /* +++++++++DON'T WRITE BELOW HERE+++++++++++++++++++++++++++++++ */
 });
