function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var new1,win1p;
function openSubWinBussiness(img,Xv,Yv) {
	if (win1p=="on") {
		if (new1.closed) {} else {new1.close();}
	}
	
	win1p = "on";
	Xw=Xv+60;
	Yw=Yv+100;
	imgBtn = "skins/common/img/corporate/close_btn.gif";
	
	new1=window.open("", "newwin", "resizable=1,width="+Xw+",height="+Yw+"");
	if(navigator.appVersion.charAt(0)>=3){new1.focus()};
	new1.document.clear();
	new1.document.write("<html><head><meta http-equiv=Content-Type content=\"text/html; charset=x-sjis\">");
	new1.document.write("<meta http-equiv=\"content-style-type\" content=\"text/css\">");
	new1.document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/skins/common/css/import.css\" media=\"all\" />");
	new1.document.write("<title>PHOTO SAMPLE</title></head>");
	new1.document.write("<body class=\"photowindow\"><table>");
	new1.document.write("<tr><td><img src="+img+" width="+Xv+" height="+Yv+" alt=\"photo sample\"></td></tr></table>");
	new1.document.write("<p><form><input type=image src="+imgBtn+" alt='ウインドウを閉じる' onClick='window.close()'></form></p");
	new1.document.write("</body></html>");
	new1.document.close();
}
function openSubWinAnimal(img,Xv,Yv) {
	if (win1p=="on") {
		if (new1.closed) {} else {new1.close();}
	}
	
	win1p = "on";
	Xw=Xv+60;
	Yw=Yv+100;
	imgBtn = "/img1/animal/close_btn.gif";
	
	new1=window.open("", "newwin", "resizable=1,width="+Xw+",height="+Yw+"");
	if(navigator.appVersion.charAt(0)>=3){new1.focus()};
	new1.document.clear();
	new1.document.write("<html><head><meta http-equiv=Content-Type content=\"text/html; charset=x-sjis\">");
	new1.document.write("<meta http-equiv=\"content-style-type\" content=\"text/css\">");
	new1.document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/import.css\" media=\"all\" />");
	new1.document.write("<title>PHOTO SAMPLE</title></head>");
	new1.document.write("<body class=\"photowindow\"><table>");
	new1.document.write("<tr><td><img src="+img+" width="+Xv+" height="+Yv+" alt=\"photo sample\"></td></tr></table>");
	new1.document.write("<p><form><input type=image src="+imgBtn+" alt='ウインドウを閉じる' onClick='window.close()'></form></p");
	new1.document.write("</body></html>");
	new1.document.close();
}

// JQuery.LightBox code
$(function() {
	$('a.lightbox').lightBox({fixedNavigation:true});
});