//==== Get The Path To The Root Of DAKAR2005
var path_dakar = dir.slice(6);

//==== Load CSS for Menu Layer Position
document.write('<link href="'+path_dakar+'CSS/dakar.css" rel="stylesheet" type="text/css">');

//==== Preload Images for Menu Layer
MM_preloadImages(
				 path_dakar+'IMAGES/COMMON/h_a1_on.gif',
				 path_dakar+'IMAGES/COMMON/h_a2_on.gif',
				 path_dakar+'IMAGES/COMMON/h_b1_on.gif',
				 path_dakar+'IMAGES/COMMON/h_b2_on.gif',
				 path_dakar+'IMAGES/COMMON/h_b3_on.gif',
				 path_dakar+'IMAGES/COMMON/h_b4_on.gif',
				 path_dakar+'IMAGES/COMMON/h_c1_on.gif',
				 path_dakar+'IMAGES/COMMON/h_c2_on.gif',
				 path_dakar+'IMAGES/COMMON/h_d1_on.gif',
				 path_dakar+'IMAGES/COMMON/h_d2_on.gif',
				 path_dakar+'IMAGES/COMMON/h_d3_on.gif',
				 path_dakar+'IMAGES/COMMON/h_d4_on.gif',
				 path_dakar+'IMAGES/COMMON/h_e1_on.gif',
				 path_dakar+'IMAGES/COMMON/h_e2_on.gif',
				 path_dakar+'IMAGES/COMMON/h_e3_on.gif',
				 path_dakar+'IMAGES/COMMON/h_e4_on.gif',
				 path_dakar+'IMAGES/COMMON/h_e5_on.gif',
				 path_dakar+'IMAGES/COMMON/h_e6_on.gif',
				 path_dakar+'IMAGES/COMMON/h_e7_on.gif');

//==== Set Link URL
function go_dakar(url_dakar){
	
	var void_flg=0;
	switch(url_dakar){
		
		case 'index_dakar': url_dakar=path_dakar+"index.html";break;
		
		case 'a_dakar0': url_dakar=path_dakar+"TEAM/index.html";break;
		case 'a_dakar1': url_dakar=path_dakar+"TEAM/TARGET/index.html";break;
		case 'a_dakar2': url_dakar=path_dakar+"TEAM/TEAM/index.html";break;
		case 'a_dakar3': url_dakar=path_dakar+"TEAM/PARTNER/index.html";break;
		 
		case 'b_dakar0': url_dakar=path_dakar+"DAKAR/index.html";break;
		case 'b_dakar1': url_dakar=path_dakar+"DAKAR/OUTLINE/index.html";break;
		case 'b_dakar2': url_dakar=path_dakar+"DAKAR/DICTIONARY/index.html";break;
		case 'b_dakar3': url_dakar=path_dakar+"DAKAR/HISTORY/index.html";break;
		case 'b_dakar4': url_dakar=path_dakar+"DAKAR/DAY/index.html";break;

		case 'c_dakar0': url_dakar=path_dakar+"MACHINE/index.html";break;
		case 'c_dakar1': url_dakar=path_dakar+"MACHINE/index.html";break;
		 
		case 'd_dakar0': url_dakar=path_dakar+"NISSAN/index.html";break;
		case 'd_dakar1': url_dakar=path_dakar+"NISSAN/HISTORY/index.html";break;
		case 'd_dakar2': url_dakar=path_dakar+"NISSAN/WORKS/index.html";break;
		case 'd_dakar3': url_dakar=path_dakar+"NISSAN/PEOPLE/index.html";break;
		case 'd_dakar4': url_dakar=path_dakar+"NISSAN/JAPANESE/index.html";break;
		
		case 'e_dakar0': url_dakar=path_dakar+"REPORT/index.html";break;
		case 'e_dakar1': url_dakar=path_dakar+"REPORT/REPORT/index.html";break;
		case 'e_dakar2': url_dakar=path_dakar+"REPORT/RESULT/index.html";break;
		case 'e_dakar3': url_dakar=path_dakar+"REPORT/GALLERY/index.html";break;
		case 'e_dakar5': url_dakar=path_dakar+"REPORT/BIVOUAC/index.html";break;
		case 'e_dakar6': url_dakar=path_dakar+"REPORT/MAILNEWS/index.html";break;
		case 'e_dakar7': url_dakar=path_dakar+"REPORT/ASK/index.html";break;
		 
		default: break;
	}
	if(void_flg==0) location.href=url_dakar;
}

//==== Write Tags for Menu Layers
var nav_d = '<!-- /HEADER_DAKAR======================================================= -->';
nav_d += '<table width="720" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#999999"><img src="'+path_dakar+'IMAGES/pix.gif" width="2" height="1"></td></tr></table>';
nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_i_01.jpg" width="720" height="10" border="0"></div>';
nav_d += '<div><a href="javascript:go_dakar(\'index_dakar\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_i_02.jpg" alt="NISSAN RALLYRAID TEAM | DAKAR 2005" width="170" height="50" border="0"></a>';
nav_d += '<a href="javascript:void(0);" onMouseOver="showblk_dakar(\'1\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_b_1.gif" alt="The Team" width="100" height="50" border="0"></a><img src= "'+path_dakar+'IMAGES/COMMON/h_i_03.jpg" width="10" height="50">';
nav_d += '<a href="javascript:void(0);" onMouseOver="showblk_dakar(\'2\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_b_2.gif" alt="About Dakar" width="100" height="50" border="0"></a><img src= "'+path_dakar+'IMAGES/COMMON/h_i_04.jpg" width="10" height="50">';
nav_d += '<a href="javascript:void(0);" onMouseOver="showblk_dakar(\'3\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_b_3.gif" alt="Machines" width="100" height="50" border="0"></a><img src= "'+path_dakar+'IMAGES/COMMON/h_i_05.jpg" width="10" height="50">';
nav_d += '<a href="javascript:void(0);" onMouseOver="showblk_dakar(\'4\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_b_4.gif" alt="Nissan &amp; Dakar" width="100" height="50" border="0"></a><img src= "'+path_dakar+'IMAGES/COMMON/h_i_06.jpg" width="10" height="50">';
nav_d += '<a href="javascript:void(0);" onMouseOver="showblk_dakar(\'5\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_b_5.gif" alt="Report" width="100" height="50" border="0"></a><img src= "'+path_dakar+'IMAGES/COMMON/h_i_07.jpg" width="10" height="50"></div>';
nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_i_08.jpg" width="170" height="12"><img src= "'+path_dakar+'IMAGES/COMMON/h_i_09.jpg" width="550" height="12"></div>';
nav_d += '<!-- HEADER_DAKAR/======================================================= -->';

nav_d += '<!-- /NAVI_DAKAR======================================================= -->';
nav_d += '<div id="blockdakar"><a href="javascript:void(0);" onMouseOver="hall1_dakar();"><img src= "'+path_dakar+'IMAGES/pix.gif" width="560" height="350" border="0"></a></div>';

nav_d += '<!-- -------gNv_dakar1------------------- -->';
nav_d += '<div id="gNvdakar1">';
nav_d += '<div><a href="javascript:go_dakar(\'a_dakar0\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_a0.gif" border="0"></a></div>';
//nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_a0.gif" border="0"></div>';
nav_d += '<div><a href="javascript:go_dakar(\'a_dakar1\')" onMouseOver="MM_swapImage(\'dkr_a1\',\'\',\''+path_dakar+'IMAGES/COMMON/h_a1_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_a1_off.gif" name="dkr_a1" width="100" height="18" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'a_dakar2\')" onMouseOver="MM_swapImage(\'dkr_a2\',\'\',\''+path_dakar+'IMAGES/COMMON/h_a2_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_a2_off.gif" name="dkr_a2" width="100" height="18" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'a_dakar3\')" onMouseOver="MM_swapImage(\'dkr_a3\',\'\',\''+path_dakar+'IMAGES/COMMON/h_a3_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_a3_off.gif" name="dkr_a3" width="100" height="18" border="0"></a></div>';
// Comming Soon
//nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_cs_off.gif" name="dkr_a1" width="100" height="18" border="0"></div>';
nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_foot.gif" width="100" height="6"></div>';
nav_d += '</div>';

nav_d += '<!-- -------gNv_dakar2------------------- -->';
nav_d += '<div id="gNvdakar2">';
nav_d += '<div><a href="javascript:go_dakar(\'b_dakar0\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_b0.gif" width="100" height="30" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'b_dakar1\')" onMouseOver="MM_swapImage(\'dkr_b1\',\'\',\''+path_dakar+'IMAGES/COMMON/h_b1_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_b1_off.gif" name="dkr_b1" width="100" height="18" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'b_dakar2\')" onMouseOver="MM_swapImage(\'dkr_b2\',\'\',\''+path_dakar+'IMAGES/COMMON/h_b2_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_b2_off.gif" name="dkr_b2" width="100" height="18" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'b_dakar3\')" onMouseOver="MM_swapImage(\'dkr_b3\',\'\',\''+path_dakar+'IMAGES/COMMON/h_b3_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_b3_off.gif" name="dkr_b3" width="100" height="18" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'b_dakar4\')" onMouseOver="MM_swapImage(\'dkr_b4\',\'\',\''+path_dakar+'IMAGES/COMMON/h_b4_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_b4_off.gif" name="dkr_b4" width="100" height="29" border="0"></a></div>';
nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_foot.gif" width="100" height="6"></div>';
nav_d += '</div>';

nav_d += '<!-- -------gNvdakar3------------------- -->';
nav_d += '<div id="gNvdakar3">';
nav_d += '<div><a href="javascript:go_dakar(\'c_dakar0\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_c0.gif" width="100" height="30" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'c_dakar1\')" onMouseOver="MM_swapImage(\'dkr_c1\',\'\',\''+path_dakar+'IMAGES/COMMON/h_c1_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_c1_off.gif" name="dkr_c1" width="100" height="18" border="0"></a></div>';
nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_foot.gif" width="100" height="6"></div>';
nav_d += '</div>';

nav_d += '<!-- -------gNv_dakar4------------------- -->';
nav_d += '<div id="gNvdakar4">';
nav_d += '<div><a href="javascript:go_dakar(\'d_dakar0\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_d0.gif" width="100" height="30" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'d_dakar1\')" onMouseOver="MM_swapImage(\'dkr_d1\',\'\',\''+path_dakar+'IMAGES/COMMON/h_d1_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_d1_off.gif" name="dkr_d1" width="100" height="18" border="0"></a></div>';
//nav_d += '<div><a href="javascript:go_dakar(\'d_dakar2\')" onMouseOver="MM_swapImage(\'dkr_d2\',\'\',\''+path_dakar+'IMAGES/COMMON/h_d2_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_d2_off.gif" name="dkr_d2" width="100" height="29" border="0"></a></div>';
//nav_d += '<div><a href="javascript:go_dakar(\'d_dakar3\')" onMouseOver="MM_swapImage(\'dkr_d3\',\'\',\''+path_dakar+'IMAGES/COMMON/h_d3_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_d3_off.gif" name="dkr_d3" width="100" height="29" border="0"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'d_dakar4\')" onMouseOver="MM_swapImage(\'dkr_d4\',\'\',\''+path_dakar+'IMAGES/COMMON/h_d4_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_d4_off.gif" name="dkr_d4" width="100" height="29" border="0"></a></div>';
nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_foot.gif" width="100" height="6"></div>';
nav_d += '</div>';

nav_d += '<!-- -------gNv_dakar5------------------- -->';
nav_d += '<div id="gNvdakar5">';
nav_d += '<div><a href="javascript:go_dakar(\'e_dakar0\')"><img src= "'+path_dakar+'IMAGES/COMMON/h_e0.gif" name="dkr_e0" width="100" height="30" border="0" id="dkr_e0"></a></div>';
// Comming Soon
//nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_cs_off.gif" name="dkr_e1" width="100" height="18" border="0"></div>';
nav_d += '<div><a href="javascript:go_dakar(\'e_dakar1\')" onMouseOver="MM_swapImage(\'dkr_e11\',\'\',\''+path_dakar+'IMAGES/COMMON/h_e1_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_e1_off.gif" name="dkr_e11" width="100" height="18" border="0" id="dkr_e11"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'e_dakar2\')" onMouseOver="MM_swapImage(\'dkr_e2\',\'\',\''+path_dakar+'IMAGES/COMMON/h_e2_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_e2_off.gif" name="dkr_e2" width="100" height="18" border="0" id="dkr_e2"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'e_dakar3\')" onMouseOver="MM_swapImage(\'dkr_e3\',\'\',\''+path_dakar+'IMAGES/COMMON/h_e3_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_e3_off.gif" name="dkr_e3" width="100" height="18" border="0" id="dkr_e3"></a></div>';
//nav_d += '<div><a href="javascript:go_dakar(\'e_dakar4\')" onMouseOver="MM_swapImage(\'dkr_e4\',\'\',\''+path_dakar+'IMAGES/COMMON/h_e4_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_e4_off.gif" name="dkr_e4" width="100" height="18" border="0" id="dkr_e4"></a></div>';
nav_d += '<div><a href="javascript:go_dakar(\'e_dakar5\')" onMouseOver="MM_swapImage(\'dkr_e5\',\'\',\''+path_dakar+'IMAGES/COMMON/h_e5_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_e5_off.gif" name="dkr_e5" width="100" height="29" border="0" id="dkr_e5"></a></div>';
//nav_d += '<div><a href="javascript:go_dakar(\'e_dakar6\')" onMouseOver="MM_swapImage(\'dkr_e6\',\'\',\''+path_dakar+'IMAGES/COMMON/h_e6_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_e6_off.gif" name="dkr_e6" width="100" height="18" border="0" id="dkr_e6"></a></div>';
//nav_d += '<div><a href="javascript:go_dakar(\'e_dakar7\')" onMouseOver="MM_swapImage(\'dkr_e7\',\'\',\''+path_dakar+'IMAGES/COMMON/h_e7_on.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src= "'+path_dakar+'IMAGES/COMMON/h_e7_off.gif" name="dkr_e7" width="100" height="18" border="0" id="dkr_e7"></a></div>';
nav_d += '<div><img src= "'+path_dakar+'IMAGES/COMMON/h_foot.gif" width="100" height="6"></div>';
nav_d += '</div>';

nav_d += '<!-- NAVI/======================================================= -->';

document.write(nav_d);


