// Function NBK no image, no text or drag, CSS, by Beppe Domani (09)

document.open("body", "replace");

document.writeln('<body><link rel=stylesheet type="text/css" href="http://www.newbokan.net/MHE/nbk.css">');
document.writeln('<BODY oncontextmenu="return false" onselectstart="return false" ondragstart="return false" >');
document.writeln('<META HTTP-EQUIV="imagetoolbar" CONTENT="no"><META HTTP-EQUIV="SelectDownloadDir" CONTENT="no">');
document.writeln('<META HTTP-EQUIV="NoViewSource" CONTENT="0"><meta http-equiv="Content-Language" content="it">');
document.writeln('<meta http-equiv="Content-Language" content="en-us"><meta http-equiv="Content-Language" content="ja">');
document.writeln('<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">');
document.writeln('<body style="user-select: none; -khtml-user-select: none; -moz-user-select: none;">');

document.close();

  
  
// VIPER
var note="Sorgenti, grafica e codici di questo sito sono \n   accessibili solo ai soci e non al pubblico.\n  \n      © Copyright 2001-2009 \n        NEWBOKAN  FANCLUB";

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(note);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(note);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

/***********************************************
* Disable Text Selection script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
	target.style.MozUserSelect="none"
else //All other route (ie: Opera)
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}

//Sample usages
//disableSelection(document.body) //Disable text selection on entire body
//disableSelection(document.getElementById("mydiv")) //Disable text selection on element with id="mydiv"
