function getObj(id) {
	return document.getElementById(id);
}	

function doAjaxRequest(url, nameOfObjectToLoad) {
	AjaxRequest.get({
      		'url': url,
      		'onLoading':function() {getObj(nameOfObjectToLoad).innerHTML = '<B>Loading...</B>';},
      		'onSuccess':function(req) {
      			getObj(nameOfObjectToLoad).innerHTML = req.responseText;
      		}     		
    	})
}

function doAjaxRequestNoLoading(url, nameOfObjectToLoad) {
	AjaxRequest.get({
      		'url': url,
//      		'onLoading':function() {getObj(nameOfObjectToLoad).innerHTML = '<B>Loading...</B>';},
      		'onSuccess':function(req) {
      			getObj(nameOfObjectToLoad).innerHTML = req.responseText;
      		}     		
    	})
}

//Advanced Email Check credit-
//By JavaScript Kit (http://www.javascriptkit.com)
//Over 200+ free scripts here!

var eMailFilter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i

/***********************************************
* Cool DHTML tooltip script II- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
