function LoadVendorsPicture() {}
LoadVendorsPicture.prototype = new DXMLHttpRequestShell();
LoadVendorsPicture.constructor = LoadVendorsPicture;
LoadVendorsPicture.prototype.onLoad = function() {
	if(this.getResponseText().replace(/^\s+|\s+$/g,"").length) {
		document.getElementById("gallery").innerHTML = this.getResponseText();
		document.getElementById("picTAG").href = currentURL + "#picLink";
	} else {
		document.getElementById("gallery").innerHTML = "";
		document.getElementById("picTAG").href = "javascript: showMessageWindow('pic')";
	}
}
LoadVendorsPicture.prototype.send = function(id, category, page) {
    this.init();
    if(page) {
    	this.fastGetUrl(BASE_URL + "vendors/pic/" + id + "/" + category + "/" + page + ".html", "");
    } else {
    	this.fastGetUrl(BASE_URL + "vendors/pic/" + id + "/" + category + ".html", "");
    }
}
