function RightGuard(e) {
	/*
if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
alert("Sorry, you don't have permission to do that.");
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
alert("Sorry, you don't have permission to do that.");
return false;
}
*/
return true;
}

function popUpSlideshow(URL) {
var slideshow_width = 360
var slideshow_height = 440
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}

function popUp(url, p_Width, p_Height)
{
  agent = navigator.userAgent;
  windowName = "PopUp";
  params  = "";
  params += "toolbar=0,";
  params += "location=0,";
  params += "directories=0,";
  params += "status=0,";
  params += "menubar=0,";
  params += "scrollbars=1,";
  params += "resizable=1,";
  params += "top=10,";
  params += "left=10,";
  if (p_Width == "null") {
	params += "width=600,";
	params += "height=600";
      }
  else {
	params += "width=" + p_Width+ ",";
        params += "height=" + p_Height;
      }

  // close the window to vary the window size
  if (typeof(win) == "object" && !win.closed){
  win.close();
  }

  win = window.open(url, windowName , params);

  if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) {
      win = window.open(url, windowName , params);
      }

  if (!win.opener) {
      win.opener = window;
      }

  // bring the window to the front
  win.focus();
}

function popUpMovie(url, p_Width, p_Height)
{
  agent = navigator.userAgent;
  windowName = "PopUp";
  params  = "";
  params += "toolbar=0,";
  params += "location=0,";
  params += "directories=0,";
  params += "status=0,";
  params += "menubar=0,";
  params += "scrollbars=0,";
  params += "resizable=0,";
  params += "top=10,";
  params += "left=10,";
  if (p_Width == "null") {
	params += "width=600,";
	params += "height=600";
      }
  else {
	params += "width=" + p_Width+ ",";
        params += "height=" + p_Height;
      }

  // close the window to vary the window size
  if (typeof(win) == "object" && !win.closed){
  win.close();
  }

  win = window.open(url, windowName , params);

  if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) {
      win = window.open(url, windowName , params);
      }

  if (!win.opener) {
      win.opener = window;
      }

  // bring the window to the front
  win.focus();
}

function winopen(url,stuff,morestuff)
{
  window.open(url,stuff,morestuff).focus();
}

document.write('<div Class="divstyle" id="info" style=\'display:none;\'>')
document.write('<div id="imagetitle" class="pstyletitle" align="center"></div>')
document.write('</div>')

<!-- Begin SMALL MESSAGES


var IE = document.all?true:false

if (!IE) document.captureEvents(Event.MOUSEMOVE)

document.onmousemove = getMouseXY;

var tempX = 0
var tempY = 0

  
function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft
    tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }  
  // catch possible negative values in NS4
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  // show the position values in the form named Show
  // in the text fields named MouseX and MouseY
obj_info = document.getElementById("info")
obj_info.style.top = tempY + 10;
obj_info.style.left = tempX + 10;
  return true
}

function alert_msg(titletext){
obj_info = document.getElementById("info")
obj_info.style.display = '';
obj_imagetitle = document.getElementById("imagetitle");
obj_imagetitle.innerHTML = titletext;

}

function away()
{
obj_info = document.getElementById("info")
obj_info.style.display = 'none';
}


function goToURL() { history.go(-1); }


//  End -->
