if (document.images) {
var map1; map1=new Image(); map1.src= "/images/map/searchmapw1.gif";
var map2; map2=new Image(); map2.src= "/images/map/searchmapw2.gif";
var map3; map3=new Image(); map3.src= "/images/map/searchmapw3.gif";
var map4; map4=new Image(); map4.src= "/images/map/searchmapw4.gif";
var map5; map5=new Image(); map5.src= "/images/map/searchmapw5.gif";
var map6; map6=new Image(); map6.src= "/images/map/searchmapw6.gif";
var map7; map7=new Image(); map7.src= "/images/map/searchmapw7.gif";
var map8; map8=new Image(); map8.src= "/images/map/searchmapw8.gif";
var map9; map9=new Image(); map9.src= "/images/map/searchmapw9.gif";
var mapimg = new Array;
mapimg[1] = new Image(); mapimg[1] = map1.src ;
mapimg[2] = new Image(); mapimg[2] = map2.src ;
mapimg[3] = new Image(); mapimg[3] = map3.src ;
mapimg[4] = new Image(); mapimg[4] = map4.src ;
mapimg[5] = new Image(); mapimg[5] = map5.src ;
mapimg[6] = new Image(); mapimg[6] = map6.src ;
mapimg[7] = new Image(); mapimg[7] = map7.src ;
mapimg[8] = new Image(); mapimg[8] = map8.src ;
mapimg[9] = new Image(); mapimg[9] = map9.src ;
}
function chgon(gif)	{if (document.images){document.images.searchmap.src = mapimg[gif];}}
function chgof()	{if (document.images){document.images.searchmap.src ='/images/map/searchmapw.gif';}}
function chg(e, f)	{e.src = f;}
function on(e){ e.style.color = '#ff3300';}
function of(e){ e.style.color = '#0000ff';}
function btn_h(dere,y){
if (document.getElementById){
document.getElementById(dere).style.backgroundPositionX = -180;
document.getElementById(dere).style.backgroundPositionY = y;}
else if (document.all){
document.all[dere].style.backgroundPositionX = -180;
document.all[dere].style.backgroundPositionX = y;	}
}
function btn_n(dere,y){
if (document.getElementById){
document.getElementById(dere).style.backgroundPositionX = 0;
document.getElementById(dere).style.backgroundPositionY = y;}
else if (document.all){
document.all[dere].style.backgroundPositionX = 0;
document.all[dere].style.backgroundPositionX = y;}
}

