
	$(document).ready(function(){
		$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
	try
	{
		var ticker_holder = $('.ticker-holder').get(0);
		var ticker_text = $('.ticker').get(0);
		var ticker_pos = ticker_text.parentNode.offsetWidth;

		var ticker_data = $(ticker_holder).html();
		$(ticker_text).parent().html('<marquee scrollamount="1" scrolldelay="40">' + ticker_data + '</marquee>');

		$('#sub-nav').hover
		(
			function() { $('marquee', this).get(0).stop();  },
			function() { $('marquee', this).get(0).start(); }
		);

		
	}
	catch (o) {}
		
	});

ddsmoothmenu.init({
	mainmenuid: "smoothmenu1",
	orientation: 'h',
	classname: 'ddsmoothmenu', 
	contentsource: "markup"
})

ddsmoothmenu.init({
	mainmenuid: "smoothmenu2", //Menu DIV id
	orientation: 'v',
	classname: 'ddsmoothmenu-v',
	contentsource: "markup" 
})

ddsmoothmenu.init({
	mainmenuid: "smoothmenu-ajax",
	orientation: 'h',
	classname: 'ddsmoothmenu',
	customtheme: ["#1c5a80", "#18374a"],
	contentsource: ["smoothcontainer", "smoothmenu.htm"] 
})
