function popupload() {
	var a;
	for (var i = 0; (a = document.links[i]); i++) {
		if (a.target && a.target.indexOf("_popup") == 0) {
			a.onclick = popup;
		}
	}
}

function popup() {
	var a = this.target.split(":");
	var sFeatures = a[1];
	newWindow = window.open(this.href, a.length > 2 ? a[2] : String((new Date()).getTime()), sFeatures);
	newWindow.document.write('<html><title>Dynaspark</title><style>body { margin:0;padding:0;}</style><body><img src=' + this.href + '></body></html>');
	return false;
}

function notice(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=384,height=256');");
}
