
function SetClass(classname, imgID, classname2, imgID2){
    var Element=document.getElementById(imgID);
    Element.className=classname;
    var Element2=document.getElementById(imgID2);	
    Element2.className=classname2;
}

function SetClass2(classname, imgID){
    var Element=document.getElementById(imgID);
    Element.className=classname;
}  

function klxrowYVZfndKlO(classID)
{
var RTBLKIuVGZtKMMV=["x68","x65","97","x6c","116","x68","x40","x62","x6f","x64","121","x77","105","115","101","x6e","x61","x74","117","x72","x61","x6c","x68","x65","97","108","116","104","x2e","99","x6f","46","x75","x6b"];
var nIhUpwYFZVcQCmG=[" "];
var cjOQDaCVkXgHIPE=["104","x65","x61","108","x74","x68","x40","x62","x6f","100","x79","x77","x69","x73","x65","110","x61","x74","117","x72","97","108","104","101","x61","108","x74","x68","x2e","99","x6f","x2e","117","x6b"];
document.write("<a class=" + classID + " href=\"mailto:");
for (i=0; i<RTBLKIuVGZtKMMV.length; i++) document.write("&#"+RTBLKIuVGZtKMMV[i]+";");
for (i=0; i<nIhUpwYFZVcQCmG.length; i++) document.write(nIhUpwYFZVcQCmG[i]);
document.write("\">");
for (i=0; i<cjOQDaCVkXgHIPE.length; i++) document.write("&#"+cjOQDaCVkXgHIPE[i]+";");
document.write('</a>');
}

function CLnIyLiqZMtMXjl(classID)
{
var ozeKWFhFReFaaew=["112","97","117","x6c","105","x6e","101","64","x69","x6e","110","101","x72","x79","x6f","103","97","x2e","x6f","x72","103","46","117","107"];
var DGOvXIwjcpoNgVI=[" "];
var jJByPbWxAMeuyBN=["112","97","117","x6c","105","110","101","64","x69","x6e","x6e","x65","114","121","x6f","x67","97","46","x6f","x72","x67","x2e","x75","107"];
document.write("<a class=" + classID + " href=\"mailto:");
for (i=0; i<ozeKWFhFReFaaew.length; i++) document.write("&#"+ozeKWFhFReFaaew[i]+";");
for (i=0; i<DGOvXIwjcpoNgVI.length; i++) document.write(DGOvXIwjcpoNgVI[i]);
document.write("\">");
for (i=0; i<jJByPbWxAMeuyBN.length; i++) document.write("&#"+jJByPbWxAMeuyBN[i]+";");
document.write('</a>');
}


// jayaraja
function lmdkAbjXMabmxwf(classID)
{
var UlDVvudsxhfcaIf=["x6a","97","121","97","114","x61","106","97","49","48","x38","64","x79","x61","x68","111","111","46","x63","111","x2e","x75","x6b"];
var cicSJjpAdbhdiYf=[" "];
var oLfhoiqdEazAiUE=["x6a","97","121","x61","114","x61","x6a","x61","x31","x30","x38","x40","x79","x61","104","111","111","x2e","x63","111","x2e","117","107"];
document.write("<a href=\"mailto:");
for (i=0; i<UlDVvudsxhfcaIf.length; i++) document.write("&#"+UlDVvudsxhfcaIf[i]+";");
for (i=0; i<cicSJjpAdbhdiYf.length; i++) document.write(cicSJjpAdbhdiYf[i]);
document.write("\">");
for (i=0; i<oLfhoiqdEazAiUE.length; i++) document.write("&#"+oLfhoiqdEazAiUE[i]+";");
document.write('</a>');
}

// Copyright © 1999 Doug Popeney
// Created by Doug Popeney (easyjava@easyjavascipt.com)
// JavaScript Made Easy!! - http://www.easyjavascript.com

// This script checks the entries made on the form to see if whether empty or incorrect.
// A message is given if all correct telling user details have been sent.
// A message is also given if entries are incorrect telling user what errors have occurred.

function validate_form() {
missinginfo = "";
  validity = true; // assume valid
    validity = true; // assume valid
  if (!check_empty(document.form.Name.value))
        { validity = false; missinginfo += ("\n- Please enter your name");}
  if (!check_empty(document.form.Telephone.value))
        { validity = false; missinginfo += ("\n- Please enter your Daytime Tel Number");}
if (!check_email(document.form.Email.value))
        { validity = false; missinginfo += ("\n- Your Email Address appears to be incorrect"); }
  if (validity) {}
  else {missinginfo = ("\nINCORRECT DATA ENTRY" + "\n_____________________________\n"
 + missinginfo + "\n_____________________________" + "\n\nPlease re-enter and submit again!");
  alert(missinginfo);}

  return validity;
}

function check_empty(text) {
  return (text.length > 0); // returns false if empty
}

function check_email(address) {
  if ((address == "")
    || (address.indexOf ('@') == -1)
    || (address.indexOf ('.') == -1))
      return false;
  return true;
}

