/*========== GLOBAL ==========*/

/*---------- browser ----------*/
var Win=(navigator.userAgent.indexOf("Win")!=-1);
var Mac=(navigator.userAgent.indexOf("Mac")!=-1);
var Explorer=(navigator.appName.indexOf("Explorer")!=-1);
var Netscape=(navigator.appName.indexOf("Netscape")!=-1);

if(Win && Explorer){
	document.write('<LINK rel="stylesheet" href="/control/css/wie.css" type="text/css">');
}else if(Win && Netscape){
	document.write('<LINK rel="stylesheet" href="/control/css/wnn.css" type="text/css">');
}else if(Mac){
	document.write('<LINK rel="stylesheet" href="/control/css/mac.css" type="text/css">');
}else{
	document.write('<LINK rel="stylesheet" href="/control/css/wie.css" type="text/css">');
}


/*---------- changeImage ----------*/

var common_pic_name=new Array();
/* header */
common_pic_name[0]="/pic/common/header_sitemap";
common_pic_name[1]="/pic/common/header_english";
common_pic_name[2]="/pic/common/header_html";
common_pic_name[3]="/pic/common/header_bt_construction";
/* menu */
common_pic_name[4]="/pic/common/menu_lineup";
common_pic_name[5]="/pic/common/menu_iedukuri";
common_pic_name[6]="/pic/common/menu_showroom";
common_pic_name[7]="/pic/common/menu_reformmagic";
common_pic_name[8]="/pic/common/menu_script";
common_pic_name[9]="/pic/common/menu_corporate";
common_pic_name[10]="/pic/common/menu_support";
/* footer */
common_pic_name[11]="/pic/common/footer_newsrelease";
common_pic_name[12]="/pic/common/footer_eco";
common_pic_name[13]="/pic/common/footer_group";
common_pic_name[14]="/pic/common/footer_use";
common_pic_name[15]="/pic/common/footer_privacy";
common_pic_name[16]="/pic/common/footer_copyright";

/* pagetop */
common_pic_name[17]="/pic/common/pagetop";
/* header追加 */
common_pic_name[18]="/pic/common/header_call";
/* header追加 */
common_pic_name[19]="/pic/common/header_chinese";
/* footer追加 */
common_pic_name[20]="/pic/common/footer_about_puroducts";
/* header追加 */
common_pic_name[21]="/pic/common/header_bt_customer";
/* menu追加 */
common_pic_name[22]="/pic/common/menu_eco";
/* menu追加 */
common_pic_name[101]="/pic/common/headersitemap";
/* menu追加 */
common_pic_name[102]="/pic/common/headercall";

var common_pic1=new Array();
var common_pic2=new Array();

for(var i=0; i<common_pic_name.length; i++){
	common_pic1[i]=new Image();
	common_pic1[i].src=common_pic_name[i]+".gif";
	common_pic2[i]=new Image();
	common_pic2[i].src=common_pic_name[i]+"_on.gif";
}

function common_mouse_in(imageno){
	document.images["img"+imageno].src=common_pic2[imageno].src;
}

function common_mouse_out(imageno){
	document.images["img"+imageno].src=common_pic1[imageno].src;
}

function pagetop_mouse_in(imageno){
	document.images["pagetop"+imageno].src=common_pic2[17].src;
}

function pagetop_mouse_out(imageno){
	document.images["pagetop"+imageno].src=common_pic1[17].src;
}


/*---------- redirect ----------*/
/*
<a href="#top" onClick="pagetop();return false;" onKeyPress="pagetop();return false;"><img src="#" alt="戻る"></a>
*/
function LinkSelectJump(sel) {
	var adrs = sel.options[sel.selectedIndex].value;
	if (adrs) {
		if (adrs.substr(0, 4)=='http') {
			window.open(adrs,"newwin","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
		}else {
			location.href = adrs;
		}
	}
}



/*---------- PageTop ----------*/
function pagetop () {
	var y = document.documentElement.scrollTop?document.documentElement.scrollTop:window.pageYOffset?window.pageYOffset:document.body.scrollTop?document.body.scrollTop:0;
	var sy = y-(y*0.2);
	if( 0 != y ){
		if( 2 < y ){
			window.scrollTo(0,sy);
			timerID = setTimeout("pagetop()",25);
		}else{
			window.scrollTo(0,0);
			clearTimeout(timerID);
		}
	}
}

/*========== FOOTER ==========*/

/*---------- select menu ----------*/
function pull_down_menu_footer()
{
	document.write('<SELECT name="sel_company" onChange="JavaScript:LinkSelectJump(this);">\n');
	document.write('<OPTION value="" selected>グループ各社\n');
	document.write('<OPTION value="">------------------------------------------\n');
	document.write('<OPTION value="http://www.jsgsl.co.jp/">シニアライフカンパニー\n');
	document.write('<OPTION value="http://www.asahitostem.co.jp/">旭トステム外装\n');
	document.write('<OPTION value="http://www.totaljuki.co.jp/">トータル住器\n');
	document.write('<OPTION value="http://www.tostemsd.co.jp/">トステムSD\n');
	document.write('<OPTION value="http://www.it-is.co.jp/">ITインフォメーションシステムズ\n');
	document.write('<OPTION value="http://tostem-online.com/">トステムオンライン\n');
	document.write('<OPTION value="http://www.tostem.com.cn/chinese/">大連通世泰建材有限公司\n');
	document.write('<OPTION value="http://www.inax.co.jp/">INAX\n');
	document.write('<OPTION value="http://www.vivahome.co.jp/">トステムビバ\n');
	document.write('<OPTION value="http://www.shinnikkei.co.jp/ ">新日軽\n');
	document.write('<OPTION value="http://www.sunwave.co.jp/">サンウエーブ工業\n');
	document.write('<OPTION value="http://www.toex.co.jp/">東洋エクステリア\n');
	document.write('<OPTION value="http://www.nittan.com/">ニッタン\n');
	document.write('<OPTION value="http://www.tostemju-ken.co.jp/">トステム住宅研究所\n');
	document.write('<OPTION value="http://www.glhome.co.jp/">ジーエルホーム\n');
	document.write('<OPTION value="http://www.suzuki-st.co.jp/">トステム鈴木シャッター\n');
	document.write('<OPTION value="http://www.j-shield.co.jp/">ジャパンホームシールド\n');
	document.write('<OPTION value="http://www.toyosashkenzai.co.jp/">トーヨーサッシ建材商事\n');
	document.write('<OPTION value="http://www.jio-kensa.co.jp/">日本住宅保証検査機構\n');
	document.write('<OPTION value="http://www.jsrealty.co.jp/">住生活リアルティ\n');
	document.write('<OPTION value="http://www.erajapan.co.jp/">イーアールエー・ジャパン\n');
	document.write('<OPTION value="http://www.tmsc.co.jp/">トステムマネジメントシステムズ\n');
	document.write('<OPTION value="http://www.classis.jp/">クラシス\n');
	document.write('<OPTION value="http://www.lixil-energy.co.jp/">LIXILエナジー\n');
	document.write('<OPTION value="http://www.lixil.co.jp/">LIXIL\n');
	document.write('<OPTION value="http://www.jsfinance.co.jp/">住生活グループファイナンス\n');
	document.write('<OPTION value="http://www.js-supply.co.jp/">住生活サプライ\n');	
	document.write('<OPTION value="http://www.homewellfc.com/">ホームウェル\n');
	document.write('<OPTION value="http://www.tostemfound.or.jp/">トステム建材産業振興財団\n');
	document.write('</SELECT>\n');
}


/*---------- layout html ----------*/
function create_footer()
{
document.write('<div id="fsarea">\n');

document.write('<table width="760" border="0" cellspacing="0" cellpadding="0">\n');
document.write('<tr><td colspan="5" class="fsbg1"><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td></tr>\n');

document.write('<tr><td class="fsbg1"><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="756" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td class="fsbg1"><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td></tr>\n');

document.write('<tr><td class="fsbg1"><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td class="fsbg1" align="center">\n');


document.write('<table width="740" border="0" cellpadding="0" cellspacing="0">\n');
document.write('<tr><td align="left">\n');

document.write('<table border="0" cellpadding="0" cellspacing="0">\n');
document.write('<tr><td><img src="/pic/common/fsarrow2.gif" width="13" height="13" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="6" height="1" alt=""></td>\n');
document.write('<td><a href="http://www.lixil.co.jp/products/" class="s3j bold">LIXIL（リクシル）の商品ラインアップ</a></td></tr>\n');
document.write('</table>\n');

document.write('</td>\n');
document.write('<td align="right">\n');

document.write('<table border="0" cellpadding="0" cellspacing="0">\n');
document.write('<tr><td><img src="/pic/common/fsline.gif" width="1" height="31" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="10" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/fsarrow.gif" width="4" height="7" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="4" height="1" alt=""></td>\n');
document.write('<td><a href="http://www.lixil.co.jp/" class="s3j">総合トップへ</a></td></tr>\n');
document.write('</table>\n');

document.write('</td></tr>\n');
document.write('</table>\n');


document.write('</td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td class="fsbg1"><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td></tr>\n');

document.write('<tr><td class="fsbg1"><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td>\n');
document.write('<td class="fsbg1"><img src="/pic/common/spacer.gif" width="1" height="1" alt=""></td></tr>\n');
document.write('</table>\n');

document.write('<div id="footersitemap">\n');

document.write('<table width="740" border="0" cellpadding="0" cellspacing="0">\n');
document.write('<tr valign="top"><td width="120" class="fcate"><a href="http://www.lixil.co.jp/products/door_window/" class="s2j color-normal">玄関ドア・引戸/窓</a></td>\n');
document.write('<td width="20"><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td width="200" class="fcate"><a href="http://www.lixil.co.jp/products/kitchen_bathroom/" class="s2j color-normal">キッチン・浴室・洗面化粧室・トイレ</a></td>\n');
document.write('<td width="20"><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td width="160" class="fcate"><a href="http://www.lixil.co.jp/products/interior/" class="s2j color-normal">インテリア建材</a></td>\n');
document.write('<td width="20"><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td width="160" class="fcate"><a href="http://www.lixil.co.jp/products/exterior/" class="s2j color-normal">エクステリア</a></td></tr>\n');

document.write('<tr valign="top"><td class="fcate2"><span class="s2j color-normal">玄関ドア・引戸<br>窓<br>シャッター・面格子<br>勝手口ドア・引戸</span></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td class="fcate2"><span class="s2j color-normal">システムキッチン<br>浴室<br>洗面化粧室<br>トイレ</span></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td class="fcate2"><span class="s2j color-normal">室内ドア・引戸<br>収納<br>床・階段・手すり</span></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td class="fcate2"><span class="s2j color-normal">門扉<br>フェンス<br>車庫・カーポート<br>庭<br>バルコニー</span></td></tr>\n');
document.write('</table>\n');

document.write('<img src="/pic/common/spacer.gif" width="1" height="20" alt=""><br>\n');

document.write('<table width="740" border="0" cellpadding="0" cellspacing="0">\n');
document.write('<tr valign="top"><td width="120" class="fcate"><a href="http://www.lixil.co.jp/products/roof_outerwall/" class="s2j color-normal">屋根・外壁材</a></td>\n');
document.write('<td width="20"><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td width="200" class="fcate"><a href="http://www.lixil.co.jp/products/structure/" class="s2j color-normal">高性能住宅工法</a></td>\n');
document.write('<td width="20"><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td width="160" class="fcate"><a href="http://www.lixil.co.jp/products/building_equipment/" class="s2j color-normal">ビル・店舗用建材/厨房設備</a></td>\n');
document.write('<td width="20"><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td width="160" class="fcate"><a href="http://www.lixil.co.jp/products/public/" class="s2j color-normal">公共向けエクステリア・トイレ</a></td></tr>\n');

document.write('<tr valign="top"><td class="fcate2"><span class="s2j color-normal">屋根材<br>外壁材<br>外装タイル</span></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td class="fcate2"><span class="s2j color-normal">高気密・高断熱・高耐震住宅工法<br>耐震補償付き構造体<br>高断熱パネル</span></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td class="fcate2"><span class="s2j color-normal">カーテンウォール<br>玄関ドア・窓・シャッター<br>業務用厨房機器</span></td>\n');
document.write('<td><img src="/pic/common/spacer.gif" width="20" height="1" alt=""></td>\n');
document.write('<td class="fcate2"><span class="s2j color-normal">大型門扉<br>大型フェンス<br>駐輪場<br>手すり<br>トイレ</span></td></tr>\n');
document.write('</table>\n');

document.write('</div>\n');

document.write('</div>\n');

document.write('<div id="footer_20060420">\n');
document.write('<div id="footergroup">\n');
document.write('<table width="738" border="0" cellpadding="0" cellspacing="0">\n');
document.write('<tr><td width="369" align="left"><a href="/sitemap/" onMouseOver="common_mouse_in(101);" onMouseOut="common_mouse_out(101)"><img src="/pic/common/headersitemap.gif" width="78" height="13" border="0" alt="サイトマップ" name="img101"></a><img src="/pic/common/spacer.gif" width="20" height="1" alt=""><a href="/support/" onMouseOver="common_mouse_in(102);" onMouseOut="common_mouse_out(102)"><img src="/pic/common/headercall.gif" width="82" height="13" border="0" alt="お問い合わせ" name="img102"></a></td>\n');
document.write('<td width="369" align="right"><a href="http://www.jsgc.co.jp/" target="_blank"><img src="/pic/common/logo_lixil.gif" width="107" height="18" border="0" alt="LIXILグループ"></a></td></tr>\n');
document.write('</table>\n');
document.write('</div>\n');

document.write('<table width="760" border="0" cellpadding="0" cellspacing="0">\n');
document.write('<tr valign="bottom"><td width="358"><a href="http://www.lixil.co.jp/termsofuse/" onMouseOver="common_mouse_in(16);" onMouseOut="common_mouse_out(16)"><img src="/pic/common/footer_copyright.gif" width="265" height="20" border="0" alt="Copyrights (C) LIXIL Corporation. All rights reserved." name="img16"></a></td>\n');
document.write('<td width="1"><img src="/pic/common/spacer.gif" width="1" height="20" alt=""></td>\n');
document.write('<td width="401" align="right"><a href="/about_products/" onMouseOver="common_mouse_in(20);" onMouseOut="common_mouse_out(20)"><img src="/pic/common/footer_about_puroducts.gif" width="126" height="22" border="0" alt="掲載の商品について" name="img20"></a><img src="/pic/common/spacer.gif" width="17" height="1" alt=""><a href="http://www.lixil.co.jp/termsofuse/" onMouseOver="common_mouse_in(14);" onMouseOut="common_mouse_out(14)"><img src="/pic/common/footer_use.gif" width="141" height="20" border="0" alt="ご利用条件・リンクについて" name="img14"></a><img src="/pic/common/spacer.gif" width="20" height="1" alt=""><a href="http://www.lixil.co.jp/privacy/" onMouseOver="common_mouse_in(15);" onMouseOut="common_mouse_out(15)"><img src="/pic/common/footer_privacy.gif" width="97" height="20" border="0" alt="プライバシーポリシー" name="img15"></a></td></tr>\n');
document.write('</table>\n');
document.write('</div>\n');

}


