// JavaScript Document
	var LoadShowFlashWarningReq;

		function LoadShowFlashWarningXMLDoc(url) {

			// branch for native XMLHttpRequest object
			if (window.XMLHttpRequest) {
				LoadShowFlashWarningReq = new XMLHttpRequest();
				LoadShowFlashWarningReq.onreadystatechange = processLoadShowFlashWarningChange;
				LoadShowFlashWarningReq.open("GET", url, true);
				LoadShowFlashWarningReq.send(null);
			// branch for IE/Windows ActiveX version
			} 
			else if (window.ActiveXObject) {
				LoadShowFlashWarningReq = new ActiveXObject("Microsoft.XMLHTTP");
				if (LoadShowFlashWarningReq) {
					LoadShowFlashWarningReq.onreadystatechange = processLoadShowFlashWarningChange;
					LoadShowFlashWarningReq.open("GET", url, true);
					LoadShowFlashWarningReq.send();
				}
			}
		}
		
		function processLoadShowFlashWarningChange() {

			if(LoadShowFlashWarningReq.readyState == 1){
				//document.getElementById(this_div).innerHTML = '<strong>Validating...</strong>';
			}
			// only if LoadShowFlashWarningReq shows "complete"
			if (LoadShowFlashWarningReq.readyState == 4) {
				// only if "OK"
				if (LoadShowFlashWarningReq.status == 200) {
					// the goodnes
					var response = LoadShowFlashWarningReq.responseText;
					
					//Get the div we are updating
					document.getElementById('require_flash').innerHTML = response;
					document.getElementById('require_flash').style.display = 'block';

					
				} 
				else {
					alert("There was a problem retrieving the XML data:\n" + LoadShowFlashWarningReq.statusText);
				}
			}
		}
		
		function showFlashWarning(base_address) {
			// Input mode
			url  = base_address +'/includes/scripts/show_flash_warning.php';
			LoadShowFlashWarningXMLDoc(url);
		}
