$(document).ready(function() {

	//Default Action
	$(".tab_content").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs li").click(function() {
		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).toggle(); //Fade in the active content
		return false;
	});

});

		$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			$("a.hr-over").colorbox();
			});
		

$(function() {
$(".image").click(function() {
var image = $(this).attr("large");
var size = $(this).attr("sez");
$('.leftImage').hide();
$('.leftImage').fadeIn('fast');
$('.leftImage').html('<a href="' + size + '" class="hr-over" rel="gallery" >'+'<img src="' + image + '"/></a>');
$("a.hr-over").colorbox();
return false;
	});
});

<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->

