function clearMe(formfield){
					if (formfield.defaultValue==formfield.value)
						formfield.value = ""
				}

/*******************************
Effets
*/				
window.addEvent('domready', function() {
				
	var w = 0;
	var h = 0;
	if(!window.innerWidth)
	{
		//strict mode
		if(!(document.documentElement.clientWidth == 0))
		{
			 w = document.documentElement.clientWidth;
			 h = document.documentElement.clientHeight;
		}else{//quirks mode
			 w = document.body.clientWidth;
			 h = document.body.clientHeight;
		}
	}else{
		w = window.innerWidth;
		h = window.innerHeight;
	}
	
	// Create variables (in this case two arrays) representing our bubbles and pages
	var myPages = $$('.footer-logo LI');
	var myBubbles = $$('#bubbleWrap LI');
	var myImg = $$('.footer-logo LI A IMG.rollover');
	
	// Set bubbles opacity to zero so they're hidden initially and toggle visibility on for their container	
	myBubbles.setStyle('opacity', 0);
	//$('bubbleWrap').setStyle('visibility','visible');
	
	myBubbles.each(function(bub, i) {
		var tempX = (myPages[i].getPosition().x + (myPages[i].getSize().x - bub.getSize().x - w + 960)/2) ;
		bub.setStyles({'left' :  tempX + 'px' , 'top' : -bub.getSize().y + 'px'});
		//alert(myPages[i].getCoordinates().left);
	});
	
	// Add our events to the pages
	myPages.each(function(el, i) {
		
		var src = myImg[i].getProperty('src');
		var extension = src.substring(src.lastIndexOf('.'),src.length);
		
		el.set('morph', {link : 'cancel'});
		
		el.addEvents({
			'mouseenter': function() {			
				myBubbles[i].morph({
					'opacity' : 1,
					'margin-top' : '-10px'
				});
				//myImg[i].setAttribute('src',myImg[i].src.replace('2', '1'));
				/*myImg[i].morph({
					'opacity' : 0
				});*/
				myImg[i].setProperty('src',src.replace(extension,'-mo'+extension));
			},
			'mouseleave' : function() {
				myBubbles[i].morph({
					'opacity' : 0,
					'margin-top' : 0
				});
				/*myImg[i].morph({
					'opacity' : 1
				});*/
				myImg[i].setProperty('src',src);
			}	
		});
	});
	
	var myMenu = new MenuMatic(
		{center:true,stretchMainMenu:true, matchWidthMode:true }
	);
	//alert(navigator.appName.indexOf("Microsoft"));

});

			

