1 2$(document).ready(function(){$('.mediaContent').each(function(){var o_d_media=$(this);var o_d_thumbs=$('#'+$(this).attr('id')+'Thumbs');$('div div',o_d_thumbs).width(($('div img.mediaThumb',o_d_thumbs).eq(0).outerWidth(true)*$('div img.mediaThumb',o_d_thumbs).length)+1);$('a',o_d_thumbs).click(function(){var o_d_mover=$('div div',o_d_thumbs);var o_d_holder=o_d_mover.parent();var i_moveBy=o_d_holder.width();var i_pos=o_d_mover.position().left;if($(this).attr('href')=='next'){i_pos-=i_moveBy;}else{i_pos+=i_moveBy;} 3var i_min=0-(o_d_mover.width()-o_d_holder.width());if(i_pos<i_min){i_pos=i_min;}else if(i_pos>0){i_pos=0;} 4o_d_mover.animate({'left':i_pos+'px'},'fast',function(){});return(false);});$('span',o_d_thumbs).click(function(){var i_width=o_d_media.attr('mediaWidth');var i_height=o_d_media.attr('mediaHeight');$('span',$(this).parent()).removeClass('active');$(this).addClass('active');var s_type=$(this).attr('mediaType');var s_html='';if(s_type=='image'){s_html='<img';if($('#mediaImage').length>0){s_html+=' id="mediaImage"';} 5if($('.thumbnail.products').length>0){s_html+=' class="thumbnail products"';} 6s_html+=' src="'+siteurl+'tinthumb.php?src='+$(this).attr('mediaSrc')+'&w='+i_width+'&h='+i_height+'&zc=1" />';}else if(s_type=='video'){s_html=getVideoIframe($(this).attr('mediaSrc'),i_width,i_height,1,$(this).attr('mediaName'));} 7if($('#mediaImage').length>0){$('#mediaImage').replaceWith(s_html);$('#mediaLink').attr('href',$(this).attr('mediaSrc'));} 8else{o_d_media.html(s_html);} 9return(false);});});});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.