// 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=2&lang=0&lang_abbr=en&path=corpo/&curl=investor_relations.php&title=MEGA Brands | Company | Investor Relations&desc=MEGA Brands Inc. Creating innovative toys to stimulate learning and creative play, for boys and girls from infancy to 12 years.' }); //showHide('flashIndex'); } /*$(document).ready(function(){$('img[@src$=.png]').ifixpng();});*/ preloadImg('/images/shareTool/ajaxLoader.gif'); preloadImg('/images/mb.jpg'); //