Event.observe(window, 'load', function() {
	Event.observe($('lnk-thumb1'), 'mouseover', function() {
		$('itm-thumb1').style.zIndex = 99;
		$('ctn-zoom1').style.zIndex = 100;
		$('ctn-zoom1').style.display = "block";
	});
	Event.observe($('ctn-zoom1'), 'mouseout', function() {
		$('itm-thumb1').style.zIndex = 1;
		$('ctn-zoom1').style.display = "none";
	});
	Event.observe($('lnk-thumb2'), 'mouseover', function() {
		$('itm-thumb2').style.zIndex = 99;
		$('ctn-zoom2').style.zIndex = 100;
		$('ctn-zoom2').style.display = "block";
	});
	Event.observe($('ctn-zoom2'), 'mouseout', function() {
		$('itm-thumb2').style.zIndex = 1;
		$('ctn-zoom2').style.display = "none";
	});
	Event.observe($('lnk-thumb3'), 'mouseover', function() {
		$('itm-thumb3').style.zIndex = 99;
		$('ctn-zoom3').style.zIndex = 100;
		$('ctn-zoom3').style.display = "block";
	});
	Event.observe($('ctn-zoom3'), 'mouseout', function() {
		$('itm-thumb3').style.zIndex = 1;
		$('ctn-zoom3').style.display = "none";
	});
	Event.observe($('lnk-thumb4'), 'mouseover', function() {
		$('itm-thumb4').style.zIndex = 99;
		$('ctn-zoom4').style.zIndex = 100;
		$('ctn-zoom4').style.display = "block";
	});
	Event.observe($('ctn-zoom4'), 'mouseout', function() {
		$('itm-thumb4').style.zIndex = 1;
		$('ctn-zoom4').style.display = "none";
	});
	Event.observe($('lnk-thumb5'), 'mouseover', function() {
		$('itm-thumb5').style.zIndex = 99;
		$('ctn-zoom5').style.zIndex = 100;
		$('ctn-zoom5').style.display = "block";
	});
	Event.observe($('ctn-zoom5'), 'mouseout', function() {
		$('itm-thumb5').style.zIndex = 1;
		$('ctn-zoom5').style.display = "none";
	});
	Event.observe($('lnk-thumb6'), 'mouseover', function() {
		$('itm-thumb6').style.zIndex = 99;
		$('ctn-zoom6').style.zIndex = 100;
		$('ctn-zoom6').style.display = "block";
	});
	Event.observe($('ctn-zoom6'), 'mouseout', function() {
		$('itm-thumb6').style.zIndex = 1;
		$('ctn-zoom6').style.display = "none";
	});
	Event.observe($('lnk-thumb7'), 'mouseover', function() {
		$('itm-thumb7').style.zIndex = 99;
		$('ctn-zoom7').style.zIndex = 100;
		$('ctn-zoom7').style.display = "block";
	});
	Event.observe($('ctn-zoom7'), 'mouseout', function() {
		$('itm-thumb7').style.zIndex = 1;
		$('ctn-zoom7').style.display = "none";
	});
	Event.observe($('lnk-thumb8'), 'mouseover', function() {
		$('itm-thumb8').style.zIndex = 99;
		$('ctn-zoom8').style.zIndex = 100;
		$('ctn-zoom8').style.display = "block";
	});
	Event.observe($('ctn-zoom8'), 'mouseout', function() {
		$('itm-thumb8').style.zIndex = 1;
		$('ctn-zoom8').style.display = "none";
	});
	Event.observe($('lnk-thumb9'), 'mouseover', function() {
		$('itm-thumb9').style.zIndex = 99;
		$('ctn-zoom9').style.zIndex = 100;
		$('ctn-zoom9').style.display = "block";
	});
	Event.observe($('ctn-zoom9'), 'mouseout', function() {
		$('itm-thumb9').style.zIndex = 1;
		$('ctn-zoom9').style.display = "none";
	});
	Event.observe($('lnk-thumb10'), 'mouseover', function() {
		$('itm-thumb10').style.zIndex = 99;
		$('ctn-zoom10').style.zIndex = 100;
		$('ctn-zoom10').style.display = "block";
	});
	Event.observe($('ctn-zoom10'), 'mouseout', function() {
		$('itm-thumb10').style.zIndex = 1;
		$('ctn-zoom10').style.display = "none";
	});
});
	
/*
// FEATURED PHOTOS
var behaviorsFeaturedPhotos = function() {
var timeZoom = null;
$(".mod-featuredmedia").find(".lnk-thumb").mouseover(
function() {
obj = $(this).parents("li");
obj.zoomImageThumb(1);
timeZoom = setTimeout(function() {obj.zoomImageThumb(0);},200);
}
);
$(".mod-featuredmedia").find(".lnk-zoomhit").hover(
function() {
clearTimeout(timeZoom);
},
function() {
$(this).parents("li").zoomImageThumb(0);
}
);
$(".mod-featuredmedia").find('ul a').click(function(evt){
if(modMan.tools.isNewGalleryUrl(evt.target.href)) return true;
evt.preventDefault();
modMan.tools.openPopup(evt.target.href,"FeaturedPhoto",800,600,0);
});
}
behaviorsFeaturedPhotos();
*/
