function rate(currency_id)
{
  self.location="/main/set_currency/"+currency_id;
}
