(function ($) {
	$(document).ready(function(){ 
		//$('.view-maps iframe').attr('width','480');
		//$('.view-maps iframe').attr('height','320');
		$('#block-menu-menu-footer-menu ul.menu li').each(function(index) {
			$(this).attr('id', 'footer-link-' + index);
		});
		
		$('a.iframe').each(function() {
			$(this).replaceWith("<iframe src='"+$(this).attr('href')+"' width='580' height='420'></iframe>");
		});
		
		$('#block-views-maps-block-1 .views-slideshow-controls-bottom .views-content-title').click(function() {
			$('#block-views-maps-block-1 .views-slideshow-controls-bottom .active-map').removeClass('active-map');
			$(this).addClass('active-map');
		});
		
	});
})(jQuery);;

