jsHover = function() {
  var hEls = document.getElementById("menu").getElementsByTagName("LI");
  for (var i=0, len=hEls.length; i<len; i++) {
    hEls[i].onmouseover=function() { this.className+=" jshover"; }
    hEls[i].onmouseout=function() { this.className=this.className.replace(" jshover", ""); }
  }
}
if (window.attachEvent && navigator.userAgent.indexOf("Opera") == -1) window.attachEvent("onload", jsHover);

function translate(suffix, prefix, writeText, cssClass) {
	var em  = prefix+'@'+suffix;
	var u = 'mailto:' + prefix + '@' + suffix;
	document.write('<a href="' + u + '" ' + (typeof cssClass != "undefined" ? " class='" + cssClass + "' " : "") + '>' + 
		(typeof writeText != "undefined" ? (writeText ? em : "") : em) + '</a>');
}


$(document).ready(function () {
	/*for (i = 0; i < 3; i++) {
		flowplayer("a.player", "/flowplayer-3.2.6.swf", {
			clip: {
				autoPlay: false,
				autoBuffering: true
			}
		});
	}*/

		$("#table-content #container").css("height", $(document).height() - 210);
});


