function RunFlash()
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'")
document.write(" codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab'")
document.write("       width=840 height=200>")
document.write("<param name=movie value='imgs/main.swf'>")
document.write("<param name=quality value=high>")
document.write("<embed src='imgs/main.swf' quality=high  ")
document.write("       width=840 height=200")
document.write("       type='application/x-shockwave-flash' ")
document.write("pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.write("</embed>")
document.write("</object>")
}

function rollOver_jpg(_obj){
	var newFile = _obj.src.substring(0,_obj.src.length-4);
	newFile = newFile+"_2.jpg";
	_obj.src = newFile;
}

function rollOut_jpg(_obj){
	var newFile = _obj.src.substring(0,_obj.src.length-6);
	newFile = newFile+".jpg";
	_obj.src = newFile;
}


function rollOver_gif(_obj){
	var newFile = _obj.src.substring(0,_obj.src.length-4);
	newFile = newFile+"_2.gif";
	_obj.src = newFile;
}

function rollOut_gif(_obj){
	var newFile = _obj.src.substring(0,_obj.src.length-6);
	newFile = newFile+".gif";
	_obj.src = newFile;
}

function OpenMAP(){
  url = 'http://car.webplus.ne.jp/map.asp?ad=%93%8C%8B%9E%93s%90%A2%93c%92J%8B%E6%8B%CA%90%EC%93c%89%80%92%B2%95z2%2D1%2D1&ms=%83g%83b%83v%83M%83A%81%5B%97L%8C%C0%89%EF%8E%D0&tm=metallic03&bg=202020&nx=0&ny=0';
  ww = kl_screenwidth();
  hh = kl_screenheight();
  ww = (ww - 420) / 2;
  hh = (hh - 460) / 2;
  window.open(url,'Map_Maint','width=420,height=460,left='+ww+',top='+hh);
}

function OpenMAP2(){
  url = 'http://car.webplus.ne.jp/map_ex.asp?nx=502824.094&ny=128183.909&lv=3&BG=DDDDDD&TM=metallic03&MS=ブランドウォッチ トップギア';
  ww = kl_screenwidth();
  hh = kl_screenheight();
  ww = (ww - 420) / 2;
  hh = (hh - 460) / 2;
  window.open(url,'Map_Maint','width=420,height=460,left='+ww+',top='+hh);
}

function kl_screenwidth(avail){
  if(!self["screen"]) return 0;
  if(avail) return (screen.availWidth ? screen.availWidth : 0);
  return screen.width ? screen.width : 0;
}
function kl_screenheight(avail){
  if(!self["screen"]) return 0;
  if(avail) return (screen.availHeight ? screen.availHeight : 0);
  return screen.height ? screen.height : 0;
}

