menu_status = new Array();

function windowEngine( x ) {
	
	if( document.getElementById ) {
			
		var switch_id = document.getElementById( x );
			
		if( menu_status[ x ] != 'show' ) {
							
			switch_id.className = 'show';
				
			menu_status[ x ] = 'show';
				
		} else {
				
			switch_id.className = 'hide';
				
			menu_status[ x ] = 'hide';
				
		}
			
	}
		
}
	
