		var ajax_divName="";
		var ajax_functionName="";
		var ajax_requestInProgress=false;
		var ajax_receiveReq = ajax_getXmlHttpRequestObject();
		var animate_transition=false;
		function get(panelName,qar,id){
			ajax_executeURL('page_center_quiz_archive.php?qar='+qar+'&id='+id,'inner_center');
		}
		function ajax_executeURL(execUrl, divName,functionName){
			
			if(ajax_requestInProgress) {
				//alert("Please allow the system to complete your previous action");
				return;
			}
			ajax_divName=divName;			
			ajax_functionName=functionName;
			if (ajax_receiveReq.readyState == 4 || ajax_receiveReq.readyState == 0) {
				ajax_receiveReq.open("GET", execUrl);
				ajax_receiveReq.onreadystatechange = ajax_handleResult;
				ajax_receiveReq.send(null);
				ajax_requestInProgress=true;
			}
		}

		function ajax_handleResult() {

			if (ajax_receiveReq.readyState == 4) {
				// we want to change the innerHTML only if the dif exists
				var divElem = document.getElementById(ajax_divName);
				if(divElem){
					divElem.innerHTML = ajax_receiveReq.responseText;
				} 
				
				// freeing up the flag to say the object has completed getting response
				ajax_requestInProgress=false;
				
				// now executing the function if specified when executeURL was called
				if(eval('typeof(' + ajax_functionName + ')')=='function')
					eval(ajax_functionName+"();");

			}
		}
		
		function ajax_getXmlHttpRequestObject() {
			if (window.XMLHttpRequest) {
				return new XMLHttpRequest(); //Not IE
			} else if(window.ActiveXObject) {		
				return new ActiveXObject("Microsoft.XMLHTTP"); //IE
			} else {		//Display your error message here. 
							//and inform the user they might want to upgrade		
							//their browser.		
				alert("Your browser doesn't support the XmlHttpRequest object.  Better upgrade to Firefox.");	
			}
		}
