function startAsyncRequest( hostAndContext )
{
    if ( hostAndContext == ""){
        alert ("Host name and context are empty at ajax.js file, startRequest function");
    }
    
    var queryString = hostAndContext + "shop/ax/quick/cart" + "?timeStamp=" + new Date().getTime();
    
    new Ajax.Updater('quickCartForm', queryString, { method: 'get' });
}

function startAsyncQCDeleteItemRequest( url )
{
    if ( url == ""){
        alert ("Url is empty at ajax.js file, startQuickCartRequest function");
    }
    
    var queryString = url + "&timeStamp=" + new Date().getTime();    
    new Ajax.Updater('quickCartForm', queryString, { method: 'get' });
}

function sendCheckoutRequest()
{
    var domain = document.domain;    
    var requestAddress = 'http://' + domain + "/unitrader/shop/cart/update?checkout=t";
    document.location.href = requestAddress;
}

function startUserLoginAsyncRequest (hostAndContext)
{
   //this template does not support accounts functionality 
}