$(document).ready(function() {
	$("#content > div").hide();
	$("#content > div:eq(0)").show();
	$("#tabs > a:eq(0)").css({"background" : "url(images/aba2.png) top left no-repeat", 'z-index' : '2', 'position' : 'relative', 'display' : 'block'});
	$("#tabs > a:eq(1)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '1', 'position' : 'relative', 'display' : 'block'});
	$("#tabs > a:eq(2)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '1', 'position' : 'relative', 'display' : 'block'});
	$("#tabs > a:eq(3)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '1', 'position' : 'relative', 'display' : 'block'});
	$("#tabs > a:eq(4)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '1', 'position' : 'relative', 'display' : 'block'});
	
});

function opentab(num) {
	$("#content > div").hide();
	$("#content > div:eq(" + (num-1) + ")").fadeIn();
	$("#tabs > a").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '1'});
	$("#tabs > a:eq(" + (num-1) + ")").css({"background" : "url(images/aba2.png) top left no-repeat", 'z-index' : '2'});
}
