var n01 = new Array("Aloe Vera","Coffee and Coffee Substitutes","Drinking Chocolate","Drinks Flavoured","Fruit and Vegetable Juices","Goji Products","Health Juices","Herbal Teas","Milk Products","Super Foods","Teas","Water","Weight Control"); var n02 = new Array("Beans and Legumes","Bread and Cake Mix","Bulk Foods","Carob and Cocoa","Cereals","Coconut Products","Confectionery","Crisp Breads & Crackers","Desserts","Dressings","Dried Fruit","Flour","Fruit Snack","Gourmet Meals","Grains Nuts and Seeds","Herbs & Spices","Honey","Honey Medicinal","Indian Cuisine","Jams","Mexican","Milk Products","Muesli","Oils Grocery","Pasta","Pasta Sauces","Pates","Powders","Rice","Salt","Sauces and Salsas","Seasoning","Soup","Spreads and Tahini","Super Foods","Sweeteners","Vegetable Stock","Vinegars","Yoghurt"); var n03 = new Array("Bars Snacks","Biscuits","Chips","Chocolates","Confectionery","Crisp Breads & Crackers","Dried Fruit","Fruit Snack","Goji Products"); var n04 = new Array("Allergy","Antioxidants","Bee Pollen and Propolis","Bone Health","Brain Function","Calming","Childrens Health","Cold and Flu","Colliodal Minerals","Cramp","Detox","Digestion & Gut Health","Fluid Retention","Green Foods","Herbal Capsules","Herbal Creams","Herbal Extracts","Immune System","Iron Supplements","Joints & Arthritis","Liver Support","Mens Health","Miscellaneous","Multi Vitamins and Energy","Nutritional Oils","Super Foods","Therapeutic","Urinary Support","Weight Control","Womans Health"); var n05 = new Array("Protein Bars","Protein Powders","Supplements"); var n06 = new Array("Accessories","Aloe Vera","Aromatherapy","Bath and Body","Blush","Body Scrub","Deodorant","Ear Candles","Eczema and Psoriasis","Essential Oils","Eye Creams and Gels","Eye Shadow","Eye and Lip Pencils","Facial Cleansers","Facial Moisturisers","Facial Scrubs and Masks","Feet Care","Foundation and Concealers","Gift Box","Hair Care","Hair Colour","Hand and Body Lotion","Insect Repellents","Joints & Arthritis","Lip Care","Lipsticks","Make-Up Powders","Mascara and Eye Liner","Massage Oils","Men's Personal Care","Miscellaneous","Oils Health & Beauty","Skin Care Packs","Soap","Sunscreen and After Sun Care","Therapeutic","Toners and Floral Waters","Toothpaste and Oral Hygiene"); var n07 = new Array("Biochemic Sprays","Calming","Childrens Health","Flower Remedies","Herbal Creams","Rescue Remedy","Tissue Salts Sprays and Creams"); var n08 = new Array("Books","Heel Educational Products"); var n09 = new Array("Cleaning Products","Dishwashing","Drinking Bottle","Laundry Products","Soap","Water Filters"); var n10 = new Array("Pet Care","Pet Food","Pet Supplements"); var n11 = new Array("Baby Accessories","Baby Clothing","Baby Food","Baby Hygiene","Baby Skin Care","Mother and Baby"); function thickbox(el) { $href=el.href; tb_show("", $href); return false; } function urlencode(str) { str = escape(str); str = str.replace('+', '%2B'); str = str.replace('%20', '+'); str = str.replace('*', '%2A'); str = str.replace('/', '%2F'); str = str.replace('@', '%40'); return str; } function urldecode(str) { str = str.replace('+', ' '); str = unescape(str); return str; } el2=0; function mydisplay() { if (el2) el2.style.display= 'block'; } function myhide() { if (el2) el2.style.display= 'none'; el2=0; } function myhover2(el) { if (el==el2) return; myhide(); el2=el; setTimeout("mydisplay()",500); } function myhover(el) { el=document.getElementById("sub-"+el.id); myhover2(el); } function myblur2(el) { if (el!=el2) return; myhide(); //setTimeout("myhide()",250); } function myblur(el) { el=document.getElementById("sub-"+el.id); myblur2(el); } function in_array($categories,$category2) { var $length=$categories.length; for ($j=0;$j<$length;$j++) { if ($category2==$categories[$j]) return 1; } return 0; } function num_in_array($categories,$category2) { var $found=0; if (in_array(n01,$category2)) $found++; if (in_array(n02,$category2)) $found++; if (in_array(n03,$category2)) $found++; if (in_array(n04,$category2)) $found++; if (in_array(n05,$category2)) $found++; if (in_array(n06,$category2)) $found++; if (in_array(n07,$category2)) $found++; if (in_array(n08,$category2)) $found++; if (in_array(n09,$category2)) $found++; if (in_array(n10,$category2)) $found++; if (in_array(n11,$category2)) $found++; return $found; } function subcat($categories,$category1) { $url=$category1.toLowerCase().replace(/ & /g,"-").replace(/ /g,"-")+".php"; $i=0; $category1=urlencode($category1); s='