//	shlayers
function getLayOj(obj){ 
    if(document.getElementById){
						return document.getElementById(obj).style   //NN6 and IE6用
			}
    if(document.layers){
						return document.layers[obj]     //NN4.x用
			}
    if(document.all){
					   return document.all(obj).style  //IE4or5用
		  }
}

  function showLAYER(oj){
    if(document.layers){    //NN4.x用
 			oj.visibility='show'
		} 
 		else{
			oj.visibility='visible' 
		}
		return false;
	} //NN6,IE用
  function hideLAYER(oj){
			oj.visibility='hidden' 
			return false;
	 } //NN,IE用
  function getVISIBLE(oj){
    if(document.layers){    //NN用
	  if(oj.visibility=='show')   return 'visible'
      if(oj.visibility=='hide')   return 'hidden'
      if(oj.visibility=='inherit')return 'inherit'
    }
    if(document.all){       //IE用
      if(oj.visibility=='')return 'inherit'
      return oj.visibility
    }
    return ''
  }

//button部分
btnImg=new Array();
for(i=1; i<=3; i++){
	btnImg[i]=new Image();
	btnImg[i].src="cmnimg/banner0"+i+"_f2.gif";
}
function imgOn(i){
	document.images['banner'+i].src=btnImg[i].src
}
function imgOff(i){
	document.images['banner'+i].src="cmnimg/banner0"+i+".gif";
}


//フッタクレジット
var hiduke=new Date();
var d=hiduke.getFullYear();
var hpath;

function credit(flpath) {
	if(flpath == null){ hpath = ""; }
	else if(flpath == 0){ hpath = ""; }
	else if(flpath == 1){ hpath = "../"; }
	else if(flpath == 2){ hpath = "../../"; }

document.write('<div id="privacy" style="position:absolute; z-index:3;  visibility: hidden;">');
document.write('<div class="t_parency80" style="position:absolute; width:200px; height:100px; left:0px; top:-110px; background-color:#f7f7f7; color:#222; padding:10px;">');
document.write('<div class="sss">当サイトご利用の皆様の氏名や住所、メールアドレスなど、特定の個人を識別できる個人情報は、セーレン&#12849;が定めるポリシーに従い、適切に管理します。');
document.write('詳しくはボタンをクリックのうえ、セーレンWEBサイトをご覧ください。</div>');
document.write('</div></div>');

document.write('<div style="width:750px; height:20px; margin-left:10px;background-color:#0E3192;">');
document.write('<div style="position:absolute;"><a href="http://www.seiren.com/privacy.html" target="_blank" ');
document.write('onMouseOver = showLAYER(getLayOj("privacy")); onMouseOut = hideLAYER(getLayOj("privacy"));>');
document.write('<img src="'+hpath+'cmnimg/privacy.gif" width="110" height="20" alt="" border="0"></a></div>');
document.write('<div style="font-family:Verdana; font-size:10px; text-align:right; color:#cff; line-height: 20px;">');
document.write('Copyright &#169; 2000-'+d+' Seiren System Service CO.,LTD. All Rights Reserved.&nbsp;</div></div>');
}

