function SelectAll(id)
{
    document.getElementById(id).focus();
    document.getElementById(id).select();
}
			function sendRequest() {
				new Ajax.Request("/generate_link", 
					{ 
					method: 'post', 
					postBody: 'name='+ $F('name'),
					onComplete: showResponse 
					});
				}

			function showResponse(req){
				$('show').innerHTML= req.responseText;
			}

