<!--
function input(ok)
{
    {
		if (!confirm("Do you confirm to delete it？"))
		{
			return false;
		}
    }
   	return true;
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



//状态条显示文字

function showtime()  
{
  var nowdate,hour,minute,second,outputstr;
  nowdate=new Date();
  hour=nowdate.getHours();
  minute=nowdate.getMinutes();
  second=nowdate.getSeconds();
  outputstr="HTTP://WWW.IDB.COM.CN  "+hour+":"+minute+":"+second;
  window.status=outputstr;
  window.setTimeout("showtime();",1000);
}

//新开无地址栏页面
function winopenFull(TargetURL){
	newwin=window.open("","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no")
	if (document.all){
		newwin.moveTo(0,0)
		newwin.resizeTo(screen.width,screen.height-23)
	}
	newwin.location=TargetURL
}

//屏蔽快捷键函数
function KeyDown(){
	if ((window.event.altKey)&&
      ((window.event.keyCode==37)||   //屏蔽 Alt+ 方向键 ←
       (window.event.keyCode==39))){  //屏蔽 Alt+ 方向键 →
   //  alert("对不起，您不能使用ALT+方向键前进或后退！");
     event.returnValue=false;
     }
  if (
//(event.keyCode==8)  ||                 //屏蔽退格删除键
      (event.keyCode==116)||                 //屏蔽 F5 刷新键
      (event.ctrlKey && event.keyCode==82)){ //Ctrl + R
     event.keyCode=0;
     event.returnValue=false;
     }
  if ((event.ctrlKey)&&(event.keyCode==78))   //屏蔽 Ctrl+n
     event.returnValue=false;
  if ((event.shiftKey)&&(event.keyCode==121)) //屏蔽 shift+F10
     event.returnValue=false;
  if (window.event.srcElement.tagName == "A" && window.event.shiftKey) 
      window.event.returnValue = false;  //屏蔽 shift 加鼠标左键新开一网页
  if ((window.event.altKey)&&(window.event.keyCode==115)){ //屏蔽Alt+F4
      window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
      return false;}
  }

//双击屏幕自动播放，单击停止
var currentpos,timer; 
function initialize() 
{ 
timer=setInterval("scrollwindow()",10); 
} 
function sc(){ 
clearInterval(timer); 
} 
function scrollwindow() 
{ 
currentpos=document.body.scrollTop; 
window.scroll(0,++currentpos); 
if (currentpos != document.body.scrollTop) 
sc(); 
} 
document.onmousedown=sc 
document.ondblclick=initialize
-->
