// ****************************************************************************
// *  Copyright (c) 2002 - 2007 hulaRez, Inc.  All rights reserved.           *
// *  No part of this software may be reproduced or transmitted               *
// *  in any manner without the prior permission of hulaRez, Inc.             *
// ****************************************************************************
//
// hulaRez
//
// Title:
//
// File:	fit.js
//
// Description:	javaScript functions for use by web sites calling the
//              eCommerce module
//
// Notes:
//
// Author:      Ned Dana
//
// Revised:
//   01-19-05 N Dana    Pulled out of line into this file.
//   01-27-05 N Dana	Include vendCode, agencCode, deskCode, agentCode params
//   01-10-07 N Dana	Add call_HulaRez function, change host to hularez.net
// ****************************************************************************

function call_HulaRez( vendCode, prodCode, agencCode, deskCode, agentCode ) {
  host='www.hularez.net';
  windowAttribs = 'top=0, left=0, location=no, menubar=no, status=yes, toolbar=no, scrollbars=yes, resizable=yes';
  window.open( 'http://' + host + '/jsp/fit.jsp?provider=' + vendCode + '&product=' + prodCode 
             + '&agency=' + agencCode + '&desk=' + deskCode + '&agent=' + agentCode
             , 'eCommerce'
             , windowAttribs
             );
}

function call_InterRez( vendCode, prodCode, agencCode, deskCode, agentCode ) {
	call_HulaRez( vendCode, prodCode, agencCode, deskCode, agentCode );
}
// ****************************************************************************
// *  Copyright (c) 2002 - 2007 hulaRez, Inc.  All rights reserved.           *
// *  No part of this software may be reproduced or transmitted               *
// *  in any manner without the prior permission of hulaRez, Inc.             *
// ****************************************************************************

