// Some javascript methods
// I liked it better when it was LiveScript 
// Like 99.9% of JavaScript on the internet, this code has been lifted elsewhere...
// OPEN WINDOW JS
// takes all attributes in direct format
function popUp(URL, ATTRIBUTES)  {
	DEF_ATTRIB = 'width=200,height=200,top=100,left=100,resizable=yes,scrollbars';
	if (ATTRIBUTES == null) {
		ATTRIBUTES = DEF_ATTRIB;
	}
	child = window.open(URL, "spawn", ATTRIBUTES);
	child.opener = self;
	if	(navigator.appName == 'Microsoft Internet Explorer' && parseInt(navigator.appVersion) == '2') {
		// Do Nothing
	} else {
		child.focus();
	}
}


