

window.addEvent('domready', function() {
		
//Hover for articleBox

		$$('.articleBox').each(function(div){
			div.addEvent('click', function(){
				window.location.href = div.getElement('a').getProperty('href');
			});	
		});
		$$('.articleRow').each(function(div){
			div.addEvent('click', function(){
				window.location.href = div.getElement('a').getProperty('href');
			});	
		});	


	 //store titles and text  
 	$$('a.toolTips').each(function(element,index) {  
         var titles = element.get('title');  
         element.store('tip:title', titles);  
		  var tipBlock = element.getNext();
		  
		  if(tipBlock) {
			   //alert(tipBlock);
			  var content = $(tipBlock).get('html');
			 // alert(content);
			 element.store('tip:text', content);  
		  } else {
			  element.store('tip:text','' );  
		}
     });  
       
     //create the tooltips  
     var tipz = new Tips('.toolTips',{  
         className: 'toolTips',  
         fixed: true,  
         hideDelay: 50,  
         showDelay: 50  
     });  
       

//Hover for Order Steps Navigation

	$$('.steps.withLink').each(function(div){
		div.addEvent('click', function(){
			window.location.href = div.getElement('a').getProperty('href');
		});	
	});
		
});


