			/*****************************
			**  MODIFY FOR EACH ISSUE
			******************************/
			var currVol = "36";
			var currIss = "5";
			var currPubDate = "Sept.-Oct. 2010"; 
			var build = "02";

			/*****************************
			**  END MODIFICATIONS
			******************************/



function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function init_StartPage() { // make sure login page is in page _top
	
	// make sure we don't re-log them out if their session times out
	
	if (window.top != window.self) {
		if (parent.winDestroyed) parent.winDestroyed = false;
		
		window.top.document.location = window.self.document.URL
	}

}

// close the data window if they logged out and left it open

function cleanupWindows() {
  /*
    cleanupWindows is called on onUnload and onBeforeUnload. Some popup blockers 
    disable the onUnload event and hence onBeforeUnload event is implemented. 
    If there are no popup blockers, then we do not want the logout to be called
    twice and hence the use of window.logoutIssued flag.
   */
  if(!window.logoutIssued) {
    window.logoutIssued = true;
    asynchronousLogout();    
  }  

/***

	if (top.basefrm.dataWin != null) {
		top.basefrm.dataWin.close()
	}
	if (top.header.helpWin != null) {
		top.header.helpWin.close()
	}
***/	
}

function asynchronousLogout() {
  var xmlHttpReq = false;
  var self = this;	
  if (window.XMLHttpRequest) { // Mozilla/Safari/IE7/Netscape7.2
    self.xmlHttpReq = new XMLHttpRequest();
  } else if (window.ActiveXObject) { // IE6
    self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
  }
  self.xmlHttpReq.open('POST', "/pf/justlogout", true);
  self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  self.xmlHttpReq.onreadystatechange = function() {
    if (self.xmlHttpReq.readyState == 4) {
      // Do processing on response here
      window.logoutIssued = false;
    }
  }
  self.xmlHttpReq.send(null);
}

function getTrimmedNewDateStr() {
	var date = new Date();
	//if Internet Explorer then do date replace, else if netscape do getTime()
	if(MTMUA.browserType == "IE") {
		date=Trim(date);
    	date=date.replace(/ /g, "");
    } 
    else {
    	date = date.getTime();
    }
    
    return date;
}

// Javascript functions for triming
function LTrim(ValueToTrim)
{
	ValueToTrim = ValueToTrim.toString()
	var WhiteSpace=new String(" \t\r\n");
	var i=0;
	if (ValueToTrim.length > 0) {
		while(WhiteSpace.indexOf(ValueToTrim.charAt(i)) > -1 && i < ValueToTrim.length)
		{
		  i++;
		}
		return ValueToTrim.substring(i);
	} else {
		return "";
	}

}

function RTrim(ValueToTrim)
{
	ValueToTrim = ValueToTrim.toString()
	var WhiteSpace=new String(" \t\r\n");
	var i=ValueToTrim.length-1;
	if (ValueToTrim.length > 0) {
    while(WhiteSpace.indexOf(ValueToTrim.charAt(i)) > -1 && i > -1)
		{
		  i--;
		}
		return ValueToTrim.substring(0,i+1);
	} else {
		return "";
	}
}

function Trim(ValueToTrim)
{
	return  LTrim(RTrim(ValueToTrim))
}