var Explorer = new Class({ initialize: function(){ /*//--> IE6 Specific*/ if(window.ActiveXObject && !window.XMLHttpRequest){ this.positionFixedEmulation(); } }, positionFixedEmulation: function(){ /*//--> Adds positioned fixed emulation to IE6 //--> In order for this to work the body element must have a background image. Even if it is a transparent gif. //--> These rules must be added inline in order for the dynamic expressions to create the 'Smooth Scroll' effect.*/ var c = document.styleSheets[0]; c.addRule('.fixed','top: expression(eval(document.documentElement.scrollTop));'); c.addRule('body','background-attachment: fixed;'); } });
window.addEvent('scroll', function(){ 
	if(Window.getScrollTop()>600){
		var pluto=Window.getScrollTop()-600;
		$('MJ_MainMenu').setStyle('top', pluto+'px'); 
	}
	});
window.addEvent('scroll', function(){ 
	if(Window.getScrollTop()>350){
		var pluto=Window.getScrollTop()-350;
		$('MJ_MainMenu2').setStyle('top', pluto+'px'); 
	}
	});	