// Function to check browser type and version
 function CheckBrowser()
 {
  br_name = navigator.appName
  br_version = parseInt(navigator.appVersion)
 }
 
 //function for resizing the browser window
    function ResizeWindow(h,w)
 {
  CheckBrowser()
  if (br_name == "Netscape")
  {
   top.window.outerWidth=h
   top.window.outerHeight=w
  }
  else 
  {
   top.resizeTo(h,w)
  }
 }
 
 //function to put images in on-status
     function imageon(i) {
 if (document.images) {
     document.images[i].src = onimgarray[i].src
 }
     }
  
 //function to put images in off-status
    function imageoff(i) {
 if (document.images) {
     document.images[i].src = offimgarray[i].src
 }
     }
  
  //function to open a new window
       function blockwindow(url,x,y,scroll) {
  awindow=window.open(url,"blockwin","toolbar=no,width="+x+",height="+y+",status=0,scrollbars="+scroll+",resize=no,menubar=0");
}

//function for right mouse button
/*  function mouseDown(e) {
  if (parseInt(navigator.appVersion)>3) {
 var clickType=1;
  if (navigator.appName=="Netscape") clickType=e.which;
  else clickType=event.button;
  if (clickType!=1) {
   alert ('©2007 Boeliem: Please contact Boeliem if you want to use material of this site')
   return false;
  }
 }
 return true;
}
if (parseInt(navigator.appVersion)>3) {
 document.onmousedown = mouseDown;
 if (navigator.appName=="Netscape") 
  document.captureEvents(Event.MOUSEDOWN);
}
*/
//function for removing dots around selected images
function RemoveDot()
{
for (a in document.links) document.links[a].onfocus = document.links[a].blur;
}
if (document.all)
{
document.onmousedown = RemoveDot;
}
