// JavaScript Document


  function checkemail(formname, email) {

  atpos = email.indexOf("@",1);

  emctr = 0;

  if (atpos == -1){

  	emctr++

  	}

  if (email.indexOf("@", atpos+1) != -1){

 	emctr++

  	}

  dotpos = email.indexOf(".",atpos);

  if (dotpos <= 0) {

 	emctr++

  	}

  if (dotpos+3 > email.length) {

 	emctr++

 	}

  if (emctr > 0) {

  	alert("You Must Enter a Valid E-mail Address")

  	document.forms[formname].email.focus()

	}

  return true

  	}

// End script hiding

/*================================================================================
' CLASS:        clsRequest
' PROPERTIES:   QueryString (read only) - an associative array, holding the name/
'               value pairs in the querystring (a.k.a. location.search).
'               QueryString.Count - a positive integer containing the number of 
'                   name/value pairs in the querystring.
' METHODS:      None.
' OUTPUT:       None.
' SIDE-EFFECTS: None.
' DEPENDENCIES: Any JavaScript 1.2+ browser.
' PURPOSE:      This class simulatea the ASP Request.QueryString object.
'               It allows the easy retrieval of name/value pairs in the 
'               querystring, which can be used as a client-side state-saving
'               strategy.
'               Example: if you have a querystring that looks like
'
'                   ?fname=Perm&lname=Ghotra&email=permjit.ghotra@oit.state.nj.us
'               
'               you would reference the values like this:
'
'                   Request.QueryString["fname"]
'                   or
'                   Request.QueryString[1]
'
'               etc.
'================================================================================*/

function clsRequest()
{
    // "Constants"
    var KEY = 0,
        VALUE = 1;
    this.QueryString = {};
    //Get the QueryString from the URL
    var arrKeyValuePairs = location.search.split("&");
    //The first character is always '?', so strip it out
    arrKeyValuePairs[0] = arrKeyValuePairs[0].substring(1);
    //Now loop through the array of name/value pairs, and 
    //split them up, too, loading them into the associative
    //array 'QueryString'
    for( var i = 0; i < arrKeyValuePairs.length; i++ )
    {
        var arrKeyValuePair = arrKeyValuePairs[ i ].split( "=" )
        this.QueryString[ arrKeyValuePair[ KEY ] ] = unescape(arrKeyValuePair[ VALUE ]);
        this.QueryString[ i ] = unescape(arrKeyValuePair[ VALUE ]);
    }

    this.QueryString.Count = arrKeyValuePairs.length;
}

/*================================================================================
' End Class
'================================================================================*/

function init () {
	var tables = document.getElementsByTagName("table");
	for (var i = 0; i < tables.length; i++) {
	  if (tables[i].className.match(/striped/)) {
	    zebra(tables[i]);
	  }
	}
      }

      function zebra (table) {
	var current = "oddRow";
	var trs = table.getElementsByTagName("tr");
	for (var i = 0; i < trs.length; i++) {
	  trs[i].className += " " + current;
	  current = current == "evenRow" ? "oddRow" : "evenRow";
	}
      }
