// Copyright (c) 1996 - 2006 Martin Weingarten And Weingarten Enterprises
// http://weingarten.net
// Weingarten Enterprises IS NOT Distributing These Scripts And They Are
// Not To Be Used Elsewhere Without Advance Written Permission From The Author(s)
// ----------------------------------------------------------------------------------------------->
// Used In Conjunction With (Default) style.css Style Sheet
// Use The Following Tag Within The <head> Of The HTML Document To Call This Script Externally
// <script type="text/javascript" src="./scripts.js"></script>
// Edit src Attribute Within This Tag To Match Path Specifications


// ----------------------------------------------------------------------------------------------->
// Silently Disable Right Click Script v.3.0a
// Diables Right Click Without Presenting A Javascript Popup Alert Message
var message="";

function clickIE() {
if (document.all) {(message);return false;
}}
function clickNS(e) {
if (document.layers||(document.getElementByID&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;
}}}
if (document.layers) {
document.captureEvents(Event.MouseDown);document.onMouseDown=clickNS;
}
else {
document.onMouseUp=clickNS;document.onContextMenu=clickIE;
}
document.onContextMenu=new Function("return false")


// ----------------------------------------------------------------------------------------------->
// AlwaysOnTop v.1.0b
// Prevents Document From Being Locked Within A Frameset
if (window !=top) top.location.href=location.href;


// ----------------------------------------------------------------------------------------------->
// Multiple OnLoad Event Trigger v.1.0b
// Additional OnLoad Events May Be Added

// E D I T ! ----------------------------------->
// window.status=''; Edit To Reflect Desired Status Bar Message
window.status='Caresheet.com';


// ----------------------------------------------------------------------------------------------->
// Textual Date v.1.0b
// Day, Month Date, Year Formatted Date
// Optionally Link With onClick Popup Calendar With Date Picker Capabilities

// Perpetual Copyright Date v.1.0b
// Updates Current Copyright Year Automatically

// Begin Necessary Perpetual Copyright Date Elements
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
	year+=1900
// End Necessary Perpetual Copyright Date Elements

var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
	daym="0"+daym
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")


// ----------------------------------------------------------------------------------------------->
// Select All 					
function selectAll(theField) {
  var tempval=eval("document."+theField)
  tempval.focus()
  tempval.select()
}

// ----------------------------------------------------------------------------------------------->
// E-Mail Address Encoder
// E D I T ! ----------------------------------->
var first = 'ma';
var second = 'il';
var third = 'to:';
var address = 'mail';
var domain = 'caresheet';
var ext = 'com';
var sub_1 = '?subject=Link Exchange Request';