/*
 * ###########################################################################
 * #   Copyright (C) 2007 FoxCroft Trading Inc                               #
 * #                                                                         #
 * #   This program is commercial software; you can not redistribute it      #
 * #   and/or modify it under the terms of the license.txt                   #
 * #   License as published by FoxCroft Trading Inc, available in the        #
 * #   apollo/readme directory of this software distribution.                #
 * #                                                                         #
 * #   This program is distributed WITHOUT ANY WARRANTY                      #
 * #   or FITNESS FOR A PARTICULAR PURPOSE.  See the                         #
 * #   license.txt License for more details.                                 #
 * #                                                                         #
 * #   RXSERVER VERSION: 1.6.7                                               #
 * #                                                                         #
 * ###########################################################################
 *
 * This JS contains all the required methods to browse products and search.
 */

function showCallForPricing()
{
	
	var strMessage = document.getElementById("pricingMessage").innerHTML;
	var strPhone   = document.getElementById("pricingPhoneNumber").innerHTML;
	
	var uidHtml = 			'<table border="0"  width="500">';
	uidHtml = uidHtml + '	<tr>';
	uidHtml = uidHtml + '		<td style="text-align : center;" valign="top">';
	uidHtml = uidHtml + '			<div id="priceContent">';
	uidHtml = uidHtml + '				<h2>Please call for pricing</h2> <br />';
	uidHtml = uidHtml + '				<table border="0" cellspacing="3" cellpadding="3" width="100%">';
	uidHtml = uidHtml + '				<tr>';
	uidHtml = uidHtml + '				    <td class="msgContact">' + strMessage +'</td>';
	uidHtml = uidHtml + '				</tr>';
	uidHtml = uidHtml + '				<tr>';
	uidHtml = uidHtml + '				    <td class="phoneContact"><img src="templates/images/phone.jpg" />     <b>' + strPhone +'</b></td>';
	uidHtml = uidHtml + '				</tr>';
	uidHtml = uidHtml + '				<tr>';
	uidHtml = uidHtml + '				    <td align="center"><br />' +
											'<a class="btnOkContact" href="javascript:undarkBackground();">Ok</a></td>';
	uidHtml = uidHtml + '				</tr>';
	uidHtml = uidHtml + '				</table>';
	uidHtml = uidHtml + '			</div>';
	uidHtml = uidHtml + '		</td>';
	uidHtml = uidHtml + '	<tr>';
	uidHtml = uidHtml + '</table>';

	darkBackground();
	
	var infoBox = document.getElementById("InformationBox");
	infoBox.innerHTML = uidHtml;
	
	centerInfoBox();
	infoBox.style.display = 'block';
}
