// JavaScript Document
/*
function hp_ne(){return true}onerror=hp_ne;

if(window.location.href.substring(0,4)=="file")window.location="about:blank";

// JavaScript Document

function hp_ne(){return true}onerror=hp_ne;

if(frames){

if(top.frames.length>0)top.location.href=self.location;}

// JavaScript Document

function hp_ne(){return true}onerror=hp_ne;

function hp_dn(a){return false}

function hp_md(e){

if(e.which==1){window.captureEvents(Event.MOUSEMOVE);window.onmousemove=hp_dn}

}

function hp_mu(e){

if(e.which==1){window.releaseEvents(Event.MOUSEMOVE);

window.onmousemove=null}

}

if(navigator.appName.indexOf('Internet Explorer')==-1||navigator.userAgent.indexOf('MSIE')!=-1){

if(document.all){document.onselectstart=hp_dn}

if(document.layers){window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);

window.onmousedown=hp_md;

window.onmouseup=hp_mu}

if(document.getElementById&&!document.all){document.onmousedown=hp_dn}

}*/

// JavaScript Document

function right(e) {

if (navigator.appName == 'Netscape' && 

(e.which == 3 || e.which == 2))

return false;

else if (navigator.appName == 'Microsoft Internet Explorer' && 

(event.button == 2 || event.button == 3))

{

alert ("Спасибо за высокую оценку нашего труда.\n \nМы старались сделать этот сайт полезным.\nЕсли Вы хотите посоветовать кому-то эту информацию, просто дайте ссылку на эту страницу.\n \nКоманда www.Fukoidan.ru");

return false;

}

return true;

}

document.onmousedown=right;

if (document.layers) window.captureEvents(Event.MOUSEDOWN);

window.onmousedown=right;

// JavaScript Document

function MM_reloadPage(init) {  //reloads the window if Nav4 resized

  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

}

MM_reloadPage(true);

function NoError(){return(true);} 

onerror=NoError;




/***********************************************
* 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"
}

document.ondragstart = test;
//запрет на перетаскивание 
document.onselectstart = test;
//запрет на выделение элементов страницы
document.oncontextmenu = test;
//запрет на выведение контекстного меню
function test() {
return false
}