<!-- Start


// START GALLERY POPUP


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 popUp(URL) {
var view_width = 675
var view_height = 535
var look='toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<title>Close Up</title><head>')
popwin.document.write('<link rel=StyleSheet href="coolstyle.css" type="text/css" media="screen">')
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\'You may not right mouse click this page.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#FFFFFF" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center" valign="center">')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#000000" style="border-collapse: collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'.html">')
popwin.document.write('</td></tr></table><br>')
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')
popwin.document.write('<form><input type="submit" value="Close" onClick=\'window.close()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" style="width:80px"></form><br>')
popwin.document.write('</td><td width="10">')
popwin.document.write('<br></td><td>')
popwin.document.write('<form action="slideshow.htm"><input type=submit value="Slideshow" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" style="width:80px"></form><br>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}




// START FAQ POPUP



function popUpFAQ(URL) {
var FAQ_width = 400
var FAQ_height = 500
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='+FAQ_width+',height='+FAQ_height+'');");
}

function alert_msg(titletext){
    obj_info = document.getElementById("info")
    obj_info.style.display = '';
    obj_imagetitle = document.getElementById("imagetitle");
	
    obj_imagetitle.innerHTML = '<img src="images/' + titletext + '" alt="" width="200" height="158" />';
}

function away()
{
    obj_info = document.getElementById("info")
    obj_info.style.display = 'none';
}

// End -->



