$(document).ready(function() {
	$("#content > div").hide();
	$("#content").show().css({'float' : 'left', 'font-family' : 'tahoma','color' : '#676F7A','font-size' : '14px', 'position' : 'relative','padding' : '0 20px 20px','margin' : '-5px 0 0','border' : '2px solid #ccc','-moz-border-radius-topleft' : '0px',' -webkit-border-top-left-radius' : '0px' , 'border-top-left-radius' : '0px','-moz-border-radius-topright' : '0px', '-webkit-border-top-right-radius' : '0px','border-top-right-radius' : '0px','-moz-border-radius-bottomleft' : '10px','-webkit-border-bottom-left-radius' : '10px','border-bottom-left-radius' : '10px','-moz-border-radius-bottomright' : '10px','-webkit-border-bottom-right-radius' : '10px','border-bottom-right-radius' : '10px','width' : '627px'});
	
	$("#content > div:eq(0)").show();
	
	$("#tabs > a:eq(0)").css({"background" : "url(images/aba2.png) top left no-repeat", 'z-index' : '7', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	$("#tabs > a:eq(1)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '6', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	$("#tabs > a:eq(2)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '5', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	$("#tabs > a:eq(3)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '4', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	$("#tabs > a:eq(4)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '3', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	
	$("#tabs > a:eq(5)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '2', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	
	$("#tabs > a:eq(6)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '1', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	
	$("#tabs > a:eq(7)").css({"background" : "url(images/aba1.png) top left no-repeat", 'z-index' : '1', 'position' : 'relative', 'display' : 'block', 'float' : 'left'});
	
});

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'});
}
