/*
image1 = new Image();
image1.src = "images/i1.gif";
image2 = new Image();
image2.src = "images/i1h.gif";

function move_in(img_name,img_src) {
document[img_name].src=img_src;
}

function move_out(img_name,img_src) {
document[img_name].src=img_src;
}


function pdate()
{
var t = new Date();
var d = t.getDate();
var m = t.getMonth();
var y = t.getFullYear();
var sup = "th";
if (d == 1 || d == 21 || d ==31)
   {
   sup = "st";
   }
if (d == 2 || d == 22)
   {
   sup = "nd";
   }
if (d == 3 || d == 23)
   {
   sup = "rd";
   }

var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

m = month[m];

d = d + "<SUP>" + sup + "</SUP>" + " " + m + " " + y;

document.write('<SPAN CLASS="small">' + d + "</SPAN>&nbsp;&nbsp;&nbsp;");
}

*/

function factoids()
	{
	/* Array t holds the testimonials */
	var t = new Array(); 

	t[0] = "Plexeon has introduced comprehensive RF Measurement and Analysis Services!";
	t[1] = "Broadband over Power Line (BPL) bandwidth has surpassed speeds in excess of 200 Mbps.";
	t[2] = "Corporations can potentially save over 30% on annual infrastructure costs by conducting extensive infrastrucure assessments and audits.";
	t[3] = "BPL technology operates in the home and also provides Internet Access over the electric distribution grid.";
	t[4] = "BPL technology companies are developing BPL products that will operate on the transmission grid as well!";
	t[5] = "Plexeon Logistics has extensive hands-on experience in the BPL market with Co-ops, Municpalities, and IOUs.";
	t[6] = "BPL infrastructures are less costly to deploy than their broadband competitors.";
	t[7] = "Savings generated from IT Audits and Assessments offset costs for other critical projects.";

	total_no = t.length;
	var r = Math.round((total_no - 1)*Math.random());
	factoid_to_print = t[r];
	document.write(factoid_to_print);
	}


function val_form1()
	{
	if (document.newsform.email.value == "")
		{
		alert("Please enter an email address");
		return false;
		}
	return true;
	}

function val_form2()
	{
	err = 0;
	msg = "";
	if (document.quickcontactform.name.value == "" || document.quickcontactform.name.value == "Name...")
		{
		msg = msg + "Please enter your name\n";
		err = 1;
		}
	if (document.quickcontactform.email.value == "" || document.quickcontactform.email.value == "Email...")
		{
		msg = msg + "Please enter your email address\n";
		err = 1;
		}
	if (err)
		{
		alert(msg);
		return false;
		}
	return true;
	}

function val_loginform()
	{
	err = 0;
	msg = "";
	if (document.loginform.username.value == "")
		{
		msg = msg + "Please enter your username\n";
		err = 1;
		}
	if (document.loginform.password.value == "")
		{
		msg = msg + "Please enter your password\n";
		err = 1;
		}
	if (err)
		{
		alert(msg);
		return false;
		}
	return true;
	}

function nav()
   {
   var w = document.jumpform.jumpurl.selectedIndex;
   var url_add = document.jumpform.jumpurl.options[w].value;
   window.location.href = url_add;
   }

function nav2()
   {
   var w = document.jumpform2.jumpurl2.selectedIndex;
   var url_add = document.jumpform2.jumpurl2.options[w].value;
   window.location.href = url_add;
   }

