1var max = 0; 2var hmove1 = 1; 3var hmove2 = 1; 4 5function HeightPlus(){ 6 7 document.getElementById("videoarea").style.display = "block"; 8 max = document.getElementById("videoarea").offsetHeight; 9 if( movedonce !=1){ 10 HeightMovePlus(); 11 } 12} 13 14function HeightMovePlus(){ 15 htime1 = setTimeout("HeightMovePlus()", 1); 16 document.getElementById("videoarea").style.height = (hmove1 * 10) + "px"; 17 hmove1++; 18 if((hmove1 * 10) > max){ 19 max = 0; 20 hmove1 = 1; 21 hmove2 = 1; 22 clearTimeout(htime1); 23 } 24 25} 26 27function HeightMinus(){ 28 29 hmove2 = document.getElementById("videoarea").offsetHeight; 30 HeightMoveMinus(); 31 32} 33 34function HeightMoveMinus(){ 35 htime2 = setTimeout("HeightMoveMinus()", 1); 36 hmove2 = hmove2 - 10; 37 if(hmove2 > 0){ 38 document.getElementById("videoarea").style.height = hmove2 + "px"; 39 }else{ 40 clearTimeout(htime2); 41 document.getElementById("videoarea").style.height = ""; 42 document.getElementById("videoarea").style.display = "none"; 43 } 44 45} 46 47function callmov(YouTubeID){ 48 if($(document).width() <= 1000) { 49 document.getElementById("videoarea").innerHTML = '<iframe width="640" height="320" src="//www.youtube.com/embed/' + YouTubeID + '?autoplay=1" frameborder="0" allowfullscreen></iframe>'; 50 } else { 51 document.getElementById("videoarea").innerHTML = '<iframe width="710" height="400" src="//www.youtube.com/embed/' + YouTubeID + '?autoplay=1" frameborder="0" allowfullscreen></iframe>'; 52 } 53 HeightPlus(); 54 var movedonce = 1; 55}
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.