function addFav(obj){
	window.external.addFavorite(obj.title,obj.href);
	return false;
}

function run(obj){
	return window.open(obj.href,'winopen','width=250,height=80');
}

function check(){
	var e = run();
	if(!e||(e.closed||!e.focus)){
		alert('弹出窗口被拦截器拦截了,请尝试关闭它,以便正常浏览本站!');
	}
}

function deleteConfirm(){
	if(event.srcElement.outerText == "删除" || event.srcElement.value == "删除")
		event.returnValue = confirm("您确信删除吗?");
}
document.onclick = deleteConfirm;
