
function Site_Load(){

	var o = _G('footer-flash-box');
	if(o)
	{
		var html = '';
			html += '<object width="1000" height="377" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">';
			html += '<param name="allowScriptAccess" value="sameDomain" />';
			html += '<param name="movie" value="/style/flash/footer.swf" />';
			html += '<param name="quality" value="high" />';
			html += '<param name="wmode" value="transparent" />';
			html += '<embed src="/style/flash/footer.swf" width="1000" height="377" bgcolor="transparent" wmode="transparent" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
			html += '</object>';

		o.innerHTML = html;
	}


	var a = _GT('LI');
	for(var i=0; i<a.length; i++)
	{
		a[i].onmouseover = function(){
			this.className += ' hover';
		}

		a[i].onmouseout = function(){
			this.className = this.className.replace(/\s*hover/ig, '');
		}
	}

}
Hooks.Add('Window_OnLoad', 'Site_Load');







function init_sifr()
{
	if(typeof sIFR == "function"){
		sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"/style/flash/tahoma.swf", sColor:"#ffffff", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0", sWmode: 'transparent'}));
		sIFR.replaceElement(named({sSelector:"h2.big", sFlashSrc:"/style/flash/myriad_pro_lite.swf", sColor:"#e8ff7d", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0", sCase:'upper', sWmode: 'transparent'}));
	};
}
Hooks.Add('Window_OnLoad', 'init_sifr');
Hooks.Add('Form_OnLoad', 'init_sifr');

function startList()
{
    if(document.all && document.getElementById){
	var navRoot = document.getElementById("nav");
	for (var i=0; i<navRoot.childNodes.length; i++) {
	    node = navRoot.childNodes[i];
	    if (node.nodeName == "LI") {
		node.onmouseover = function() {
		    this.className+=" over";
		}
		node.onmouseout = function() {
		    this.className=this.className.replace(" over","");
		}
	    }
	}
    }
}
Hooks.Add('Window_OnLoad','startList');

function proposalShow()
{
    document.getElementById('complaints').style.display='none';
    document.getElementById('proposals').style.display='block';
}

function complaintShow()
{
    document.getElementById('proposals').style.display='none';
    document.getElementById('complaints').style.display='block';
}

function feedShow(obj,day)
{
    document.getElementById('mo').style.display='none';
    document.getElementById('tu').style.display='none';
    document.getElementById('we').style.display='none';
    document.getElementById('th').style.display='none';
    document.getElementById('fr').style.display='none';
    document.getElementById('sa').style.display='none';
    document.getElementById('su').style.display='none';
    document.getElementById(day).style.display='block';
    document.getElementById('mon').style.background='none';
    document.getElementById('mon').style.color='white';
    document.getElementById('tue').style.background='none';
    document.getElementById('tue').style.color='white';
    document.getElementById('wed').style.background='none';
    document.getElementById('wed').style.color='white';
    document.getElementById('thu').style.background='none';
    document.getElementById('thu').style.color='white';
    document.getElementById('fri').style.background='none';
    document.getElementById('fri').style.color='white';
    document.getElementById('sat').style.background='none';
    document.getElementById('sat').style.color='white';
    document.getElementById('sun').style.background='none';
    document.getElementById('sun').style.color='white';

    obj.style.background = 'lightgreen';
    obj.style.color = 'black';
}
