    
    function price() {
    
    
    var sId = document.getElementById("amount").value;
    sId = document.getElementById("amount").value;
    var oOptions = {
    method: "get",
    parameters: "amount=" + sId
     };
    if (window.location.href == "http://www.invertus.lt/")
    { 
        var oRequest = new Ajax.Updater("rez",
        "http://www.invertus.lt/public/prices/prices.php", oOptions);
     }
     else
     {
        var oRequest = new Ajax.Updater("rez",
        "http://invertus.lt/public/prices/prices.php", oOptions);
     }
           
    document.getElementById("amount").name = Math.random();
   }
