<!--

function SendEmail(frm){ 
    var emailAddress="djones@planters.net" 
    var message = "Name:" + frm.name.value + "\n"; 
    message = message +"Phone:" +  frm.phone.value; 
    message = message +"\nComments:" + frm.comments.value; 
    document.location.href = "mailto:"+emailAddress+"?subject=Test Mail&body="+escape(message); 
} 


function getCopy() {
var wholeDate = new Date();

var wholeYear = wholeDate.getFullYear();

var string = "&copy; " + wholeYear + ", Planters Telephone Cooperative";
document.write(string);
}

function getDate() {
var months = new Array("January","February","March","April","May","June","July", "August", "September", "October", "November", "December");

var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");

var currentDate = new Date();

var day = days[currentDate.getDay()];
var month = months[currentDate.getMonth()];
var date = currentDate.getDate();
var year = currentDate.getFullYear();

var date = day + ", " + month + " " + date + ", " + year;

var hours = currentDate.getHours();
var minutes = currentDate.getMinutes();
var ap = "AM";

if (hours > 11) {ap = "PM";}
if (hours > 12) {hours = hours - 12;}
if (minutes < 10) {minutes = "0" + minutes;}
if (hours == 0) {hours = 12;}

var time = ("&nbsp;&nbsp; " + hours + ":" + minutes + " " + ap)

document.write('<div style="color:#696969; font-family:Times New Roman; font-size:12px;">' + date + time + ' EST' + '</div>');

}


function answer() {
	if (navigator.appName == 'Netscape') {
		if (navigator.userAgent.indexOf('Firefox')==-1){
		getDate();
		}
		else {
		document.write('<div style="padding-top:10px;"></div>');getDate();
		}
	}
	else {
		getDate();
	}
}

function side1() {
	var imagenumber = 4;
	var randomnumber = Math.random();
	var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1;
	
	listing = new Array();
	listing[1] = "<img src='images/wap.jpg' align='right'><div style='font-size:11px;'>With wireless connections, internet access may degrade when moving further away from the wireless router. Signal may also degrade when products operating on the 2.4GHz spectrum are in range of the wireless router (baby monitors, cordless phones, wireless mice or keyboards, microwaves, etc).</div></img>";
	listing[2] = "<img src='images/inetdial.jpg' align='right'><div style='font-size:11px;'>If you are having trouble with a dial-up connection to the Internet, first check to make sure that you have dial tone on your telephone. Do this simply by connecting a coreless or corded telephone to the phone jack on the wall.</div></img>";
	listing[3] = "<img src='images/vpvc.jpg' align='right'><div style='font-size:11px;'>If you opt to use your own modem for PlantersNet DSL, it must have a VC and VP of <strong>0/35</strong>. Otherwise, it will not work with the DSL service.</div></img>";
	listing[4] = "<img src='images/longd.jpg' align='right'><div style='font-size:11px;'>To establish or transfer telephone service with Planters, you can call our office to find out about any deposits or installation charges.</div></img>";
	
	document.write(listing[rand1]);
}



//-->
