function emptyobj(){};
var app = new emptyobj();

//Objeto Manejador de Librerias
app.library= new emptyobj();
app.library.loaded= new Array;
app.library.load = function(library)
	{
	if(!app.library.loaded[library])
		{
		app.library.loaded[library]=library;
		if (window.XMLHttpRequest)
			{
			app.library.http = new XMLHttpRequest();
			}
		else if (window.ActiveXObject)
			{
			app.library.http = new ActiveXObject("Microsoft.XMLHTTP");
			}
		if(app.library.http)
			{
			app.library.http.open("POST","library.pl",false);
			app.library.http.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
			app.library.http.setRequestHeader('Referer','Cyberdoc2');
			app.library.http.send('library='+library);
			eval(app.library.http.responseText);
			}
		}
	}

