function makeRequest(url) {
	var http_request = false;
	var self = this;
	if (window.XMLHttpRequest) {
		self.http_request = new XMLHttpRequest();
		if (self.http_request.overrideMimeType) {
			self.http_request.overrideMimeType('text/xml');
		}
	} else if (window.ActiveXObject) {
		try {
			self.http_request = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				self.http_request = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {}
		}
	}
	if (!self.http_request) {
		return false;
	}
	self.http_request.open('POST', url, true);
	self.http_request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	self.http_request.onreadystatechange = function() {
		if (self.http_request.readyState == 4) {
			if (self.http_request.status == 200) {
				updatepage(self.http_request.responseText);
			} else {
				alert('There was a problem with the request.');
			}
		}
	}
	self.http_request.send(getquerystring());
}

function getquerystring() {
 	if (!document.forms['dm_search']) {
		return null;
	} else {
		var form = document.forms['dm_search'];
		var dmvs = form.dmvs.value;
		//qstr = 'pt=AX&st=DM&dmvs=' + escape(dmvs);
		qstr = escape(dmvs);
		return qstr;
	}
}

function updatepage(str){
	document.getElementById("load_call").innerHTML = str;
}

function confirmClick(text) {
        var agree=confirm(text);
        if (agree) {
                return true;
        } else {
                 return false;
        }
}

<!-- Begin
var timerID ;

function tzone(tz, os, ds, cl)
{
	this.ct = new Date(0) ;		// datetime
	this.tz = tz ;		// code
	this.os = os ;		// GMT offset
	this.ds = ds ;		// has daylight savings
	this.cl = cl ;		// font color
}

function UpdateClocks()
{
	var ct = new Array(
		new tzone('', -8, 1, '#333333'),
		new tzone('', +8, 0, '#333333')
	) ;
	var dt = new Date() ;	// [GMT] time according to machine clock
	// var startDST = new Date(dt.getFullYear(), 3, 1) ; // Original
	var startDST = new Date(dt.getFullYear(), 2, 1) ;
	while (startDST.getDay() != 0)
		startDST.setDate(startDST.getDate() + 1) ;
	var endDST = new Date(dt.getFullYear(), 9, 31) ;
	while (endDST.getDay() != 0)
		endDST.setDate(endDST.getDate() - 1) ;
	var ds_active ;		// DS currently active
	if (startDST < dt && dt < endDST)
		ds_active = 1 ;
	else
		ds_active = 0 ;
	for(n=0 ; n<ct.length ; n++)
		if (ct[n].ds == 1 && ds_active == 1) ct[n].os++ ;
	gmdt = new Date() ;
	for (n=0 ; n<ct.length ; n++)
		ct[n].ct = new Date(gmdt.getTime() + ct[n].os * 3600 * 1000) ;
	document.all.Clock0.innerHTML =
		'<font color="' + ct[0].cl + '">' + ct[0].tz + ClockString(ct[0].ct) + '</font>' ;
	document.all.Clock1.innerHTML =
		'<font color="' + ct[1].cl + '">' + ct[1].tz + ClockString(ct[1].ct) + '</font>' ;
	timerID = window.setTimeout("UpdateClocks()", 1001) ;
}

function ClockString(dt)
{
	var stemp, ampm ;
	var dt_year = dt.getUTCFullYear() ;
	var dt_month = dt.getUTCMonth() + 1 ;
	var dt_day = dt.getUTCDate() ;
	var dt_hour = dt.getUTCHours() ;
	var dt_minute = dt.getUTCMinutes() ;
	var dt_second = dt.getUTCSeconds() ;
	dt_year = dt_year.toString() ;
	if (0 <= dt_hour && dt_hour < 12)
	{
		ampm = 'AM' ;
		if (dt_hour == 0) dt_hour = 12 ;		
	} else {
		ampm = 'PM' ;
		dt_hour = dt_hour - 12 ;
		if (dt_hour == 0) dt_hour = 12 ;		
	}
	if (dt_hour < 10)
		dt_hour = '0' + dt_hour ;
	if (dt_minute < 10)
		dt_minute = '0' + dt_minute ;
	if (dt_second < 10)
		dt_second = '0' + dt_second ;
	if (dt_month == 1)
		dt_month = 'Jan';
	if (dt_month == 2)
		dt_month = 'Feb';
	if (dt_month == 3)
		dt_month = 'Mar';
	if (dt_month == 4)
		dt_month = 'Apr';
	if (dt_month == 5)
		dt_month = 'May';
	if (dt_month == 6)
		dt_month = 'Jun';
	if (dt_month == 7)
		dt_month = 'Jul';
	if (dt_month == 8)
		dt_month = 'Aug';
	if (dt_month == 9)
		dt_month = 'Sep';
	if (dt_month == 10)
		dt_month = 'Oct';
	if (dt_month == 11)
		dt_month = 'Nov';
	if (dt_month == 12)
		dt_month = 'Dec';

	stemp = dt_month + ' ' + dt_day + ', ' + dt_year ;
	stemp = stemp + ' &nbsp;' + dt_hour + ":" + dt_minute + ":" + dt_second + ' ' + ampm ;
	return stemp ;
}
//  End -->
