// JavaScript Document
	  function com_wwww_clock_clock()
	  {
		if (!document.layers && !document.all) return;

		var now;
		var greet;
		now = new Date();
		hr = now.getHours();
		if (hr < 12)
		{
			greet = "Good Morning";
		}
		else if (hr < 17)
		{
			greet = "Good Afternoon";
		}else
		{
			greet = "Good Evening";
		}
		var runTime = new Date();
		var days=new Array(8);
		days[1]="Sunday";
		days[2]="Monday";
		days[3]="Tuesday";
		days[4]="Wednesday";
		days[5]="Thursday";
		days[6]="Friday";
		days[7]="Saturday";
		var ldays = days[runTime.getDay()+1]
		var months=new Array(13);
		months[1]="JAN";
		months[2]="FEB";
		months[3]="MAR";
		months[4]="APRIL";
		months[5]="MAY";
		months[6]="JUNE";
		months[7]="JULY";
		months[8]="AUG";
		months[9]="SEP";
		months[10]="OCT";
		months[11]="NOV";
		months[12]="DEC";
		var lmonth=months[runTime.getMonth()+1];
		var date=runTime.getDate();
		var year=runTime.getYear();
		var hours = runTime.getHours();
		var minutes = runTime.getMinutes();
		var seconds = runTime.getSeconds();
		var dn="AM"
			if (hours>=12)
			dn="PM"
			if (hours>12)
			{
				hours=hours-12
			}
			if (hours==0)
			hours=12
			if (minutes<=9)
			minutes=""+minutes
			if (seconds<=9)
			seconds=""+seconds
		if (year < 2000) year = year + 1900;
		if (hours == 0) hours = 00;
		if (minutes <= 9) minutes = "0" + minutes;
		if (seconds <= 9) seconds = "0" + seconds;
		//movingtime = ldays +"," +lmonth +" " + date +", "+year+" "+ hours + ":" + minutes + ":" + seconds+ ""+dn;
		//movingtime = lmonth + " "+date+", "+year+" "+ hours + ":" + minutes + ":" + seconds+" "+dn;
         movingtime = lmonth +" "+date+", "+year;
		//movingtime = hours + ":" + minutes + ":" + seconds+ ""+dn;

		if (document.layers)
		{
			document.layers.clock.document.write(movingtime);
			document.layers.clock.document.close();
		}
		else if (document.all)
		{
    
			document.getElementById('clock').innerHTML = movingtime;
		}
		setTimeout("com_wwww_clock_clock()", 1000);
	}
	function com_sssw_onBodyLoad()
	{
		com_wwww_clock_clock();
	}

	function Enters()
	{
		if(document.fromsearch.q.value=="")
		{
			alert("Please Enter Search String");
			document.fromsearch.q.focus();
			return;
		}
		document.fromsearch.submit();
	}
	
	function jump()
	{
    var page = document.frmOtherPage.page.value;
    
    if(page.indexOf('auctionpost') >= 0)
      window.open(page);
    else
      window.location = page;
  }

