<!-- //
// MENU 2/2

	var winY = '';
	var bssm = '';
	var smooth = 0;
	
	if (NS6) {//alert('NS6'); 
		bssm=document.getElementById('basessm').style;}
	else if (IE){//alert('IE'); 
		bssm=document.all('basessm').style;}
	else if (NS){//alert('NS'); 
		bssm=document.layers['basessm'];}
	
	var YOffset=150;
	var staticYOffset=30;
	var lastY=00;
	// alert(YOffset + " " + staticYOffset + " " + lastY);
	
	function makeStatic() {
		if (NS||NS6) {winY = window.pageYOffset;}
		// document.body non supporté en XHTML 
		// documentElement ne fonctionne pas en HTML sous IE, obligatoirement XHTML
		if (IE) {winY = document.documentElement.scrollTop;} 
		//alert (winY);
		//alert (winY);
		diff_offset_neg = (YOffset-staticYOffset);
		diff_offset_pos = (diff_offset_neg+lastY);
		//alert(diff_offset_neg + ' ' +diff_offset_pos);
		if (NS6||IE||NS) {
			if ((winY != lastY)&&(winY > diff_offset_neg)) { // MONTE
				smooth = (.2 * (winY - lastY - YOffset + staticYOffset));
				//alert('1');
			}
			else if (diff_offset_pos > diff_offset_neg) { // DESCEND
				smooth = (.2 * ((winY - lastY) - (YOffset-(YOffset-winY))));
				//alert('2');
			} else {
				smooth=0;
			}
			if(smooth > 0) {
				smooth = Math.ceil(smooth);
			}
			else { // if(smooth < 0)
				smooth = Math.floor(smooth);
			}
			//alert(smooth + ' ' + bssm);
			if (IE) {bssm.pixelTop+=smooth;}
			if (NS6||NS) {bssm.top=(parseInt(bssm.top) + (smooth)+"px");}
			lastY = lastY+smooth;
			// alert(parseInt(bssm.top)+smooth);
			setTimeout('makeStatic()', 10);
		}
		
	}
	
	
	makeStatic();
//-->