function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) { real_url = url_str.split('/'); real_url = real_url[0]+'//'+real_url[2]+'/'+real_url[3]+'/'; } return real_url; } function goLocate(go_url) { document.location = purl + go_url; } $( document ).ready( function() { $( 'div.viewer_content_01' ).removeAttr( 'style' ); $( 'div#post_area img' ).removeAttr( 'style' ); $( 'div#post_area img' ).css('width','95%').css('height','auto').css('max-width','750px'); }); $(window).scroll(function(){ var scrollTop = $(document).scrollTop(); var offTop = $(window).height()-80; $("#call_phone").stop(); $("#call_phone").animate( { "top" : scrollTop+offTop }); });