function showLightbox(id){
			var pageSize = getPageSize();
			document.getElementById('lightbox').style.height = pageSize[1] + "px";
			$('#lightbox').show();
			$('.lightbox_container').show();
			$('#' + id).show();
			return false;
}

	$(document).ready(function(){

		$('.button_close').click(function(){
			$('#lightbox').hide();
			$('.lightbox_container').hide();
			$('#dallas').hide();
			$('#sanantonio').hide();
			return false;
		});
		$('.dallas_lightbox').click(function(){
			showLightbox("dallas");
			return false;
		});
		$('.sanantonio_lightbox').click(function(){
			showLightbox("sanantonio");
			return false;
		});
		});
	
                function getPageSize(){
					var xScroll, yScroll, windowWidth, windowHeight;
					if (window.innerHeight && window.scrollMaxY) {
						xScroll = document.scrollWidth;
						yScroll = (this.isFrame ? parent.innerHeight : self.innerHeight) + (this.isFrame ? parent.scrollMaxY : self.scrollMaxY);
					} else if (document.body.scrollHeight > document.body.offsetHeight){
						xScroll = document.body.scrollWidth;
						yScroll = document.body.scrollHeight;
					} else {
						xScroll = document.getElementsByTagName("html").item(0).offsetWidth;
						yScroll = document.getElementsByTagName("html").item(0).offsetHeight;
						xScroll = (xScroll < document.body.offsetWidth) ? document.body('regent').offsetWidth : xScroll;
						yScroll = (yScroll < document.body.offsetHeight) ? document.body('regent').offsetHeight : yScroll;
					}
					if (self.innerHeight) {
						windowWidth = (this.isFrame) ? parent.innerWidth : self.innerWidth;
						windowHeight = (this.isFrame) ? parent.innerHeight : self.innerHeight;
					} else if (document.documentElement && document.documentElement.clientHeight) {
						windowWidth = document.documentElement.clientWidth;
						windowHeight = document.documentElement.clientHeight;
					} else if (document.body) {
						windowWidth = document.getElementsByTagName("html").item(0).clientWidth;
						windowHeight = document.getElementsByTagName("html").item(0).clientHeight;
						windowWidth = (windowWidth == 0) ? document.body('regent').clientWidth : windowWidth;
						windowHeight = (windowHeight == 0) ? document.body('regent').clientHeight : windowHeight;
					}
					var pageHeight = (yScroll < windowHeight) ? windowHeight : yScroll;
					var pageWidth = (xScroll < windowWidth) ? windowWidth : xScroll;
					return new Array(pageWidth, pageHeight, windowWidth, windowHeight);
				}
