function ITSAP_getBT() {
	// © ITSAP 2004, 2005
	// web page pseudo-code generator
	isIE = false; isNS = false; isNS6 = false;
	brwsr = ITSAP_brwserInfo(0)+parseInt(navigator.appVersion);
	//alert(ITSAP_binfo());
	switch(brwsr) {
		case 'Microsoft Internet Explorer4':
			isIE = true;
			dom = "document.all['";
			tDom = "'].style.";
			iDom = "'].";
		break;
		case 'Netscape4':
			isNS = true ;
			dom = "document['" ;
			tDom = "']."; iDom = tDom;
		break;
		case 'Netscape5':
			isNS6 = true ;
			dom = "document.getElementById('";
			tDom = "').style.";
			iDom = "').";
		break;
		default:
			isIE = true;
			dom = "document.getElementById('";
			tDom = "').style.";
			iDom = "').";
	}
}
function ITSAP_binfo(){
    var n = new Object(window.navigator);
    var s = new Object(window.screen);
    var b = "";
    b = n.appName + "^" + n.appVersion + "^" + s.width + "^" + s.height ;
    b += "^" + n.userAgent+"^"+n.platform;
	// if (!window.confirm(b))return;
return b;
}
function ITSAP_brwserInfo(itemN){
    var brw = ITSAP_binfo().split("^");
return brw[itemN];
}
function ITSAP_changeHTML(ITSAPdivTag,ITSAPhtmlUpdate,ITSAPfrm){
	var frms = "";
	if (ITSAPfrm!=null){
		frms="parent.frames['"+ITSAPfrm+"'].";
		}
	execString = frms+dom+ITSAPdivTag+iDom+"innerHTML=\'"+ITSAPhtmlUpdate+"\';";
	//if (!window.confirm(execString))return;
	eval(execString);
	//alert(execString);
}
function doNothing() {
// this is it
}
function ITSAP_openWindow(url,name,size,offset,otherFeat){
	// modified to extend allowable window features 22/9/2001
	var sz = size.split(",");
	var os = offset.split(",");
	var w = sz[0];
	var h = sz[1];
	var l = os[0];
	var t = os[1];
	if (isIE){
		var x = "left="+l+",";
		var yy = "top="+t+",";
		// if (!window.confirm(yy,'  YY'))return;
		}
	if (isNS){
		var x = "screenX="+l+",";
		var yy = "screenY="+t+",";
		}
	if (isNS6){
		var x = "left="+l+",";
		var yy = "top="+t+",";
		// if (!window.confirm(yy,'  YY'))return;
		}
	var featureSet=x+yy+'height='+h+',width='+w;
	if (otherFeat!=null) featureSet+=","+otherFeat;
	execString=name+'=window.open("'+url+'","'+name+'","'+featureSet+'");';
	//if (!window.confirm(yy,"  YY"))return;
	eval(execString);
	// if (!window.confirm(execString))return;
	execString=name+".window.focus();";
	eval(execString);
}
function date_ddmmmyy(date)
{
  var d = date.getDate();
  var m = date.getMonth() + 1;
  var y = date.getYear();

  // handle different year values 
  // returned by IE and NS in 
  // the year 2000.
  if(y >= 2000)
  {
    y -= 2000;
  }
  if(y >= 100)
  {
    y -= 100;
  }

  // could use splitString() here 
  // but the following method is 
  // more compatible
  var mmm = 
    ( 1==m)?'Jan':( 2==m)?'Feb':(3==m)?'Mar':
    ( 4==m)?'Apr':( 5==m)?'May':(6==m)?'Jun':
    ( 7==m)?'Jul':( 8==m)?'Aug':(9==m)?'Sep':
    (10==m)?'Oct':(11==m)?'Nov':'Dec';

  return "" +
    (d<10?"0"+d:d) + "-" +
    mmm + "-" +
    (y<10?"0"+y:y);
}


//
// get last modified date of the 
// current document.
//
function date_lastmodified()
{
  var lmd = document.lastModified;
  var s   = "Unknown";
  var d1;

  // check if we have a valid date
  // before proceeding
  if(0 != (d1=Date.parse(lmd)))
  {
    s = "Page revised:" + date_ddmmmyy(new Date(d1));
  }

  return s;
}
ITSAP_getBT();
