<!-- 
/*
* Copyright (c) 2001 Dataquick Information Systems
* 9620 Towne Centre Drive, San Diego, CA 92121
* All Rights Reserved.
*
* This software is the confidential and proprietary information of 
* Dataquick Information Systems. 
*/
/******************************************************************************‘
*
*	Purpose:	Used for graphical display of navigation buttons and pop up windows.
*
*	@author		Alex Rapp
*
*	@version	1.0		
*						
*******************************************************************************/

<!-- 
if (document.images) {
	glossary_off = new Image;
	glossary_off.src = '/images/subnav_glossary_off.gif';
	support_off = new Image;
	support_off.src = '/images/subnav_support_off.gif';
	data_off = new Image;
	data_off.src = '/images/subnav_data_off.gif';
	help_off = new Image;
	help_off.src = '/images/subnav_help_off.gif';
	logout_off = new Image;
	logout_off.src = '/images/subnav_logout_off.gif';
	printdep_off = new Image;
	printdep_off.src = '/images/myaccount/printdep_off.gif';
	amazmail_off = new Image;
	amazmail_off.src = '/images/myaccount/amazmail_off.gif';

	history_off = new Image;
	history_off.src = '/images/myaccount/listhistory_off.gif';
	status_off = new Image;
	status_off.src = '/images/myaccount/orderstatus_off.gif';
	saved_off = new Image;
	saved_off.src = '/images/myaccount/savedsearches_off.gif';

	glossary_on = new Image;
	glossary_on.src = '/images/subnav_glossary_on.gif';
	support_on = new Image;
	support_on.src = '/images/subnav_support_on.gif';
	data_on = new Image;
	data_on.src = '/images/subnav_data_on.gif';
	help_on = new Image;
	help_on.src = '/images/subnav_help_on.gif';
	logout_on = new Image;
	logout_on.src = '/images/subnav_logout_on.gif';

	history_on = new Image;
	history_on.src = '/images/myaccount/listhistory_on.gif';
	status_on = new Image;
	status_on.src = '/images/myaccount/orderstatus_on.gif';
	saved_on = new Image;
	saved_on.src = '/images/myaccount/savedsearches_on.gif';
	printdep_on = new Image;
	printdep_on.src = '/images/myaccount/printdep_on.gif';
	amazmail_on = new Image;
	amazmail_on.src = '/images/myaccount/amazmail_on.gif';
		}
		else {
	glossary_off = '';
	support_off = '';
	help_off = '';

	glossary_on = '';
	support_on = '';
	help_on = '';
}

function ImgOn(imgName) {
	document[imgName].src = eval(imgName + "_on.src");
}

function ImgOff(imgName) {
	document[imgName].src = eval(imgName + "_off.src");
}

function ReportPop(url) {
	ReportWin = window.open(url,'Report','width=620,height=400,scrollbars=yes,resizable=yes,menubar=yes');
}

function ListPop(url) {
	ReportWin = window.open(url,'LenderList','width=800,height=800,scrollbars=yes,resizable=yes,menubar=yes');
}

function popout(url) {
	helpwin = window.open(url, 'Help', 'width=620,height=400,scrollbars=yes,resizable=yes,menubar=yes');
}

function popoutNoMenu(url) {
	helpwin = window.open(url, 'Help', 'width=620,height=400,scrollbars=yes,resizable=yes,menubar=no');
}
function popoutNoMenuScrollResize(url) {
	helpwin = window.open(url, '', 'width=500,height=300,scrollbars=no,resizable=no,menubar=no');
}

// -->