var now = new Date();
function fourdigits(number)	{
return (number < 1000) ? number + 1900 : number;}
var year = (fourdigits(now.getYear()));

var copyRight='<p align="right" class="cpyrght">'
+ '&copy;&nbsp;'
+ year
+ ' Design Mode, LLC. All rights reserved.'
// Begin W3C Markup Validator. Comment out or remove before going live.
//+ '<br />'
//+ '<a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">'
//+ 'Valid'
//+ '<abbr title="eXtensible HyperText Markup Language">'
//+ ' XHTML'
//+ '</abbr>'
//+ '</a>'
// End W3C Markup Validator. Comment out or remove before going live.
+ '</p>';

$(document).ready(function(){
$("#footer").html(copyRight);
});

function statusLoad() {
  window.status="Design Mode"; return true;
}

window.defaultStatus="Design Mode";

/*
http://lyncd.com/2009/03/better-google-analytics-javascript/

Inserts GA using DOM insertion of <script> tag and "script onload" method to
initialize the pageTracker object. Prevents GA insertion from blocking I/O!

As suggested in Steve Souder's talk. See:
http://google-code-updates.blogspot.com/2009/03/steve-souders-lifes-too-short-write.html
*/

/* acct is GA account number, i.e. "UA-5555555-1" */
function gaSSDSLoad (acct) {
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."),
      pageTracker,
      s;
  s = document.createElement('script');
  s.src = gaJsHost + 'google-analytics.com/ga.js';
  s.type = 'text/javascript';
  s.onloadDone = false;
  function init () {
    pageTracker = _gat._getTracker(acct);
    pageTracker._trackPageview();
  }
  s.onload = function () {
    s.onloadDone = true;
    init();
  };
  s.onreadystatechange = function() {
    if (('loaded' === s.readyState || 'complete' === s.readyState) && !s.onloadDone) {
      s.onloadDone = true;
      init();
    }
  };
  document.getElementsByTagName('head')[0].appendChild(s);
}

/* and run it */
gaSSDSLoad("UA-2984933-9");
