if (SI_dom()) { document.write('<style type="text/css">.non-dom { position: absolute !important; top: 0 !important; left: -3000px !important; }<'+'/style>\n'); }
function SI_dom() { return new Boolean(document.getElementById && document.getElementsByTagName); };
function SI_submitForm(f) {
	if (!SI_dom()) return true;
	f.submit();
	}
var SI_openWindow = new Object();
function SI_windowOpen(elem,center,w,h,opt) {
	if (!SI_dom()) return true;
	
	var src	= elem.href;
	var wnm	= (elem.target=='')?'SI_schoolSuite':((elem.target.indexOf('_')==0)?'SI'+elem.target:elem.target);
	var opt = (opt=='')?',scrollbars=yes,resizable=yes':((opt.indexOf(',')!=0)?','+opt:opt);
	var ctr	= (center)?',left='+((screen.availWidth-w)/2)+',top='+((screen.availHeight-h)/2):'';
	if (!SI_openWindow.closed && SI_openWindow.name==wnm && SI_openWindow.location) {
		SI_openWindow.location = src;
		}
	else {
		SI_openWindow = window.open(src,wnm,'width='+w+',height='+h+ctr+opt);
		if (!SI_openWindow.opener) SI_openWindow.opener = self;
		}
	if (window.focus) SI_openWindow.focus();
	return false;
	};
var SI_footer=new Object();
SI_footer.clear			= false;
SI_footer.container		= 'content';
SI_footer.ignore		= 'xxx';
SI_footer.minHeight		= 410;	
SI_footer.extendShallow = true;	
SI_footer.bottomOut		= true;	
function SI_clearFooter() {
	var d = document,w=window,dE=d.documentElement,dB=d.body,h;
	if (!SI_footer.clear || !d.getElementById || !dB.offsetHeight) return;
	
	var ic = d.getElementById(SI_footer.container); 
	if (!ic) return; 
	ic.style.height = '0';		
	var oh = [];
	var icTop = ic.offsetTop;
	var winHeight	= (typeof(w.innerHeight)=='number')?w.innerHeight:(dE&&dE.clientHeight)?dE.clientHeight:(dB&&dB.clientHeight)?dB.clientHeight:0;
	var footHeight	= d.getElementById('footer').offsetHeight;
	oh[0] = SI_footer.minHeight-icTop-footHeight;	
	for (var i=0;i<ic.childNodes.length;i++) {
		c = ic.childNodes[i];
		if (c.nodeName=='DIV') {
			if (c.id=='inner-content') {
				c.style.height = SI_getContainedHeight(c)+'px';
				oh[oh.length] = c.offsetHeight+c.offsetTop;
				}
			else if (c.id==SI_footer.ignore) { continue; }
			else {
				c.style.height = 'auto';
				oh[oh.length] = c.offsetHeight+c.offsetTop;
				}
			}
		}
	h = 0; for (var k=0;k<oh.length;k++) { h = (oh[k]>h)?oh[k]:h;}
	if (SI_footer.bottomOut) { h = ((icTop+h+footHeight) < winHeight)?winHeight-footHeight-icTop:h; }
	if (SI_footer.extendShallow) { 
		for (var i=0;i<ic.childNodes.length;i++) { 
			var c = ic.childNodes[i]; 
			if (c.nodeName=='DIV' && c.id!=SI_footer.ignore) { 
				c.style.height = (h-c.offsetTop)+'px'; 
				}
			}
		}
	ic.style.height = h+'px';
	};

function SI_getContainedHeight(e) {
	var oh = [];
	for (var i=0;i<e.childNodes.length;i++) { var c = e.childNodes[i]; if (c.nodeName=='DIV') { c.style.height = 'auto'; oh[oh.length] = c.offsetHeight+c.offsetTop; }}
	var h = 0; for (var k=0;k<oh.length;k++) { h = (oh[k]>h)?oh[k]:h; }
	return h;
	}

function SI_menu() {
	var d = document;
	var isSafari 	= (navigator.userAgent.indexOf('Safari') != -1);
	var isIE 		= (navigator.appName == "Microsoft Internet Explorer");
	var isWinIE		= (isIE && window.print);
	if (!SI_dom() || window.opera || isSafari || !d.getElementById) return;
	
	var m=SI_menu.arguments;

	for(i=0; i<m.length; i++) {
		if (!d.getElementById(m[i])) continue; // Added 4.08.23
		for (var l=0; (lnk=d.getElementById(m[i]).getElementsByTagName("a")[l]); l++) {
			if (lnk.parentNode.childNodes.length > 1) {
				li = lnk.parentNode; // The containing <li>
				for (var n=0; n < li.childNodes.length; n++) {
					node = li.childNodes[n];
					if (node.nodeName=="UL") {
						li.ul = node; // The sibling <ul> (submenu)
						delete node;
						
						li.classDefault		= li.className;
						li.classHover		= li.className+((li.className=='')?'hover':' hover');
						
						li.isIE				= isIE;
						li.isWinIE			= isWinIE;
						li.onmouseover		= SI_showMenu;
						li.onmouseout		= SI_hideMenu;
						}
					}
				}
			}
		}
	}
function SI_showMenu() {
	this.className = this.classHover;
	if (this.isIE) {
		this.style.zIndex = 100;
		if (this.isWinIE) SI_toggleSelects('hidden'); 
		}
	}
function SI_hideMenu() {
	this.className = this.classDefault;
	if (this.isIE) {
		this.style.zIndex = 1;
		if (this.isWinIE) SI_toggleSelects('visible'); 
		}
	}
function SI_toggleSelects(state) {
	var d = document;
	for (var i=0; (sel=d.getElementsByTagName('select')[i]); i++) {
		sel.style.visibility = state;
		}
	}
function SI_debug() {
	var d = document;
	if (!d.getElementsByTagName) return;
	
	var all = (d.all)?d.all:d.getElementsByTagName('*');
	for (i=0; i<all.length;i++) {
		//var oldmouseover = (all[i].onmouseover)?all[i].onmouseover:function(){};
		all[i].onmouseover = function(e) {
			//oldmouseover();
			if (!e) var e = window.event;
			var status = '';
			var done = false;
			var ths = this;
			while (!done) {
				status = ths.nodeName.toLowerCase()+((ths.className!='')?'.'+ths.className.replace(/ /g,'.'):'')+((ths.id!='')?'#'+ths.id:'')+((status!='')?' > ':'')+status;
				done = (ths.nodeName=='HTML')?true:false;
				if (!done) ths=ths.parentNode;
				}
			
			this.status = status;
			window.status = ((this.status.length>128)?'...':'')+this.status.substr(this.status.length-124);
			e.cancelBubble = true;
			e.returnValue = false;
			if (e.stopPropagation) e.stopPropagation();
			return true;
			}
		}
	}
var SI_tabs=new Object();
function SI_initializeTabs() {
	for (var tab in SI_tabs) { 
		SI_activateTab(tab,SI_tabs[tab].active);
		}
	}
function SI_activateTab(tabGroup,activeTab) {
	var d = document;
	if (!d.getElementById) return;
	
	for (i=0; i<SI_tabs[tabGroup].tabs.length; i++) {
		//alert('tab-'+tabGroup+'-'+SI_tabs[tabGroup].tabs[i])
		tab = 'tab-'+tabGroup+'-'+SI_tabs[tabGroup].tabs[i];
		d.getElementById(tab).className = '';
		d.getElementById(tabGroup+'-'+SI_tabs[tabGroup].tabs[i]).style.display = 'none';
		}
	d.getElementById(tabGroup+'-'+activeTab).style.display = 'block';
	d.getElementById('tab-'+tabGroup+'-'+activeTab).className = 'active';
	
	SI_clearFooter();
	};
var SI_groups=new Object();


window.onload = function() {
	SI_menu('nav','nav-const'); // ,'nav-sub'
	SI_clearFooter();
	SI_initializeTabs();
	
	//SI_deHTTPSLinks();
	if (SI_footer.clear) window.onresize = SI_clearFooter;
	};