if(document.images){ news_on = new Image(); news_on.src = "/gphx/menu/news_on.gif" news_off = new Image(); news_off.src = "/gphx/menu/news_off.gif" news_hvr = new Image(); news_hvr.src = "/gphx/menu/news_hvr.gif" tour_on = new Image(); tour_on.src = "/gphx/menu/tour_on.gif" tour_off = new Image(); tour_off.src = "/gphx/menu/tour_off.gif" tour_hvr = new Image(); tour_hvr.src = "/gphx/menu/tour_hvr.gif" albums_on = new Image(); albums_on.src = "/gphx/menu/albums_on.gif" albums_off = new Image(); albums_off.src = "/gphx/menu/albums_off.gif" albums_hvr = new Image(); albums_hvr.src = "/gphx/menu/albums_hvr.gif" press_on = new Image(); press_on.src = "/gphx/menu/press_on.gif" press_off = new Image(); press_off.src = "/gphx/menu/press_off.gif" press_hvr = new Image(); press_hvr.src = "/gphx/menu/press_hvr.gif" image_on = new Image(); image_on.src = "/gphx/menu/image_on.gif" image_off = new Image(); image_off.src = "/gphx/menu/image_off.gif" image_hvr = new Image(); image_hvr.src = "/gphx/menu/image_hvr.gif" sound_on = new Image(); sound_on.src = "/gphx/menu/sound_on.gif" sound_off = new Image(); sound_off.src = "/gphx/menu/sound_off.gif" sound_hvr = new Image(); sound_hvr.src = "/gphx/menu/sound_hvr.gif" link_on = new Image(); link_on.src = "/gphx/menu/link_on.gif" link_off = new Image(); link_off.src = "/gphx/menu/link_off.gif" link_hvr = new Image(); link_hvr.src = "/gphx/menu/link_hvr.gif" diary_on = new Image(); diary_on.src = "/gphx/menu/diary_on.gif" diary_off = new Image(); diary_off.src = "/gphx/menu/diary_off.gif" diary_hvr = new Image(); diary_hvr.src = "/gphx/menu/diary_hvr.gif" contact_on = new Image(); contact_on.src = "/gphx/menu/contact_on.gif" contact_off = new Image(); contact_off.src = "/gphx/menu/contact_off.gif" contact_hvr = new Image(); contact_hvr.src = "/gphx/menu/contact_hvr.gif" } function button_off( buttonname, state ) { if (document.images) { document[ buttonname ].src = eval( buttonname + state + ".src" ); } } function button_on ( buttonname ) { if (document.images) { document[ buttonname ].src = eval( buttonname + "_hvr.src" ); } }