//button部分
btnImg=new Array();
for(i=1; i<=15; i++){
	btnImg[i]=new Image();
	btnImg[i].src="cmnimg/btn"+i+"_f2.gif";
}
function imgOn(i){
	document.images['mbtn'+i].src=btnImg[i].src
}
function imgOff(i){
	document.images['mbtn'+i].src="cmnimg/btn"+i+".gif";
}

  //0.1秒後にメニューを消します
var timectl

function timehide(str){
if(str == 0) {
		clearTimeout(timectl);
		timectl = setTimeout("hideLAYER(getLayOj('submenu01'));",100);imgOff(14);	//chg_btn('btn1',0);
	} else if(str == 1) {
		clearTimeout(timectl);	
		showLAYER(getLayOj('submenu01'));imgOn(14);	//chg_btn('btn1',1);
//		hideLAYER(getLayOj('submenu02'));
	}
}


function header(str){

document.write('<div style="position:absolute; z-index:3; margin-top:190px;">');
document.write('<table cellspacing="0" cellpadding="0" border="0" class="t_parency90" style="width:770px; height:30px;"><tr><td style="width:10px;">');
document.write('<img src="cmnimg/bar_white.gif" width="10" height="30" alt=""></td><td style="width:93px;">');


document.write('<div id="submenu01" style="position:absolute; z-index:4;  visibility: hidden;">');
document.write('<div id="head3" class="head3" style="position:absolute; top:-100px; width:120px; height:100px;">');
document.write('<div><a href="ramitekuto.htm" onMouseOver="timehide(1);" onMouseOut ="timehide(0);">ラミテクト</a></div>');
document.write('<div><a href="../thermo/index.html" target="_blank" onMouseOver="timehide(1);" onMouseOut ="timehide(0);">ラミテクトサーモ</a></div>');
document.write('<div><a href="../roof/index.html" target="_blank" onMouseOver="timehide(1);" onMouseOut ="timehide(0);">ルーフラミテクト</a></div>');
document.write('<div><a href="../roof_rx/index.html" target="_blank" onMouseOver="timehide(1);" onMouseOut ="timehide(0);">ルーフラミテクトＲＸ</a></div>');
document.write('<div><a href="mortar.html" onMouseOver="timehide(1);" onMouseOut ="timehide(0);">モルタルラミテクト</a></div>');
document.write('</div></div>');


document.write('<a href="javascript:void(0);"  onMouseOver="timehide(1);" onMouseOut ="timehide(0);">');
if(str=="14"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn14_f3.gif" width="93" height="30" border="0" alt=""></div>'); }
document.write('<img name="mbtn14" src="cmnimg/btn14.gif" width="93" height="30" alt="" border="0"></a></td><td style="width:59px;">');
/*
if(str=="2"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn2_f3.gif" width="56" height="30" alt=""></div>'); }
document.write('<a href="ramitekuto.htm" onMouseOver="imgOn(2)" onMouseOut="imgOff(2)">');
document.write('<img name="mbtn2" src="cmnimg/btn2.gif" width="56" height="30" alt="" border="0"></a></td><td>');

if(str=="4"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn4_f3.gif" width="86" height="30" alt=""></div>'); }
document.write('<a href="../thermo/index.html" target="_blank" onMouseOver="imgOn(4)" onMouseOut="imgOff(4)">');
document.write('<img name="mbtn4" src="cmnimg/btn4.gif" width="86" height="30" alt="" border="0"></a></td><td>');

if(str=="3"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn3_f3.gif" width="85" height="30" alt=""></div>'); }
document.write('<a href="../roof/index.html" target="_blank" onMouseOver="imgOn(3)" onMouseOut="imgOff(3)">');
document.write('<img name="mbtn3" src="cmnimg/btn3.gif" width="85" height="30" alt="" border="0"></a></td><td>');

if(str=="9"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn9_f3.gif" width="102" height="30" alt=""></div>'); }
document.write('<a href="../roof_rx/index.html" target="_blank" onMouseOver="imgOn(9)" onMouseOut="imgOff(9)">');
document.write('<img name="mbtn9" src="cmnimg/btn9.gif" width="102" height="30" alt="" border="0"></a></td><td>');
*/

if(str=="5"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn5_f3.gif" width="59" height="30" alt=""></div>'); }
document.write('<a href="nurein.htm" onMouseOver="imgOn(5)" onMouseOut="imgOff(5)">');
document.write('<img name="mbtn5" src="cmnimg/btn5.gif" width="59" height="30" alt="" border="0"></a></td><td style="width:62px;">');

if(str=="7"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn7_f3.gif" width="62" height="30" alt=""></div>'); }
document.write('<a href="ci_flag/index.html" target="_blank" onMouseOver="imgOn(7)" onMouseOut="imgOff(7)">');
document.write('<img name="mbtn7" src="cmnimg/btn7.gif" width="62" height="30" alt="" border="0"></a></td><td style="width:108px;">');

if(str=="6"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn6_f3.gif" width="108" height="30" alt=""></div>'); }
document.write('<a href="sererakusu.htm" onMouseOver="imgOn(6)" onMouseOut="imgOff(6)">');
document.write('<img name="mbtn6" src="cmnimg/btn6.gif" width="108" height="30" alt="" border="0"></a></td><td style="width:56px;">');

if(str=="13"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn13_f3.gif" width="56" height="30" alt=""></div>'); }
document.write('<a href="aritect.html" onMouseOver="imgOn(13)" onMouseOut="imgOff(13)">');
document.write('<img name="mbtn13" src="cmnimg/btn13.gif" width="56" height="30" alt="" border="0"></a></td><td style="width:89px;">');

if(str=="1"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn1_f3.gif" width="89" height="30" alt=""></div>'); }
document.write('<a href="sizensirizu.htm" onMouseOver="imgOn(1)" onMouseOut="imgOff(1)">');
document.write('<img name="mbtn1" src="cmnimg/btn1.gif" width="89" height="30" alt="" border="0"></a></td><td style="width:47px;">');

if(str=="8"){ document.write('<div style="position:absolute; z-index:4;"><img src="cmnimg/btn8_f3.gif" width="47" height="30" alt=""></div>'); }
document.write('<a href="index.htm" onMouseOver="imgOn(8)" onMouseOut="imgOff(8)">');
document.write('<img name="mbtn8" src="cmnimg/btn8.gif" width="47" height="30" alt="" border="0"></a></td><td>');
document.write('<img src="cmnimg/bar_white.gif" width="246" height="30" alt=""></td>');
document.write('</tr></table></div>');
}


function footer(){

var hiduke=new Date();
var d=hiduke.getFullYear();

document.write('<div style="text-align:center;">');
document.write('<table cellspacing="0" cellpadding="0" border="0" style="width:770px; height:24px; margin-left:auto; margin-right:auto;"><tr>');
document.write('<td style="width:1%;"><img src="cmnimg/bar_blue.gif" width="15" height="24" alt="" border="0"></td>');
document.write('<td style="width:1%;">');
document.write('<a href="../userinfo.html" target="_blank" onMouseOver="imgOn(10)" onMouseOut="imgOff(10)">');
document.write('<img name="mbtn10" src="cmnimg/btn10.gif" width="92" height="24" alt="" border="0"></a></td>');
document.write('<td style="width:1%;">');
document.write('<a href="inquiry.html" onMouseOver="imgOn(11)" onMouseOut="imgOff(11)">');
document.write('<img name="mbtn11" src="cmnimg/btn11.gif" width="56" height="24" alt="" border="0"></a></td>');
document.write('<td style="width:1%;">');
document.write('<a href="index.htm" onMouseOver="imgOn(12)" onMouseOut="imgOff(12)">');
document.write('<img name="mbtn12" src="cmnimg/btn12.gif" width="62" height="24" alt="" border="0"></a></td>');
document.write('<td style="width:1%;"><img src="cmnimg/bar_blue.gif" width="15" height="24" alt="" border="0"></td>');
document.write('<td class="sssw" style="width:95%; background-color:#069; text-align:right; padding-right:5px; font-family: arial;">');
document.write('Copyright&#169; 2000-' + d + ' SEIREN Co.,Ltd. All Rights Reserved.</td>');
document.write('</tr></table></div>');
}