

function nnResize(){
	var ns4 = document.layers;
	
	if(ns4){
		window.location.reload();
	}
}

/*Mouse Over*/

function ImgChange(imgNum,imgSrc) {
	document.images[imgNum].src = imgSrc;
}

if(navigator.appVersion.charAt(0) >=3){
         var btnimg = new Array();
         for( i = 0 ; i < 36 ; i++ ){
                 btnimg[i] = new Image();
         }
         btnimg[0].src= "/world/image/nav/m2_product0.gif";
         btnimg[1].src= "/world/image/nav/m2_product1.gif";
         btnimg[2].src= "/world/image/nav/m2_distributor0.gif";
         btnimg[3].src= "/world/image/nav/m2_distributor1.gif";
         btnimg[4].src= "/world/image/nav/m2_press0.gif";
         btnimg[5].src= "/world/image/nav/m2_press1.gif";
         btnimg[6].src= "/world/image/nav/m2_corporate0.gif";
         btnimg[7].src= "/world/image/nav/m2_corporate1.gif";
         btnimg[8].src= "/world/image/nav/m2_investor0.gif";
         btnimg[9].src= "/world/image/nav/m2_investor1.gif";
         btnimg[10].src= "/world/image/nav/m2_toppage0.gif";
         btnimg[11].src= "/world/image/nav/m2_toppage1.gif";
         btnimg[12].src= "/world/image/nav/m1_tec0.gif";
         btnimg[13].src= "/world/image/nav/m1_tec1.gif";
         btnimg[14].src= "/world/image/nav/m1_env0.gif";
         btnimg[15].src= "/world/image/nav/m1_env1.gif";
         btnimg[16].src= "/world/image/nav/m1_ams0.gif";
         btnimg[17].src= "/world/image/nav/m1_ams1.gif";
         btnimg[18].src= "/world/image/top/btn_japanese0.gif";
         btnimg[19].src= "/world/image/top/btn_japanese1.gif";
		 btnimg[20].src= "/world/image/top/btn_n_series0.gif";
		 btnimg[21].src= "/world/image/top/btn_n_series1.gif";
		 btnimg[22].src= "/world/image/top/btn_f_series0.gif";
		 btnimg[23].src= "/world/image/top/btn_f_series1.gif";
		 btnimg[24].src= "/world/image/top/btn_ce_series0.gif";
		 btnimg[25].src= "/world/image/top/btn_ce_series1.gif";
		 btnimg[26].src= "/world/image/top/btn_dmax0.gif";
		 btnimg[27].src= "/world/image/top/btn_dmax1.gif";
		 btnimg[28].src= "/world/image/top/btn_m_tec0.gif";
		 btnimg[29].src= "/world/image/top/btn_m_tec1.gif";
		 btnimg[30].src= "/world/image/top/btn_m_env0.gif";
		 btnimg[31].src= "/world/image/top/btn_m_env1.gif";
		 btnimg[32].src= "/world/image/top/btn_m_randd0.gif";
		 btnimg[33].src= "/world/image/top/btn_m_randd1.gif";
		 btnimg[34].src= "/world/image/top/btn_cus_info0.gif";
		 btnimg[35].src= "/world/image/top/btn_cus_info1.gif";
}
 function paintBtn(dim,cnt){
     if(navigator.appVersion.charAt(0) >= 3 ){
         document.images[dim].src=btnimg[cnt].src;
     }
}

////////////////////////////////////////////////////////////////////////////////////
// W_CAR

function BrowserCheck(){

	this.NavName = navigator.appName;
	this.NavAnt = navigator.userAgent;
	this.NavVer = navigator.appVersion;
	this.NavPlug = navigator.plugins;
	this.NavVsub = navigator.vendorSub;
	this.NavVerI = parseInt(this.NavVer);
	this.NavVerF = parseFloat(this.NavVer);
	
	this.NN = (this.NavName == "Netscape")
	this.NN4 = (this.NavAnt.indexOf("Mozilla/4") != -1);
	this.NN6 = (this.NavAnt.indexOf("Netscape6/") != -1);
	this.NN7 = (this.NavAnt.indexOf("Netscape/7") != -1);
		
	this.IE = (this.NavName == "Microsoft Internet Explorer");
	this.IE3 = (this.NavAnt.indexOf('MSIE 3')>0);
	this.IE45 = (this.NavVer.indexOf('MSIE 4.5')>0);
	this.IE401 = (this.NavVer.indexOf('MSIE 4.01')>0);
	this.IE4 = (this.NavVer.indexOf('MSIE 4')>0);
	this.IE51 = (this.NavAnt.indexOf('MSIE 5.1')>0);
	this.IE5 = (this.NavVer.indexOf('MSIE 5')>0);		
	this.IE6 = (this.NavVer.indexOf('MSIE 6')>0);

	this.GEK = (this.NavAnt.indexOf("Gecko") != -1);
	this.SAF = (this.NavAnt.indexOf("Safari",0) != -1);
	this.CAB = (this.NavAnt.indexOf("iCab",0) != -1);
	this.OPE = (this.NavAnt.indexOf("Opera",0) != -1);

	this.Win = (this.NavAnt.indexOf("Win",0) != -1);
	this.Mac = (this.NavAnt.indexOf("Mac",0) != -1);
	this.Uix = (this.NavAnt.indexOf("X11",0) != -1);

}

var checkB = new BrowserCheck();
var var_css = new String();

if(checkB.Mac) {
	if(checkB.IE6) {
		var_css="mac_ie";
	} else if(checkB.IE5 || checkB.IE51) {
		var_css="mac_ie";
	} else if(checkB.NN6 || checkB.NN7) {
		var_css="mac_nn";
	} else if(checkB.SAF) {
		var_css="mac_ie";
	} else {
		var_css="mac_nn4";
	}
} else if(checkB.Win) {
	if(checkB.IE5 || checkB.IE6) {
		var_css="win_ie";
	} else if(checkB.NN6 || checkB.NN7) {
		var_css="win_nn";
	} else {
		var_css="win_nn4";
	}
} else {
	var_css="win_ie";
}



function subWin5(){
	
	if(var_css == "win_ie" || var_css == "mac_ie"){
		var myHeight = 541;
	}else if(var_css == "win_nn" || var_css == "mac_nn"){
		var myHeight = 563;
	}else{
		// nn4
		var myHeight = 573;
	}

	var w_car = window.open("/world/w_car/index.html", "w_car", "width=696,height=" + myHeight + ",scrollbars=1,resizable=1,toolbar=0,menubar=1,location=0,status=0");
	w_car.focus();
}

////////////////////////////////////////////////////////////////////////////////////

/*Gナビポップアップメニュー*/

var current="",timer,ready=false,ie,nn,d1,op

function popupmenu(e,id,menux,menuy){
hidemenu()
current=id
if(timer)clearTimeout(timer)
if(ie||op)e=window.event
if(!menux||!menuy){
if(ie||op){
menux=e.clientX+document.body.scrollLeft
menuy=e.clientY+document.body.scrollTop
}else{
menux=e.pageX
menuy=e.pageY
}
}
if(ie||d1){
with(document.all(id)){
style.left=menux
style.top=menuy
style.visibility="visible"
}
}else
if(nn){
with(document.layers[id]){
left=menux
top=menuy
visibility="show"
}
}
}

var doposcheck=false

function poscheck(e){
if(doposcheck){
if(ie||op)e=window.event
var l,t,w,h,x,y
if(ie||d1){
l=document.all(current).offsetLeft
t=document.all(current).offsetTop
w=document.all(current).offsetWidth
h=document.all(current).offsetHeight
x=eval("e.clientX+"+(op&&!document.createTextNode?0:ie?"document.body.scrollLeft":"window.pageXOffset"))
y=eval("e.clientY+"+(op&&!document.createTextNode?0:ie?"document.body.scrollTop":"window.pageYOffset"))
if(x<l||x>l+w||y<t||y>t+h)hidemenu()
}else
if(nn){
l=document.layers[current].left
t=document.layers[current].top
w=document.layers[current].document.width
h=document.layers[current].document.height
if(e.pageX<l||e.pageX>l+w||e.pageY<t||e.pageY>t+h)hidemenu()
}
}
}

function hidemenu(){
if(current!=""){
if(ie||d1)document.all(current).style.visibility="hidden"
else
if(nn)document.layers[current].visibility="hide"
doposcheck=false
}
}

function hide(){
if(!ready){timer=setTimeout("hide();doposcheck=true",100);return}
timer=setTimeout('if(!doposcheck){hidemenu()}',1000)
}

function initmenu(){
ie=!!document.all
nn=!!document.layers
d1=!!document.getElementById
op=!!window.opera
if(!ie&&d1)
document.all=function(id){return document.getElementById(id)}
if(!(ie||d1||nn))return
if(nn)document.captureEvents(Event.MOUSEMOVE)
document.onmousemove=poscheck
var over=function(e){doposcheck=true;if(nn&&e.target.constructor!=Layer)document.routeEvent(e)}
for(i=1;;i++){
if((nn&&!document.layers["menu"+i])||(!nn&&!document.all("menu"+i)))break
if(nn){
document.layers["menu"+i].captureEvents(Event.MOUSEOVER)
document.layers["menu"+i].onmouseover=over
}else{
document.all("menu"+i).onmouseover=over
}
}
ready=true
}
window.onload=initmenu

function pulldown(){
document.write("<div id='menu1'><table width='256' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/product/ce_series/index.html'>Trucks</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/product/bus/erga.html'>Buses</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/product/dmax/index.html'>Pickup Trucks &amp; Sport Utility Vehicles (SUV)</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/product/automotive/index.html'>Automotive Engines</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/product/industrial/index.html'>Industrial Engines</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/product/marine/index.html'>Marine Engines</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div><div id='menu2'><table width='190' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/europe.html'>Europe</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/m_east.html'>Middle East</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/africa.html'>Africa</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/asia.html'>Asia</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/oce_p.html'>Oceania &amp; Pacific Ocean</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/n_america.html'>North America</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/c_ame_cari.html'>Central America &amp; The Caribbean</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/distributor/s_america.html'>South America</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div><div id='menu3'><table width='130' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/press/news_event/index.html'>News &amp; Events</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div><div id='menu4'><table width='200' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/corporate/about/index.html'>About Isuzu</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/corporate/truck/index.html'>Isuzu As An Innovative Truck Manufacturer</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/corporate/engine/index.html'>Isuzu-World's Leading Diesel Engine Manufacturer</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div><div id='menu5'><table width='180' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/investor/corporate.html'>Corporate Information</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/investor/plan.html'>Mid-term Business Plan</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/investor/financial.html'>Financial Reports</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/investor/shareholders.html'>For Investors and Shareholders</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/investor/communication.html'>Others</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div><div id='menu6'><table width='220' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/technology/clean/index.html'>Clean Diesel Technology</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/technology/low/index.html'>Low Pollution Alternative Fuel Vehicles</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/technology/randd/index.html'>Isuzu R&amp;D Room</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div><div id='menu7'><table width='180' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/environment/report/index.html'>Environmental Report</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div><div id='menu8'><table width='180' border='0' cellpadding='3' cellspacing='0'><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/amusement/tms/index.html'>Tokyo Motor Show</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='/world/amusement/down/index.html'>Desktop Calendar / Wallpapers</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3' class='mainnoh'><img src='/world/image/nav/nav_list.gif' width='16' height='12' alt=''></td><td bgcolor='#e3e3e3' class='mainnoh'><a href='javascript:subWin5();'>Working Vehicle around the world</a></td></tr><tr valign='top'><td width='16' bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td><td bgcolor='#e3e3e3'><img src='/world/image/common/dot.gif' width='1' height='1' alt=''></td></tr></table></div>");
}