var _SzLoadedFlg=true;var _MSG_CopyClipBoard = "Copied to Clipboard.";var _MSG_Req_AlbumTitle = "Please input the album title.";var _MSG_AlbumDelete = "Are you sure you want to delete?";var _MSG_Req_PlayListTitle = "Please input the PlayList Title.";var _MSG_PlayListDelete = "Are you sure you want to delete?";var _MSG_PhotoDelete = "Are you sure you want to delete?";var _MSG_MovieDelete = "Are you sure you want to delete?";var _MSG_MenuDelete = "Are you sure you want to delete the menu?";var _MSG_EntryDelete = "Are you sure you want to delete the entry?";var _MSG_CategoryDelete = "Are you sure you want to delete?";var _MSG_ContentsDelete = "Are you sure you want to delete the contents?";var _MSG_ContentsDeleteFromPage = "Are you sure you want to delete the contents from the page?";var _MSG_PageDelete = "Are you sure you want to delete the page?";var _MSG_SiteDelete = "Are you sure you want to delete the web site?\r\nAlso it will delete all pages at the same time.";var _MSG_fullExpandTitle = "Expand to large size";var _MSG_restoreTitle = "Click to close image, click and drag to move. Use arrow keys for next and previous.";var _MSG_restoreTitle2 = "Click to close image, click and drag to move.";var _MSG_loadingTitle = "Click to cancel";var _MSG_ERR_406 = "The file size limit has been exceeded. (Maximum size: 100 MB)";var _MSG_ERR_413 = "Your disk quota has been exceeded.";var _MSG_ERR_414 = "The upload file count limit has been exceeded.";var _MSG_ERR_415 = "The file extension is not supported.";var _MSG_ERR_422 = "An encoding error has occurred. The codec may not be supported.";var _MSG_ERR_500 = "An error has occured during uploading.";var _MSG_LinkToPhotoSetting = "Click to jump to the Set Photos";var _MSG_LinkToMovieSetting = "Click to jump to the Set Videoss";var _MSG_DISK_SPACE_1 = "Your Disk Space usage is&nbsp;";var _MSG_DISK_SPACE_2 = "%.";var _MSG_Icon = "Create Icon Image";var _MSG_EditPhoto = "Edit Photo";var _MSG_SelectMovieThumbnail = "Select Video thumbnail";var _MSG_ProfileUpload = "Profile Image Upload";var _MSG_ProfileEdit = "Profile Image Edit";var _MSG_UploadByEmail = "Upload by email";var _MSG_SelectRSSFeed = "Select RSS Feed";var _MSG_NotBuild = "Your page is not published. Please publish at first.";var _MSG_NotExport = "Zip file not found. Please click the Export button.";var _imgURLbf387899=["http://www.samootz.com/0001/samootz/__contents/eid117_a0403b53_t.jpg","http://www.samootz.com/0001/samootz/__contents/eid115_cd0e64e9_t.jpg","http://www.samootz.com/0001/samootz/__contents/eid113_744c5442_t.jpg","http://www.samootz.com/0001/samootz/__contents/eid116_ba7923cd_t.jpg"];var _imgALTbf387899=["2007.11.8 WebDesignWorks9オンラインショップ開業発売","2007.11.8 ホームページ制作王9発売","2007.11.8 Web Design Works9発売","2007.11.8 Samootzサービス開始"];var _imgIDXbf387899=["http://www.junglejapan.com/products/hp/wdw/wdw9s/|","http://www.junglejapan.com/products/hp/hps/hps9/|","http://www.junglejapan.com/products/hp/wdw/wdw9/|","http://www.samootz.com/|"];var _ContTypebf387899=0;var _SkinArrowbf387899="";var _ShowTitlebf387899=true;var _ShowCreditbf387899=false;var _MSG_Nextbf387899="Next";var _MSG_Prevbf387899="Previous";var _sepbf387899=[];
var _delaybf387899=0;
var _countbf387899=0;
var _curImgbf387899=0;
var _tmIDbf387899=0;
var _slidablebf387899=0;
var _isloadedbf387899=0;
var _speedslbf387899=0.7;
var _imgWidthbf387899=75;
var _imgHeightbf387899=75;
var _ixCntbf387899=_imgURLbf387899.length;

_hsDirbf387899 = 'http://www.samootz.com/js/hs/graphics/';
_SzLoadedFlg = false;
document.write('<link rel="stylesheet" href="http://www.samootz.com/css/thumbnail.css" />');
if(typeof Prototype == 'undefined')
	document.write('<script type="text/javascript" src="http://www.samootz.com/js/prototype.js"></' + 'script>');
if(typeof(hsthb) == 'undefined')
	document.write('<script type="text/javascript" src="http://www.samootz.com/js/hs/thumbnails.js"></' + 'script>');
function PhHsInitbf387899(){
	hsthb.graphicsDir=_hsDirbf387899; hsthb.showCredits=_ShowCreditbf387899;
	hsthb.fullExpandTitle=_MSG_fullExpandTitle;hsthb.restoreTitle=_MSG_restoreTitle;hsthb.loadingTitle=_MSG_loadingTitle;
	ixinitbf387899();
	_SzLoadedFlg = true;
}
function PhHsLoadbf387899(){
	if (typeof(hsthb) == 'undefined' || typeof Prototype == 'undefined' || typeof 'ixdivbf387899' == 'undefined') return;
	clearTimeout(_timerPhIDbf387899);
	PhHsInitbf387899();
}
function ixinitbf387899()
{
	_sepbf387899=[ixgetSepalate(0,-_imgHeightbf387899,_speedslbf387899),ixgetSepalate(0,-_imgHeightbf387899,_speedslbf387899).reverse()];
	_sepbf387899[1][_sepbf387899[1].length]=0;
	var ixdiv=$("ixdivbf387899").style;
	var sl1=$("ixslide1bf387899").style;
	var sl2=$("ixslide2bf387899").style;
	var slhtml='<img name="ixphoto%bf387899" src="@" width="'+_imgWidthbf387899+'" height="'+_imgHeightbf387899+'" />';
	ixdiv.width=_imgWidthbf387899+"px";
	ixdiv.height=_imgHeightbf387899+"px";
	ixdiv.display="";
	sl1.top=0+"px";
	sl1.width=_imgWidthbf387899+"px";
	sl1.height=_imgHeightbf387899+"px";
	sl1.display="";
	sl2.top=0+"px";
	sl2.width=_imgWidthbf387899+"px";
	sl2.height=_imgHeightbf387899+"px";
	sl2.display="";
	$("ixslide1bf387899").innerHTML = slhtml.replace(/%/,1).replace(/@/,(_isloadedbf387899==0) ? "http://www.samootz.com/images/thumb75x75_noImg.png" : document.images["ixphoto1bf387899"].src);
	$("ixslide2bf387899").innerHTML = slhtml.replace(/%/,2).replace(/@/,(_isloadedbf387899==0) ? "http://www.samootz.com/images/thumb75x75_noImg.png" : document.images["ixphoto2bf387899"].src);
	if (_isloadedbf387899==0)
	{
		document.images["ixphoto2bf387899"].src=_imgURLbf387899[_curImgbf387899];
		document.images["ixphoto2bf387899"].alt=document.images["ixphoto2bf387899"].title=_imgALTbf387899[_curImgbf387899];
		document.images["ixphoto1bf387899"].src=_imgURLbf387899[_curImgbf387899];
		document.images["ixphoto1bf387899"].alt=document.images["ixphoto1bf387899"].title=_imgALTbf387899[_curImgbf387899];
		$("ixtitlebf387899").innerHTML=_imgALTbf387899[_curImgbf387899];
		if (_ContTypebf387899 > 0)
		{
			$("lnkOgbf387899").name = _imgIDXbf387899[_curImgbf387899];
			$("lnkOgbf387899").href = _imgURLbf387899[_curImgbf387899].replace("/__thumb/","/__large/");
		}
	}
	_isloadedbf387899=1;
}

function ixgetSepalate(start,to,scale)
{
	var h=(start<to) ? 1 : -1;
	var dist=(h==1) ? to-start : start-to;
	var ary=[];
	var nary=[];
	var now=dist;
	for(var c=0 ; c<100 ; c++)
	{
		if(Math.floor(now)==0) break;
		ary[ary.length]=now;
		now*=scale;
	}
	for(var i=ary.length-1; i>-1 ; i--)
		nary[nary.length]=start+(ary[i]*h);
	return nary;
}

function ixchImgbf387899(flg)
{
	var id=(flg==1) ? 0 : 1;
	if(_slidablebf387899==1) return;
	else if(_curImgbf387899+flg==-1)
		_curImgbf387899=_ixCntbf387899;
	else if (_curImgbf387899+flg==_ixCntbf387899)
		_curImgbf387899=-1;
	clearTimeout(_tmIDbf387899);
	$("ixslide2bf387899").style.left=((flg==1) ? 0:-_imgWidthbf387899)+"px";
	$("ixtitlebf387899").innerHTML=_imgALTbf387899[_curImgbf387899+flg];
	if(_delaybf387899==0 && flg==1)
	{
		$("ixslide1bf387899").style.display="none";
		document.images["ixphoto1bf387899"].src=_imgURLbf387899[_curImgbf387899+flg];
		document.images["ixphoto1bf387899"].alt=document.images["ixphoto1bf387899"].title=_imgALTbf387899[_curImgbf387899+flg];
		_delaybf387899=1;
		_tmIDbf387899=setTimeout("ixchImgbf387899("+flg+")",100);
	}
	else
	{
		document.images["ixphoto2bf387899"].src=_imgURLbf387899[_curImgbf387899+flg];
		document.images["ixphoto2bf387899"].alt=document.images["ixphoto2bf387899"].title=_imgALTbf387899[_curImgbf387899+flg];
	}
	if (_ContTypebf387899 > 0)
	{
		$("lnkOgbf387899").name = _imgIDXbf387899[_curImgbf387899+flg];
		$("lnkOgbf387899").href = _imgURLbf387899[_curImgbf387899+flg].replace("/__thumb/","/__large/");
	}
	_delaybf387899=0;
	_slidablebf387899=1;
	$("ixslide1bf387899").style.display="";
	ixslideImgbf387899(flg);
	return false;
}

function ixslideImgbf387899(flg)
{
	var id=(flg==1) ? 0:1;
	if(_slidablebf387899==0) return;
	clearTimeout(_tmIDbf387899);
	$("ixslide2bf387899").style.left=_sepbf387899[id][_countbf387899]+"px";
	_countbf387899++;
	if(_countbf387899<_sepbf387899[id].length)
		_tmIDbf387899=setTimeout("ixslideImgbf387899("+flg+")",0);
	else ixendSlidebf387899(flg);
}

function ixendSlidebf387899(flg)
{
	_slidablebf387899=0;
	_countbf387899=0;
	_curImgbf387899+=flg;
	if(flg==1)
	{
		document.images["ixphoto2bf387899"].src=_imgURLbf387899[_curImgbf387899];
		document.images["ixphoto2bf387899"].alt=document.images["ixphoto2bf387899"].title=_imgALTbf387899[_curImgbf387899];
	}
	else
	{
		document.images["ixphoto1bf387899"].src=_imgURLbf387899[_curImgbf387899];
		document.images["ixphoto1bf387899"].alt=document.images["ixphoto1bf387899"].title=_imgALTbf387899[_curImgbf387899];
	}
}

function ixLinkbf387899()
{
	if (_imgIDXbf387899[_curImgbf387899].lastIndexOf("|") == _imgIDXbf387899[_curImgbf387899].length-1)
		window.open(_imgIDXbf387899[_curImgbf387899].substring(0,_imgIDXbf387899[_curImgbf387899].length-1));
	else
		location.href=_imgIDXbf387899[_curImgbf387899];
	return false;
}

document.onkeydown = key_PressPhbf387899;
if (document.layers)
	document.captureEvents(Event.KEYDOWN);
function key_PressPhbf387899(e){
	var kcd = getKEYCODE(e);
	if (kcd == "39" || kcd == "40")
		ixchImgbf387899(1);
	else if (kcd == "37" || kcd == "38")
		ixchImgbf387899(-1)
}
function getKEYCODE(e)
{
	if (document.all)
		return  event.keyCode;
	else if (document.getElementById)
		return (e.keyCode!=0)?e.keyCode:e.charCode;
	else if (document.layers)
		return e.which;
}

document.write('<div align="left" style="font-size:12px;border:1px solid #CCCCCC;width:220px;word-break: break-all;height:auto;">');
if (_ShowTitlebf387899)
{
	if (_ContTypebf387899 == 0)
		document.write('<div id="ixtitlebf387899" style="margin-top:20px;width:114px;cursor:pointer;float:right;text-decoration:underline;overflow:hidden;" onclick="return ixLinkbf387899()"></div>');
	else
		document.write('<div id="ixtitlebf387899" style="margin-top:20px;width:114px;float:right;overflow:hidden;"></div>');
}
else
{
	document.write('<div id="ixtitlebf387899" style="display:none;"></div>');
}
if (_ContTypebf387899 == 0)
{
	document.write('<div id="ixdivbf387899" style="position:relative;top:0px;left:0px;display:none;overflow:hidden;margin:0px 6px;cursor:pointer;" onclick="return ixLinkbf387899()">');
}
else
{
	document.write('<div id="ixdivbf387899" style="position:relative;top:0px;left:0px;display:none;overflow:hidden;margin:0px 6px;">');
	document.write('<a href="#" name="" onclick="return hsthb.expand(this, {captionId:_CapIDbf387899[_curImgbf387899]});" class="highslideph" id="lnkOgbf387899">');
}
document.write('<div id="ixslide1bf387899" style="position:absolute;top:0px;left:0px;z-index:0;display:none;margin-top:6px;"></div>');
document.write('<div id="ixslide2bf387899" style="position:absolute;top:0px;left:0px;z-index:1;display:none;margin-top:6px;"></div>');
if (_ContTypebf387899 > 0)
	document.write('</a>');
document.write('</div>');
document.write('<table style="text-align:center;width:75px;margin:4px 6px;"><tr>');
document.write('<td style="cursor:pointer;" onclick="return ixchImgbf387899(-1)">');
document.write('<img src="http://www.samootz.com/images/arrow_l'+_SkinArrowbf387899+'.gif" alt="'+_MSG_Prevbf387899+'" title="'+_MSG_Prevbf387899+'" /></td>');
if (_ShowCreditbf387899)
{
	document.write('<td align="center"><a href="http://www.samootz.com/guide/" target="_blank" title="Powered by Samootz">');
	document.write('<img src="http://www.samootz.com/images/credit2.gif" style="border:0;"></a></td>');
}
document.write('<td style="cursor:pointer;" onclick="return ixchImgbf387899(1)">');
document.write('<img src="http://www.samootz.com/images/arrow_r'+_SkinArrowbf387899+'.gif" alt="'+_MSG_Nextbf387899+'" title="'+_MSG_Nextbf387899+'" /></td>');
document.write('</tr></table>');
document.write('</div>');

_timerPhIDbf387899 = setTimeout(PhHsLoadbf387899, 200);