//タイトルを取得、
//該当するタイトルであればif文のものを表示
myDomain=document.title;

//階層が異なるため、絶対パスで読み込む
//新規で作成したナビは必ずサーバにアップ
//注意！　本番アップ前は絶対パスを変更
domain="http://www.vantec-gl.com/";
domain+="backdate/";

//バックデート＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
//2010--------------------
y2010="<li><a href='"+domain+"2010/' onMouseOver='MM_swapImage(\"2010\",\"\",\""+domain+"img/2010_o.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='"+domain+"img/2010.gif' alt='2010年度' name='2010' width='160' height='33' ></a></li>";
y2010_o="<li><img src='"+domain+"img/2010_r.gif' alt='2010年度' name='2010' width='160' height='33' ></li>";

//2009--------------------
y2009="<li><a href='"+domain+"2009/' onMouseOver='MM_swapImage(\"2009\",\"\",\""+domain+"img/2009_o.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='"+domain+"img/2009.gif' alt='2009年度' name='2009' width='160' height='33' ></a></li>";
y2009_o="<li><img src='"+domain+"img/2009_r.gif' alt='2009年度' name='2009' width='160' height='33' ></li>";

//2008--------------------

y2008="<li><a href='"+domain+"2008/' onMouseOver='MM_swapImage(\"2008\",\"\",\""+domain+"img/2008_o.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='"+domain+"img/2008.gif' alt='2008年度' name='2008' width='160' height='33' ></a></li>";
y2008_o="<li><img src='"+domain+"img/2008_r.gif' alt='2008年度' name='2008' width='160' height='33' ></li>";


//2007--------------------
y2007="<li><a href='"+domain+"2007/' onMouseOver='MM_swapImage(\"2007\",\"\",\""+domain+"img/2007_o.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='"+domain+"img/2007.gif' alt='2007年度' name='2007' width='160' height='33' ></a></li>";
y2007_o="<li><img src='"+domain+"img/2007_r.gif' alt='2007年度' name='2007' width='160' height='33' ></li>";





document.write("<ul>");

//2010＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
if(myDomain=="株式会社バンテック（What's new バックデート（2010年度））"){
	document.write(y2010_o);
	document.write(y2009);
	document.write(y2008);
	//2007年度
	document.write(y2007);
	
	}

//2009＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
else if(myDomain=="株式会社バンテック（What's new バックデート（2009年度））"){
	document.write(y2010);
	document.write(y2009_o);
	document.write(y2008);
	//2007年度
	document.write(y2007);
	
	}

//2008＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
else if(myDomain=="株式会社バンテック（What's new バックデート（2008年度））"){
	document.write(y2010);
	document.write(y2009);
	document.write(y2008_o);
	//2007年度
	document.write(y2007);
	
	}
	
//
else if(myDomain=="株式会社バンテック（What's new バックデート（2007年度））"){
	document.write(y2010);
	document.write(y2009);
	document.write(y2008);
	//2007年度
	document.write(y2007_o);
}

else{
	document.write(y2010);
	document.write(y2009);
	document.write(y2008);
	document.write(y2007);
	}


document.write("</ul>");