/* 
JavaScript for http://www.inuiyosuke.jp/
last updated on 2006.11.09
(c) 2006 YOSUKE INUI Design Office
-- 
*/ 

function WOF () {
if (ENV.WO()) { if (window.opener.location.host == window.location.host ) { window.opener.focus(); window.opener.location.href = arguments[0]; return false; }}
return true;
}

function WOC () {
if (ENV.WO()) { if (window.opener.location.host == window.location.host ) { window.opener.focus(); window.close(); return false; }}
return true;
}

function hback() {
	if (window.history.length == 1) { return true; }
	else if (window.history.length > 1) { window.history.go(-1); return false; }
}

function Email () {
var Email_Addr	= arguments[0] + '\@' + arguments[1];
var string		= '<a href="' + 'mail' + 'to:' + Email_Addr + '" class="e10">' + Email_Addr + '</a>';
document.open();
document.write(string);
document.close();
}
