SI_footer.clear			= true;
SI_footer.container		= 'content';
SI_footer.minHeight		= 410;
SI_footer.extendShallow = true;
SI_footer.bottomOut		= true;

SI_fontSize.baseElement = 'content';
SI_fontSize.defaultSize	= 1.0;	// ems
SI_fontSize.difference	= .2;	// ems
SI_loadFontSize();

/***************Flash Detection Setup***************/
var required = 7;
var hasFlash = false;
if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")!=-1){
	document.write('<scr'+'ipt language=VBScript\> \n');
	document.write('on error resume next \n');
	// AFAIK creating an instance of an older version of the Flash object 
	// will return succeed even if the actual installed version is newer.
	document.write('hasFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & required))) \n');  
	document.write('<'+'/scr'+'ipt\> \n');
	}
else {
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0;
	if (plugin) {
		var isVersion2 = navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";
		var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
		var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
		hasFlash = flashVersion >= required;
		}
	}
if (hasFlash && document.getElementsByTagName && document.getElementsByTagName('html')[0]) { document.getElementsByTagName('html')[0].className += (document.getElementsByTagName('html')[0].className=='')?'hasFlash':' hasFlash';}


function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. 
 { 
  var arVersion = navigator.appVersion.split("MSIE") 
  var version = parseFloat(arVersion[1]) 
  if ((version >= 5.5) && (document.body.filters)) 
  { 
  for(var i=0; i<document.images.length; i++) 
  { 
  var img = document.images[i] 
  var imgName = img.src.toUpperCase() 
  if (imgName.substring(imgName.length-3, imgName.length) == "PNG") 
  { 
  var imgID = (img.id) ? "id='" + img.id + "' " : "" 
  var imgClass = (img.className) ? "class='" + img.className + "' " : "" 
  var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " 
  var imgStyle = "display:inline-block;" + img.style.cssText 
  if (img.align == "left") imgStyle = "float:left;" + imgStyle 
  if (img.align == "right") imgStyle = "float:right;" + imgStyle 
  if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle 
  var strNewHTML = "<span " + imgID + imgClass + imgTitle 
  + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" 
  + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" 
  + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
  img.outerHTML = strNewHTML 
  i = i-1 
  } 
  } 
  } 
 }


window.onload = function() {
	SI_menu('nav-main','nav-const'); // ,'nav-sub'
	SI_clearFooter();
	SI_initializeTabs();
	SI_initializeGroups();
	SI_initializeToggles();
	SI_initializeSwapImg();
	SI_initializeFilters();
	SI_deHTTPSLinks();
	correctPNG();
	if (SI_footer.clear) window.onresize = SI_clearFooter;
	};