function searchReciva(){
     new Request.HTML({
	url: '/stations/searchReciva.php?q=' + $('q').value,
	method: 'get',
	update: 'searchResults',
	evalScripts: true, /* this is the default */
	onComplete: function(){showResults();}
     }).send();
}
function showResults(){
  //   $('searchResults').fade('in');
  /*$('stations').set('morph', {
	link: 'chain'
  });
  $('stations').morph('.rtwo').morph('.rone');
  */
  //document.getElementById("stations").innerHTML += 'asd';
  //document.getElementById("stations").className = 'bigBox';
}
function hideResults(){
   window.close();
  //document.getElementById('searchResults').innerHTML = '';
  //document.getElementById("stations").className = 'smallBox';
}
function onLoads(){
     $('q').addEvent('keydown', function(event){
     if(event.key == 'enter') searchReciva();
    });
}
function darkText(e){
     e.setAttribute('class','darkText');
}
function lightText(e){
     e.setAttribute('class','lightText');

}