PS.AjaxQuickCart = { initView : function(selector, url){ PS.onload(function(){ var els = $$(selector); for (var i=0;i1) { var lastParts = parts[1].toString().split(splitData[1]); var lastUrlPart = lastParts[0].toString(); if (lastUrlPart) { this._url = lastUrlPart; } } } } else { this._url = att; } } else { this._url = false; } this._url = this._url.toString(); if (this._url.indexOf('?') < 0) this._url+= '?'; else this._url+= '&'; this._url+= 'ajaxquickcartoption=1'; } return this._url; } PS.AjaxQuickCart._fixDoubleRefresh = false;