function inc_text_ifrm() {
  var x = parseInt(document.frames("seBufferBox").document.body.currentStyle.fontSize);
  x += 1;
  document.frames("seBufferBox").document.body.style.fontSize  = x + "px";
}
function nrm_text_ifrm() {
  x = 10;
  document.frames("seBufferBox").document.body.style.fontSize  = x + "px";
}
function dec_text_ifrm() {
  var x = parseInt(document.frames("seBufferBox").document.body.currentStyle.fontSize);
  x -= 1;
  if (x >= 1) {
    document.frames("seBufferBox").document.body.style.fontSize  = x + "px";
  }
}
function inc_text(elm,elm2) {
  var x = parseInt(elm.currentStyle.fontSize);
  var y = parseInt(elm2.currentStyle.fontSize);
  x += 1;
  y += 1;
  elm.style.fontSize = x + "px";
  elm2.style.fontSize = y + "px";
}
function dec_text(elm,elm2) {
  var x = parseInt(elm.currentStyle.fontSize);
  var y = parseInt(elm2.currentStyle.fontSize);
  x -= 1;
  y -= 1;
  if (x >= 1) {
    elm.style.fontSize = x + "px";
    elm2.style.fontSize = y + "px";
  }
}
function nrm_text(elm,elm2) {
  elm.style.fontSize = 10 + "px";
  elm2.style.fontSize = 11 + "px";
}
function background_color(elm,elm1,color,elm2,color2,elm3,color3) {
  elm.style.backgroundColor  = "#" + color;
  elm1.style.backgroundColor = "#" + color;
  elm2.style.color = "#" + color2;
  elm3.style.color = "#" + color3;
}
function ift(color) {
  document.frames("seBufferBox").document.body.style.color  = "#" + color;
}
function border_color(elm1,elm2,elm3,elm4,elm5,elm6,elm7,elm8,elm9,elm10,elm11,elm12,color) {
  elm1.style.borderColor = "#" + color;
  elm2.style.borderColor = "#" + color;
  elm3.style.borderColor = "#" + color;
  elm4.style.borderColor = "#" + color;
  elm5.style.borderColor = "#" + color;
  elm6.style.borderColor = "#" + color;
  elm7.style.borderColor = "#" + color;
  elm8.style.borderColor = "#" + color;
  elm9.style.borderColor = "#" + color;
  elm10.style.borderColor = "#" + color;
  elm11.style.borderColor = "#" + color;
  elm12.style.borderColor = "#" + color;
}
function menu_color(el1,clr1,el2,clr2) {
  document.getElementById(el1).style.backgroundColor = "#" + clr1;
  document.getElementById(el2).style.color           = "#" + clr2;
}
function show_hide(elm) {
	obj = document.getElementById ? document.getElementById(elm).style : document.all ? document.all[elm].style : document.layers[elm]
	if (obj.visibility == 'visible') {
		obj.visibility = 'hidden';
	}
	else {
		obj.visibility = 'visible';
	}
}
function show(elm) {
	obj = document.getElementById ? document.getElementById(elm).style : document.all ? document.all[elm].style : document.layers[elm]
	obj.visibility = 'visible';
}
function hide(elm) {
	obj = document.getElementById ? document.getElementById(elm).style : document.all ? document.all[elm].style : document.layers[elm]
	obj.visibility = 'hidden';
}
function hide8(el1,el2,el3,el4,el5,el6,el7,el8) {
	obj = document.getElementById ? document.getElementById(el1).style : document.all ? document.all[el1].style : document.layers[el1]
	obj.visibility = 'hidden';
	obj = document.getElementById ? document.getElementById(el2).style : document.all ? document.all[el2].style : document.layers[el2]
	obj.visibility = 'hidden';
	obj = document.getElementById ? document.getElementById(el3).style : document.all ? document.all[el3].style : document.layers[el3]
	obj.visibility = 'hidden';
	obj = document.getElementById ? document.getElementById(el4).style : document.all ? document.all[el4].style : document.layers[el4]
	obj.visibility = 'hidden';
	obj = document.getElementById ? document.getElementById(el5).style : document.all ? document.all[el5].style : document.layers[el5]
	obj.visibility = 'hidden';
	obj = document.getElementById ? document.getElementById(el6).style : document.all ? document.all[el6].style : document.layers[el6]
	obj.visibility = 'hidden';
	obj = document.getElementById ? document.getElementById(el7).style : document.all ? document.all[el7].style : document.layers[el7]
	obj.visibility = 'hidden';
	obj = document.getElementById ? document.getElementById(el8).style : document.all ? document.all[el8].style : document.layers[el8]
	obj.visibility = 'hidden';
}
function high(which2) {
	theobject=which2
	highlighting=setInterval("highlightit(theobject)",10)
}
function low(which2) {
	clearInterval(highlighting)
	which2.filters.alpha.opacity=50
}
function highlightit(cur2) {
	if (cur2.filters.alpha.opacity<100)
		cur2.filters.alpha.opacity+=5
	else if (window.highlighting)
		clearInterval(highlighting)
}
function loadContent(file){
  var head = document.getElementsByTagName('head').item(0)
  var scriptTag = document.getElementById('loadScript');
  if(scriptTag) head.removeChild(scriptTag);
  script = document.createElement('script');
  script.src = file;
	script.type = 'text/javascript';
	script.id = 'loadScript';
	head.appendChild(script)
}
function text(n){
	if(n) {
		obj = document.getElementById ? document.getElementById("side_content_menu_text").style : document.all ? document.all["side_content_menu_text"].style : document.layers["side_content_menu_text"]
		obj.visibility = 'visible';
		obj = document.getElementById ? document.getElementById("ts").style : document.all ? document.all["ts"].style : document.layers["ts"]
		obj.visibility = 'visible';
	}
	if(!n) {
		obj = document.getElementById ? document.getElementById("side_content_menu_text").style : document.all ? document.all["side_content_menu_text"].style : document.layers["side_content_menu_text"]
		obj.visibility = 'hidden';
		obj = document.getElementById ? document.getElementById("ts").style : document.all ? document.all["ts"].style : document.layers["ts"]
		obj.visibility = 'hidden';
	}

}
function fix() { return true }
window.onerror=fix