<!--
//==============================================================================
//	ブラウザ判別NN js読み込み対応の設定
//==============================================================================
var loadflg = false;
function WinReload(){
	var vNum = navigator.appVersion.charAt(0);
	var bName = navigator.appName.charAt(0);
	if( bName == "N" && vNum < 5 ){
		if(loadflg == false ){location.reload();}
	}
}
//==============================================================================
//	ロールオーバーの設定
//==============================================================================
function MM_findObj(n, d) { //v4.0
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && document.getElementById) x=document.getElementById(n); return x;
}
//プリロード
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//スワップイメージ
function MM_swapImage() { //v3.0
	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//スワップイメージの復元
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
//==============================================================================
//	headerとfooterの設定
//==============================================================================
//------------------------------------------------------------------------------
//	header
//------------------------------------------------------------------------------
function header(){
	document.writeln('<table width="700" border="0" cellspacing="0" cellpadding="0">');	
	document.writeln('<tr><td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.writeln('<td width="330"><a name="pagetop"></a><a href="../index.html"><img src="../img/logo.gif" width="330" height="46" alt="自動車リサイクルシステム" border="0"></a></td>');
	document.writeln('<td align="right" valign="bottom" width="368"><a href="../index.html"><img src="../img/go_top.gif" width="136" height="22" alt="トップページへもどる" border="0"></a></td>');
	document.writeln('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td></tr>');
	document.writeln('<tr><td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.writeln('<td colspan="2" bgcolor="#00AA82" height="3"><img src="../img/spacer.gif" width="3" height="3" alt=""></td>');
	document.writeln('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td></tr>');
	document.writeln('<tr><td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.writeln('<td colspan="2" bgcolor="#292929" height="1"><img src="../img/spacer.gif" width="3" height="1" alt=""></td>');
	document.writeln('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td></tr></table>');
}
//------------------------------------------------------------------------------
//	footer
//------------------------------------------------------------------------------
function footer(){
	document.writeln('<table width="700" border="0" cellspacing="0" cellpadding="0">');	
	document.writeln('<tr><td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');		
	document.writeln('<td width="698" align="right" height="50" valign="bottom"><a href="#pagetop"><img src="../img/go_pagetop.gif" width="110" height="14" alt="このページのトップへ" border="0" name="pagetop"></a></td>');	
	document.writeln('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td></tr></table>');
	document.writeln('<table width="700" border="0" cellspacing="0" cellpadding="0">');
	document.writeln('<tr><td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.writeln('<td width="698" bgcolor="#00AA82" height="3"><img src="../img/spacer.gif" width="3" height="3" alt=""></td>');
	document.writeln('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td></tr>');
	document.writeln('<tr><td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.writeln('<td width="698" bgcolor="#E3FBF5"><img src="../img/spacer.gif" width="3" height="3" alt=""></td>');
	document.writeln('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td></tr>');
	document.writeln('<tr><td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.writeln('<td width="698"><img src="../img/spacer.gif" width="15" height="15" alt=""></td>');
	document.writeln('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td></tr></table>');
}
//==============================================================================
//	ヘッダ・左ナビゲーション・囲み・フッタの読み込み設定（ナビ無し）
//==============================================================================
//	ヘッダ・左ナビ・囲み読み込み
//------------------------------------------------------------------------------
function Navinone_top(){
	header();
	document.writeln('<table border="0" width="700" cellspacing="0" cellpadding="0" height="100%">');
	document.writeln('<tr valign="top">');
	document.write('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.write('<td align="center" width="698">');
	loadflg = true;
}
//	フッタ読み込み
//------------------------------------------------------------------------------
function Navinone_bottom(){
	document.writeln('</td>');
	document.write('<td bgcolor="#00AA82" width="1"><img src="../img/spacer.gif" width="1" height="1" alt=""></td>');
	document.writeln('</tr>');
	document.writeln('</table>');
	footer();
}
//==============================================================================
//	システム　ポップアップウィンドウの設定　IE7アラート表示
//==============================================================================
function iealert2() {
  app = navigator.appName.charAt(0);
  ver = navigator.appVersion;
  if (app=="M" && ver.indexOf("IE 7")>0) {alert("Internet Explorer 7は現在動作確認中の為、正式サポートしておりません。\nInternet Explorer 7のご利用につきましては、対応を完了した時点でホームページにてお知らせいたします。");}
  }
function openwinIE2(url){
  app = navigator.appName.charAt(0);
  ver = navigator.appVersion;
  if (app=="M" && ver.indexOf("IE 7")>0) {alert("Internet Explorer 7は現在動作確認中の為、正式サポートしておりません。\nInternet Explorer 7のご利用につきましては、対応を完了した時点でホームページにてお知らせいたします。");}
		window.open(url,"winname","toolbar =no, location=no, directories=no, status=yes,  menubar=no, scrollbars=yes,  resizable=yes");
 }
//==============================================================================
//	ポップアップウィンドウの設定
//==============================================================================
function openwin(url,winobject){
	window.open(url,winobject,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes");
 }
//==============================================================================
//	ポップアップウィンドウの設定(FAQ用)
//==============================================================================
function openwinf(urlf,winobjectf){
window.open(urlf,winobjectf,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,width=760,height=430");
}
//-->

