var message="Function Disabled!";

///////////////////////////////////
function clickIE4() {
  if (event.button == 2) {
    alert(message);
    return false;
  }
}

function clickNS4(e) {
	if (document.layers || document.getElementById && !document.all) {
		if (e.which == 2 || e.which == 3){
			alert(message);
			return false;
		}
	}
}

if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown = clickNS4;
}
else 
	if (document.all && !document.getElementById) {
		document.onmousedown = clickIE4;
	}

//document.oncontextmenu = new Function("alert(message);return false")
//document.oncontextmenu = new Function("return false");

var newwin = null;
function MM_openBrWindow(theURL, winname, winfeatures) {
  if (newwin) newwin.close();	
  winfeatures += ', resizable=no';// + ', status=yes';
  newwin = window.open(theURL, winname, winfeatures);
  with (newwin.document) {
    writeln('<html><head><title>Chicken group</title>');
		writeln('<script language="JavaScript" type="text/JavaScript">');
		writeln("<!--");
		writeln('document.oncontextmenu = new Function("return false")');
		writeln("//-->");
		writeln("</script>");
		writeln('</head>');
    writeln('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
    writeln('<img GALLERYIMG="no" src="' + theURL + '">');
    writeln('</body></html>');
		close();
  }	
  newwin.focus();
}


