function writeYear() {
	var now = new Date();
	document.write(now.getFullYear());
}


/* Pretty sure this is not used.
startList = function() {

	if (document.all&&document.getElementById) {
try {
		headerLis = document.getElementById("col1").getElementsByTagName("li");

		for (i=0; i < headerLis.length; i++) {

			node = headerLis[i];

			if (node.nodeName=="LI") {

				node.onmouseover=function() {
					this.className+=" over";
				}

				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}

			}

		}
} catch( ex ) { }
	}

}

window.onload=startList;
*/
/*

insertPrint = function() {
	document.body.innerHTML = '<div id="print-head"><img src="/images/print_head.jpg" /></div>' + document.body.innerHTML + '<div id="print-foot"><img src="/images/print_foot.jpg" /></div>';
}


window.onload=insertPrint;

*/




function changeTemplateClass()
{	
    if (!document.styleSheets) return;	
    var cssFile = new Array();	
    if (document.styleSheets[0].cssRules)  // Standards Compliant        
    {	   
        cssFile = document.styleSheets[0].cssRules;        
    }	
    else        
    {                    
        cssFile = document.styleSheets[0].rules;  // IE         
    }        
    for (i=0;i<cssFile.length;i++)        
    {           
        if ((cssFile[i].selectorText.toLowerCase()=='.template1b '))           
        {	     
            cssFile[i].style.cssText="background:url(images/template2a_bg.jpg) 0 0 no-repeat;";           
        }        
    }
}

function init()
{
    changeTemplateClass();
    return false;
}