function RunFoo()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="550" height="440" bgcolor="#FFFFFF">\n');
    document.write('<param name="movie" value="dcdev/flash/main.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" />\n');
    document.write('<embed src="dcdev/flash/main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="440" bgcolor="#FFFFFF" wmode="transparent" />\n');
    document.write('</OBJECT>\n');
}

function loadCurves(){
	settings5 = {
          tl: { radius: 5 },
          tr: { radius: 5 },
          bl: { radius: 5 },
          br: { radius: 5 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
	}
	var myBoxObjectMain = new curvyCorners(settings5, "curveMain");
	myBoxObjectMain.applyCornersToAll();

	var myBoxObjectBoxes = new curvyCorners(settings5, "curveBoxes");
	myBoxObjectBoxes.applyCornersToAll();
}



  btn1 = new Image(95, 95);
  btn1.src= "dcdev/images/btn_submit.gif";
  bl_btn1 = new Image(95, 95);
  bl_btn1.src= "dcdev/images/btn_over_submit.gif";

  btn2 = new Image(95, 95);
  btn2.src= "dcdev/images/btn_reset.gif";
  bl_btn2 = new Image(95, 95);
  bl_btn2.src= "dcdev/images/btn_over_reset.gif";

  btn3 = new Image(95, 95);
  btn3.src= "dcdev/images/btn_quote.gif";
  bl_btn3 = new Image(95, 95);
  bl_btn3.src= "dcdev/images/btn_over_quote.gif";



function showEDunn(){
	get('edunn').style.display = 'block';
	get('dhalligan').style.display = 'none';
	get('jdunn').style.display = 'none';
	get('cjen').style.display = 'none';
	//get('clnts').style.display = 'none';
}
function showDHalligan(){
	get('edunn').style.display = 'none';
	get('dhalligan').style.display = 'block';
	get('jdunn').style.display = 'none';
	get('cjen').style.display = 'none';
	//get('clnts').style.display = 'none';
}
function showJDunn(){
	get('edunn').style.display = 'none';
	get('dhalligan').style.display = 'none';
	get('jdunn').style.display = 'block';
	get('cjen').style.display = 'none';
	//get('clnts').style.display = 'none';
}
function showCJen(){
	get('edunn').style.display = 'none';
	get('dhalligan').style.display = 'none';
	get('jdunn').style.display = 'none';
	get('cjen').style.display = 'block';
	//get('clnts').style.display = 'none';
}
function showClnts(){
	//get('clnts').style.display = 'block';
	//get('midInner').style.height = '510px';
	get('edunn').style.display = 'none';
	get('dhalligan').style.display = 'none';
	get('jdunn').style.display = 'none';
	get('cjen').style.display = 'none';
}





function showCrnrsTxt(){
	get('crnrsTxt').style.display = 'block';
}
function hideCrnrsTxt(){
	get('crnrsTxt').style.display = 'none';
}
function hideWork(){
	get('intheWork').style.display = 'none';
	get('crnrs').style.display = 'block';
}

function get(str){
	return document.getElementById(str);
}
function getN(str){
	return document.getElementsByName(str);
}
function getInclude(id, url) {
  var req = false;
  if (window.XMLHttpRequest) {
    try {
      req = new XMLHttpRequest();
    } catch (e) {
      req = false;
    }
  } else if (window.ActiveXObject) {
    try {
      req = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        req = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {
        req = false;
      }
    }
  }
 var element = window.top.document.getElementById(id);
 if (!element) {
  alert("Bad id " + id + "passed to clientSideInclude.");
  return;
 }
  if (req) {
    req.open('GET', url, false);
    req.send(null);
    element.innerHTML = req.responseText;
  } else {
    element.innerHTML = "Sorry, your browser does not support includes.";
  }
}

function showWork(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/temp.php');
}
function showProsep(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/prosep.php');
}
function showMaas(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/maas.php');
}
function showMexTrav(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/mextrav.php');
}
function showVDG(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/vdg.php');
}
function showFleur(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/fleur.php');
}
function showBS(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/boatstereo.php');
}
function showRice(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/rice.php');
}
function showBP(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/bp.php');
}
function showMaps(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/maps.php');
}
function showInfosurv(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/infosurv.php');
}
function showPCG(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/pcg.php');
}
function showQV(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/quailvalley.php');
}
function showERI(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/eri.php');
}
function showBaker(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/baker.php');
}
function showISG(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/isg.php');
}
function showBerke(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/berke.php');
}
function showAdoptexas(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/adoptexas.php');
}
function showKISD(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/kisd.php');
}
function showWTW(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/witnesstowar.php');
}
function showBanyan(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/banyan.php');
}
function showJeffPaul(){
	//get('midInner').style.height = '380px';
	get('intheWork').style.display = 'block';
	get('crnrs').style.display = 'none';
	getInclude('intheWork', 'dcdev/pf/jeffpaul.php');
}






function loadMms(){
	getInclude('opnr', 'dcdev/pf/mms.php');
}
function loadProsep(){
	getInclude('opnr', 'prosep.php');
}
function loadMaas(){
	getInclude('opnr', 'maas.php');
}
function loadMexTrav(){
	getInclude('opnr', 'mextrav.php');
}
function loadVDG(){
	getInclude('opnr', 'vdg.php');
}
function loadCerise(){
	getInclude('opnr', 'cerise.php');
}
function loadBS(){
	getInclude('opnr', 'boatstereo.php');
}
function loadRice(){
	getInclude('opnr', 'rice.php');
}
function loadBP(){
	getInclude('opnr', 'bp.php');
}
function loadMaps(){
	getInclude('opnr', 'maps.php');
}
function loadInfosurv(){
	getInclude('opnr', 'infosurv.php');
}
function loadMckny(){
	getInclude('opnr', 'mckinney.php');
}
function loadQV(){
	getInclude('opnr', 'quailvalley.php');
}
function loadERI(){
	getInclude('opnr', 'eri.php');
}
function loadBaker(){
	getInclude('opnr', 'baker.php');
}
function loadISG(){
	getInclude('opnr', 'isg.php');
}
function loadBerke(){
	getInclude('opnr', 'berke.php');
}
function loadAdoptexas(){
	getInclude('opnr', 'adoptexas.php');
}
function loadKISD(){
	getInclude('opnr', 'kisd.php');
}
function loadCFHH(){
	getInclude('opnr', 'cfhh.php');
}
function loadTP(){
	getInclude('opnr', 'thunderpants.php');
}
function loadWTW(){
	getInclude('opnr', 'witnesstowar.php');
}


// FORM VALIDATION
function validate() {
var f = document.getElementById('f');
  fn=f.first_name.value;
  ln=f.last_name.value;
  ph=f.phone.value;
  em=f.email.value;

function isEmail(strValue){
  var objRegExp = /^[a-z0-9](.+)@[a-z0-9](.+)$/;
   return objRegExp.test(strValue);
}
function isPhone(strValue){
  return (strValue.replace(/\d\-?/g,"") == "");
}
function isNumeric(strValue){
  return (strValue.replace(/[0-9]/g,"") == "");
}
function isLetters(strValue){
 return (strValue.replace(/[A-Za-z]/g,"") == "");
}

msg=new String("");
if (fn.length==0){
  msg+="First Name\n ";
}
if(!isLetters(f.first_name.value)){
       alert("Please enter Letters Only for your First Name.");
              f.first_name.select();
}
if (ln.length==0){
  msg+="Last Name\n ";
}
if(!isLetters(f.last_name.value)){
       alert("Please enter Letters Only for your Last Name.");
              f.last_name.select();
}
if (ph.length==0){
  msg+="Phone\n ";
}
if(!isPhone(f.phone.value)){
       alert("Please enter numbers and dashes(-) only in the Phone Number field.");
              f.phone.select();
}
if (em.length==0){
  msg+="E-mail\n ";
}
if (msg.length>1){
  msg="The following fields are required:\n "+msg;
  alert(msg);
  event.returnValue=false;
  f.first_name.focus();
}
if(!isEmail(f.email.value)){
        alert("Please enter a VALID email address.");
             f.email.focus();
} else {
  f.submit();
}
}


// CLICK BUTTONS
function clickGo(){
	f.submit();
}
function clickReset(){
	f.reset();
}


// COPYRIGHT
var TheSeparator = "/";
var TheSeparator2 = ", ";
var ShowDay ="yes";
var Days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var TheDate = new Date();

var TheWeekDay = TheDate.getDay();
var Day ="";
if (ShowDay == "yes"){
    Day = Days[TheWeekDay];
    Day += "";}

var TheMonth = TheDate.getMonth() + 1;
if (TheMonth < 10) TheMonth = "0" + TheMonth;

var TheMonthDay = TheDate.getDate();
if (TheMonthDay < 10) TheMonthDay = "0" + TheMonthDay;

var TheYear = TheDate.getYear();
if (TheYear < 1000) TheYear += 1900;

var D = "";
D += TheYear;