// JavaScript Document
function XML(File) {
	
	if (typeof File == 'undefined')
		File = null;
	
	this.File = File;
	this.xmldoc = null;
	if (document.implementation && document.implementation.createDocument) {
		this.xmldoc = document.implementation.createDocument("", "", null);
	} else {
		if (window.ActiveXObject) {
			this.xmldoc = new ActiveXObject("Microsoft.XMLDOM");
		} else {
			alert("Your browser can't handle this script");
			return false;
		}
	}
	if (this.File != null)
		this.xmldoc.load(this.File);
		
	return this.xmldoc;
}
