// Img PreLoads

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}



// COVER DIV PHOTO GALLERIES



function mouseOver_js() {
document.getElementById('photo_gallery_container_l').style.clip = "rect(0px 803px 550px 0px)";
document.getElementById('photo_gallery_l').style.zIndex = "2";
document.getElementById('photo_gallery_r').style.zIndex = "1";
};

function mouseOut_js() {
document.getElementById('photo_gallery_container_l').style.clip = "rect(0px 140px 550px 0px)";
document.getElementById('photo_gallery_l').style.zIndex = "1";
document.getElementById('photo_gallery_r').style.zIndex = "2";
};



function mouseOverR_js() {
document.getElementById('photo_gallery_container_r').style.clip = "rect(0px 803px 450px 0px)";
document.getElementById('photo_gallery_l').style.zIndex = "1";
document.getElementById('photo_gallery_r').style.zIndex = "2";
};

function mouseOutR_js() {
document.getElementById('photo_gallery_container_r').style.clip = "rect(0px 803px 450px 670px)";
document.getElementById('photo_gallery_l').style.zIndex = "2";
document.getElementById('photo_gallery_r').style.zIndex = "1";
};

















// J QUERY apply fancy box to "open_box" anchor class 

$(document).ready(function() {
			//Activate FancyBox
			$("a.open_box").fancybox({
				'hideOnContentClick': true,
				'overlayShow': true
				
			});
			
			$("a.iframe_box").fancybox({
				'hideOnContentClick': true,
				'overlayShow': true ,
				'frameWidth': 760,
				'frameHeight': 520
			});

			
		});