// visibility start
	function toggle_visibility(id) {
       var e = document.getElementById(id);
       if(e.style.display == 'block')
          e.style.display = 'none';
       else
          e.style.display = 'block';
    }
// visibility stopp
	
	
// resizeswap start
	function resizeSwap (imageOrImageName, width, height, sourcename) {
	  var image = typeof imageOrImageName == 'string' ?
					document[imageOrImageName] : imageOrImageName;
		image.src = "img/1pixtrans.gif";
		image.src = sourcename;
	 
					
	  if (document.layers) {
		image.currentWidth = width;
		image.currentHeight = height;
		var layerWidth = image.width > width ? image.width : width;
		var layerHeight = image.height > height ? image.height : height;
		if (!image.overLayer) {
		  var l = image.overLayer = new Layer(layerWidth);
		}
		var l = image.overLayer;
		l.bgColor = document.bgColor;
		l.clip.width = layerWidth; 
		l.clip.height = layerHeight;
		l.left = image.x;
		l.top = image.y;
		var html = '';
		html += '<IMG SRC="' + image.src + '"'; 
		html += image.name ? ' NAME="overLayer' + image.name + '"' : ''; 
		html += ' WIDTH="' + width + '" HEIGHT="' + height + '">';
		l.document.open();
		l.document.write(html);
		l.document.close();
		l.visibility = 'show';
	  }
	  else {
		image.width = width;
		image.height = height;
	 
	  }
	}
// resizeswap stopp



// menuslider start
	window.addEvent('domready', function(){
		$('menuSlide').addEvents({
			'mouseenter': function(){
				this.set('tween', {
					duration: 200,
					transition: Fx.Transitions.Quad.easeInOut // This could have been also 'bounce:out'
				}).tween('width', '1160px');
			},
			'mouseleave': function(){
				this.set('tween', {}).tween('width', '77px');
			}
		});
	});
	
// menuslider stopp
