/********************************
jQuery Do when dom is ready!
*********************************/
$(document).ready(function()
{
	// toggle the writing
	$("a#togMyWriting").toggle(
		function() {
			$('#myWriting').show();
		},
		function() {
			$('#myWriting').hide();
		}
	);
	
	// toggle the video
	$("a#togMyVideo").toggle(
		function() {
			$('#myVideo').show();
		},
		function() {
			$('#myVideo').hide();
		}
	);
	
	// toggle the images
	$("a#togMyImages").toggle(
		function() {
			$('#myImages').show();
		},
		function() {
			$('#myImages').hide();
		}
	);
	
	// toggle the audio
	$("a#togMyAudio").toggle(
		function() {
			$('#myAudio').show();
		},
		function() {
			$('#myAudio').hide();
		}
	);
	
	// toggle the games
	$("a#togMyGames").toggle(
		function() {
			$('#myGames').show();
		},
		function() {
			$('#myGames').hide();
		}
	);
	
	// toggle the mashups
	$("a#togMyMashups").toggle(
		function() {
			$('#myMashups').show();
		},
		function() {
			$('#myMashups').hide();
		}
	);
	// toggle the mashups
	$("a#togResources").toggle(
		function() {
			$('#Resources').show();
		},
		function() {
			$('#Resources').hide();
		}
	);
	// toggle the groups
	$("a#togMyGroups").toggle(
		function() {
			$('#myGroups').show();
		},
		function() {
			$('#myGroups').hide();
		}
	);
	// toggle the members
	$("a#togMyMembers").toggle(
		function() {
			$('#myMembers').show();
		},
		function() {
			$('#myMembers').hide();
		}
	);
	
	// toggle the members of countries
	$("a#togMyCountry").toggle(
		function() {
			$('#myCountry').show();
		},
		function() {
			$('#myCountry').hide();
		}
	);

});

