// 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=Mega Bloks Classic Bag 80pc 8468 | Maxi | MEGA Bloks | Shop | MEGA Brands&desc=Play, store and take it with you wherever you go! The 80-piece MEGA Maxi Blocks Classic Bag includes 80 big building blocks! It is the perfect toy for your little building fan who is just learning how to create with his own two hands.' }); //showHide('flashIndex'); } /*$(document).ready(function(){$('img[@src$=.png]').ifixpng();});*/ preloadImg('/images/shareTool/ajaxLoader.gif'); preloadImg('/images/mb.jpg'); //