var thisPage = '';
var menuCode = '';
var nx = location.href.indexOf('://');
nx = (nx > 0) ? nx = nx + 3 : 0;
var baseHref = location.href.substring(nx);
nx = baseHref.indexOf('/');
if (nx != -1) baseHref = baseHref.substring(0,nx+1);
baseHref = 'http://' + baseHref;
var ns4 = (document.layers)? true:false;
var ns6 = (document.getElementById)? true:false;
var ie4 = (document.all)? true:false;
var ie5 = false;
var agent = navigator.userAgent;
var agentVersion = parseInt(navigator.appVersion);
var ns = (navigator.appName.indexOf('Netscape')>0)? true:false;
var ie = (agent.indexOf('MSIE')>0)? true:false;
var opera = (agent.indexOf('Opera')>0)? true:false;
var mac = (agent.indexOf('Mac')>0)? true:false;
if (ie4) {
	if ((ie) && (agentVersion==5)) {
		ie5 = true;
	}
	ns6 = false;
}
var ns61 = false;
if (ns && ns6) {
  temp = agent.substring(agent.indexOf('Netscape'),agent.length);
  nx = temp.indexOf('/')+1;
  temp = temp.charAt(nx) + temp.charAt(nx+2);
  ns61 = (parseInt(temp)<62)? true:false;
}
if ((ns && (agentVersion < 5)) || (ns61) || (ie && (agentVersion < 4)))
  self.location=baseHref+"unsupported.htm";
function CSFindElement(n,ly) {
	if (agentVersion < 4) return document[n];
	var curDoc = ly ? ly.document : document; var elem = curDoc[n];
	if (!elem) { for (var i=0;i<curDoc.layers.length;i++) {
		elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
	return elem;
}
var isDHTML = 0;
var isID = 0;
var isAll = 0;
var isLayers = 0;
if (document.getElementById) {isID = 1; isDHTML = 1;}
else {
  if (document.all) {isAll = 1; isDHTML = 1;}
  else {
    if ((ns) && (agentVersion == 4))       {isLayers = 1; isDHTML = 1;}
}}
function findDOM(objectID,withStyle){
  if (withStyle == 1){
    if (isID) {return (document.getElementById(objectID).style);}
    else {
      if (isAll) { return (document.all[objectID].style);}
      else {
        if (isLayers) {return (document.layers[objectID]);}
      };
    }
  }
  else {
    if (isID) {return (document.getElementById(objectID));}
    else {
      if (isAll) { return (document.all[objectID]);}
      else {
        if (isLayers) {return (document.layers[objectID]);}
      };
    }
  }
}
function findScrollTop() {
  if (window.pageYOffset != null) return window.pageYOffset;
  if (document.body.scrollWidth != null) return document.body.scrollTop;
  return null;
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
function hideObject(obj) {
    var dom = findDOM(obj,1);
    if (dom) dom.visibility = "hidden";
}
function showObject(obj) {
    var dom = findDOM(obj,1);
    if (dom) dom.visibility = "visible";
}
function moveObject(obj,top,left) {
    var dom = findDOM(obj,1);
    if (dom) {dom.top = top; dom.left = left;}
}
function chg_img(nam, imag) {
	var img = null;
	if (document.images) {
		if (!ie4) img = CSFindElement(nam,0);
		else img = document.images[nam];
		if (img) img.src = imag;
	}
}
function SetCookie (cookieName, cookieValue, expiry, path, domain, secure) {
  	var expDate = new Date();
  	expDate.setTime (expDate.getTime() + expiry);
  	document.cookie = cookieName + "=" + escape (cookieValue) +
			((expiry) ? "; expires=" + expDate.toGMTString() : "") +
      		((path) ? "; path=" + path : "") +
			((domain == null) ? "" : ("; domain=" + domain)) +
			((secure == true) ? "; secure" : "");
}
function getCookie(name) {
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else
    begin += 2;
  var end = dc.indexOf(";", begin);
  if (end == -1)
    end = dc.length;
  return unescape(dc.substring(begin + prefix.length, end));
}
function deleteCookie(name, path, domain) {
  var expDate = new Date();
  	expDate.setTime (expDate.getTime() - 1000);
  if (getCookie(name)) {
    document.cookie = name + "=" + 
    "; expires=" + expDate.toGMTString()
    ((path) ? "; path=" + path : "") +
    ((domain) ? "; domain=" + domain : "");
  }
}
var myWin;
function OpenWin(hed,url,txt,img,w,h) {
  myWin = this.open("", "Help",     "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width="+w+",height="+h+",innerWidth="+w+",innerHeight="+h+"");
  myWin.document.open("text/html", "replace");
  ((url == null) ? myWin.document.write("<HTML><HEAD>"+hed+"</HEAD><BODY bgcolor=#FFFFFF>"+img+"<div align='center'><br><table border=1 cellpadding=5 cellspacing=2><tr><td>"+txt+"</td></tr></table></div></BODY></HTML>") : myWin.location=url);
  myWin.document.close();
  myWin.focus();
}
function ClosWin() {
  if (myWin != null) {myWin.close();}
}
function Opn(hed,bdy,txt,img) {
  OpenWin("<title>"+hed+"</title>",bdy,txt,img,"300","250");
}
function DOpn(hed,bdy,txt,img) {
  OpenWin("<title>"+hed+"</title>",bdy,txt,img,"300","250"); return "";
}
function lbgoto(lb) {
   var url=lb.options[lb.selectedIndex].value;
   if ((lb.selectedIndex > 0) && (url)) {
       if (url.indexOf(':') > 0) {
         window.top.location.href = url;
       } else {
         window.top.location.href = baseHref + url;
       }
   }
   lb.selectedIndex=0;
}
var hierMenu = null;
var menu_str = null;
function hier_menu(url,txt) {
  if (hierMenu == null) {
    hierMenu =  '<span class=hier>&nbsp;&nbsp;</span>';
  } else {
    hierMenu = hierMenu + '<span class=hier>&nbsp;&nbsp;&lt;&nbsp;&nbsp;</span>';
  }
  hierMenu = hierMenu + '<a href="' + url +
         '"><span class=hier><u>' + txt + '</u></span></a>';
}
function over_menu(url,nam,mo_n,mi_n,txt,wdth,hght) {
  var str = '';
  str = '<a href="' + url + '" onmouseout="chg_img(' + "'" + nam +
    "','/images/" + mo_n + "'" + ')" onmouseover="chg_img(' + "'" + nam +
    "','/images/" + mi_n + "'" + ')"><img alt="' + txt +
    '" border="0';
  if (wdth>0) {str = str + '" width="' + wdth;}
  if (hght>0) {str = str + '" height="' + hght;}
  str = str + '" name="' + nam + '" src="/images/' + mo_n + '"></a>';
  return str;
}
function plain_menu(url,img,txt,wdth,hght) {
  var str = '';
  if (url) {
    str = '<a href=\'' + url + '\'>'
  }
  str = str + '<img alt=\'' + txt + '\' border=0';
  if (wdth>0) {str = str + ' width=' + wdth;}
  if (hght>0) {str = str + ' height=' + hght;}
  str = str + ' src=\'' + img + '\'>';
  if (url) {
    str = str + '</a>';
  }
  return str;
}
function popup_menu_head(mnu,url,img,txt,wdth,hght) {
  var str = '';
  if (!(img)) { str = str + '<span class=hier>&nbsp;&nbsp;</span>'; }
  if (url) { str = str + '<a href=\'' + url + '\''; }
  else { if (img) { str = str + '<img'; }
  		else { str = str + '<div'; } }
  str = str + ' onmouseover="showPopupMenu(\'' + mnu + '\')"' + 
  				' onmouseout="startPopupTimer()"';
  if ((url) || !(img)) { str = str + '>'; }
  if ((url) && (img)) { str = str + '<img'; }
  if (img) {
    str = str + ' src=\'' + img + '\'';
    if (txt) { str = str + ' alt=\'' + txt + '\''; }
    if (wdth>0) { str = str + ' width=' + wdth; }
    if (hght>0) { str = str + ' height=' + hght; }
    str = str + ' border=0>';
  }
  if (!(img)) { str = str + '<span class=hier>' + txt + '</span>'; }
  if (url) { str = str + '</a>'; }
  if (!(img)) { str = str + '<span class=hier>&nbsp;&nbsp;</span>'; }
  if (!(url) && !(img)) { str = str + '</div>'; }
  return str;
}
var currPopup = '';
var currPopupTimer = 0;
function clearPopupTimer() {
  if (currPopupTimer!=0) {
    clearTimeout(currPopupTimer);
    currPopupTimer=0;
  }
}
function finishPopupMenu() {
  if (currPopup) {
    hideObject(currPopup);
    currPopup = '';
  }
  if (currPopupTimer!=0) {
    clearPopupTimer();
  }
}
function showPopupMenu(mnu) {
  if (currPopup) {
    finishPopupMenu(currPopup);
  }
  showObject(mnu);
  currPopup = mnu;
}
function startPopupTimer(){
  if (currPopup) {
    currPopupTimer =setTimeout('finishPopupMenu()',1000);
  }
}
function buildPopupMenu(mnu) {
  var str = '<div id="' + mnu + '" onmouseover="clearPopupTimer()" onmouseout="startPopupTimer()">' +
            menuCode +
            '</div>';
  return str;
}
function buildQwkNav() {
  var str = '<form name=qwknavform><center>' +
  '<select name=qwknav class=srch onChange=\'lbgoto(this);\'>' +
  '<option selected value=\'\'> - Quick Navigation - </option>';  str = str + '<option value=\'techsupport/archivedreleases.htm\'> Archived Releases </option>';
  str = str + '<option value=\'Jade/index.htm\'> JADE </option>';
  str = str + '<option value=\'JadeCare/index.htm\'> JADE Care </option>';
  str = str + '<option value=\'jadehealth/index.htm\'> JADE Health </option>';
  str = str + '<option value=\'JadeMaster/index.htm\'> JADE Master </option>';
  str = str + '<option value=\'JadeSystems/index.htm\'> JADE Originals </option>';
  str = str + '<option value=\'JadeStar/index.htm\'> JADE Star </option>';
  str = str + '<option value=\'Jade6/index.htm\'> JADE6 </option>';
  str = str + '<option value=\'Jade/jadeatwork.htm\'> JADE@WORK </option>';
  str = str + '<option value=\'jadesms/index.htm\'> Jasper </option>';
  str = str + '<option value=\'LegacySystems/index.htm\'> JET: LINC to JADE </option>';
  str = str + '<option value=\'misc/links.htm\'> Links </option>';
  str = str + '<option value=\'http://secure.jadeworld.com/bin/jadehttp.dll?JWS&n=ngroups\'> Newsgroups </option>';
  str = str + '<option value=\'https://secure.jadeworld.com/bin/jadehttp.dll?JWS&n=ngusermaint\'> Newsgroups </option>';
  str = str + '<option value=\'techsupport/productupdates.htm\'> Product Updates </option>';
  str = str + '</select>' +
  '</form></center>';
  menuCode = menuCode + str;
}
  var xxusername = newImage('/images/topmenu/username.gif');
  var xxpass = newImage('/images/topmenu/pass.gif');
  var xxlogin = newImage('/images/topmenu/xlogin.gif');
  var xxmaintain = newImage('/images/topmenu/xmaintain.gif');
function buildQwkLogin() {
  var str = '<form name=jadeloginform action=https://secure.jadeworld.com/bin/jadehttp.dll?JWS METHOD=POST>';
  str = str + '<INPUT TYPE=HIDDEN NAME=JWS>';
  str = str + '<INPUT TYPE=HIDDEN NAME=JADEFORM VALUE=weblogon>';
  str = str + '<INPUT TYPE=HIDDEN NAME=txtDuration VALUE=1>';
  str = str + '<INPUT TYPE=HIDDEN NAME=_login VALUE='+thisPage+'>';
  str = str + '<center><table border=0 cellspacing=0 cellpadding=0><tr>';
  str = str + '<td colspan=2 valign=bottom><span class=srch>' +
    '<img src="/images/topmenu/username.gif" width=47 height=6><br>' +
    '<input type=text name=txtName value="" size=20 maxlength=60><br>' +
    '<img src="/images/topmenu/pass.gif" width=51 height=6><br>' +
    '<input type=PASSWORD name=txtPassword value="" size=20 maxlength=30><br>' +
    '</span></td>';
  str = str + '</tr>';
  str = str + '<tr><td align=left valign=bottom>' +
    '<INPUT TYPE=image NAME=btnOK VALUE=submit ' +
    'SRC="/images/topmenu/xlogin.gif" WIDTH=41 height=13 BORDER=0></td>';
  str = str + '<td align=right><INPUT TYPE=image NAME=btnChange VALUE=submit ' +
    'SRC="/images/topmenu/xmaintain.gif" WIDTH=61 height=13 BORDER=0></td></tr>';
  str = str + '</table></center></form>';
  menuCode = menuCode + str;
}
function buildQwkSearch() {
  var str = '<form name=jadesearchform action=https://secure.jadeworld.com/bin/jadehttp.dll?JWS METHOD=POST>' +
    '<INPUT TYPE=HIDDEN NAME=JWS>' +
    '<INPUT TYPE=HIDDEN NAME=JADEFORM VALUE=sitesearch>' +
    '<center><table border=0 cellspacing=0 cellpadding=0><tr>' +
    '<td colspan=2 height=26 align=center valign=bottom><span class=srch><input type=text ' +
    'name=Keywds value="" size=20 maxlength=60 ' +    '></span></td>' +
    '</tr>' +
    '<tr><td align=left valign=bottom>';
  str = str + '<input type=image name=Go value=submit ' +
    'src="/images/topmenu/search_up.gif" width=52 height=11 border=0>';
  str = str + '</td>' +
    '<td align=right>' + over_menu('http://secure.jadeworld.com/bin/jadehttp.dll?JWS&n=sitesearch','advanced','topmenu/Advanced_up.gif','topmenu/Advanced_over.gif','Advanced Search','46','8') +
    '</td></tr></table></center></form>';
  menuCode = menuCode + str;
}
function buildDsplSearch() {
  var str = '<form name=jadesearchform action=https://secure.jadeworld.com/bin/jadehttp.dll?JWS METHOD=POST>' +
    '<INPUT TYPE=HIDDEN NAME=JWS>' +
    '<INPUT TYPE=HIDDEN NAME=JADEFORM VALUE=sitesearch>' +
    '<center><table border=0 cellspacing=0 cellpadding=0><tr>' +
    '<td colspan=2 valign=bottom><img src=/images/transp.gif width=1 height=14></td></tr><tr>' +
    '<td height=26 align=center valign=middle><span class=srch><input id=query type=text ' +
    'name=Keywds value="" size=20 maxlength=60 ' +    '></span></td>';
  str = str + '<td valign=middle><input type=image name=btnSearch ' +
      ' value=submit src=/images/2003/Button_Search_blue2.gif border=0 hspace=2 vspace=2>';
  str = str + '</td></tr></table></center></form>';
  menuCode = menuCode + str;
}
var headMenu = "";
function buildHeader(img) {
  document.writeln ('<table border=0 cellspacing=0 cellpadding=0>');
  document.writeln ('<tr>');
  document.writeln ('<td width=1 rowspan=6 bgcolor=black><img src=/images/transp.gif width=1 height=1></td>');
  document.writeln ('<td width=98 rowspan=2><a href="index.htm">' +
	'<img src="/images/2003/Jade_logo.jpg" width=98 height=62 border=0 alt=Home></a></td>');
  if (img) {
    document.write ('<td width=461 height=43 bgcolor=white valign=top align=left>');
    document.write ('<img src=' + img + ' border=0>');
  } else {
    document.write ('<td width=461 height=43 bgcolor=white valign=bottom align=left>');
    document.write (hierMenu);
  }
  hierMenu = '';
  document.writeln ('</td><td width=222 bgcolor=white valign=top><script>buildDsplSearch(); document.write (menuCode); menuCode = \'\'; </script>');
  document.writeln ('</td><td width=1 rowspan=6 bgcolor=black><img src="/images/transp.gif" width=1 height=1></td>');
  document.writeln ('</tr>');
  document.writeln ('<tr><td colspan=2 height=19 bgcolor=white>' + headMenu + '</td></tr>');
  headMenu = '';
  document.write ('<tr><td colspan=3 bgcolor=white valign=top align=left>');
}
function buildButtons() {
  // -- Popup Menus --
  menuCode = '';
setMenuTxtLink("Fast Facts&nbsp;","Corporate/fastfacts.htm","dropmenu");
setMenuTxtLink("Board of Directors&nbsp;","Corporate/directors.htm","dropmenu");
setMenuTxtLink("Sir Gil Simpson&nbsp;","Corporate/directors_simpson.htm","dropmenu");
setMenuTxtLink("Chief Executive&nbsp;","Corporate/mgmt_carr.htm","dropmenu");
setMenuTxtLink("History&nbsp;","Corporate/history.htm","dropmenu");
setMenuTxtLink("Sponsorship&nbsp;","Corporate/sponsors.htm","dropmenu");
setMenuTxtLink("Corporate Home&nbsp;","index.htm","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_corporate',''));
  menuCode = '';
setMenuTxtLink("JADE 6&nbsp;","Jade6/index.htm","dropmenu");
setMenuTxtLink("JADECare&nbsp;","JadeCare/index.htm","dropmenu");
setMenuTxtLink("JET&nbsp;","LegacySystems/index.htm","dropmenu");
setMenuTxtLink("JADE Co-ordinated Care&nbsp;","jadehealth/index.htm","dropmenu");
setMenuTxtLink("JADE Student Management System&nbsp;","jadesms/index.htm","dropmenu");
setMenuTxtLink("JADE Master&nbsp;","JadeMaster/index.htm","dropmenu");
setMenuTxtLink("JADE Star&nbsp;","JadeStar/index.htm","dropmenu");
setMenuTxtLink("JADE Originals&nbsp;","JadeSystems/index.htm","dropmenu");
setMenuTxtLink("Higher Education Program&nbsp;","education/index.htm","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_products',''));
  menuCode = '';
setMenuTxtLink("JADE 6&nbsp;","Jade6/index.htm","dropmenu");
setMenuTxtLink("LINC to JADE Conversion&nbsp;","LegacySystems/index.htm","dropmenu");
setMenuTxtLink("Custom Development Service&nbsp;","JadeSystems/index.htm","dropmenu");
setMenuTxtLink("Cargo Terminal Operation&nbsp;","JadeMaster/index.htm","dropmenu");
setMenuTxtLink("Student Management&nbsp;","jadesms/index.htm","dropmenu");
setMenuTxtLink("Partner Information&nbsp;","partners/index.htm","dropmenu");
setMenuTxtLink("JADE Education&nbsp;","education/index.htm","dropmenu");
setMenuTxtLink("Healthcare & Social Care&nbsp;","jadehealth/index.htm","dropmenu");
setMenuTxtLink("HR & Payroll&nbsp;","JadeStar/index.htm","dropmenu");
setMenuTxtLink("Systems Management&nbsp;","JadeCare/index.htm","dropmenu");
setMenuTxtLink("Sales Support&nbsp;","https://www.jadesalesassistant.com","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_worldoj',''));
  menuCode = '';
setMenuTxtLink("Australia & New Zealand&nbsp;","anz/index.htm","dropmenu");
setMenuTxtLink("United Kingdom&nbsp;","uk/index.htm","dropmenu");
setMenuTxtLink("United States of America&nbsp;","usa/index.htm","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_locations',''));
  menuCode = '';
setMenuTxtLink("JADE 6&nbsp;","Jade6/index.htm","dropmenu");
setMenuTxtLink("Press Coverage&nbsp;","NewsRoom/prcov2003_menu.htm","dropmenu");
setMenuTxtLink("Press Releases&nbsp;","NewsRoom/prrel2003_menu.htm","dropmenu");
setMenuTxtLink("Events&nbsp;","Corporate/corpeventsall.htm","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_whatsnew',''));
  menuCode = '';
setMenuTxtLink("JADE 6&nbsp;","Jade6/index.htm","dropmenu");
setMenuTxtLink("FAQs&nbsp;","http://secure.jadeworld.com/bin/jadehttp.dll?JWS&n=faqsearch","dropmenu");
setMenuTxtLink("Newsgroups&nbsp;","techsupport/ngroups_index.htm","dropmenu");
setMenuTxtLink("Documentation&nbsp;","Jade6/jade6_documentation.htm","dropmenu");
setMenuTxtLink("Technical Support&nbsp;","Jade6/jade6_support.htm","dropmenu");
setMenuTxtLink("Product Updates JADE 5&nbsp;","techsupport/productupdates.htm","dropmenu");
setMenuTxtLink("Orders&nbsp;","https://secure.jadeworld.com/bin/jadehttp.dll?JWS&n=jade6_requests","dropmenu");
setMenuTxtLink("Higher Education Program&nbsp;","education/jadetep.htm","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_developers',''));
  menuCode = '';
setMenuTxtLink("JADE 6&nbsp;","https://secure.jadeworld.com/bin/jadehttp.dll?JWS&n=jade6_requests","dropmenu");
setMenuTxtLink("Case Studies&nbsp;","misc/downloads.htm","dropmenu");
setMenuTxtLink("Tutorials&nbsp;","Jade6/jade6_tutorials.htm","dropmenu");
setMenuTxtLink("JADE 6 Technical Papers&nbsp;","Jade6/jade6_whitepapers.htm","dropmenu");
setMenuTxtLink("Product Updates JADE 5&nbsp;","techsupport/productupdates.htm","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_downloads',''));
  menuCode = '';
setMenuTxtLink("Contact Us&nbsp;","misc/contacts.htm","dropmenu");
  document.writeln (buildPopupMenu('popupmenu_head_contact',''));
    headMenu = headMenu + popup_menu_head('popupmenu_head_corporate','index.htm','/images/2003/Button_Corporate.gif','Corporate','73','19');
    headMenu = headMenu + popup_menu_head('popupmenu_head_products','','/images/2003/Button_Product.gif','Products','60','19');
    headMenu = headMenu + popup_menu_head('popupmenu_head_worldoj','','/images/2003/Button_WorldOJ.gif','World of JADE','90','19');
    headMenu = headMenu + popup_menu_head('popupmenu_head_locations','index.htm','/images/2003/Button_Locations.gif','Locations','65','19');
    headMenu = headMenu + popup_menu_head('popupmenu_head_whatsnew','NewsRoom/index.htm','/images/2003/Button_WhatsNew.gif','What\'s New','76','19');
    headMenu = headMenu + popup_menu_head('popupmenu_head_developers','Jade6/index.htm','/images/2003/Button_Developers.gif','Developers','75','19');
    headMenu = headMenu + popup_menu_head('popupmenu_head_downloads','misc/downloads.htm','/images/2003/Button_Downloads.gif','Downloads','73','19');
    headMenu = headMenu + popup_menu_head('popupmenu_head_contact','misc/contacts.htm','/images/2003/Button_Contact.gif','Contact','57','19');
    headMenu = headMenu + plain_menu('','/images/2003/Button_Spacer.gif','','114','19');
  menuCode = '';
}
function buildHierarchy() {
}
function setMenuTxt(txt, styl) {
  if (styl) {
    menuCode = menuCode + '<span class="' + styl + '">';
  }
  menuCode = menuCode + txt;
  if (styl) {
    menuCode = menuCode + '</span>';
  }
  menuCode = menuCode + '<br>';
}
function setMenuImg(txt,img,hgh,wdth) {
  menuCode = menuCode + '<img src="' + img + '"';
  if (hgh) {
    menuCode = menuCode + ' height=' + hgh;
  }
  if (wdth) {
   menuCode = menuCode + ' width=' + wdth;
  } else {
    menuCode = menuCode + ' width=116';
  }
  if (txt) {
    menuCode = menuCode + ' alt="' + txt + '"';
  }
  menuCode = menuCode + ' border=0><br>';
}
function setMenuSWF(img,hgh,wdth) {
  menuCode = menuCode + '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' +
    'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,30,0" ';
  if (hgh) {
    menuCode = menuCode + ' height=' + hgh;
  }
  if (wdth) {
    menuCode = menuCode + ' width=' + wdth;
  } else {
    menuCode = menuCode + ' width=116';
  }
  menuCode = menuCode + '><param name=movie value="' + img +
    '"><param name=quality value=high><embed src="' + img +
    '" quality=high ' +
    'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" ' +
    'type="application/x-shockwave-flash" ';
  if (hgh) {
    menuCode = menuCode + ' height=' + hgh;
  }
  if (wdth) {
    menuCode = menuCode + ' width=' + wdth;
  } else {
    menuCode = menuCode + ' width=116';
  }
  menuCode = menuCode + '></embed></object><br>';
}
function setMenuTxtLink(txt,lnk,styl) {
  menuCode = menuCode + '<a href=\'' + lnk;
  if (styl) {
    menuCode = menuCode + '\' class=\'' + styl;
  }
  menuCode = menuCode + '\'>' + txt;
  menuCode = menuCode + '</a><br>';
}
function setMenuImgLink(id,nam,lnk,img,ovr,hgh,wdth) {
  menuCode = menuCode + '<a href="' + lnk;
  if (ovr) {
    menuCode = menuCode + '" onMouseOut="chg_img(' +
      "'" + id + "','" + img + "')" +
      '" onMouseOver="chg_img('+
      "'" + id + "','" + ovr + "')" ;
  }
  menuCode = menuCode + '"><img src="' + img + '"';
  if (hgh) {
    menuCode = menuCode + ' height=' + hgh;
  }
  if (wdth) {
    menuCode = menuCode + ' width=' + wdth;
  } else {
    menuCode = menuCode + ' width=116';
  }
  if (ovr) {
    menuCode = menuCode + ' name=' + id;
  }
  if (nam) {
    menuCode = menuCode + ' alt="' + nam + '"';
  }
  menuCode = menuCode + ' border=0></a><br>';
}
function setMenuTxtBtn(id,nam,bg,hgh,wdth) {
  menuCode = menuCode + '<input type=submit name=' + id +
      ' value="' + nam +
      '" style="color:#000000;background-color:';
  if (bg) {menuCode = menuCode + bg}
  else {menuCode = menuCode + '#C0C0C0'}
  menuCode = menuCode + ';font-family:Arial;font-size:8.25pt';
  if (wdth) {
    menuCode = menuCode + ';width:' + wdth;
  } else {
    menuCode = menuCode + ';width:116';
  }
  if (hgh) {menuCode = menuCode + ';height:' + hgh}
  menuCode = menuCode + + ';"><br>';
}
function setMenuImgBtn(id,img,hgh,wdth) {
  menuCode = menuCode + '<input type=image name=' + id +
      ' value=submit src="' + img + '"';
  if (hgh) {
    menuCode = menuCode + ' height=' + hgh;
  }
  if (wdth) {
    menuCode = menuCode + ' width=' + wdth;
  } else {
    menuCode = menuCode + ' width=116';
  }
  menuCode = menuCode + 'border=0 hspace=2 vspace=2><br>';
}
function buildStdPage(bg,form) {
  var str = null;
  document.writeln('<table border=0 cellspacing=0 cellpadding=0 width=781>');
  str = '<tr><td width=119 bgcolor=' + bg + ' valign=top>' +
    '<table border=0 cellspacing=0 cellpadding=0 width=119>' +
    '<tr height=1><td height=1 bgcolor=black valign=top>' +
    '<img src="/images/transp.gif" width=119 height=1>' +
    '</td></tr><tr height=1><td height=1 align=center valign=top>' +
    '<img src="/images/transp.gif" width=119 height=23><br>';
  if (form) {
    str = str + form;
  }
  str = str + menuCode;
  menuCode = '';
  str = str + '</td></tr></table></td>' +
    '<td width=1 bgcolor=black valign=top>' +
    '<table border=0 cellspacing=0 cellpadding=0 width=1>' +
    '<tr height=1 valign=top><td height=1>' +
    '<img src="/images/transp.gif" width=1 height=1>' +
    '</td></tr><tr height=23><td height=23 bgcolor=' + bg + '>' +
    '<img src="/images/transp.gif" width=1 height=23>' +
    '</td></tr></table></td>';
  if (form) {
    str = str + '<td width=20 valign=top>' +
      '<table border=0 cellspacing=0 cellpadding=0 width=20>' +
      '<tr height=1 valign=top><td height=1 bgcolor=black>' +
      '<img src="/images/transp.gif" width=20 height=1>' +
      '</td></tr><tr height=23><td height=23 bgcolor=' + bg + '>' +
      '<img src="/images/transp.gif" width=20 height=23>' +
      '</td></tr><tr height=1 valign=top><td height=1 bgcolor=black>' +
      '<img src="/images/transp.gif" width=20 height=1>' +
      '</td></tr></table></td>';
    str = str + '<td width=641 valign=top>' +
      '<table border=0 cellspacing=0 cellpadding=0 width=641><tr>' +
      '<td width=641 valign=top>';
  } else {
  str = str + '<td width=661 valign=top>' +
    '<table border=0 cellspacing=0 cellpadding=0 width=661><tr>' +
    '<td width=661 valign=top>';
  }
  document.writeln(str);
}
function buildEndStdPage() {
  var str = null;
  str = '</td></tr></table></td>' +
    '</tr></table>';  document.write(str);
}
function buildFullPage() {
  document.write ('<!-- start full main body/form -->');
}
function buildEndFullPage() {
  document.writeln ('<!-- end full main body/form --></td></tr>');
}
function buildFooter() {
  document.writeln ('<tr><td colspan=3 valign=top bgcolor=black>' +
    '<img src="/images/transp.gif" height=1></td></tr>');
  document.writeln ('<tr><td colspan=3 height=25 bgcolor=white valign=middle align=center>' +
    '<img src="/images/transp.gif" width=1 height=25>' +
    '<span class=SideNav>' +
  '<a href="misc/links.htm"><img alt="Links" border=0 width="37" height="26" src="/images/2003/Button_links.gif"></a>' +
  '<a href="misc/made_jade.htm"><img alt="Made in JADE" border=0 width="79" height="26" src="/images/2003/Button_MIJ.gif"></a>' +
  '<a href="misc/privacy.htm"><img alt="Privacy" border=0 width="53" height="26" src="/images/2003/Button_Privacy.gif"></a>' +
  '<a href="misc/copyright.htm"><img alt="Copyright & Legal" border=0 width="110" height="26" src="/images/2003/Button_Copyright.gif"></a>' +
  '</span></td></tr>');
  document.writeln ('<tr><td colspan=5 height=1 bgcolor=black><img src="/images/transp.gif" height=1></td></tr></table>');
}
