function viewGallary(gallery){		
 
	$('#editFrame').attr('src', '/lightboxes/'+gallery+'.php');
	$('#editFrame').modal({
		overlay:80,
		overlayCss: {backgroundColor:"#000000"},
		overlayClose:true,
		containerCss:{		
			height:540,
			padding:0,
			width:870,
			overflow: "hidden"
		},
		
		minHeight: 356, //this fixes IE bug when the width and height is not set in the style sheet!!
		maxWidth: 870 //this fixes IE bug!!
	});	
	
	_gaq.push(['_trackPageview','/lightbox/image_gallery']);
	
}	


function viewWeather(weather){		
 
	$('#editFrame').attr('src', '/lightboxes/'+weather+'.php');
	$('#editFrame').modal({
		overlay:80,
		overlayCss: {backgroundColor:"#000000"},
		overlayClose:true,
		containerCss:{		
			height:470,
			padding:0,
			width:890,
			overflow: "hidden"
		},
		
		minHeight: 356, //this fixes IE bug when the width and height is not set in the style sheet!!
		maxWidth: 870 //this fixes IE bug!!
	});	
	
	_gaq.push(['_trackPageview','/lightbox/weather']);
	
}

