/* Since we can not load javascript functions using ajax we can place all js functions we need to pre-load
here */

function DrawRightSideQuickIngredientInfo(lngID)
{
	var randomNum = Math.floor(Math.random()*11);
	var objDiv = document.getElementById('ViewProductRightSideIngredientInfo');
	
	if (objDiv.style.display == 'none')
		slideDiv('ViewProductRightSideIngredientInfo');
	
	ajaxDraw('ViewProductRightSideIngredientInfo','/includes2/Ajax/index.asp?AjaxAction=DrawRightSideQuickIngredientInfo&ID='+lngID+'&Random='+randomNum);
	
	return false;
	
}


function openArticleFullCenter(strDivToHideFirst,strDivToShowArticleIn,lngIDOfArticle)
{
	var randomNum = Math.floor(Math.random()*11);
	apearDiv(strDivToHideFirst);
	
	ajaxDraw(strDivToShowArticleIn,'/includes2/Ajax/index.asp?AjaxAction=AjaxViewArticle&ID='+lngIDOfArticle+'&Random='+randomNum);
	
	apearDiv(strDivToShowArticleIn);
	
	return false;
	
}
