function showInsidePhoto(shop)
{
	var body = document.getElementsByTagName('body')[0];
	if (!body) return false;
	
	var div01 = document.createElement('div01');
	if (!div01) return false;
	
	div01.id				= 'div01';
	div01.style.position	= 'absolute';
	div01.style.top			= 0;
	div01.style.left		= 0;
	div01.style.width		= YAHOO.util.Dom.getDocumentWidth()+'px';
	div01.style.height		= YAHOO.util.Dom.getDocumentHeight()+'px';
	div01.style.background	= 'url(../img/bg_transparent_black.png)';
	
	body.appendChild(div01);
	IEPNGFIX.fix(div01);
	
	var div02				= document.createElement('div');
	div02.id				= 'div02';
	div02.style.position	= 'fixed';
	div02.style.top			= 0;
	div02.style.left		= 0;
	div02.style.width		= YAHOO.util.Dom.getViewportWidth()+'px';
	div02.style.height		= YAHOO.util.Dom.getViewportHeight()+'px';
	
	div02.innerHTML = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="insidephoto" align="middle">'
					+ '<param name="allowScriptAccess" value="sameDomain" />'
					+ '<param name="movie" value="insidephoto.swf" />'
					+ '<param name="scale" value="noscale" />'
					+ '<param name="quality" value="high" />'
					+ '<param name="wmode" value="transparent" />'
					+ '<param name="bgcolor" value="#ffffff" />'
					+ '<param name="flashVars" value="xmlFile=./'+shop+'.xml" />'
					+ '<embed src="insidephoto.swf" quality="high" scale="noscale" wmode="transparent" bgcolor="#ffffff" flashVars="xmlFile=./'+shop+'.xml" width="100%" height="100%" name="insidephoto" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
					+ '</object>';
	
	body.appendChild(div02);
	
	var div03 = document.createElement('div');
	div03.id				= 'div03';
	div03.style.position	= 'fixed';
	div03.style.top			= 0;
	div03.style.left		= 0;
//	div03.style.width		= YAHOO.util.Dom.getViewportWidth()+'px';
//	div03.style.height		= '30px';
	
	div03.innerHTML = '<p id="btn_close_insidephoto"><a href="'+document.URL+'">閉じる</a></p>';
	
	body.appendChild(div03);
	
	var p = document.getElementById('btn_close_insidephoto');
	var a = p.firstChild;
	
	a.onclick = function()
	{
		closeInsidephoto();
		return false;
	}
	
	fixed_scan();
	
	return false;
}

function closeInsidephoto()
{
	var body = document.getElementsByTagName('body')[0];
	if (!body) return false;
	
	var div01 = document.getElementById('div01');
	var div02 = document.getElementById('div02');
	var div03 = document.getElementById('div03');
	
	body.removeChild(div01);
	body.removeChild(div02);
	body.removeChild(div03);
	
	return false;
}
