// JavaScript Document

function popUP(sURL, sName, iWidth, iHeight, scrollb) { 
	posHoriz = parseInt((screen.availWidth / 2) - parseInt(iWidth / 2));
	posVert = parseInt((screen.availHeight / 2) - parseInt(iHeight / 2));
	
	open (sURL, sName, "status=no, scrollbars=no, left=" + posHoriz + ", top=" + posVert + ", width="+iWidth+", height="+iHeight)
}

function popUP2(sURL, sName, iWidth, iHeight, scrollb) { 
	posHoriz = parseInt((screen.availWidth / 2) - parseInt(iWidth / 2));
	posVert = parseInt((screen.availHeight / 2) - parseInt(iHeight / 2));
	
	open (sURL, sName, "status=no, scrollbars=yes, left=" + posHoriz + ", top=" + posVert + ", width="+iWidth+", height="+iHeight)
}

lib = new Object();

lib = {
	Import: function(File){
		document.write('<script src="admin/includes/js/'+File+'" type="text/javascript"></script>\n');
	}
}