<!--
/* Base JavaScript for error and Browser checking 
-- script language="JavaScript" --
*/

function stopError() {return true}
window.onerror = stopError
  /*    this suppresses javascript error messages for browsers */
	/* ON/OFF/ON that do not support javascript or have it turned off. */
	/* DONT USE IT DURING DEVELOPMENT */

/* May Need to Capture this to see if I can beeter control it for NS6 Bug
The bug doesn't allow the proper display of Status Messages for Links */
defaultStatus=""

cursorOverlay = false
browserVersion = parseFloat(navigator.appVersion)
if (browserVersion >= 3.0) {cursorOverlay = true}

/* Open Browser Window Function */
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features); 
  return false;
}

/* ################################### */
/*    VARS               ############# */
/* ################################### */

/* This is for non-spammable EMail */
var emnme11 = "Wil";
var emnme12 = "liam";
var emdom21 = "Woo";
var emdom22 = "dri";
var emdom23 = "ngCPA";
var emdom31 = ".com";

/*This is for non-spammable display of Client Name*/
var ClName1 = "Wil";
var ClName2 = "liam";
var ClName3 = "Woo";
var ClName4 = "dri";
var ClName5 = "ng";

var Fname = ClName1 + ClName2;
var Lname = ClName3 + ClName4 + ClName5;

/* ################################### */
/*   EMAIL SCRIPTS       ############# */
/* ################################### */

/* PASTE THE FOLLOWING IN YOUR PAGES in place of your email
// or create a emailDocWrite.js file and paste the script link tag
//     Non-RollOver Version
// script language="JavaScript"><!--
// document.write('<a href=\"mailto:' + emnme11 + emnme12 + '@' + emdom21 + emdom22 + emdom23 + emdom31 + '\">');
// document.write(emnme11 + emnme12 + '@' + emdom21 + emdom22 + emdom23 + emdom31 + '</a>');
// --> </script
//
// <!-- NavButton Email with Rollover Image- -->
// script language="JavaScript"><!--
// document.write('<a href=\"mailto:' + emnme11 + emnme12 + '@' + emdom21 + emdom22 + emdom23 + emdom31 + '\" onMouseOver=\"swapImage(\'emlbtn\',\'emlbtnon\'); parent.status=\'Love is the Function, No Form is the Tool\'; return true\" onMouseOut=\"swapImage(\'emlbtn\',\'emlbtnoff\'); parent.status=\'\'; return true\"><img NAME=\"emlbtn\" height=\"40\" width=\"40\" vspace=\"0\" border=\"0\" src=\"images/mail.gif\" alt=\"E-Mail\"><br>eMail</a>');
// --> </script </b><br>
*/
/*  Or Use the Following Functions */
function emailHTHHere() {
	document.write('<a href=\"mailto:'+emnme11+emnme12+'@'+emdom21+emdom22+emdom23+emdom31+'\"onMouseOver=\"window.status=\'Love is the Function, No Form is the Tool\';return true\"onMouseOut=\"window.status=\'\'; return true\">email me here</a>');
	document.close();
}

function emailwRollOver() {
	document.write('<a href=\"mailto:'+emnme11+emnme12+'@' + emdom21 + emdom22 + emdom23 + emdom31 + '\" onMouseOver=\"swapImage(\'emlbtn\',\'emlbtnon\'); parent.status=\'Love is the Function, No Form is the Tool\'; return true\" onMouseOut=\"swapImage(\'emlbtn\',\'emlbtnoff\'); parent.status=\'\'; return true\"><img NAME=\"emlbtn\" height=\"40\" width=\"40\" vspace=\"0\" border=\"0\" src=\"images/mail.gif\" alt=\"E-Mail\"><br>eMail</a>');
	document.close();
}
/* for alternate eamail */
function emailMeHereRtm() {
	document.write('<a href=\"mailto:'+emnme11+emnme12+'@'+emdom21+emdom22+emdom23+emdom31+'\"onMouseOver=\"window.status=\'Love is the Function, No Form is the Tool\';return true\"onMouseOut=\"window.status=\'\'; return true\">email me here</a>');
	document.close();
}

/* Info Email */
function emailInfoHere() {
	document.write('<a href=\"mailto:Info@'+emdom21+emdom22+emdom23+emdom31+'\"onMouseOver=\"window.status=\'Email Us For Info Here\';return true\"onMouseOut=\"window.status=\'\'; return true\">Info@'+emdom21+emdom22+emdom23+emdom31+'</a>');
	document.close();
}

/* ################################### */
/*    NAME SCRIPTS       ############# */
/* ################################### */
/* PASTE THE FOLLOWING IN YOUR PAGES in place of your name
// script language="JavaScript"><!--
// document.write(Rname1 + ' ' + Rname2 + ' ' + Rname3 + Rname4);
// --></script
*/

// or just call this function
function writeMyName() {
	document.write(Fname + ' ' + Lname);
}

function writeMyFName() {
	document.write(Fname);
}

function writeMyLName() {
	document.write(Lname);
}

function MM_reloadPage(init) { // reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

/* Set Variable for Cross-Browser Form TextArea Cols Width Control
   "(this)Is" variable dependent upon scrbrowsercheck.js */
// var fmtxCols;
// var fmtxRows;
function fmtxAreaDim(){    //Rows no greater than 22 for nn unless table is taller
//nn4[cols=30, ros=22],  ie[cols=53, rows=22]
	if (thisis.ns4) {   //OR if (thisis.brwsrnam==ns) OR if (thisis.ns4)
		fmtxCols=30;		  // NOT if(thisis=="ns4")
		fmtxRows=24;
	} 
	else if (this.ie || this.ns6) {
		fmtxCols=53;
		fmtxRows=27;
	}
	document.write('<FORM enctype=\"multipart/form-data\" name=\"formlinktip\"><TEXTAREA class=\"textareaFm1\" name=\"txtlinkdescription\" cols=\"'+fmtxCols+'\" rows=\"'+fmtxRows+'\" readonly wrap=\"soft\"></TEXTAREA></FORM>');
	document.close();
}
/* class=\"textareaFm1\" */
/* Note: in NN6 the form text in the links has limitations - see the snippet JS Form Link*/
/* some cuts (is.ie4||is.ie5)   (is.ns4||is.ns6)  ('cols='+fmtxCols+' rows='+fmtxRows ) */
/* should work with the following script */
/*		<!-- script language="JavaScript"><!-- //Dynamic Form
			fmtxAreaDim()
			// --></script -->  */

/* ################################################ */
/*    FORM Custom CSS Tag Helper      ############# */
/* ################################################ */
/* iterates the page for form elements so styling may be globally applied to explicit input attirbutes such as checkbox, radiobutton, etc,  Uses a body onload handler...
 body onload="appendInputTypeClasses()"
*/
function appendInputTypeClasses() {
  if ( !document.getElementsByTagName ) return;
  var inputs = document.getElementsByTagName('input');
  var inputLen = inputs.length;
  for ( i=0; i < inputLen; i++ ) {
    if ( inputs[i].getAttribute('type') ) {
      inputs[i].className += ' '+inputs[i].getAttribute('type');
    }
  }
}



// -->
