	IE4plus = (document.all) ? true : false;
	NS4 = (document.layers) ? true : false;

	function clickIE(){
			return false;
	}

	function clickNS(e){
		if (e.which==2 || e.which==3) {
			return false;
		}
 	}
 
	if (!IE4plus) {
		document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
		document.onmousedown=clickNS;
		document.onmouseup= clickNS;
		document.oncontextmenu=clickIE; // For NS 6+
	} else {
		document.onmouseup= clickIE;
		document.oncontextmenu=clickIE;
	}

	function popUp(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=125,height=20');");
	}

	function popUp2(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=300,height=100');");
	} 

	self.defaultStatus=""