$(document).ready(function() {
	//remove skype
	function removeSkypes() {
		$('.skype_pnh_container').remove(); 
		$('.skype_pnh_print_container').removeClass('skype_pnh_print_container');
	}		
	window.setTimeout(removeSkypes, 100);
	window.setTimeout(removeSkypes, 800);

	 var timer = setInterval(showLogo, 3000);
	 function showLogo(){
	 		
	 		current = $('div.img_roller_area a.shown');
	 		current.removeClass('shown').hide();	
	 		current.next().addClass('shown').fadeIn('slow');
	 		 		
	 		if ( $('div.img_roller_area a').index(current) == $('div.img_roller_area a').length-1){
	 			$('div.img_roller_area a').first().addClass("shown").fadeIn('slow');
	 		}
	 		
	 }
	$('a#nolink').click(function(e){
		e.preventDefault();
	});
	
	var timer = setInterval(showImg, 10000);
	 function showImg(){
	 		
	 		current = $('img.shownpic');
	 		toggle = $('img.shownpic');
	 		current.removeClass('shownpic').fadeOut(3000);
	 		toggle.next().addClass('shownpic').fadeIn(3000);
	 			//alert('done');
	 		 		
	 		if ( $('div#imageCarousel img').index(current) == $('div#imageCarousel img').length-1){
	 			$('div#imageCarousel img').first().addClass("shownpic").fadeIn(2000);
	 		}
	 		
	 }
	$('a#nolink').click(function(e){
		e.preventDefault();
	});
	
});


