browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))) if (browser) { h_stand_top = new Image(142, 116); h_stand_top.src = "/assets/images/home/grainmill_on.jpg"; h_stand_top_up = new Image(142, 116); h_stand_top_up.src = "/assets/images/home/grainmill_off.jpg"; h_strainer = new Image(95, 81); h_strainer.src = "/assets/images/home/fruitveg_on.jpg"; h_strainer_up = new Image(95, 81); h_strainer_up.src = "/assets/images/home/fruitveg_off.jpg"; h_juicer = new Image(90, 81); h_juicer.src = "/assets/images/home/citrusjuicer_on.jpg"; h_juicer_up = new Image(90, 81); h_juicer_up.src = "/assets/images/home/citrusjuicer_off.jpg"; } function loadimage(imageName, imgObjName) { if (browser) { document.images[imageName].src = eval(imgObjName + ".src"); return true; } } function resetEmailField(element){ if(element.value.length==0){ element.value="ENTER YOUR EMAIL"; } } function clearEmailField(element){ if( element.value=="ENTER YOUR EMAIL"){ element.value=""; } } function resetEmailFieldCat(element){ if(element.value.length==0){ element.value="Enter your email"; } } function clearEmailFieldCat(element){ if( element.value=="Enter your email"){ element.value=""; } } function doSel(obj) { for (i = 1; i < obj.length; i++) if (obj[i].selected == true) eval(obj[i].value); } function openWindow(url,winName,width,height){ var winRef = window.open(url, winName, "height=" + height + ",width=" + width + ",status=yes,toolbar=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=yes,titlebar=no"); } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i