1function AdFox_SetLayerVis(spritename,state){ 2 document.getElementById(spritename).style.visibility=state; 3} 4 5function AdFox_Open(AF_id){ 6 AdFox_SetLayerVis('AdFox_DivBaseFlash_'+AF_id, "hidden"); 7 AdFox_SetLayerVis('AdFox_DivOverFlash_'+AF_id, "visible"); 8} 9 10function AdFox_Close(AF_id){ 11 AdFox_SetLayerVis('AdFox_DivOverFlash_'+AF_id, "hidden"); 12 AdFox_SetLayerVis('AdFox_DivBaseFlash_'+AF_id, "visible"); 13} 14 15function AdFox_getCodeScript(AF_n,AF_id,AF_src){ 16 var AF_doc; 17 if(AF_n<10){ 18 try{ 19 if(document.all && !window.opera){ 20 AF_doc = window.frames['AdFox_iframe_'+AF_id].document; 21 }else if(document.getElementById){ 22 AF_doc = document.getElementById('AdFox_iframe_'+AF_id).contentDocument; 23 } 24 }catch(e){} 25 if(AF_doc){ 26 AF_doc.write('<scr'+'ipt type="text/javascript" src="'+AF_src+'"><\/scr'+'ipt>'); 27 }else{ 28 setTimeout('AdFox_getCodeScript('+(++AF_n)+','+AF_id+',"'+AF_src+'");', 100); 29 } 30 } 31} 32 33function adfoxSdvigContent(banID, flashWidth, flashHeight){ 34 var obj = document.getElementById('adfoxBanner'+banID).style; 35 if (flashWidth == '100%') obj.width = flashWidth; 36 else obj.width = flashWidth + "px"; 37 if (flashHeight == '100%') obj.height = flashHeight; 38 else obj.height = flashHeight + "px"; 39} 40 41function adfoxVisibilityFlash(banName, flashWidth, flashHeight){ 42 var obj = document.getElementById(banName).style; 43 if (flashWidth == '100%') obj.width = flashWidth; 44 else obj.width = flashWidth + "px"; 45 if (flashHeight == '100%') obj.height = flashHeight; 46 else obj.height = flashHeight + "px"; 47} 48 49function adfoxStart(banID, FirShowFlNum, constVisFlashFir, sdvigContent, flash1Width, flash1Height, flash2Width, flash2Height){ 50 if (FirShowFlNum == 1) adfoxVisibilityFlash('adfoxFlash1'+banID, flash1Width, flash1Height); 51 else if (FirShowFlNum == 2) { 52 adfoxVisibilityFlash('adfoxFlash2'+banID, flash2Width, flash2Height); 53 if (constVisFlashFir == 'yes') adfoxVisibilityFlash('adfoxFlash1'+banID, flash1Width, flash1Height); 54 if (sdvigContent == 'yes') adfoxSdvigContent(banID, flash2Width, flash2Height); 55 else adfoxSdvigContent(banID, flash1Width, flash1Height); 56 } 57} 58 59function adfoxOpen(banID, constVisFlashFir, sdvigContent, flash2Width, flash2Height){ 60 var aEventOpenClose = new Image(); 61 var obj = document.getElementById("aEventOpen"+banID); 62 if (obj) aEventOpenClose.src = obj.title+'&rand='+Math.random()*1000000+'&prb='+Math.random()*1000000; 63 adfoxVisibilityFlash('adfoxFlash2'+banID, flash2Width, flash2Height); 64 if (constVisFlashFir != 'yes') adfoxVisibilityFlash('adfoxFlash1'+banID, 1, 1); 65 if (sdvigContent == 'yes') adfoxSdvigContent(banID, flash2Width, flash2Height); 66} 67 68 69function adfoxClose(banID, constVisFlashFir, sdvigContent, flash1Width, flash1Height){ 70 var aEventOpenClose = new Image(); 71 var obj = document.getElementById("aEventClose"+banID); 72 if (obj) aEventOpenClose.src = obj.title+'&rand='+Math.random()*1000000+'&prb='+Math.random()*1000000; 73 adfoxVisibilityFlash('adfoxFlash2'+banID, 1, 1); 74 if (constVisFlashFir != 'yes') adfoxVisibilityFlash('adfoxFlash1'+banID, flash1Width, flash1Height); 75 if (sdvigContent == 'yes') adfoxSdvigContent(banID, flash1Width, flash1Height); 76}
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.