/*
 * Created on Apr 7, 2008 by kyang
 *
 * NXADVOCATE
 * All Rights Reserved - Unauthorized Use Prohibited
 * For information contact licensing@nxadvocate.com
 * 
 */


function showContactBasketPopupFromLink(theLink) {
	var o=document.getElementById(theLink);
	x=AnchorPosition_getPageOffsetLeft(o);
	y=AnchorPosition_getPageOffsetTop(o);

	document.getElementById('contactBasketPopupSpan').style.left = (x-850)+'px';
	document.getElementById('contactBasketPopupSpan').style.top = (y)+'px';
	document.getElementById('contactBasketPopupSpan').style.visibility = "visible";
}


function preProcessDisplayContactBasketPopup() {
	showFadeBackground();
	showContactBasketPopupFromLink('contactBasketPopupLink');
}


function closeContactBasketPopup() {
	document.getElementById('contactBasketPopupSpan').style.visibility = "hidden";
	hideSaveProgress();
	hideFadeBackground();
}


function reloadContactBasketPopup() {
	nxwebTileLoader('/nxweb_nxadvocate/contactbasket.php?action=displayContactBasketPopup', 'contactBasketPopupSpan', '	updateFloatitContactBasketCount()');
	hideSaveProgress();
}


