
	// //-> General onDOMReady initialization

	Event.onDOMReady(
		function()
		{
			
			// //-> right fields onfocus, onblur behavior management
			// /////////////////////////////////////////////////////////////////////////////////////////////////
			var rightColumFields = [
				{id:"searchField", defaultValue:"", backgroundAnimation:1},				
				{id:"email", defaultValue:"", backgroundAnimation:0}		
			];
			
			$A(rightColumFields).each(function(item, index){
			
			    if($(item.id))
			    {
								
				    item.defaultValue = $(item.id).value;
    											   
				    $(item.id).observe("focus", function(e){
					    var textField = Event.element(e);
					    if(textField.value == item.defaultValue) textField.value = "";	
					    if(item.backgroundAnimation) $(textField.parentNode.id).addClassName("on");
				    });
    				
				    $(item.id).observe("blur", function(e){
					    var textField = Event.element(e);
					    if(textField.value == "") textField.value = item.defaultValue;				
					    if(item.backgroundAnimation) textField.parentNode.removeClassName("on");
				    });
				
				}
				
			});
			
			// //-> print shortcut
			// /////////////////////////////////////////////////////////////////////////////////////////////////
			
			$A(document.getElementsByClassName("print")).each(function(Item, index){
				Item.setAttribute("href", "javascript:void(0);");
				$(Item).observe("focus", function(e){
					Event.element(e).blur();
												  
				});
				$(Item).observe("click", function(){window.print();});
			})
			
			// //-> send shortcut
			// /////////////////////////////////////////////////////////////////////////////////////////////////
			/*
			$A(document.getElementsByClassName("send")).each(function(Item, index){
				Item.setAttribute("href", "javascript:void(0);");
				$(Item).observe("focus", function(e){
					Event.element(e).blur();
												  
				});
				$(Item).observe("click", function(){
					document.getElementsByClassName("sendToFriend")[0].toggle();
												  
				});
			})
			*/
			
			
		}
	);
	