orblslogan1 = new Image(); orblslogan2 = new Image();
orblslogan1.src = "images/orblslogan1.gif"; orblslogan2.src = "images/orblslogan2.gif";

function stopError() {
  return true;
}
window.onerror = stopError;

function goHandler(){
var URL = document.go.site.options[document.go.site.selectedIndex].value;
window.location.href = URL;
}

function goLexi(){
var URL = document.lex.site.options[document.lex.site.selectedIndex].value;
window.open.href = URL;
}

function fx_init(img){	
	if(img.filters && img.filters[0]){
		img.filters[0].apply();
		img.filters[0].play();
	}
}
function fx_over(img){
	if(img.filters && img.filters[0]){
		img.filters[0].apply();
		img.filters[0].play();
	}
}
function high(img){
	if(img.filters && img.filters[0]){
		img.filters.alpha.opacity=60;
		if (window.highlighting)
			clearInterval(highlighting);
	}
}

function low(img){
	if(img.filters && img.filters[0]){
		tmp = img;
		highlighting=setInterval("chlight(tmp)",50)
	}
}
function chlight(img){
	if (img.filters.alpha.opacity<100){
		img.filters.alpha.opacity+=4;
	}else{
		if (window.highlighting)
			clearInterval(highlighting);
	}
}


if (self.parent.frames.length != 0) self.parent.location=self.location;
self.name='site';

var display_url=1

function showmenu(){
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY

if (rightedge < menu.offsetWidth)
menu.style.left=document.body.scrollLeft+event.clientX-menu.offsetWidth
else
menu.style.left=document.body.scrollLeft+event.clientX

if (bottomedge<menu.offsetHeight)
menu.style.top=document.body.scrollTop+event.clientY-menu.offsetHeight
else
menu.style.top=document.body.scrollTop+event.clientY

menu.style.visibility="visible"
return false
}

function hidemenu(){
menu.style.visibility="hidden"
}

function menu_over(){
if (event.srcElement.className=="menuitems"){
 event.srcElement.style.backgroundColor="#7380B9"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}

function menu_out(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="white"
window.status=''
}
}

function menu_link(){
if (event.srcElement.className=="menuitems")
window.location=event.srcElement.url
}
document.oncontextmenu=showmenu
if (document.all&&window.print)
document.onclick=hidemenu

function dblclick() {
	window.scrollTo(0,0)
}
if (document.layers) {
	document.captureEvents(Event.ONDBLCLICK);
}
document.ondblclick=dblclick;

function MM_reloadPage(init) {  // reloads the window if Nav4 resized
	if (init==true) with (navigator) {
		if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
			document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
		}
	}
	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
