PageSourceSearch

https://kualaorestaurant.com/js/function.js

js kualaorestaurant.com collected 2026-10-06 15:03:32 UTC 2,439 bytes, 88 lines download raw bytes

1function MM_swapImgRestore() { //v3.0
2  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
3}
4function MM_preloadImages() { //v3.0
5  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
6    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
7    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
8}
9
10function MM_findObj(n, d) { //v4.01
11  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
12    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
13  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
14  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
15  if(!x && d.getElementById) x=d.getElementById(n); return x;
16}
17
18function MM_swapImage() { //v3.0
19  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
20   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
21}
22
23function display (sID) {
24	oObj = document.getElementById(sID);
25		if (oObj) {
26		oObj.style.display='inline';
27		}
28}
29
30function hide (sID) {
31	oObj = document.getElementById(sID);
32		if (oObj) {
33		oObj.style.display='none';
34		}
35
36}
37
38// Menu //
39function getMn(id){
40	document.getElementById('mn'+id).className='default';
41}
42
43// Sub Gall //
44function SubMnGall(id){	
45	document.getElementById('submngall'+id).innerHTML='<img src="images/mn/submn-gall-over_0'+id+'.png" name="mn'+id+'" border="0" id="mn'+id+'">';
46}
47
48// Sub Media//
49function SubMnMedia(id){	
50	document.getElementById('submnmedia'+id).innerHTML='<img src="images/mn/submn-media-over_0'+id+'.png" name="mn_media'+id+'" border="0" id="mn_media'+id+'">';
51}
52
53// Sub Ser //
54function Subser(id) 
55{
56	for(i=1;i<=2;i++)
57	{
58		if(id==i) {
59			jQuery('#content_ser'+i).slideDown(250);
60			display("txt_serv"+i);
61			display("more"+i);
62			document.getElementById("ListSer"+i).className='services-row-open';
63			}else{
64			hide("content_ser"+i);
65			hide("txt_serv"+i);
66			hide("more"+i);
67			jQuery('#content_ser'+i).slideUp(250);
68			document.getElementById("ListSer"+i).className='services-row';
69			}
70	}
71}
72
73function IsNum(w)
74{
75	var s=w.value;
76	for (var i = 0; i < s.length; i++) 
77	{
78		var ch = s.substring(i, i + 1);
79		if (ch < "0" || "9" < ch)
80		{
81		   w.value='';	 
82			alert('Please, enter numberic only'); 
83		   return false;
84		   break;
85		}
86	 }
87	return true;
88}

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.