function mOver(o) { return SC(o,'OVER',''); }
function mOut(o) { return RC(o); }

function SC(o,m,s) {
	var i;
	if (o.className) {
		o.isClass = o.className;
		i = o.className.lastIndexOf("-");
		if ((o.className.substr(i)=='-ON') && (m=='OVER'))
			o.className = o.className.substr(0,i+1) + 'OVERON';
		else
			o.className = o.className.substr(0,i+1) + m;
		}
	if (s>"") { o.isStatus=status; o.isStatusB=true; SS(s); }
	return true;
	}

function RC(o) {
	if (o.className) o.className = o.isClass;
	if (o.isStatusB) { SS(o.isStatus); o.isStatusB=false; }
	return true;
	}

function SS(s) { status=s; return true; }

function bp(path) {
	var it = ge("imgBP");
	if (it) return it.src.replace("px.gif","") + path;
	else return "";
}

function gb() {
	if (document.all) return "ie";
	else if (!document.all && document.getElementById) return "n6";
	else if (document.layers) return "n4";
	else return "??";
}

function ge(id) {
	switch(gb()) {
		case "ie": return document.all[id]; break;
		case "n6": return document.getElementById(id); break;
		case "n4": return document[id]; break;
		default: return null; break;
	}
}

function PrintPage() {
	var i;
	if (document.location.protocol=="file:" && gb()=="ie") i=document.URL.lastIndexOf("\\");
	else var i=document.URL.lastIndexOf("/");
	window.open(BP+"print.htm?"+document.URL.substr(0,i)+"/print/"+document.URL.substr(i+1),"inercoprint","status,resizable,toolbar,menubar,scrollbars");
	}

function doPrintPage() {
	if ((window.opener) && (window.print)) { window.print(); /* window.close(); */ }
	}

function WriteInlineFrame(src, width, height,title) {
	switch (gb()) {
		case "ie":
		case "n6": document.write (title+"<iframe width=\""+width+"\" height=\""+height+"\" frameborder=\"0\"  src=\""+src+"\"></iframe>"); break;
		case "n4": //document.write (title+"<ilayer width=\""+width+"\" height=\""+height+"\" src=\""+src+"\"></ilayer>"); break;
	}
}

function WriteFlash(id, swf, pic, width, height) {
	var s="";
	if (MM_FlashCanPlay) {
		s+='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
		s+='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ';
		s+='ID="'+id+'" WIDTH="'+width+'" HEIGHT="'+height+'" ALIGN="">';
		s+='<PARAM NAME=movie VALUE="'+swf+'"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#006633>';
		s+='<EMBED src="'+swf+'" quality=high bgcolor=#006633 ';
		s+='swLiveConnect=FALSE WIDTH="'+width+'" HEIGHT="'+height+'" NAME="'+id+'" ALIGN="" ';
		s+='TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">';
		s+='</EMBED>';
		s+='</OBJECT>';
	} else {
		s+='<IMG SRC="'+pic+'" WIDTH="'+width+'" HEIGHT="'+height+'" BORDER=0>';
	}
	document.write(s);
}

	var MM_contentVersion = 5;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
		for (var i = 0; i < words.length; ++i) {
			if (isNaN(parseInt(words[i]))) continue;
			var MM_PluginVersion = words[i]; 
		}
		var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
		 && (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\>\n'); //FS hide this from IE4.5 Mac by splitting the tag
		document.write('on error resume next\n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
		document.write('</SCR' + 'IPT\>\n');
	}
