// JavaScript Document



function getAlp(alp_id,tmp_catid) {
	var myAjax = new Ajax.Request(
	'http://www.fragrancebaysite.com/getAlp.php',
	{
		method: 'get',
		parameters: 'alp_id='+alp_id+'&tmp_catid='+tmp_catid,
		onComplete: showAlp
	}
	);
}

function showAlp(response) {
	$('getmanufacturer').innerHTML = response.responseText;
}


var handle = {
	onCreate: function() {
		Element.show('loading');
	},
	onComplete: function() {
		if (Ajax.activeRequestCount == 0) {
			Element.hide('loading');
		}
	}
};
Ajax.Responders.register(handle);
