//
function blockError(){return true;}
//
function LiveChat() 
	{
	window.open("http://chat.helponclick.com/livechat.php?usrname=evisionsys&usr_id=4635&dp_id=951&op_id=0&nickname=&s_url="+escape(top.window.document.URL),"chat_login","top="+((screen.height/2)-200)+",left="+((screen.width/2)-225)+",width=450,height=400,scrollbars=no,status=0,toolbar=no,location=no,resizable=no")
	}
//
function ResultsWindow(sValue) {
	var isNav;
	if (parseInt(navigator.appVersion.charAt(0))>= 4) {
		isNav = (navigator.appName == "Netscape") ? 1 : 0;
	}
	if (isNav) { 
        openWin = window.open(sValue,'xml3','top=10,left=10,buttons=no,scrollbars=yes,location=no, menubar=no,resizable=no,status=yes,directories=no,toolbar=no');
    } else {
        openWin = window.open(sValue,'xml3','top=10,left=10,buttons=no,scrollbars=yes,location=no, menubar=no,resizable=no,status=yes,directories=no,toolbar=no');
    }
    openWin.focus(); 
}
//
function CurrentDateTime() {
	mydate = new Date();
	myday = mydate.getDay();
	mymonth = mydate.getMonth();
	myweekday= mydate.getDate();
	myyear= mydate.getYear();
	year = myyear;
	if (year < 2000)    // Y2K Fix, Isaac Powell
	year = year + 1900; // http://onyx.idbsu.edu/~ipowell
	myhours = mydate.getHours();
	if (myhours >= 12) {
	myhours = (myhours == 12) ? 12 : myhours - 12; mm = " pm";
	}
	else {
	myhours = (myhours == 0) ? 12 : myhours; mm = " am";
	}
	myminutes = mydate.getMinutes();
	if (myminutes < 10){
	mytime = ":0" + myminutes;
	}
	else {
	mytime = ":" + myminutes;
	};
	arday = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat")
	armonth = new Array("Jan. ","Feb. ","Mar. ","Apr. ","May ","Jun. ","Jul. ","Aug. ","Sept. ", "Oct ","Nov. ","Dec. ")
	ardate = new Array("0th","1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th","11th","12th","13th","14th","15th","16th","17th","18th","19th","20th","21st","22nd","23rd","24th","25th","26th","27th","28th","29th","30th","31st");
	// rename locale as needed.
	this.datetime = (arday[myday] +", " + armonth[mymonth] +" "+ardate[myweekday] + " " + year+ " @ " + myhours + mytime+ mm );
	this.day = arday[myday]
	this.time = myhours + mytime+ mm
	this.date = arday[myday] +", " + armonth[mymonth] +" "+ardate[myweekday] + ", " + year
	this.year =  year
}

var today = new CurrentDateTime();
