$(function(){
	$('#headerpic').css('cursor','pointer').click(function(){
	document.location='http://www.vrresnetwork.com';
	});
});
//``````````````````````````````````````````````````````````````
// AJAX functions
//``````````````````````````````````````````````````````````````
var ajax_http = ajax_getHTTPObject();
var ajax_callback = '';
var ajax_return = '';
function doAjax(url,params,type,callback_func){
	ajax_http.open(type, url + '?' + params, true);
	isWorking = true;
	ajax_callback=callback_func; // set local var to global.
	ajax_http.onreadystatechange = ajax_handleHttpResponse;
	ajax_http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	ajax_http.setRequestHeader("Content-length", params.length);
	ajax_http.setRequestHeader("Connection", "close");
	ajax_http.send(params);
}
function ajax_getHTTPObject() {
	var ajax_xmlhttp;
	if (!ajax_xmlhttp && typeof XMLHttpRequest != 'undefined') {
		try {
			ajax_xmlhttp = new XMLHttpRequest();
		}
		catch (e) {
			ajax_xmlhttp = false;
		}
	}else if(typeof window.ActiveXObject != 'undefined'){
		ajax_xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
	}
	return ajax_xmlhttp;
}
function ajax_handleHttpResponse() {
	//alert('1:'+ajax_http.readyState);
	if (ajax_http.readyState == 4) {// complete, data is fully loaded.
		//alert('2');
		ajax_return = ajax_http.responseText;
		eval(ajax_callback);
		//alert('3');
	}
}
