1function view_video(video_id){jQuery.noConflict();if(video_id.length<15) 2{var html_code='<div id="modal_window"><object width="720" height="405"><param name="movie" value="http://www.youtube.com/v/'+video_id+'?version=3&autoplay=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/'+video_id+'?version=3&autoplay=1&hl=en_US" type="application/x-shockwave-flash" width="720" height="405" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>';} 3else{var html_code=video_id} 4return jQuery(html_code).dialog({resizable:false,draggable:false,modal:true,width:'auto',minWidth:470,minHeight:350,beforeClose:function(){jQuery('#modal_window').remove();},show:{effect:'show',direction:"up"},hide:{effect:'fade'}});} 5function img_crop(img,crop,after_init) 6{if(typeof(after_init)!='undefined') 7{if($('#'+after_init).attr('initialized')!='1') 8{$(img).attr('loaded','1');return;}} 9if(typeof(crop)=='undefined')var crop='c50';var obj=$(img);var parent_obj=obj.parent('div');var parent_width=parent_obj.width();if(typeof(parent_obj.attr('crop_ratio'))!=='undefined') 10{var div_ratio=parseFloat(parent_obj.attr('crop_ratio'));var parent_height=parseInt(parent_width/div_ratio);parent_obj.css('height',parent_height+'px');} 11else 12{var parent_height=parent_obj.height();var div_ratio=parent_width/parent_height;} 13var img_ratio=obj.width()/obj.height();if(parent_obj.attr('crop')=="height_adjust"&&(parent_width/img_ratio)<parent_height) 14{parent_obj.css({'height':(parent_width/img_ratio)+'px'});parent_height=parent_obj.height();} 15parent_obj.css({'position':'relative','text-align':'left','overflow':'hidden'});var diff_ratio=img_ratio/div_ratio;if(diff_ratio<=1) 16{if(crop=='c50') 17{var spost=parseInt((obj.height()*(parent_width/obj.width())-parent_height)/2);obj.css({'position':'absolute','max-width':'none','max-height':'none','width':'100%','height':'auto','top':'-'+spost+'px','display':'inline'});} 18else if(crop=='') 19{obj.css({'position':'relative','width':'auto','max-width':'none','max-height':'none','height':'100%','display':'inline'});parent_obj.css({'text-align':'center'});} 20else if(crop=='c0')obj.css({'position':'absolute','max-width':'none','max-height':'none','width':'100%','height':'auto','display':'inline'});else if(crop=='c100') 21{obj.css({'position':'absolute','max-width':'none','max-height':'none','width':'100%','bottom':'0px','height':'auto','display':'inline'});}} 22else 23{if(crop=='c50') 24{var spost=parseInt((obj.width()*(parent_height/obj.height())-parent_width)/2);obj.css({'position':'absolute','max-width':'none','max-height':'none','width':'auto','height':'100%','left':'-'+spost+'px','display':'inline'});} 25else if(crop=='')obj.css({'position':'absolute','max-width':'none','height':'auto','max-height':'none','width':'100%','display':'inline'});else if(crop=='c0')obj.css({'position':'absolute','max-width':'none','max-height':'none','height':'100%','width':'auto','display':'inline'});else if(crop=='c100') 26{obj.css({'position':'absolute','max-width':'none','max-height':'none','height':'100%','right':'0px','width':'auto','display':'inline'});}}} 27function set_crop(object_id) 28{$('#'+object_id).attr('initialized','1');$('#'+object_id+' img[loaded="1"]').each(function(index){$(this).trigger('load');});} 29function get_regions(country_id) 30{if(country_id==104)jQuery('.no_obl_est').show();else jQuery('.no_obl_est').hide();jQuery.get('ajax/get_regions.php?country_id='+country_id,function(data){result=eval(data);if(result[0]===true) 31{if(result[2]>0) 32{jQuery('input[name="region_name"]').hide();jQuery('select[name="region_id"] option:not(:first)').remove();jQuery('select[name="region_id"]').append(result[1]);jQuery('select[name="region_id"]').show();} 33else 34{if(jQuery('input[name="region_name"]').length>0) 35{jQuery('select[name="region_id"]').hide();jQuery('input[name="region_name"]').show();} 36else 37{jQuery('select[name="region_id"] option:not(:first)').remove();}}}});} 38function initialize(myOptions) 39{markers=new Array();marker=null;infowindow=null;var bounds=new google.maps.LatLngBounds();var fitbounds=false;var defOptions={zoom:6,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP};jQuery.extend(defOptions,myOptions);if(defOptions.zoom=='auto'){fitbounds=true;defOptions.zoom=6;} 40map=new google.maps.Map(document.getElementById("gMap"),defOptions);if(set_markers!==null) 41{var num_markers=set_markers.length;for(var i=0;i<num_markers;i++) 42{markers[i]=new google.maps.Marker({position:new google.maps.LatLng(set_markers[i].lat,set_markers[i].lon),map:map,title:set_markers[i].titolo});if(fitbounds)bounds.extend(markers[i].position);markers[i].Myid=i;infowindow=new google.maps.InfoWindow({content:'',maxWidth:320,maxHeight:320});google.maps.event.addListener(markers[i],'click',function(event){var i=this.Myid;infowindow.setContent('<div id="content" style="width:300px; height:250px;"><H1>'+set_markers[i].titolo+'</H1>'+'<BR><BR>'+'<a href="'+set_markers[i].url+'">Vai alla scheda</A></div>');infowindow.open(map,this);});} 43if(fitbounds)map.fitBounds(bounds);}}
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.