/*
' *******************************************************************************************************************************************
'  Page:	    clientsides.js
'  Author:	    Rusty Swayne (rusty@mindfly.com)
'  Date:	    9/26/2003
'  Desc:	    
'
'  Updates:    
' *******************************************************************************************************************************************
*/


// Standard Images
var home		=	new Image();
home.src		=	"images/nav/bt_home.gif";
var about		=	new Image();
about.src		=	"images/nav/bt_about.gif";
var contact		=	new Image();
contact.src		=	"images/nav/bt_contact.gif";
var free		=	new Image();
free.src		=	"images/nav/bt_free.gif";
var building	=	new Image();
building.src	=	"images/nav/bt_building.gif";
var photo		=	new Image();
photo.src		=	"images/nav/bt_photo.gif";

// Highlighted versions
var home_f2			=	new Image();
home_f2.src			=	"images/nav/bt_home_f2.gif";
var about_f2		=	new Image();
about_f2.src		=	"images/nav/bt_about_f2.gif";
var contact_f2		=	new Image();
contact_f2.src		=	"images/nav/bt_contact_f2.gif";
var free_f2			=	new Image();
free_f2.src			=	"images/nav/bt_free_f2.gif";
var building_f2		=	new Image();
building_f2.src		=	"images/nav/bt_building_f2.gif";
var photo_f2		=	new Image();
photo_f2.src		=	"images/nav/bt_photo_f2.gif";

function highlighter(name, action)
{
	if (document.images)
	{
		if(action == "on") 
		{
		document.images[name].src = eval(name + "_f2.src");
		}
		else
		document.images[name].src = eval(name + ".src");
	}
}

function ShowDoc(sURL, windowName, width, height) 
// Purpose:	Launches File in new window
{
  myRemote = launch(sURL, windowName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,alwaysRaised=yes,width=" + width + ",height=" + height + ",left=250,top=150","parentWin");
}

function ShowPop(sURL, windowName, width, height) 
// Purpose:	Launches File in new window
{
  myRemote = launch(sURL, windowName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,alwaysRaised=yes,width=" + width + ",height=" + height + ",left=250,top=150","parentWin");
}


function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  return remote;
}

