	/*
	* http://www.devtrix.net/sliderman/
	* common.js
	* Author: Alex Baskov (http://www.devtrix.net)
	* (c) Devtrix, 2010
	*/

	$(document).ready(function() {

		$("html").attr("id", "JS");

		$("a.show_code").click(function () {
			if ($(this).hasClass("show_code_open"))
			{
				$(this).removeClass("show_code_open").html("Show source code &darr;");
				$("#" + $(this).attr("rel") + "_code").slideUp("fast");
			}
			else
			{
				$(this).addClass("show_code_open").html("Hide source code &uarr;");
				$("#" + $(this).attr("rel") + "_code").slideDown("fast");
			}
			return false;
		});
/*
		$("#social").find("span").css({ opacity: 0.5 });
		$("#social2").find("span").css({ opacity: 0.5 });

		$("#social").find("span").hover(function() {
			$(this).animate({ opacity: 1.0 }, 300, "linear");
		}, function() {
			$(this).animate({ opacity: 0.5 }, 600, "linear");
		});

		$("#social2").find("span").hover(function() {
			$(this).animate({ opacity: 1.0 }, 300, "linear");
		}, function() {
			$(this).animate({ opacity: 0.5 }, 600, "linear");
		});
*/
		$(".ybuzz").hide();

		$("#end").hover(function() {
			$("#end_buttons").animate({ opacity: 1.0 }, 500, "linear");
		}, function() {
			$("#end_buttons").animate({ opacity: 0.3 }, 1000, "linear");
		});

	});


