// ==========================================================
// Copyright (c) info-sol.com All rights reserved
// ==========================================================
	var d=document;
	function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie4=(document.all && !this.dom)?1:0;	
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=((this.ver.indexOf("MSIE 6")>-1 || this.ver.indexOf("MSIE 7")) && this.dom)?1:0;

	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.ns=(this.ns4 || this.ns5)?1:0;
	this.ie=(this.ie6 || this.ie5 || this.ie4)?1:0;
	this.bw=(this.ie || this.ns)
	return this
	}
	var bw=new checkBrowser();
	var actrc=0;
	if(bw.ns) d.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
	function o_handle(){var rc=(actrc==1)?true:false;return rc;}
	function m_handle(evt){if(actrc==1){ return true; }
	var e = (bw.ns)?evt:event;var evtbutt = (bw.ns)?e.which:e.button;
	if((evtbutt==2)||(evtbutt==3)) return false;}
	function k_handle(evt) {  var e=(bw.ns)?evt:window.event;if (e.keyCode==96) actrc=1;return;}
	d.oncontextmenu = o_handle;d.onkeypress = k_handle;d.onmousedown = m_handle;d.onmouseup = m_handle;
