var $j = jQuery.noConflict();

$j.fn.cycle.defaults.timeout = 6000;

$j(function() { 
    $j('#slider').cycle({
        fx:     'fade',
        speed:  'fast',
        timeout: 8000,
        pager:  '#sliderNav'
    });
});
   
//$j(document).ready(function() {
//    
//    $j('#jsddm').dropDownMenu({
//        timer: 1000,
//        parentMO: 'parent-hover',
//        childMO: 'child-hover1'
//    });
//    
// 
//});

	$j(document).ready(function() {
		//Default Action
		$j(".tab_content").hide(); //Hide all content
		$j("ul.tabs li:first").addClass("active").show(); //Activate first tab
		$j(".tab_content:first").show(); //Show first tab content
		
		//On Click Event
		$j("ul.tabs li").click(function() {
			$j("ul.tabs li").removeClass("active"); //Remove any "active" class
			$j(this).addClass("active"); //Add "active" class to selected tab
			$j(".tab_content").hide(); //Hide all tab content
			var activeTab = $j(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
			$j(activeTab).fadeIn(); //Fade in the active content
			return false;
		});
	});
