jQuery(function() {
	/* PRETTYPHOTO */
	if(jQuery(".btn-full-map").length>0) {
		jQuery(".btn-full-map[rel^='prettyPhoto']").prettyPhoto({theme: 'facebook'});
	}
	if(jQuery(".single_gallery").length>0) {
		jQuery(".single_gallery ul li a[rel^='prettyPhoto']").prettyPhoto({theme: 'facebook'});
	}
	
	/* LANDING SLIDER */
		if(jQuery("#slideshow").length>0){
			jQuery('#slideshow').fadeSlideShow({
				width: 614,
				speed: 'slow',
				interval: 8000,
				PrevElementText: '<strong>Prev</strong>',
				NextElementText: '<strong>Next</strong>',
				autoplay: false
			});
		}
	
	/* newsticker */
	if(jQuery(".newsticker-jcarousellite").length>0){
		jQuery(".newsticker-jcarousellite").jCarouselLite({
			vertical: true,
			hoverPause:true,
			visible: 1,
			auto:8000,
			speed:1000
		});
	}
	
	
	
	/* TABBER */
	
	if(jQuery(".tabNav ul li").length>0){
		jQuery(".tabNav ul li a").click(function() {
			var tabId = jQuery(this).parent().attr('id');
			tabId = tabId.split("_");
			jQuery(".tabContent").css("display", "none");
			jQuery(".tabContent_"+tabId[1]+"").css("display", "block");
			return false;
		});
	}

	jQuery('#linkedin span span span a').ready(function (){
		setTimeout("jQuery('#linkedin span span span a').html(' ');",100);
		setTimeout("jQuery('#linkedin span span span a').html(' ');",500);
		setTimeout("jQuery('#linkedin span span span a').html(' ');",1000);
		setTimeout("jQuery('#linkedin span span span a').html(' ');",2000);
		setTimeout("jQuery('#linkedin span span span a').html(' ');",3000);
		setTimeout("jQuery('#linkedin span span span a').html(' ');",5000);
		//jQuery('#linkedinscript span span span a').click();
	});

});		   


