function getCopyrightDate(iStartYear, iRangeSize, separatorString)
{
	var date = new Date();	
	
	// if no start year is passed in, then use the current year
	if (iStartYear == null || iStartYear == 0 || iStartYear == "")
	{
		iStartYear = date.getFullYear();
	}
	
	// default end year to current year
	var iEndYear = date.getFullYear();
	if (iRangeSize != null && iRangeSize != "")
	{
		iEndYear = iStartYear + iRangeSize;
	}		
	
	if (iStartYear == iEndYear)
	{
		return iStartYear.toString();
	}
	else
	{
		var separator = "-";
		if (separatorString != null && separatorString != "")
			separator = separatorString;
		return iStartYear + separator + iEndYear;
	}
}

sfHover = function() {
var el = document.getElementById('Nav1');
if(!/\bnav\b/.test(el.className) && el.tagName == 'UL')
setHover(el);
var ieNavs = document.getElementsByTagName('ul');
for(i=0; i<ieNavs.length; i++) {
var ul = ieNavs[i]; if(/\bnav\b/.test(ul.className))
setHover(ul); }} 
function setHover(nav) {
var ieULs = nav.getElementsByTagName('ul');
if (navigator.appVersion.substr(22,3)!='5.0') {
for (j=0; j<ieULs.length; j++) {
var ieMat=document.createElement('iframe');
if(document.location.protocol == 'https:')
ieMat.src='/ie6_blank.htm';
else if(window.opera != 'undefined')
ieMat.src='';
else
ieMat.src='javascript:false';
ieMat.scrolling='no';
ieMat.frameBorder='0';
ieMat.style.width=ieULs[j].offsetWidth+'px';
ieMat.style.height=ieULs[j].offsetHeight+'px';
ieMat.style.zIndex='-1';
ieULs[j].insertBefore(ieMat, ieULs[j].childNodes[0]);
ieULs[j].style.zIndex='101';
}
var ieLIs = nav.getElementsByTagName('li');
for (var i=0; i<ieLIs.length; i++) if (ieLIs[i]) {
ieLIs[i].onmouseover=function() {
if(!/\bsfhover\b/.test(this.className))
this.className+=' sfhover';
}
ieLIs[i].onmouseout=function() {
if(!this.contains(event.toElement))
this.className=this.className.replace(' sfhover', '');
}
ieLIs[i].onmouseclick=function() {
if(!this.contains(event.toElement))
this.className=this.className.replace(' sfhover', '');
}
}
}
}
if(window.attachEvent) window.attachEvent('onload', sfHover);



function showDisclaimer() {
	container = document.getElementById('content');
	currFrame = document.getElementById('frameDisclaimer');
	var wd = container.clientWidth;
	currFrame.width= 784;
	currFrame.height= parseInt(container.clientHeight)-280;
	wd = (container.clientWidth-currFrame.width)/2;
	currFrame.style.left = wd+'px';
	currFrame.style.top = 196+'px';
	currFrame.style.display='block';
	currFrame.focus();
}

function closeDisclaimer() {
	showframe = document.getElementById('frameDisclaimer');
	showframe.style.display='none';
}

function declineDisclaimer() {
	document.location="/";
}



function showPage(t) {
	container = document.getElementById('content');
	currFrame = document.getElementById('framePage');
	currFrame.src = t;
	var wd = container.clientWidth;
	currFrame.width= 800;
	currFrame.height= 640;
	wd = (container.clientWidth-currFrame.width)/2;
	currFrame.style.left = wd+'px';
	currFrame.style.top = 196+'px';
	currFrame.style.display='block';
	currFrame.focus();
}

function closePage() {
	showframe = document.getElementById('framePage');
	showframe.style.display='none';
}



