// JavaScript Document

/*******************************************************************
          Written by  :  Kyle Bottorff
		  				 Owner, Lead Design
					     www.erisluminal.com
									
		  Date        :  03.31.2009
					 
		  Description :  Designed to display copyright information
		                 on a clients page, typically positioned
						 at the footer.
						 
						 
		  Notice	  :  Use of this script is permitted only with
						 written consent of ErisLuminal.
*******************************************************************/



/*******************************************************************
                     Variables declared
*******************************************************************/

var companyName = "Red Oak Nurseries, Inc.";	//Must be changed to reflect client company name
var designYear = 2009;							//Must be changed to reflect year site is designed

var currentYear = new Date();
var contentsCopyright = "All contents copyright © ";
var designBy = ' All rights reserved. Design by <a href="http:/';
var designBy2 = '/www.totalavc.com/" />totalAVC</a>.';



/*******************************************************************
                         Main Script
*******************************************************************/

if (designYear == currentYear.getFullYear())
{
	document.write(contentsCopyright + designYear + " " + companyName + designBy + designBy2);
}
else
{
	document.write(contentsCopyright + designYear + "-" + currentYear.getFullYear() + " " + companyName + designBy + designBy2);
}

