 	if (document.images) 
	{
	img1on = new Image
	img1off = new Image
	img2on = new Image
	img2off = new Image
	img3on = new Image
	img3off = new Image
	img4on = new Image
	img4off = new Image
	img5on = new Image
	img5off = new Image
	
	img1on.src = "images/l1on.jpg"
	img1off.src = "images/l1.jpg"
	img2on.src = "images/l2on.jpg"
	img2off.src = "images/l2.jpg"
	img3on.src = "images/l3on.jpg"
	img3off.src = "images/l3.jpg"
	img4on.src = "images/l4on.jpg"
	img4off.src = "images/l4.jpg"
	img5on.src = "images/l5on.jpg"
	img5off.src = "images/l5.jpg"

	} 
else  
	{
	img1on  = "" 
	img1off = "" 
	img2on  = "" 
	img2off = "" 
	img3on  = "" 
	img3off = "" 
	img4on  = "" 
	img4off = "" 
	img5on  = "" 
	img5off = "" 
	}

function mIN(imgSrc, imgName) {
		if (document.images) {
		imgON = eval(imgName + ".src");			
		document.images[imgSrc].src = imgON;
			} }
function mOUT(imgSrc, imgName) {
		if (document.images) {
		imgOFF = eval(imgName + ".src");			
		document.images[imgSrc].src = imgOFF;
			} }

function pwin(d,w,h,s,p,n) {
// p position, s = scrollbars
// 1 = top left, 2 = top right, 3 = bottom left, 4 = bottom right, 0 = center

if (p == 1) {
tx = 10; 
ty = 10;
}
else
if (p == 2) {
tx = (screen.width - (w+10));
ty = 0;
}
else
if (p == 3) {
tx = 10;
ty = (screen.height - (h+65));
}
else
if (p == 4) {
tx = tx = (screen.width - (w+10));
ty = (screen.height - (h+65));
}
else
if (p == 5) {
tx = 10;
ty = (screen.height - h) / 2;
w = (screen.width - 30);
}
else {
tx = (screen.width - w) / 2;
ty = (screen.height - h) / 2;
}
if (n) {
wname = n;
}
else {
wname = "popup";
}
	 nWindow = window.open(d,wname,"width="+w+",height="+h+",top="+ty+",left="+tx+",titlebar=0,resizable=1,status=0,menubar=0,scrollbars="+s+",fullscreen=0");
	 nWindow.focus() 
}
function go(fm){
var menObj=fm.quicklink;
if (menObj.options[menObj.selectedIndex].value != "")
{
var dest = menObj.options[menObj.selectedIndex].value;
var dtest = /^http\:/i;
var result = dest.match(dtest)
if (result != null)
{
Newwindow = window.open(); Newwindow.location = dest;
}
else
{ window.location = dest; }
}
}

function confirmit() {
if (confirm(""))
{
document.location="default.html"
}

}
//Thumbnail image viewer- 
var ie=document.all
var ns=document.layers
var ns6=document.getElementById&&!document.all

function enlarge(which,e,h,v){
//Render image code for IE 4+ and NS6
if (ie||ns6){
crossobj=document.getElementById? document.getElementById("showimage") : document.all.showimage
if (crossobj.style.visibility=="hidden"){
if (h)
{ crossobj.style.left=h; }
else
{ crossobj.style.left=ns6? pageXOffset+e.clientX : document.body.scrollLeft+event.clientX; }
if (v)
{ crossobj.style.top=v; }
else
{ crossobj.style.top=ns6? pageYOffset+(e.clientY - 150) : document.body.scrollTop+(event.clientY - 50) }

crossobj.innerHTML='<div align="right" id="drag" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 8pt; color:#000080; background-color: #87ceeb; cursor:hand;"><b onClick=closepreview()>CLOSE</b></div><img src="'+which+'">'
crossobj.style.visibility="visible"
}
else
crossobj.style.visibility="hidden"
return false
}
//Render image code for NS 4
else if (document.layers){
if (document.showimage.visibility=="hide"){
document.showimage.document.write('<a href="#" onMouseover="drag_dropns(showimage)"><img src="'+which+'" border=0></a>')
document.showimage.document.close()
if (h)
{ document.showimage.left=h; }
else
{ document.showimage.left=e.x; }
if (v)
{ document.showimage.top=v; }
else
{ document.showimage.top=(e.y - 50); }
document.showimage.visibility="show"
}
else
document.showimage.visibility="hide"
return false
}
//if NOT IE 4+ or NS 4, simply display image in full browser window
else
return true
}

function closepreview(){
crossobj.style.visibility="hidden"
}
function hidens() {
document.showimage.visibility=="hide"
return true
}
//drag drop function for NS 4////
/////////////////////////////////

var nsx,nsy,nstemp

function drag_dropns(name){
temp=eval(name)
temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
temp.onmousedown=gons
temp.onmousemove=dragns
temp.onmouseup=stopns
}

function gons(e){
temp.captureEvents(Event.MOUSEMOVE)
nsx=e.x
nsy=e.y
}
function dragns(e){
temp.moveBy(e.x-nsx,e.y-nsy)
return false
}

function stopns(){
temp.releaseEvents(Event.MOUSEMOVE)
}

//drag drop function for IE 4+ and NS6////
/////////////////////////////////

function drag_drop(e){
if (ie&&dragapproved){
crossobj.style.left=tempx+event.clientX-offsetx
crossobj.style.top=tempy+event.clientY-offsety
}
else if (ns6&&dragapproved){
crossobj.style.left=tempx+e.clientX-offsetx
crossobj.style.top=tempy+e.clientY-offsety
}
return false
}

function initializedrag(e){
if (ie&&event.srcElement.id=="drag"||ns6&&e.target.id=="drag"){
offsetx=ie? event.clientX : e.clientX
offsety=ie? event.clientY : e.clientY

tempx=parseInt(crossobj.style.left)
tempy=parseInt(crossobj.style.top)

dragapproved=true
document.onmousemove=drag_drop
}
}
function later() {
alert('Coming Soon!');
}
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
  if(EnableRightClick==1){ return true; }
  else {return false; }
}
function mousehandler(e){
  if(EnableRightClick==1){ return true; }
  var myevent = (isNS) ? e : event;
  var eventbutton = (isNS) ? myevent.which : myevent.button;
  if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
  var myevent = (isNS) ? e : window.event;
  if (myevent.keyCode==96)
    EnableRightClick = 1;
  return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;