//Aprimo visitor monitoring script
var donain = 'VaxAmerica';
function getFileNameNoExtension() {
   var url = document.location.href;
   url = url.substring(0, (url.indexOf("#") == -1) ? url.length : url.indexOf("#"));
   url = url.substring(0, (url.indexOf("?") == -1) ? url.length : url.indexOf("?"));
   url = url.substring(url.lastIndexOf("/") + 1, url.length);
   url = url.substring(0, (url.indexOf(".") == -1) ? url.length : url.indexOf("."));
   return url;
}
function getParentFolder() {
   var url = document.location.href;
   url = url.substring(0, location.href.lastIndexOf('\/'));
   url = url.substring(url.lastIndexOf("/") + 1, url.length);
   if(url.indexOf('.') >= 0) {url = 'Home';}; 
   return url;
}
var page_name = donain + ':' + getParentFolder() + ':' + getFileNameNoExtension();
var mvi_override_uri = page_name;
var msJsHost = (("https:" == document.location.protocol) ? "https" : "http");
document.write(unescape("%3Cscript src='" + msJsHost + "://stats.mvispy.com/mvispy.js' type='text/javascript'%3E%3C/script%3E"));
//document.write(mvi_override_uri);




function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function popUp(url,ht,wt,scrol) {
   var ChromeProperties = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=' + scrol + ',resizable=0,width=' + ht + ',height=' + wt
   newWindow = window.open(url,"win",ChromeProperties);
   newWindow.focus();
}

function GotoAndClose(url) {
   if (url != ""){opener.location = url;}
   window.close();
}

function SendToBack(nSeconds){
   setTimeout("self.blur()",nSeconds * 1000);
}


