/*
	This doc uses ajax to act as a bridge between flash and php.
	Functions here are called from flash which then access the flash log file.
*/

	function logFlashPage(flashCase){
		//alert(flashCase);
		$.post("flash_log.php", { flashCase: flashCase, task: 'hits' },
		function(data){
			//alert(data + " from PHP!");
		});
	
	}
	
	function timeOnPage(page, time){
		//alert(page + ', ' + time);
		$.post("flash_log.php", { page: page, time: time, task: 'time' },
		function(data){
			//alert(data + " from PHP!");
		});
	}
	
	