<!--
function GetCityDate(year,month,day,hours){
	var d = new Date();
	//hours of the browser
	//var hours=d.getHours();
	//browser timezone offset from Greeenwich in hours
	//var browser_GMT=-d.getTimezoneOffset()/60;
	d.setHours(hours);
	d.setDate(day);
	d.setMonth(month);
	d.setFullYear(year);
	var day=d.getDate();
	var m=d.getMonth();
	var month=new Array(12);
	month[0]="January";
	month[1]="February";
	month[2]="March";
	month[3]="April";
	month[4]="May";
	month[5]="June";
	month[6]="July";
	month[7]="August";
	month[8]="September";
	month[9]="October";
	month[10]="November";
	month[11]="December";
	month_name=month[m];
	var year=d.getFullYear();
	hours=d.getHours();
	//var hour=new string();
	if (hours<12) interval="AM";
	else interval ="PM";
	if (hours<12) hours=hours;
	else hours=hours-12;
	if (hours<10) hour="0"+hours;
	else hour=hours;
	var minutes=d.getMinutes();
	if (minutes<10) minute="0"+minutes;
	else minute=minutes;
	//var seconds=d.getSeconds();
	//if (seconds<10) sec="0"+seconds;
	//else sec=seconds;
	document.getElementById("clock").innerHTML=month_name+" "+day+" "+year+" "+hour+":"+minute+" "+interval;
}

//opens a new popup window containing the page from parameter "url":
var newWin;
function WinOpen(url,title,w,h){
	w=parseInt(w);
	h=parseInt(h);
	if (!mac) if (new String(newWin)!="undefined" && newWin!=null) if (!newWin.closed) newWin.close();
	newWin=window.open(url,title,"width="+w+",height="+h+",top=0,left=0,location=no,directories=no,hotkeys=no,copyhistory=no,resizable=yes,menubar=no,status=no,toolbar=no,scrollbars=yes,z-lock=yes");
	//if (mac) win.resizeTo(w+25,h+50);
	newWin.focus();
}

//opens a new popup window containing the image from parameter:
var newWinImg;
function OpenImage(imgFile){
	if (new String(newWinImg)!="undefined" && newWinImg!=null) if (!newWinImg.closed) newWinImg.close();
	var newWinImg=window.open("","ProjectNewWindowImage","width=100,height=100,top=0,left=0,location=no,directories=no,hotkeys=no,copyhistory=no,resizable=no,menubar=no,status=no,toolbar=no,scrollbars=no,z-lock=yes");
	newWinImg.document.write('<html><head><title>Project :: New Window Image</title></head><body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" bgcolor="#ffffff" onload="window.resizeTo(parseInt(document.images[\'img\'].width)+10,parseInt(document.images[\'img\'].height)+29)"><img src="' + imgFile + '" name="img" /></body></html>');
	newWinImg.document.close();
	newWinImg.focus();
}

//used for paging:
function GoToPageNo(page){
	document.frmPaging.page.value=page;
	document.frmPaging.submit();
}

//used for paging:
function GoToRecNo(start){
	document.frmMain.start.value=start;
	document.frmMain.submit();
}


//-->