// =========================================================================================
// RECORD DOWNLOAD
// =========================================================================================
function record_download(){
	
	//$.get("/download_sendnotice.php");
	
	var command = "insert_downloaddata";
	var url = "/ez_sql/insert.php?command=" + command;
	//alert(url);
	$.get(url);
	
	pause(300);
	
	return false;
}
// =========================================================================================
// PAUSE
// =========================================================================================
function pause(millis)
{
	var date = new Date();
	var curDate = null;
	
	do { curDate = new Date(); }
	while(curDate-date < millis);
} 