function doLoad(value) {
    //Show the AJAX Loader
		$('#NEAjaxLoader').show('fast');
		
		// Create new JsHttpRequest object.
    var req = new JsHttpRequest();
    // Code automatically called on load finishing.
    req.onreadystatechange = function() {
			  if (req.readyState == 4) {
            document.getElementById('serverresponseCont').innerHTML = req.responseText;
        }
    }
    // Prepare request object (automatically choose GET or POST).
    req.open(null, '?ajax=1&a=nicedit_uploadphoto&generic=1', true);
		
    // Send data to backend.
    req.send( { q: value } );
  	$('#NEAjaxLoader').hide('fast');
	}	
