function getToday(){
	dt=new Date();	
	month=dt.getMonth()+1;
	day=dt.getDate();
	year=dt.getFullYear();
	return(month + './' + day + './' + year);
}

function getTodayDate(){
	dayArray = new Array("Sunday", "Monday", "Tuesday", "Wednesday",
						"Thursday", "Friday", "Saturday");
	monthArray = new Array("January","February","March","April","May","June","July",
						"August","September","October","November","December");
	today = new Date();
	day = today.getDate();
	weekday = today.getDay();
		dayName = dayArray[weekday];
	month = today.getMonth();
		monthName = monthArray[month];
	year = today.getFullYear();
	return(dayName + "," + " " + monthName + " " + day + "," + " " + year);
}

function chkDeleteAll_onclick()
{
var cCount;
var i;
cCount =document.all("txtCount").value;

for (i=1;i<=cCount;i++) 
	{
	document.all("chkDelete" + i).checked =document.all("chkDeleteAll").checked
	}
}

function cmdDelete_onclick() {
var Response
Response=window.confirm("Are you sure?");
	if  (Response == true) 
	{
		return(true);
	}
		return(false);
}

function swapimage(imgName)
{
if (navigator.appName=="Microsoft Internet Explorer")
{	
	event.srcElement.src="images/" + imgName;
}
else
{
	event.srcElement.target="images/" + imgName;
}
}

function menu_onmouseover(menuCell,menuLink)
{
if (navigator.appName=="Microsoft Internet Explorer")
{	document.all(menuCell).style.backgroundColor='#CCCCCC';
	document.all(menuCell).style.cursor = "hand"
}
else
{	
	document.getElementById(menuCell).style.backgroundColor='#CCCCCC';
	document.getElementById(menuCell).style.cursor = "hand"
	var p
	p =document.getElementById(menuCell).innerHTML
	document.getElementById(menuCell).innerHTML= '<a href='+ menuLink+ '>' + p
}
}

function menu_onmouseout(menuCell)
{
	if (document.all)
{
	document.all(menuCell).style.backgroundColor='#000000';
	document.all(menuCell).style.cursor = "auto"
}
else
{
	document.getElementById(menuCell).style.backgroundColor='#000000';
	document.getElementById(menuCell).style.cursor = "auto"
}	
}

function img_onmouseover()
{	
event.srcElement.style.borderColor="#CCCCCC"
}
	

function img_onmouseout(e)
{
	event.srcElement.style.borderColor="#000000"
}
