// <![CDATA[
$(function() {	// Slider	// radius Box	$('.index-img img, .index-box, .pic img').css({"border-radius":"6px", "-moz-border-radius":"6px", "-webkit-border-radius":"6px"});	$('.topnav ul li ul, .cs-title').css({"border-bottom-left-radius":"6px", "border-bottom-right-radius":"6px", "-moz-border-radius-bottomleft":"6px", "-moz-border-radius-bottomright":"6px", "-webkit-border-bottom-left-radius":"6px", "-webkit-border-bottom-right-radius":"6px"});	$('.centercol-bg').css({"border-top-left-radius":"6px", "border-top-right-radius":"6px", "-moz-border-radius-topleft":"6px", "-moz-border-radius-topright":"6px", "-webkit-border-top-left-radius":"6px", "-webkit-border-top-right-radius":"6px"});/*	for( i=1; i < length; i++){		$('#tab' + i ).hover ( function() {			$('#ctab' + 1).show();			$('#ctab2').hide();			$('#ctab3').hide();		});	}*/	$(".tab").mouseover(function() {		$('.show').removeClass("show");		$('.active_content').removeClass("active_content");		$('.active_tab').removeClass("active_tab");	}).hover(function() {		var show_cont = $(this).attr('show');		$(this).addClass("active_tab");		$('#'+show_cont).addClass("active_content");	});		/*	$('#tab2').hover ( function() {		$('#ctab1').hide();		$('#ctab2').show();		$('#ctab3').hide();	});	$('#tab3').hover ( function() {		$('#ctab1').hide();		$('#ctab2').hide();		$('#ctab3').show();	});*/
});
// Cufon//Cufon.replace('h1', { hover: true });//Cufon.replace('h2, h3', { fontFamily: 'PT Sans', hover: true });// ]]>/*
$(document).ready(function(){
	//Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)
	$("ul.sub-menu").parent().addClass("wSub");
	$("ul.sub-menu ul.sub-menu").parent().addClass("wSub2");
	$("ul.sub-menu ul.sub-menu").parent().removeClass("wSub");
	$("ul.main-menu > li.wSub").mouseover(function() { //When trigger is clicked...
		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).find("> ul.sub-menu").slideDown('fast').show(); //Drop down the subnav on click
		$(this).hover(function() {
		}, function(){
			$(this).parent().find("ul.sub-menu").hide(); //When the mouse hovers out of the subnav, move it back up
		});
		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});
	
	$("ul.main-menu li.wSub2 ").mouseover(function() {
		$(this).find("> ul.sub-menu").slideDown('fast').show(); //Drop down the subnav on click
		$(this).hover(function() {
		}, function(){
			$(this).parent().find("ul.sub-menu").hide(); //When the mouse hovers out of the subnav, move it back up
		});
		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});
});
*/
