	if (document.images) {
		
		if(!rootPath) var rootPath = 'wp-content/themes/whitestone/';
		
		var menu01on = new Image()
		menu01on.src = rootPath + "images/buttons/on/menu_01.gif"
		var menu01off = new Image() 
		menu01off.src = rootPath + "images/buttons/off/menu_01.gif"

		var menu02on = new Image()
		menu02on.src = rootPath + "images/buttons/on/menu_02.gif"
		var menu02off = new Image() 
		menu02off.src = rootPath + "images/buttons/off/menu_02.gif"

		var menu03on = new Image()
		menu03on.src = rootPath + "images/buttons/on/menu_03.gif"
		var menu03off = new Image() 
		menu03off.src = rootPath + "images/buttons/off/menu_03.gif"
		
			var menu03_1on = new Image()
			menu03_1on.src = rootPath + "images/buttons/on/sm01.gif"
			var menu03_1off = new Image() 
			menu03_1off.src = rootPath + "images/buttons/off/sm01.gif"
		
			var menu03_2on = new Image()
			menu03_2on.src = rootPath + "images/buttons/on/sm02.gif"
			var menu03_2off = new Image() 
			menu03_2off.src = rootPath + "images/buttons/off/sm02.gif"
					
			var menu03_3on = new Image()
			menu03_3on.src = rootPath + "images/buttons/on/sm03.gif"
			var menu03_3off = new Image() 
			menu03_3off.src = rootPath + "images/buttons/off/sm03.gif"
					
			var menu03_4on = new Image()
			menu03_4on.src = rootPath + "images/buttons/on/sm04.gif"
			var menu03_4off = new Image() 
			menu03_4off.src = rootPath + "images/buttons/off/sm04.gif"
					
			var menu03_5on = new Image()
			menu03_5on.src = rootPath + "images/buttons/on/sm05.gif"
			var menu03_5off = new Image() 
			menu03_5off.src = rootPath + "images/buttons/off/sm05.gif"
					
			var menu03_6on = new Image()
			menu03_6on.src = rootPath + "images/buttons/on/sm06.gif"
			var menu03_6off = new Image() 
			menu03_6off.src = rootPath + "images/buttons/off/sm06.gif"
			
		var menu04on = new Image()
		menu04on.src = rootPath + "images/buttons/on/menu_04.gif"
		var menu04off = new Image() 
		menu04off.src = rootPath + "images/buttons/off/menu_04.gif"
		
		var menu05on = new Image()
		menu05on.src = rootPath + "images/buttons/on/menu_05.gif"
		var menu05off = new Image() 
		menu05off.src = rootPath + "images/buttons/off/menu_05.gif"
		
		
		var mapon = new Image()
		mapon.src = rootPath + "images/buttons/on/bt_map.gif"
		var mapoff = new Image() 
		mapoff.src = rootPath + "images/buttons/off/bt_map.gif"
		
		var contacton = new Image()
		contacton.src = rootPath + "images/buttons/on/bt_contact.gif"
		var contactoff = new Image() 
		contactoff.src = rootPath + "images/buttons/off/bt_contact.gif"
	}

function inact(imgName) {
	if (document.images)
    document[imgName].src = eval(imgName + 'off.src');
}

function act(imgName) {
  if (document.images)
    document[imgName].src = eval(imgName + 'on.src');
}

