<!--



function showleft(name)
{
ml=offsetLeft(getObj(name));
return ml;
 }

function showtop(name)
{
ml=offsetTop(getObj(name));
return ml;
 }


function offsetLeft(o){
var i = 0;
while (o.offsetParent!=null) {
i += o.offsetLeft;
o = o.offsetParent;
}
return i + o.offsetLeft;
}


function offsetTop(o){
var i = 0;
while (o.offsetParent!=null) {
i += o.offsetTop;
o = o.offsetParent;
}
return i + o.offsetTop;
}



//return [object]
function getObj(theId) {

if (document.getElementById(theId)) {
theObj = document.getElementById(theId); 
} else if (document.all) { 

theObj = document.all[theId];
}

return theObj;
}


var news;
function winopen(source) {
 if (news != null && !news.closed )
  news.location.href = source;
 else
  news=window.open(source,'Code','status,scrollbars=1,resizable=1,height=150,width=550');
 if (news.focus != null) news.focus();
 }

var occupied_header = new Array();
var occupied_menu = new Array();

for(i=1;i<=10;i++) {
 occupied_header[i] = 0;
 occupied_menu[i] = 0;
}

function CreateLayer(text, id, t, l) {

if(document.layers)
 {
  var str="<LAYER ID=menu" + id + " name=menu" + id + " TOP=" + t + " LEFT=" + l + " onmouseover=\"occupied_menu[" + id + "]=1;\" onmouseout=\"Turn('" + id + "',0);occupied_menu[" + id + "]=0;\" VISIBILITY=HIDE>" + text + "</LAYER>";
  document.write(str);
 }
 else if(document.all)
 {
  var strng="<div id=menu" + id + " name=menu" + id + " style=\"position:absolute;top:" + t + ";left:" + l + ";visibility:hidden;width:100;filter:alpha(opacity=95);opacity:0.95;z-index:1\" onmouseover=\"occupied_menu[" + id + "]=1;\" onmouseout=\"Turn('" + id + "',0);occupied_menu[" + id + "]=0;\">" + text + "</div>";
  document.write(strng);
 }
 else
	{
  var string="<SPAN ID=menu" + id + " name=menu" + id + " onmouseover=\"occupied_menu[" + id + "]=1;\" onmouseout=\"Turn('" + id + "',0);occupied_menu[" + id + "]=0;\"  style='visibility: hidden;z-index:1;position:absolute;top:" + t + ";left:" + l + "'>" + text + "</SPAN>";
  document.write(string);
	}

 }

function Turn(id, mode) {
// if(document.layers || document.all) {
  if(mode)
   eval("setTimeout(\"On(" + id + ", " + mode + ");\",100)");
  else
   eval("setTimeout(\"Off(" + id + ", " + mode + ");\",100)");
// }

}

 function On(id, mode){
  if (occupied_header[id])
	 {
   if(document.all)
    eval("menu" + id).style.visibility = 'visible';
   else if(document.layers)
    eval("document.layers['menu" + id + "']").visibility = "show";
   else
     { 
	   if (document.getElementById && document.getElementById("menu" + id) != null) 
		 {
		   node = document.getElementById("menu" + id).style.visibility='visible';
		 }
	 }
	 }
 }

 function Off(id, mode){
  if(!occupied_menu[id] && !occupied_header[id])
   if(document.all)
    eval("menu" + id).style.visibility = 'hidden';
   else if(document.layers)
    eval("document.layers['menu" + id + "']").visibility = "hide";
      else
     { 
	   if (document.getElementById && document.getElementById("menu" + id) != null) 
		 {
		   node = document.getElementById("menu" + id).style.visibility='hidden';
		 }
	 }
 }
// -->

<!--

// -->
