// JavaScript Document

		$(function(){
			$("#contents_right").append("<div id='glayLayer'></div><div id='overLayer'></div>");
			
			$("#glayLayer").click(function(){
				$(this).hide();
				$("#overLayer").hide();
			});
			
			$("a.photo").click(function(){
				$("#glayLayer").show();
				$("#overLayer").show().html("<img src='"+$(this).attr("href")+"' />");
				return false;
			});

			if($.browser.msie && $.browser.version<7){
				$(window).scroll(function(){
					$("#glayLayer").get(0).style.setExpression("top","$(document).scrollTop()+'px'");
					$("#overLayer").get(0).style.setExpression("top","($(document).scrollTop()+$(window).height()/2)+'px'");
				});

			}
			
		});


