/******************************************************************************
* eclipse.js                                                                *
*                                                                             *
* Copyright 2003 by John Morici.             				      *
* Visit http://www.biznuzz.com                                                *                                       *
* Last update: October 14, 2003.                                             *
*                                                                             *
* Provides basic functions for DHTML positioned elements which will work on   *
* both Netscape Communicator and Internet Explorer browsers (version 4.0 and  *
* up).                                                                        *
******************************************************************************/

// Determine browser.
                var browser= "none";

                if(navigator.userAgent.indexOf("MSIE") != -1)
                browser="IE";
                if(navigator.userAgent.indexOf("en") != -1)
                browser="NS";


//-----------------------------------------------------------------------------


//Launch Windows

function appl(app) {
		newform=window.open(app,"form","border=0, toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=650,height=400,top=100,left=100,alwaysraised=1");
		return;
		}
                               

//Print Windows

function printwindow() {  
		opener.main.focus() 
		opener.main.print()
		}
		


//content select

function showcontent(cont) {
		document.all.content.src=cont;
		return
		}


//Menu Rollover


		
function liteonsub(m) {		
		if (browser=="IE")  {
		document.all[m].style.background="#4f5ca5";
		document.all[m].style.color="#ffffff";
		document.all[m].style.fontWeight="bold";
		}
		if (browser=="NS") {
		document.layers[img].background="#4f5ca5";
		document.layers[img].color="#ffffff";
		}
		}
				
function liteoff(m) {
		if (browser=="IE") {
		document.all[m].style.background="#ffffff";
		document.all[m].style.color="#4f5ca5";
		document.all[m].style.fontWeight="bold";
		}
		if (browser=="NS") {
		document.layers[img].background="#ffffff";
		document.layers[img].color="#4f5ca5";
		}
		return;
		}
		
		