// JavaScript Document

$(function(){
	if ($('#Carousel')){
			$('#Carousel').infiniteCarousel({
				displayThumbnails: 0,
				displayThumbnailBackground : 0,
				displayThumbnailNumbers: 0,
				displayProgressBar: 0,
				autoHideCaptions: 0,
				showControls: false
			});
	};
	
	if ($('#tweets').length) {
		//Start Twitter Action		
		new TWTR.Widget({id: 'tweets',version: 2,type: 'profile',rpp: 5,interval: 6000,width:315 ,height: 211,
						theme: {
								shell:{background: '#cd1c17',color: '#ffffff'},
								tweets:{background: '#ffffff',color: '#000000',links: '#cd1c17'}
				  				},
		 				features: {scrollbar: true,loop: false,live: true,hashtags: true,timestamp: true,avatars: false,behavior: 'all'}
	                    }).render().setUser('stopbiglabor').start();	
	};
	if ($('#FacebookWidget').length){
		FB.init("4cdb821df2c0741721f683c820581a78");
	};
	
	$("#USMap").maphilight( { fill: false, stroke: false } );
	$("#USMap").maphilight( { fill: false, stroke: false } );
});

