$(window).load(function(){
	$('.slider')._TMS({
		nextBu:'.next',
		prevBu:'.prev',
		playBu:'.play',
		preset:'diagonalExpand',
		easing:'easeOutQuad',
		duration:800,
		slideshow:6000})
	$('ul#menu').superfish({
      delay:       600,
      animation:   {height:'show'},
      speed:       600,
      autoArrows:  false,
      dropShadows: false
    });
})
$(document).ready(function(){		
	   var day=['SUNDAY','MONDAY','TUESDAY','WEDNESDAY','THURSDAY','FRIDAY','SATURDAY'],
	   month=['January','February','March','April','May','June','July','August','September','October','Novermber','December'];
	   SetData();
	   function SetData() {
		   var now = new Date();
		   $('.time').html(day[now.getDay()]+', ');
		   $('.time').append(' '+month[now.getMonth()]+' ');
		   $('.time').append(now.getDate()+', ');
		   $('.time').append(now.getFullYear()+' ');
		   hour=now.getHours();
		   minutes=now.getMinutes();
		   if (minutes<10) {minutes='0'+minutes};
		   $('.time').append(hour+':'+minutes);
		}
		setInterval(SetData,60);
		// form
		$('#Form').jqTransform({imgPath:'jqtransformplugin/img/'});	
		
		$("#twitter").getTwitter({
			userName: "cnfd84",
			numTweets: 5,
			loaderText: "Loading tweets...",
			slideIn: true,
			showHeading: true,
			headingText: "Latest News",
			showProfileLink: true
		});
});

