//generic javascript library loader

	/***
	This script is a collection of generic scripts and is provided "as is" 
	without warrantee or guarantee, express, implied or otherwise.
	***/

//alert("lps_Lib.js loading");

function lpsLib(path)
{
  if (path.charAt(path.length-1) == '/')
  {
    path = path.substr(0, path.length-1);
  }
  this.path = path;
}

// dynamically loaded scripts
//
// it is an error to reference anything from the dynamically loaded file inside the
// same script block.  This means that a file can not check its dependencies and
// load the files for it's own use.  someone else must do this.  
  
lpsLib.prototype.loadScript = function (scriptName) {
  document.write('<script language="javascript" src="' + this.path + '\/' + scriptName + '"><\/script>');
};

//alert("lps_Lib.js loaded");

