
//////////////   NEW OPEN URL FUNCTION ////////////////////////
function open_url(url, mydiv, method, querystring, funct, functParams, throbber)
	{
		var myRequest = new ajaxObject(url, open_url_new_action);
		if(method == 'get' || method == 'GET')
        myRequest.update(mydiv, querystring, 'get', funct, functParams, throbber);
		if(method == 'post' || method == 'POST')
        myRequest.update(mydiv, querystring, 'post', funct, functParams, throbber);
		
	}

function open_url_new_action(responseText, responseStatus, responseXML, divid, funct, parameters)
{
					if (responseStatus == 200) 
						{
						  document.getElementById(divid).innerHTML=responseText;
						  if(funct !="null")
						  funct;
						} 
					else 
			            {
			             alert(responseStatus);
			            }	
}
