function ajaxFunction(fUrl, fId){

	var xmlHttp;
	document.getElementById(fId).innerHTML = "<img src=\"/assets/images/javaThinker.gif\" alt=\"Loading...\" border=\"0\" title=\"Loading content...please wait.\">"
	try{
  	// Firefox, Opera 8.0+, Safari
  		xmlHttp=new XMLHttpRequest();
  	}
	catch (e){
	// Internet Explorer
 		try{
    		xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    	}
  		catch (e){
    		try{
      			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      		}
    		catch (e){
      			alert("Your browser does not support AJAX!");
      			return false;
      		}
    	}
  	}
	
	xmlHttp.onreadystatechange=function(){
    	if(xmlHttp.readyState==4){
      			if (xmlHttp.responseText.indexOf("The page cannot be found")>0) {
				location.reload(true);
			}else if(xmlHttp.responseText.indexOf("<!-- Javascript : login -->")<0){
     			document.getElementById(fId).innerHTML=xmlHttp.responseText;
			
      		}else{
      			window.location.replace("/memberweb/newLogin.asp");
     		}
      	}
    }
  	xmlHttp.open("GET",fUrl,true);
 	xmlHttp.send(null);
 }
