jQuery(document).ready(function(){
	jQuery('ul.sf-menu').superfish({ 
		delay: 0,
		animation: {height: 'show'},
		speed: 'fast',
		autoArrows: false,
		dropShadows: false
	});
	jQuery('ul.sf-menu li > a').addClass('nt');
	jQuery('ul.sf-menu li ul li > a').removeClass('nt');
	jQuery('ul.sf-menu li.current-menu-item > a').addClass('current');
	jQuery('ul.sf-menu li.current_page_parent > a').addClass('current');
	jQuery(function(){ jQuery('p.follow a').click(function() { window.open(this.href); return false; }); });
	jQuery(function(){ jQuery('.social li a.twitter').click(function() { window.open(this.href); return false; }); });
	jQuery(function(){ jQuery('.social li a.linkedin').click(function() { window.open(this.href); return false; }); });
	jQuery(function(){ jQuery('#mailchimp p a').click(function() { window.open(this.href); return false; }); });
	jQuery('#swf').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		timeout: 0, // milliseconds between slide transitions (0 to disable auto advance)
		pager: '#homenavigation', // selector for element to use as pager container 
		pagerAnchorBuilder: function(idx, slide) { // return selector string for existing anchor 
        return '#homenavigation ul li:eq(' + idx + ') a'; }
	});
	jQuery('.home #sidebar .widgettitle span').each(function() {
		var src = 'http://lumetrasolutions.com/news/';
		var a = jQuery('<a/>').attr('href', src).attr('title','News and Events');
		jQuery(this).wrap(a);
	});
});