
/* FUNCTIONS BUTTONS ---------------------------------------------- */

		
		function navon(id) {
		if(document.getElementById) {		
				id=document.getElementById(id);
				id.style.backgroundImage='url(/images/blue_bg_on.gif)';
			}
		
		}
		
		function navoff(id) {
		if(document.getElementById) {		
				id=document.getElementById(id);
				id.style.backgroundImage='url(/images/blue_bg_off.gif)';
			}
		
		}
		

		
		//ONMOUSEOVER MENUROOT ITEMS
		function menuroot_on(button) {
			button.style.backgroundImage='url(/images/blue_bg_on.gif)';
		}
		
		function menuroot_off(button) {
			button.style.backgroundImage='url(/images/blue_bg_off.gif)';
		}
		
		

		
		//ONMOUSEOVER MENU ITEMS
		function menu_on(button) {
			button.style.backgroundColor='#CDE1EB';
			button.style.color='#006699';
		}
		
		function menu_off(button) {
			button.style.backgroundColor='#ECF4F7';
			button.style.color='#000000';
			
		}			

		
		// ONMOUSEOVER FUNCTIONS 			
		function imageOn(image)
		{
		        if (document.images)
		        {
	                imgOn = eval(image + "_on.src");
					document [image].src = imgOn
		        }
		}
		
		
		function imageOff(image)
		{
		        if (document.images)
		        {
	                imgOff = eval(image + "_off.src");
					document [image].src = imgOff
		        }
		}       
		
		
					
	// HISTORY.BACK FUNCTION
	function goback(){
			browser = navigator.appName
			if (browser.indexOf("etscape") > 0 ) explorer = false
			else explorer = true
			
			if (explorer) {
				history.back()
			}	
			else {
				window.back()
			}
		}


/* END BUTTON FUNCTIONS ----------------------------------------------------------------------------------- */	
		
	
/* REST ------------------------------------------------------------------ */


	function openWin( windowURL, windowName, windowFeatures ) { 
		return window.open( windowURL, windowName, windowFeatures ) ;
		 
	} 
	
		



