<!--
/* 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}


/* This is for non-spammable email */
var emname13 = "rick";
var emdomain23 = "twoh";
var emdomain33 = "awks.com";

/* This is for non-spammable email */
var emnameRtm13 = "rtmd";
var emdomainRtm23 = "eart";
var emdomainRtm33 = "hlink.com";

/* 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:' + emname13 + '@' + emdomain23 + emdomain33 + '\">');
// document.write(emname13 + '@' + emdomain23 + emdomain33 + '</a>');
// --> </script
//
// <!-- NavButton Email with Rollover Image- -->
// script language="JavaScript"><!--
// document.write('<a href=\"mailto:' + emname13 + '@' + emdomain23 + emdomain33 + '\" 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 emailMeHere() {
	document.write('<a href=\"mailto:'+emname13+'@'+emdomain23+emdomain33+'\"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:' + emname13 + '@' + emdomain23 + emdomain33 + '\" 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:'+emnameRtm13+'@'+emdomainRtm23+emdomainRtm33+'\"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();
}

/*This is for non-spammable display of my name*/
var Rname1 = "Rick";
var Rname2 = "Di";
var Rname3 = "Sal";
var Rname4 = "vo";

/* 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(Rname1 + ' ' + Rname2 + ' ' + Rname3 + Rname4);
}

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 -->  */

// -->
