/*
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//	FUNCTION	getCategory()
//	DESC		Ajax call to PHP-script that displays all product below specific product
//				in specific pageType and specific language
//	PARAMS		displayTag	::	ID of target/tag to display products within
//				productID	::	Specific product
//				parentID	::	Specific product that is parent to the product
//				pageTypeID	::	Specific pageType
//				langID		::	Specific language
//	AUTHOR		Sune Lundby [SL]
//	DATE		July 12th 2006
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
*/
function getProduct(displayTag, productID, parentID, pageTypeID, langID, page) {

	var randNum = Math.random()*370;

	new Ajax.Updater(
					$(displayTag),
					myBasePath + '_ajax/_scripts/get_products.php?rand=' + randNum, {
					method: 'get',
					parameters: 'productID=' + productID +
								'&parentID=' + parentID +
								'&pageTypeID=' + pageTypeID +
								'&langID=' + langID +
								'&page=' + page,
					asynchronous: true,
					evalScripts:true }
					);

} // END FUNCTION getProduct()
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
