//<Script language="JavaScript">
// BBTools script library excerpt
// (c) 1996-2002 Blue-Bag Ltd
//  info@blue-Bag.com

<!--
var infoWin ;
var mozOK=1 ;
//function BB_checkBrowser() { //v4.0
  
  verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);
  
  if (app.indexOf('Netscape') != -1) {
    if (version >= 5) {
	  mozOK=1
	  }
    else {
	  mozOK=0 
	  }
  } 
  else if (app.indexOf('Microsoft') != -1) {
    if (version >= 4 || verStr.indexOf(4) != -1)
     {
	 mozOK=1
	 }
    else {
	mozOK=0
	 }
   } 
   else {
    mozOK=0
   }
 
//}

function BBopenPrintable() {
// (c) 2002 Blue-Bag BBTools
// assumes that a file with the same name is in a sub directory called "printable"
var pfile = "" ;
var mydelim ;
fileVar = document.URL ;
if (fileVar.search("file://") != -1)      
  mydelim = "\\" ; //"%5C" ;   
else
  mydelim = "/" ;
  
arrFilename = fileVar.split(mydelim);
arrFilename.splice(arrFilename.length-1, 0, "printable");

 for (var i=0; i < arrFilename.length-1; i++) { 
     pfile += arrFilename[i] + mydelim ;  
 }

pfile += arrFilename.pop() ; 
infoWin = window.open(pfile,'winprint','toolbar=no,menubar=no,width=650,height=400,scrollbars=yes');
}

function closeinfoWin() {
	if(infoWin && !infoWin.closed) {
		infoWin.close()
		}	
	}  

function BB_jumpMenu(selObj,restore){ //v3.0
var targ = "parent" ;
if (selObj.selectedIndex != 0) {
   eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
   if (restore) selObj.selectedIndex=0;
}
}

//-->


