// ShareTool init $(function() { $.fn.nyroModal.settings.endShowContent = function(elts, settings) { $('.resizeLink', elts.contentWrapper).click(function(e) { e.preventDefault(); $.nyroModalSettings({ width: 354, height: 495 }); return false; }); $('.resizeSmall', elts.contentWrapper).click(function(e) { e.preventDefault(); $.nyroModalSettings({ width: 354, height: 200 }); return false; }); if(tab==2){ $.nyroModalSettings({ width: 354, height: 495 }); navigate(tab); tab=0; return false; } }; $.fn.nyroModal.settings.processHandler = function(settings) { $.nyroModalSettings({ width: 354, height: 200 }); }; }); function nyroFromFlash(){ //e.preventDefault(); $.nyroModalManual({ url: '/connect/sharetool/sharetool.php?level=2&level2=0&lang=0&lang_abbr=en&path=products/&curl=index.php&title=Vodafone McLaren Mercedes Pitstop 3243 | Probuilder | Brands | Shop | MEGA Brands&desc=Re-create trackside excitement with the Vodafone Mclaren Mercedes F1 inspired pit stop scene. It's up to your pit crew to help Fernando Alonso return to the track in record time to win the Grand Prix! Construct the pit area and the replica of the Vodafone Mclaren Mercedes F1 car.' }); //showHide('flashIndex'); } /*$(document).ready(function(){$('img[@src$=.png]').ifixpng();});*/ preloadImg('/images/shareTool/ajaxLoader.gif'); preloadImg('/images/mb.jpg'); //