// JavaScript Document
<!--
   function SwapImage(img) {
   document.getElementById("first").src = img;
   }

   var scrj = 1;
function softScrollBack() {
   if(navigator.appName == "Microsoft Internet Explorer" && document.compatMode == "CSS1Compat") {
      var scdist = document.body.parentNode.scrollTop;
   } else {
      var scdist = document.body.scrollTop;
   }
   if(scrj<50 && scdist) {
      scdist = (scdist>2) ? Math.ceil(scdist*.2) : 1;
      scrj++;
      scrollBy(0,-scdist);
      setTimeout("softScrollBack()",20);
   } else {
      scrollTo(0,0);
      scrj = 1;
   }
}
window.onload = function() {
document.oncontextmenu = function(){
document.getElementById("result").innerHTML = "Context menu event";
return false;
}
}

   function wopen(url) {
      if (url) {
		opwin = window.open(url);
		opwin.focus();
		}
	}


   function popup_window( url, id, width, height )
    {
       //extract the url parameters if any, and pass them to the called html
       var tempvar=document.location.toString(); // fetch the URL string
       var passedparams = tempvar.lastIndexOf("?");
       if(passedparams > -1)
          url += tempvar.substring(passedparams);
      popup = window.open( url, id,'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + '' );
      popup.focus();
    }
	function Lihimstatus(){
		window.status = '';
		return true;
	}
	if (document.layers)
	document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
	document.onmouseover = Lihimstatus;
	document.onmouseout = Lihimstatus;
// -->

