if (document.images)
   {
     pic1on= new Image(125,35);
     pic1on.src="images/button_home_o.gif";  
     pic2on= new Image(125,35);
     pic2on.src="images/button_cabinets_o.gif";  
     pic3on= new Image(125,35);
     pic3on.src="images/button_furniture_o.gif";  
     pic4on= new Image(125,35);
     pic4on.src="images/button_repro_o.gif"; 
     pic5on= new Image(125,35);
     pic5on.src="images/button_film_o.gif"; 
     pic6on= new Image(125,35);
     pic6on.src="images/button_about_o.gif"; 
     pic7on= new Image(125,35);
     pic7on.src="images/button_contact_o.gif"; 
     pic8on= new Image(748,108);
     pic8on.src="images/banner_text.png"; 
     pic9on= new Image(480,20);
     pic9on.src="images/welcome_text.png"; 
     pic10on= new Image(241,200);
     pic10on.src="images/david_gale_head_1.jpg"; 
     pic11on= new Image(125,35);
     pic11on.src="images/button_filmog_o.gif";
     pic12on= new Image(125,35);
     pic12on.src="images/button_morefurniture_o.gif";
     pic13on= new Image(125,35);
     pic13on.src="images/button_film_tv_o.gif";
     pic14on= new Image(125,35);
     pic14on.src="images/button_sets_o.gif";
     pic15on= new Image(125,35);
     pic15on.src="images/button_props_o.gif";
     pic16on= new Image(125,35);
     pic16on.src="images/button_recroom_o.gif";
     pic17on= new Image(125,35);
     pic17on.src="images/button_built-in_o.gif";
     pic18on= new Image(125,35);
     pic18on.src="images/button_new_sets_o.gif";
     pic19on= new Image(125,35);
     pic19on.src="images/button_kitchen_reno_o.gif";
     pic20on= new Image(125,35);
     pic20on.src="images/button_library_reno_o.gif";


     pic1off= new Image(125,35);
     pic1off.src="images/button_home_d.gif";
     pic2off= new Image(125,35);
     pic2off.src="images/button_cabinets_d.gif";
     pic3off= new Image(125,35);
     pic3off.src="images/button_furniture_d.gif";
     pic4off= new Image(125,35);
     pic4off.src="images/button_repro_d.gif";
     pic5off= new Image(125,35);
     pic5off.src="images/button_film_d.gif";
     pic6off= new Image(125,35);
     pic6off.src="images/button_about_d.gif";
     pic7off= new Image(125,35);
     pic7off.src="images/button_contact_d.gif"; 
     pic11off= new Image(125,35);
     pic11off.src="images/button_filmog_d.gif";
     pic12off= new Image(125,35);
     pic12off.src="images/button_morefurniture_d.gif";
     pic13off= new Image(125,35);
     pic13off.src="images/button_film_tv_d.gif";
     pic14off= new Image(125,35);
     pic14off.src="images/button_sets_d.gif";
     pic15off= new Image(125,35);
     pic15off.src="images/button_props_d.gif";
     pic16off= new Image(125,35);
     pic16off.src="images/button_recroom_d.gif";
     pic17off= new Image(125,35);
     pic17off.src="images/button_built-in_d.gif";
     pic18off= new Image(125,35);
     pic18off.src="images/button_new_sets_d.gif";
     pic19off= new Image(125,35);
     pic19off.src="images/button_kitchen_reno_d.gif";
     pic20off= new Image(125,35);
     pic20off.src="images/button_library_reno_d.gif";


   }

function lightup(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }


function openCabWindow() {
  popupWin = window.open('cabinets.html',
  'open_window_1',
  'dependent, width=640, height=480, left=150, top=200')
}

function openFurnWindow() {
  popupWin = window.open('furniture.html',
  'open_window_2',
  'dependent, width=640, height=480, left=150, top=200')
}

function openMoreFurnWindow() {
  popupWin = window.open('morefurniture.html',
  'open_window_3',
  'dependent, width=640, height=480, left=150, top=200')
}

function openReproWindow() {
  popupWin = window.open('repro.html',
  'open_window_4',
  'dependent, width=640, height=480, left=150, top=200')
}

function openFilmTVWindow() {
  popupWin = window.open('filmtv.html',
  'open_window_5',
  'dependent, width=640, height=480, left=150, top=200')
}

function openSetsWindow() {
  popupWin = window.open('sets.html',
  'open_window_6',
  'dependent, width=640, height=480, left=150, top=200')
}

function openPropsWindow() {
  popupWin = window.open('props.html',
  'open_window_7',
  'dependent, width=640, height=480, left=150, top=200')
}

function openRecRoomWindow() {
  popupWin = window.open('recroom.html',
  'open_window_8',
  'dependent, width=640, height=480, left=150, top=200')
}

function openBuiltInWindow() {
  popupWin = window.open('builtin.html',
  'open_window_9',
  'dependent, width=640, height=480, left=150, top=200')
}

function openNewSetsWindow() {
  popupWin = window.open('newsets.html',
  'open_window_10',
  'dependent, width=640, height=480, left=150, top=200')
}

function openKitchenRenoWindow() {
  popupWin = window.open('kitchenreno.html',
  'open_window_10',
  'dependent, width=640, height=480, left=150, top=200')
}

function openLibraryRenoWindow() {
  popupWin = window.open('libraryreno.html',
  'open_window_10',
  'dependent, width=640, height=480, left=150, top=200')
}

