relpath = '../';
document.write('<script src="' + relpath + 'scp/objxcore.js"></script>');

function touch(event,note) {
	if (! event) event = 'document';
	if (! note) note = '';
	document.write('<script src="../member/touch.php?event=' + event + '&note=' + escape(note) + '" type="text/javascript"></script>');
}

function didBox() {
	// Show the did box
	if (1 && window.sql_did && sql_did == 'y' && (sql_rows > 0 || !sql_succ)) {
		infoBoxTop();
		if (1 && sql_rows > 0) {
			show('<div style="margin-top:10;margin-bottom:10;margin-left:10;margin-right:10;">');
			if (window.sql_rows && sql_rows > 0) show("Entry updated.");
			else show("Entry accepted, no changes detected.");
			show('</div>');
		}
		if (1 && window.sql_query) {
			show('</td></tr>');
			show('<tr height="1"><td height="1" bgcolor="000000"><img src="panels/dot.gif" height="1" width="1"></td></tr>'); 
			show('<tr><td><font size="-2">');
			show('<i>And for Nathan\'s pleasure ... </i>');
			show(sql_query);
			show('</font>');
		}
		if (1 && !sql_succ) {
			show('</td></tr>');
			show('<tr height="1"><td height="1" bgcolor="000000"><img src="panels/dot.gif" height="1" width="1"></td></tr>'); 
			show('<tr><td><font size="-2"><xmp>');
			show(sql_text);
			show('</xmp></font>');
		}
		infoBoxEnd();
	}
}

function infoBoxTop() {
	show('<center>');
	show('<table style="border-style:solid;border-width:thin;border-color:blue;" cellspacing="0" cellpadding="0" align="center" width="50%">');
	show('<tr><td align="center">');
}

function infoBoxEnd() {
	show('</td></tr></table></center><br>');
}

