getTemplate(); $FlexibleImagePATH = 'templates/'.$template.'/html/com_virtuemart/assets/images'; $basePriceWitTax = "basePriceWitTax"; $js = " jQuery(document).ready(function () { jQuery('.orderlistcontainer').hover( function() { jQuery(this).find('.orderlist').stop().show()}, function() { jQuery(this).find('.orderlist').stop().hide()} ) }); "; $document = JFactory::getDocument(); $document->addScriptDeclaration($js); $js2 = " jQuery(function($) { $(document).ready(function(){ $('#FlexibleSwitchButtons a.".$params->get('category_defaultview','switch_thumb2')."').addClass('switch_active'); $('#FlexibleSwitchButtons a').click(function(){ $('#FlexibleSwitchButtons a').removeClass('switch_active'); $(this).addClass('switch_active'); var currentTab = $(this).attr('rel'); $('#FlexibleBrowseViews .FlexibleBrowseViews').fadeOut(300); $(currentTab).delay(301).fadeIn(300); return false; }); }); }); "; $document = JFactory::getDocument(); $document->addScriptDeclaration($js2); /* Show child categories */ $manufacturerCheck = JRequest::getVar('virtuemart_manufacturer_id'); if (empty($this->keyword)) echo '
product_s_desc, 100, '...') ?>