function is_id(isid){return document.getElementById(isid);} function Sub(par1,par2){ document.getElementById(par1).action=par2; document.getElementById(par1).submit(); } function Get(par1){location.href=par1;} function PopOpen(url,w,h){ window.open(url, 'pm_pie', 'width='+w+', height='+h+', resizable=1, scrollbars=1, menubar=0, toolbar=0, titlebar=0'); } $(document).ready(function(){ $(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'slow',theme:'light_square',slideshow:2000, autoplay_slideshow:false}); $(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'fast',theme:'light_square',slideshow:10000}); $("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({ custom_markup: '
', changepicturecallback: function(){ initialize(); } }); $("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({ custom_markup: '
', changepicturecallback: function(){ _bsap.exec(); } }); });