function click(){
	if (event.button==2){
		alert('!با عرض پوزش، شما اجازه انجام اين عمل را نداريد')
		}
		}
document.onmousedown=click;

function MM_reloadPage(init) {
  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);

var strtypekeyboard="Farsi" ;
function changelang(objtext1)
{
   if (window.event.keyCode==119)  
      if (strtypekeyboard == "Farsi")
          strtypekeyboard = "English" ;
        else 
         strtypekeyboard = "Farsi"; 
    if (window.event.keyCode==119) {  window.event.keyCode=0;}
   return true;
}

function submitenter(myfield,e)
{
var key;
if (strtypekeyboard == "English")  return true;
if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
if (key>31)
if (key<128)
{
if (window.event)
   window.event.keyCode=' !"#$%،گ)(×+و-./0123456789:ک,=.؟@ِذ}ىُىلآ÷ـ،/’د×؛َءٍف‘{ًْإ~جژچ^_پشذزيثبلاهتنمئدخحضقسفعرصطغظ<|>ّ'.charCodeAt(key-32);
else if (e)
   e.which=' !"#$%،گ)(×+و-./0123456789:ک,=.؟@ِذ}ىُىلآ÷ـ،/’د×؛َءٍف‘{ًْإ~جژچ^_پشذزيثبلاهتنمئدخحضقسفعرصطغظ<|>ّ'.charCodeAt(key-32);
}   
return true;
}