
function init_sIFR(){

	var helveticaltcnbld = { src: 'externals/sifr/helvetica_lt_cn_bold.swf' };

	sIFR.useStyleCheck = true; sIFR.activate(helveticaltcnbld);


	sIFR.replace(helveticaltcnbld, {
		selector: 'h3.mi , h3.hi , h3.subtitle',
		wmode: 'transparent',
		css: [
		'.sIFR-root { font-weight: bold; font-size:14px; color: #005E9D; }'
		,'a { text-decoration: none; }'
		,'a:link { color: #005E9D; }'
		,'a:hover { color: #005E9D; }'
		]
	});
	
	sIFR.replace(helveticaltcnbld, {
		selector: 'h3.subhead',
		wmode: 'transparent',
		css: [
		'.sIFR-root { font-weight: bold; font-size:14px; color: #000000; }'
		]
	});

	sIFR.replace(helveticaltcnbld, {
		selector: 'h3.subitem',
		wmode: 'transparent',
		css: [
		'.sIFR-root { font-weight: bold; font-size:14px; color: #005E9D; }'
		,'a { text-decoration: none; }'
		,'a:link { color: #005E9D; }'
		,'a:hover { color: #000000; }'
		]
	});
	
	sIFR.replace(helveticaltcnbld, {
		selector: 'h3.subitemsel',
		wmode: 'transparent',
		css: [
		'.sIFR-root { font-weight: bold; font-size:14px; color: #005E9D; }'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #000000; }'
		]
	});

}




function setMenu(){

	var main=document.getElementById('menu').getElementsByTagName('DIV');
	var items=document.getElementById('menu').getElementsByTagName('H3');
	
	for(var i=0;i<main.length;i++){
		
		if(main[i].className=="mh"){
		
			main[i].mb=main[i].getElementsByTagName('DIV')[0];
			main[i].mb.style.height='0px';
			
			main[i].onmouseover=function(){
				this.mb.style.overflow='visible';
				this.mb.style.height='130px';
				this.mb.style.display='block';
				this.getElementsByTagName('H3')[0].style.backgroundColor='#d5e4ef';
			}
			main[i].onmouseout=function(){
				this.mb.style.display='none';
				this.getElementsByTagName('H3')[0].style.background='none';
			}
		}
		if(main[i].className=="mm"){
			main[i].onmouseover=function(){
				this.getElementsByTagName('H3')[0].style.backgroundColor='#d5e4ef';
			}
			main[i].onmouseout=function(){
				this.getElementsByTagName('H3')[0].style.background='none';
			}
		}
	}
	
	
	for(var i=0;i<items.length;i++){
		if(items[i].className.indexOf('mi')!=-1){
			items[i].onmouseover=function(){this.style.backgroundColor='#ffffff';}
			items[i].onmouseout=function(){this.style.backgroundColor='#d5e4ef'}
		}
	}
}


