// jQuery Reject - No IE5/IE6

$(document).ready(function() {
    $.reject({  
        reject: { msie5: true,msie6: true }, // Reject all renderers for demo  
		display: ['msie','firefox','safari','chrome'], // What browsers to display and their order  
		header: 'Did you know that your Internet Browser is out of date?', // Header of pop-up window  
    	paragraph1: 'Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.', // Paragraph 1  
		paragraph2: 'Just click on the links below to get to the download page', // Paragraph 2  
		imagePath: '/images/browsers/', // Path where images are located  
    	overlayBgColor: '#000000', // Background color for overlay
        closeCookie: true // Set cookie to remmember close for this session  
    });  

    return false;  
});

// JavaScript Document

function addCommas(nStr)
{
	nStr += '';
	x = nStr.split('.');
	x1 = x[0];
	x2 = x.length > 1 ? '.' + x[1] : '';
	var rgx = /(\d+)(\d{3})/;
	while (rgx.test(x1)) {
		x1 = x1.replace(rgx, '$1' + ',' + '$2');
	}
	return x1 + x2;
}

$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
 // (a little sooner than page load)
  $('#inquirybox').hide();
  
 // toggles the inquirybox on clicking the noted link 
  $('a#inquiry-toggle').click(function()
  {
	$('#inquirybox').slideToggle('fast');
	return false;
  });
  
 // closes the inquirybox on clicking the noted link 
  $('a#inquiry-close').click(function()
  {
	$('#inquirybox').slideUp('fast');
	return false;
  });
});


