// 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=0&level2=0&lang=0&lang_abbr=en&path=&curl=&title=Kids Toys: MEGA Bloks, RoseArt, Magnext & MEGA Puzzles | MEGA Brands&desc=MEGA Brands Official Site for award-winning toys and home of MEGA Bloks, Magnext, Roseart and MEGA Puzzles. Search for toys from action figures to puzzles and stationery toys with learning benefits for kids all ages.' }); //showHide('flashIndex'); } /*$(document).ready(function(){$('img[@src$=.png]').ifixpng();});*/ preloadImg('/images/shareTool/ajaxLoader.gif'); preloadImg('/images/mb.jpg'); //