// JavaScript Document

// override Highslide settings here
    // instead of editing the highslide.js file
	hs.captionOverlay.position = "above";
	
	

    hs.graphicsDir = '/js/highslide/graphics/';
	hs.outlineStartOffset = "333";
	hs.outlineType = 'drop-shadow';
	hs.showCredits = false;
	hs.wrapperClassName = 'borderless';
	
	
	
	function init() {
			//==========================================================================================
			// if supported, initialize TransMenus
			//==========================================================================================
			// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
			// This is better than server-side checking because it will also catch browsers which would
			// normally support the menus but have javascript disabled.
			//
			// If supported, call initialize() and then hook whatever image rollover code you need to do
			// to the .onactivate and .ondeactivate events for each menu.
			//==========================================================================================
			if (TransMenu.isSupported()) {
				TransMenu.initialize();

				// hook all the highlight swapping of the main toolbar to menu activation/deactivation
				// instead of simple rollover to get the effect where the button stays hightlit until
				// the menu is closed.
                
                                    menu1.onactivate = function() { document.getElementById("m1").className = "hover"; MM_swapImage('imm1','','/images/catalog/big/menu2_01_over.jpg',1); };
					menu1.ondeactivate = function() { document.getElementById("m1").className = ""; MM_swapImgRestore(); };
                                        menu2.onactivate = function() { document.getElementById("m2").className = "hover"; MM_swapImage('imm2','','/images/catalog/big/menu2_02_over.jpg',1); };
					menu2.ondeactivate = function() { document.getElementById("m2").className = ""; MM_swapImgRestore(); };
                                        menu3.onactivate = function() { document.getElementById("m3").className = "hover"; MM_swapImage('imm3','','/images/catalog/big/menu2_03_over.jpg',1); };
					menu3.ondeactivate = function() { document.getElementById("m3").className = ""; MM_swapImgRestore(); };
                                        menu4.onactivate = function() { document.getElementById("m4").className = "hover"; MM_swapImage('imm4','','/images/catalog/big/menu2_04_over.jpg',1); };
					menu4.ondeactivate = function() { document.getElementById("m4").className = ""; MM_swapImgRestore(); };
                                        menu5.onactivate = function() { document.getElementById("m5").className = "hover"; MM_swapImage('imm5','','/images/catalog/big/menu2_05_over.jpg',1); };
					menu5.ondeactivate = function() { document.getElementById("m5").className = ""; MM_swapImgRestore(); };
                    				

				

				
			}
		}