jQuery.noConflict();
//Sets the height of spacing in content area so that the buy-now section doesn't overlap the content
jQuery(document).ready(function(){
    //get height of the buy now holder
    var_height = jQuery('#products').height();//.css('height');
    if(var_height != undefined){
        //remove the 'px' convert to number and add margin
        //var_height = parseInt(var_height_px.slice(0, -2));
	//^ The above was made redundant with the .height() call        
	var_height = var_height + 20;
        //set the padding of the content appropriately
        jQuery('div.entry').css('padding-top', var_height);
    }
});

window.addEvent
(
	'domReady',
	function()
	{
		var togs = $$('#commercial_equipment h2');
		var elms = $$('#commercial_equipment ul ul');
		var left_accord = new Accordion(togs, elms, {'alwaysHide': 'true', 'display': 2});
		
		togs = $$('#restaurant_manufacturers h2');
		elms = $$('#restaurant_manufacturers ul');
		var right_accord = new Accordion(togs, elms, {'alwaysHide': 'true', 'display': -1} );

		left_accord.display(2);
	}
);

