
		//stuff like this should be in varsitypix.js ...my bad
		function loadSchoolMenu(lsListID,lsElementID) {
			/*'ac'-'df'-'ji'-'jl'-'mo'-'pq'-'rs'-'tv'-'wz'*/
			loElement = $(lsElementID);
			if (!loElement) {return;}
			if (loElement.innerHTML.length > 0) {return;}
			if (!lsListID) {return;}
			lsURI = '/schools_menu_list?_listStart=' + lsListID[0] + '&_listEnd=' + lsListID[1];
			ajaxEvent(lsURI,loElement,false,false);
		}
		//*****************************************

	var iCurrentFileID = null;

	function getCurrentFileID() {
		return iCurrentFileID;	
	}
	/*************************************************/

	function setCurrentFileID(iFileID) {
		return;
	}
	/*************************************************/

	function addFileToCart(iFileID) {
		if (iFileID == null) {
			if (getCurrentFileID() == null) {
				return;
			} else {
				iFileID = getCurrentFileID();
			}
		}
		vpixWaitScreen('rootyFloat');
		ajaxEvent('/my-cart/add/files/'+iFileID, null, false, false, 'axeElement','rootyFloat');
	}
	/*************************************************/
	function removeFileFromCart(iFileID,lsItem) {
		if (iFileID == null) {
			if (getCurrentFileID() == null) {
				return;
			} else {
				iFileID = getCurrentFileID();
			}
		}
		vpixWaitScreen('rootyFloat');
		ajaxEvent('/my-cart/remove/files/'+iFileID, null, false, false, 'removeCartItem',lsItem);
	}
	/*************************************************/
	
	function addProductToFile(iFileID,iProductID) {
		if (iFileID == null) {
			if (getCurrentFileID() == null) {
				return;
			} else {
				iFileID = getCurrentFileID();
			}
		}
		vpixWaitScreen('rootyFloat');
		ajaxEvent('/my-cart/add/product/'+iFileID +'/'+iProductID, null, false, false, 'axeElement','rootyFloat');
	}
	/*************************************************/
	
	function vpixWaitScreen(lsElementName) {
		var oFloatyFloat = document.createElement('div');
		oFloatyFloat.setAttribute('id', lsElementName);
		ClassFX.addClass(oFloatyFloat, 'floatyFloat');
		try {
			var DimensionHandler = new getDimensions();
			oFloatyFloat.style.left = ((DimensionHandler.iDocWidth / 2) - 150) + 'px';
			oFloatyFloat.style.top = ((DimensionHandler.iScrollTop) + 200) + 'px';
		} catch(e) { 
			$(sElementName).style.left = (300) + 'px';
			$(sElementName).style.top = (300) + 'px';
		}
		$$('body').appendChild(oFloatyFloat);
	}
	/*************************************************/
	
	function axeElement(lsElement) {
		var loElement = $(lsElement);
		if(!loElement) {return false;}
		loElement.parentNode.removeChild(loElement);
	}
	/*************************************************/
	
	function removeCartItem(lsItem) {
		axeElement(lsItem); //maybe just swap styles? inactive or whatever...
		axeElement('rootyFloat');
	}
	/*************************************************/
	
	function switchCartStatus(loElement,liFileID,lsParent) {
		if(ClassFX.hasClass(loElement,'added')) {
			removeFileFromCart(liFileID);
			axeElement(lsParent);
		} else {
			addFileToCart(liFileID);
		}
	}
	/*************************************************/
	
	function addNewProduct(liCartFilesID, liFileID) {
		addFileToCart(liFileID);
	}
	/*************************************************/

	function setPrice(loPrice,loPriceSource) { 
		loPrice.value = loPriceSource.value;
		return loPrice.value;
	}
	/*************************************************/
	
	function getPrice(loSelector) {
		lsPrice=loSelector.options[loSelector.selectedIndex].innerHTML;
		var laPrice = new Array();
		laPrice = lsPrice.split(')');
		lsPrice=(laPrice[0].substring(laPrice[0].indexOf('$')+1));
		return lsPrice;
	}
	/*************************************************/
	
	function updateItemPrice(liItemID, loSelector) {  //<cs:session:carts_files_products_id />

		//selected product ID
		var liProductId = loSelector.options[loSelector.selectedIndex].value;
		$('selected_product_id_'+liItemID).value=liProductId;

		//selected product price
		var loItemPrice = $('selected_product_price_'+liItemID);	
		loItemPrice.value=getPrice(loSelector); //custom parsing here for price from selector list... interim hax

		//update static item price value	
		$('item_price_'+liItemID).innerHTML = loItemPrice.value;

		//update static item price value
		setPrice($('product_price_'+liItemID),$('selected_product_price_'+liItemID));

		//set item total
		var loItemTotal = $('selected_product_total_'+liItemID);
		loItemTotal.value = loItemPrice.value * $('product_quantity_'+liItemID).value;
		$('items_cost_'+liItemID).innerHTML = loItemTotal.value;

		UpdateSingleField(false,'carts_files_products',liItemID,'products_id',liProductId);
		
	}
	/*************************************************/
	
	
	
	
