function loadCatalogPrice(me)
{
	if(me.value==-1) {
		me.value=0;
	}
	showImgLoader();
	httpURL = '/ajax/support/price/catalog/' + me.value + '/';
	objXMLReq = new net.ContentLoader(httpURL, CatalogPrice, null, 'GET', null);
}

function CatalogPrice()
{
	var myObject = Json.evaluate(this.req.responseText);
	$('#price_content').attr('innerHTML', myObject['content']);
	if ($('#sel_cat').attr('value')==0) {
		$('#sel_brn').attr('value', 0);
	} else {
		$('#sel_brn').attr('value', -1);
	}
	removeImgLoader();
}

function loadBrandPrice(me)
{
	if(me.value==-1) {
		me.value=0;
	}
	showImgLoader();
	httpURL = '/ajax/support/price/brand/' + me.value + '/';
	objXMLReq = new net.ContentLoader(httpURL, BrandPrice, null, 'GET', null);
}

function BrandPrice()
{
	var myObject = Json.evaluate(this.req.responseText);
	$('#price_content').attr('innerHTML', myObject['content']);
	if ($('#sel_brn').attr('value')==0) {
		$('#sel_cat').attr('value', 0);
	} else {
		$('#sel_cat').attr('value', -1);
	}
	removeImgLoader();
}






function loadCatalogCatalog(me)
{
	if(me.value==-1) {
		me.value=0;
	}
	showImgLoader();
	httpURL = '/ajax/support/catalogs/catalog/' + me.value + '/';
	objXMLReq = new net.ContentLoader(httpURL, CatalogCatalog, null, 'GET', null);
}

function CatalogCatalog()
{
	var myObject = Json.evaluate(this.req.responseText);
	$('#price_content').attr('innerHTML', myObject['content']);
	if ($('#sel_cat').attr('value')==0) {
		$('#sel_brn').attr('value', 0);
	} else {
		$('#sel_brn').attr('value', -1);
	}
	removeImgLoader();
}

function loadBrandCatalog(me)
{
	if(me.value==-1) {
		me.value=0;
	}
	showImgLoader();
	httpURL = '/ajax/support/catalogs/brand/' + me.value + '/';
	objXMLReq = new net.ContentLoader(httpURL, BrandCatalog, null, 'GET', null);
}

function BrandCatalog()
{
	var myObject = Json.evaluate(this.req.responseText);
	$('#price_content').attr('innerHTML', myObject['content']);
	if ($('#sel_brn').attr('value')==0) {
		$('#sel_cat').attr('value', 0);
	} else {
		$('#sel_cat').attr('value', -1);
	}
	removeImgLoader();
}