PageSourceSearch

https://alohabay.com/js/ypSlideOutMenusNonHometempr.js

js alohabay.com collected 2026-09-26 13:42:21 UTC 6,367 bytes, 139 lines download raw bytes

1function emailE(name)
2
3{
4add=(name + '@' + 'alohabay.com')
5document.write(add)
6}
7
8function getCookieVal (offset) {  
9var endstr = document.cookie.indexOf (";", offset);  
10if (endstr == -1)    
11endstr = document.cookie.length;  
12return unescape(document.cookie.substring(offset, endstr));
13}
14
15
16function GetCookie (name) {  
17var arg = name + "=";  
18var alen = arg.length;  
19var clen = document.cookie.length;  
20var i = 0;  
21while (i < clen) 
22  {var j = i + alen;    
23   if (document.cookie.substring(i, j) == arg)      
24   return getCookieVal (j);    
25   i = document.cookie.indexOf(" ", i) + 1;    
26   if (i == 0) break;   
27  }  
28return null;
29
30}
31
32
33function DisplayDealerCheckoutGraphic (productsectionflag) { 
34
35var dealerid = GetCookie('dealerid');
36
37var isChromium = window.chrome;
38var winNav = window.navigator;
39var vendorName = winNav.vendor;
40var isOpera = typeof window.opr !== "undefined";
41var isIEedge = winNav.userAgent.indexOf("Edge") > -1;
42var isIOSChrome = winNav.userAgent.match("CriOS");
43
44if ((window.devicePixelRatio > 1) && 
45    ((isIOSChrome) || 
46     (isChromium !== null && typeof isChromium !== "undefined" && vendorName === "Google Inc." && isOpera === false && isIEedge === false))
47   )
48   {checkoutgraphiccellwidth = 156;}
49 else
50   {checkoutgraphiccellwidth = 158;}
51
52if (productsectionflag == 1)
53   {if ((dealerid != null) && (dealerid != ""))
54      {document.write('<img src="/design/oheader4iprod.jpg" width="'+checkoutgraphiccellwidth+'" height="140" name="cart" border="0" alt="cart and checkout" usemap="#cartmap">');
55      }
56     else
57      {document.write('<img src="/design/oheader4iprod.jpg" width="'+checkoutgraphiccellwidth+'" height="140" name="cart" border="0" alt="cart and checkout" usemap="#cartmap">');}
58   }
59  else
60   {if ((dealerid != null) && (dealerid != ""))
61      {document.write('<img src="/design/oheader4idealer.jpg" width="'+checkoutgraphiccellwidth+'" height="140" name="cart" border="0" alt="cart and checkout" usemap="#cartmap">');}
62     else
63      {document.write('<img src="/design/oheader4i.jpg" width="'+checkoutgraphiccellwidth+'" height="140" name="cart" border="0" alt="cart and checkout" usemap="#cartmap">');}
64   }
65}
66
67
68function ChangeCartImagesMouseover () { 
69
70var dealerid = GetCookie('dealerid');
71
72if ((dealerid != null) && (dealerid != ""))
73   {changeImages('cart','/design/oheader4irdealer.jpg');}
74  else
75   {changeImages('cart','/design/oheader4ir.jpg');}
76
77}
78
79
80function ChangeCartImagesMouseout () { 
81
82var dealerid = GetCookie('dealerid');
83
84if ((dealerid != null) && (dealerid != ""))
85   {changeImages('cart','/design/oheader4idealer.jpg');}
86  else
87   {changeImages('cart','/design/oheader4i.jpg');}
88
89}
90
91
92function InsertDealersSectionMaps () { 
93
94document.writeln('<map name="headerleftmap">');
95document.writeln('  <area shape="rect" coords="2,151,76,182" href="/products/saltinfo/salt_display.php" alt="Himalayan">');
96document.writeln('</map>');
97document.writeln('<map name="headerrightmap">');
98document.writeln('  <area shape="rect" coords="0,125,39,182" href="/botani/index.php" alt="Botani Organics">');
99document.writeln('  <area shape="rect" coords="68,129,129,145" href="/cgi-bin/dealers/checkout.cgi" alt="checkout">');
100document.writeln('  <area shape="rect" coords="65,68,129,83" href="/cgi-bin/dealers/viewcart.cgi" alt="view cart">');
101document.writeln('</map>');
102document.writeln('<map name="searchoursitemap">');
103document.writeln('<area shape="rect" coords="115,110,191,37">');
104document.writeln('<area shape="rect" coords="18,0,96,10" href="/botani/index.php" alt="Botani Organics">');
105document.writeln('</map> ');
106document.writeln('<map name="cartmap">');
107document.writeln('  <area shape="rect" coords="99,47,155,100" href="/cgi-bin/dealers/checkout.cgi" alt="Checkout">');
108document.writeln('  <area shape="rect" coords="38,47,96,100" href="/cgi-bin/dealers/viewcart.cgi" alt="View Cart">');
109document.writeln('  <area shape="rect" coords="8,102,132,121" href="/index.php" alt="Main Product Menu"');
110document.writeln('onmouseover="ChangeCartImagesMouseover();return true;" onfocus="ChangeCartImagesMouseover();return true;"');
111document.writeln('onmouseout="ChangeCartImagesMouseout();return true;" onblur="ChangeCartImagesMouseout();return true;">');
112document.writeln('</map>');
113}
114
115function InsertProductSectionMaps () { 
116
117document.writeln('<map name="headerleftmap">');
118document.writeln('  <area shape="rect" coords="2,151,76,182" href="/products/saltinfo/salt_display.php" alt="Himalayan">');
119document.writeln('</map>');
120document.writeln('<map name="headerrightmap">');
121document.writeln('  <area shape="rect" coords="0,125,39,182" href="/products/botani_organic_vitamins/vitamins.php" alt="Botani Organics">');
122document.writeln('  <area shape="rect" coords="68,129,129,145" href="/cgi-bin/dealers/checkout.cgi" alt="checkout">');
123document.writeln('  <area shape="rect" coords="65,68,129,83" href="/cgi-bin/dealers/viewcart.cgi" alt="view cart">');
124document.writeln('</map>');
125document.writeln('<map name="searchoursitemap">');
126document.writeln('<area shape="rect" coords="115,110,191,37">');
127document.writeln('<area shape="rect" coords="18,0,96,10" href="/botani/index.php" alt="Botani Organics">');
128document.writeln('</map> ');
129document.writeln('<map name="cartmap">');
130document.writeln('  <area shape="rect" coords="99,47,155,100" href="/cgi-bin/dealers/checkout.cgi" alt="Checkout">');
131document.writeln('  <area shape="rect" coords="38,47,96,100" href="/cgi-bin/dealers/viewcart.cgi" alt="View Cart">');
132document.writeln('  <area shape="rect" coords="8,102,132,121" href="/index.php" alt="Main Product Menu" onmouseover="ChangeCartImagesMouseover();return true;" onmouseout="ChangeCartImagesMouseout();return true;" onfocus="ChangeCartImagesMouseover();return true;
132" onblur="ChangeCartImagesMouseout();return true;">');
133document.writeln('</map>');
134document.writeln('<map name="jarcandlesmap">');
135document.writeln('<area shape="rect" coords="152,0,320,231" href="/products/candles/jarcandles/deco_jars.php" alt="Deco Jars">');
136document.writeln('<area shape="rect" coords="320,0,496,231" href="/products/candles/jarcandles/squaretop_jars.php" alt="SquareTop Jars">');
137document.writeln('<area shape="rect" coords="496,0,676,231" href="/products/candles/jarcandles/bouquet_jars.php" alt="Bouquet Jars">');
138document.writeln('</map>');
139}

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.