1$(document).ready(function() { 2 3 $("#findUserFormLabel").click(function(){ 4 $("#findUserFormDiv").slideToggle(); 5 }); 6 7 $("#findWorksFormLabel").click(function(){ 8 $("#findWorksFormDiv").slideToggle(); 9 }); 10 11 $(".cdPhotos a").fancybox({ 12 titleShow: false, 13 hideOnContentClick: true, 14 overlayShow: true, 15 overlayColor: '#000', 16 overlayOpacity: 0.3, 17 zoomSpeedIn: 600, 18 zoomSpeedOut:300, 19 'transitionIn' : 'elastic', 20 'transitionOut' : 'elastic' 21 }); 22 23 var ruporTimeObj = $('#ruporTime span'); 24 var ruporTime = $('#ruporTime').attr('time') - 3; 25 26 if ( !isNaN(ruporTime) ) { 27 ruporTimeTimerID = setInterval( function() { 28 if (ruporTime > 0) { 29 var chasyTmp = parseInt(ruporTime / 3600); 30 chasyTmp = (chasyTmp > 0) ? (chasyTmp + ' ÷. ') : ''; 31 32 var minTmp = parseInt(ruporTime % 3600 / 60); 33 minTmp = (minTmp > 0) ? (minTmp + ' ìèí. ') : ''; 34 35 var secTmp = parseInt(ruporTime % 60); 36 secTmp = (secTmp > 0) ? (secTmp + ' ñåê.') : ''; 37 38 var ruporTimeStr = chasyTmp + minTmp + secTmp; 39 40 ruporTimeObj.html(ruporTimeStr); 41 42 ruporTime -= 3; 43 } 44 else { 45 $("#ruporTimeWrap").html("Îñòàâüòå ñâî¸ îáúÿâëåíèå, âîñïîëüçîâàâøèñü óñëóãîé \"Íàø ðóïîð\"<br><br><a href='/dop_usl_3.html'><b>Ïðèñîåäèíÿéòåñü</b></a> <img src='/images/item1.png' align='absmiddle'>"); 46 clearInterval(ruporTimeTimerID); 47 } 48 49 }, 3000); 50 } 51 52 var headWorksContent = ''; 53 var headWorksTimerID = setInterval(function() { 54 55 $.ajax({
56 url: '/ajax/head_works.txt', 57 type: "GET", 58 dataType: "html", 59 success: function(response) { 60 if (response != headWorksContent) { 61 headWorksContent = response; 62 $('#headTopWorks').html(headWorksContent); 63 } 64 }, 65 cache: false 66 }); 67 }, 30000); 68 69 70var index = 0; 71$("input.customFile").each(function(){ 72 $(this).parents('.inputDiv').removeClass("inputFile").removeClass("inputDiv"); 73 index ++; 74 $(this).attr("id", "customFile_"+index); 75 $(this).addClass('customFileInv'); 76 $(this).before('<div class="customFileBlocker"></div>'); 77 $(this).after('<div title="Âûáðàòü ôàéë" class="customFileBut "></div><div class="customFileName" id="customFileName_'+index+'"></div>'); 78 $(this).parents('div::first').after('<div style="height: 20px;"></div>'); 79 80 $(this).change(function() { 81 82 var idTmp = $(this).attr('id').replace(/customFile_/i, ""); 83 file = $(this).val(); 84 reWin = /^(.*\\)?([^\\]+)$/g; //äëÿ âèäíîâñ 85 var fileTitle = file.replace(reWin, "$2"); //âûäèðàåì íàçâàíèå ôàéëà äëÿ windows 86 reWin = /^(.*\/)?([^\/]+)$/g; //äëÿ þíèêñ 87 fileTitle = fileTitle.replace(reWin, "$2"); //âûäèðàåì íàçâàíèå ôàéëà äëÿ windows 88 $("#customFileName_"+idTmp).html(fileTitle).css({display :'block'}); 89 90 var RegExExt =/.*\.([^\.]+)$/; 91 var ext = fileTitle.replace(RegExExt, "$1");//è åãî ðàñøèðåíèå 92 93 var pos = ''; 94 if (ext) { 95 switch (ext.toLowerCase()) { 96 case 'jpg': pos = '0'; break; 97 case 'jpeg': pos = '0'; break; 98 case 'png': pos = '16'; break; 99 case 'gif': pos = '32'; break; 100 case 'mp3': pos = '48'; break; 101 default: pos = ''; break; 102 }; 103 if (pos != '') { 104 $("#customFileName_"+idTmp).css({background : 'url(/images/upload_icons.png) no-repeat 0 -'+pos+'px'}); 105 } 106 }; 107}); 108 109 110}); 111 112 113 114/* 115banner6Fixed = false; 116banner6Top = (typeof($('#div-bp6').offset()) != "undefined" ? $('#div-bp6').offset().top : 0) - 20; 117 118if ($(document).height() > 3500) { 119 120 banner6Timer = null; 121 $(window).bind("scroll", function(){ 122 123 if (banner6Timer == null) { 124 125 banner6Timer = setTimeout(function() { 126 if ($(window).scrollTop() > banner6Top) { 127 if (!banner6Fixed) { 128 $('#div-bp6').css({'position': 'fixed', 'top': '20px', 'width': '215px', 'z-index' : '1'}); 129 banner6Fixed = true; 130 } 131 var topD = parseInt($(document).height()) - parseInt($(window).scrollTop()); 132 var top = topD < 1500 ? 20 - (1500 - topD) : 20; 133 $('#div-bp6').css({'top': top+'px'}); 134 135 } 136 else { 137 if (banner6Fixed) { 138 $('#div-bp6').css({'position': 'static', 'top': '0'}); 139 banner6Fixed = false; 140 } 141 } 142 banner6Timer = null; 143 } 144 , 100); 145 } 146 }); 147 148 149} 150*/ 151 152}); 153 154 155 156openPlayList = function(curHref, idUser) { 157 idUser = idUser || 0; 158 msgWindow = window.open(curHref + "#1", 'playlist' + idUser, 'width=300px,height=600px,scrollbars=yes'); 159 return false; 160} 161 162var develop = function() { 163 window.open('http://www.bondsoft.ru/portfolio.html', '', 'left=100, top=50, resizable=1, scrollbars=1, menubar=1, toolbal=1,location=1,status=1'); 164}
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.