
function showBasicMsg() {
	var A = new BasicTemplateBox();
	A.show();
}
function mytester() {
	alert("Yo Joe!");
}
function BasicTemplateBox() {
	this.init();
}
BasicTemplateBox.prototype.init = function () {
	this.setViewableDimensions();
	this.yOffset = this.getScrollXY();
	this.mainWidth = winW;
	this.mainHeight = winH;
	this.msgwidth = this.determineMsgWidth("300");
	this.msgheight = this.determineMsgHeight("80");
	var A = this.exists();
	if (!A) {
		alert("msgboxAlert object doesn't exist");
	}
	this.setMsgBoxDimensions();
	this.setPositioning("absolute");
	this.setBorderWidth();
	searchForDropdownsHIDE();
};
BasicTemplateBox.prototype.setViewableDimensions = function () {
	getBrowserViewableDimensions();
};
BasicTemplateBox.prototype.getScrollXY = function () {
	return getScrollXY();
};
BasicTemplateBox.prototype.determineMsgWidth = function (A) {
	return A;
};
BasicTemplateBox.prototype.determineMsgHeight = function (A) {
};
BasicTemplateBox.prototype.exists = function () {
	return document.getElementById("msgboxAlert");
};
BasicTemplateBox.prototype.createOnBody = function () {
	var B = createDefaultMsgBox();
	var A = document.getElementsByTagName("body").item(0);
	A.appendChild(B);
};
BasicTemplateBox.prototype.addCloseX = function (E, F) {
	var C = document.getElementById("closeX");
	if (C) {
		document.getElementById("closeX").style.display = "block";
		if (F) {
			if (bVer() >= 6) {
				document.getElementById("closeX").onclick = Function(F);
			} else {
				document.getElementById("closeX").setAttribute("onclick", F);
			}
		} else {
			if (bVer() >= 6) {
				document.getElementById("closeX").onclick = Function("closeMsgWindow();");
			} else {
				document.getElementById("closeX").setAttribute("onclick", "closeMsgWindow()");
			}
		}
	} else {
		var B = document.getElementById("titleBar");
		var A = applyInherit(document.createElement("td"), new CustomElement());
		A.setAtributeOther("id", "closeX");
		A.setAtributeOther("width", "100%");
		A.setAtributeOther("onclick", F);
		A.style.backgroundColor = "#ccc";
		A.style.cursor = "pointer";
		if (E) {
			var D = document.createTextNode(E);
			A.appendChild(D);
		} else {
			var D = document.createTextNode("X");
			A.appendChild(D);
		}
		B.appendChild(A);
	}
};
BasicTemplateBox.prototype.removeCloseX = function () {
	var B = document.getElementById("titleBar");
	var C = document.getElementById("closeX");
	C.style.display = "none";
	B.removeChild(C);
	var A = document.getElementById("closeX");
};
BasicTemplateBox.prototype.setMsg = function (A) {
	document.getElementById("msgboxAlertInner").innerHTML = A;
};
BasicTemplateBox.prototype.addFooter = function (A) {
	document.getElementById("msgboxFooter").innerHTML = A;
};
BasicTemplateBox.prototype.setMsgBoxDimensions = function () {
	document.getElementById("msgboxAlert").style.width = this.msgwidth;
	document.getElementById("msgboxAlert").style.left = this.mainWidth / 3 + "px";
	var A = (150 * 1) + (this.yOffset * 1);
	document.getElementById("msgboxAlert").style.top = (A) + "px";
};
BasicTemplateBox.prototype.setAlignment = function () {
	alert("Doesn't do anything yet");
};
BasicTemplateBox.prototype.setPositioning = function (A) {
	document.getElementById("msgboxAlert").style.position = A;
};
BasicTemplateBox.prototype.setBorderWidth = function () {
	document.getElementById("msgboxAlert").style.borderWidth = "1";
};
BasicTemplateBox.prototype.setFireFoxRequirements = function () {
	document.getElementById("msgboxAlertInner").style.display = "block";
};
BasicTemplateBox.prototype.show = function () {
	document.getElementById("msgboxAlert").style.display = "block";
};
BasicTemplateBox.prototype.hide = function () {
	document.getElementById("msgboxAlert").style.display = "none";
};
BasicTemplateBox.prototype.msgNoWrapOn = function () {
	var A = document.getElementById("msgboxAlertInner");
	A.setAtributeOther("nowrap", "nowrap");
};
BasicTemplateBox.prototype.borderOff = function () {
	document.getElementById("msgboxAlert").style.borderWidth = "0px";
};
BasicTemplateBox.prototype.getWidth = function () {
	return document.getElementById("msgboxAlert").offsetWidth;
};
BasicTemplateBox.prototype.getHeight = function () {
	return document.getElementById("msgboxAlert").offsetHeight;
};
BasicTemplateBox.prototype.setCloseSymbol = function (A) {
	document.getElementById("closeX").innerHTML = A;
};
BasicTemplateBox.prototype.setCloseFunction = function (B) {
	var A = document.getElementById("closeX").innerHTML.value;
	this.closeMethod = B;
	this.removeCloseX();
	this.addCloseX(A, B);
	this.borderOff();
};
BasicTemplateBox.prototype.setYOffset = function (A) {
	this.yOffset = A;
	this.setMsgBoxDimensions();
};

