var info = ""
function newPage(p_list){
	if (p_list.selectedIndex != 0){
		var goto_here = p_list.options[p_list.selectedIndex].value
		var goto_page = goto_here + ".asp"
		window.location.href=goto_page
	}
}
function resetLists(){
	document.navigation.product.selectedIndex = 0
	document.navigation.utility.selectedIndex = 0
}
function truncDate(p_Date){
	var base = new Date(0)
	var skew = base.getTime()
	if (skew > 0)
            p_date.setTime(p_date.getTime() - skew)
}

var indent = '&nbsp;&nbsp;'
var smallIndent = '&nbsp;&nbsp;&nbsp;'
var specialmenuHdr
var viewmenuHdr
//var viewmenu
//var viewmenusub1
//var viewmenusub2
//var viewmenusub3
//var infomenuHdr
//var infomenu
//var infomenusub1
//var infomenusub2
//var infomenusub3

specialmenuHdr = new Menu(5,80,150,25);
specialmenuHdr.listobj.useTheseImages('images/arrow.gif','images/arrow.gif',9,17)
specialmenuHdr.borderSize = 2
specialmenuHdr.offsetX = 3
specialmenuHdr.setTextStyle('mylistHdr')

//specialmenuHdr.listobj.add(indent+"<Font color=DarkPink size=4>Mother's Day</FONT>",sitehome+'mothersday.asp');
//specialmenuHdr.listobj.add(indent+"<Font color=Brown size=4>Father's Day</FONT>",sitehome+'fathersday.asp');
//specialmenuHdr.listobj.add(indent+"<Font color=DarkOrange size=4>Pamper Somebody ...</FONT>",sitehome+'fordoun.asp');

viewmenuHdr = new Menu(10,115,100,17);
viewmenuHdr.listobj.useTheseImages('images/arrow.gif','images/arrow.gif',9,17)
viewmenuHdr.borderSize = 1
viewmenuHdr.offsetX = 3
viewmenuHdr.setTextStyle('mylistHdr')

viewmenuHdr.listobj.add(indent+'View By','');

viewmenu = new Menu(10,140,100,17);
viewmenu.listobj.useTheseImages('images/arrow.gif','images/arrow.gif',9,17)
viewmenu.borderSize = 3
viewmenu.offsetX = 3
viewmenu.setTextStyle('mylist')

viewmenu.listobj.add(indent+'Home',sitehome+'index.html');
viewmenu.listobj.add(indent+'Flowers',sitehome+'IFLORA/flowers.html');
viewmenu.listobj.add(indent+'Gifts','');
viewmenu.listobj.add(indent+'Occasions','');
//viewmenu.listobj.add(indent+'Fathers Day',sitehome+'fathersday.asp');

viewmenusub1 = new Menu(viewmenu,1,200)
viewmenusub1.listobj.add(smallIndent+"<Font color=DarkGreen>International Flower Deliveries</font>",sitehome+'IFLORA/flowers_international.html');
//viewmenusub1.listobj.add(smallIndent+"<Font color=DarkGreen>iFlora's 10th Birthday Flowers</font>",sitehome+'tenthflowers.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Red>Christmas Flowers</font>",sitehome+'christmasflowers.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Red>Christmas Plants</font>",sitehome+'christmasplants.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Red>Valentines Flowers</font>",sitehome+'valentinesflowers.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Red>Valentines Sale</font>",sitehome+'valentinessale.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=DarkGreen>Easter Flowers</font>",sitehome+'easterflowers.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Purple>Mothers Day Flowers & Plants</font>",sitehome+'mothersdayflowers.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Brown>Fathers Day Flowers and Plants</font>",sitehome+'fathersdayflowers.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Purple>Women's Day Flowers</font>",sitehome+'womensdayflowers.asp');
//viewmenusub1.listobj.add(smallIndent+"<Font color=Purple>Secretaries Day Flowers</font>",sitehome+'secretariesdayflowers.asp');
viewmenusub1.listobj.add(smallIndent+'Flower Bouquets',sitehome+'IFLORA/flower_bouquets.html');
viewmenusub1.listobj.add(smallIndent+'Flower Baskets',sitehome+'IFLORA/flower_baskets.html');
viewmenusub1.listobj.add(smallIndent+'Flower Arrangements - Glass Vases',sitehome+'IFLORA/flower_arrangements_glass.html');
viewmenusub1.listobj.add(smallIndent+'Flower Arrangements - Other Containers',sitehome+'IFLORA/flower_arrangements_other.html');
viewmenusub1.listobj.add(smallIndent+'Plants',sitehome+'IFLORA/flowers_plants.html');
//viewmenusub1.listobj.add(smallIndent+'Roses',sitehome+'roses.asp');
//viewmenusub1.listobj.add(smallIndent+'Lilies',sitehome+'lilies.asp');
//viewmenusub1.listobj.add(smallIndent+'Carnations',sitehome+'carnations.asp');
//viewmenusub1.listobj.add(smallIndent+'Proteas',sitehome+'proteas.asp');
//viewmenusub1.listobj.add(smallIndent+'Chrysanthemums',sitehome+'chrysanthemums.asp');
//viewmenusub1.listobj.add(smallIndent+'Gerberas',sitehome+'gerberas.asp');

viewmenusub2 = new Menu(viewmenu,2,200)
//viewmenusub2.listobj.add(smallIndent+"<Font color=DarkGreen>iFlora's 10th Birthday Gifts</font>",sitehome+'tenthgifts.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Red>Christmas Gifts</font>",sitehome+'christmasgifts.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Red>Christmas Hampers & Wines</font>",sitehome+'christmashampers.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Red>Christmas Cakes</font>",sitehome+'christmascakes.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Red>Valentines Gifts</font>",sitehome+'valentinesgifts.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Red>Valentines Cakes & Hampers</font>",sitehome+'valentineshampers.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=DarkGreen>Easter Gifts and Hampers</font>",sitehome+'eastergifts.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Purple>Mothers Day Gifts</font>",sitehome+'mothersdaygifts.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Purple>Mothers Day Hampers</font>",sitehome+'mothersdayhampers.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Brown>Fathers Day Gifts and Hampers</font>",sitehome+'fathersdaygifts.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Purple>Women's Day Gifts</font>",sitehome+'womensdaygifts.asp');
//viewmenusub2.listobj.add(smallIndent+"<Font color=Purple>Secretaries Day Gifts</font>",sitehome+'secretariesdaygifts.asp');
//viewmenusub2.listobj.add(smallIndent+'International Chocolate Day',sitehome+'chocolateday.asp');
viewmenusub2.listobj.add(smallIndent+'Miglio Jewellery',sitehome+'miglio');
viewmenusub2.listobj.add(smallIndent+'Balloon Bouquets',sitehome+'IFLORA/balloons.html');
viewmenusub2.listobj.add(smallIndent+'Fruit & Gourmet Hampers',sitehome+'IFLORA/hampers_fruit.html');
viewmenusub2.listobj.add(smallIndent+'Wine & Liqueur Hampers',sitehome+'IFLORA/hampers_wine.html');
viewmenusub2.listobj.add(smallIndent+'Cakes & Cupcakes',sitehome+'IFLORA/hampers_cakes.html');
viewmenusub2.listobj.add(smallIndent+'Tatty Teddy Gifts',sitehome+'IFLORA/gifts_tatty_teddy.html');
viewmenusub2.listobj.add(smallIndent+'Cigars',sitehome+'IFLORA/gifts_cigars.html');
//viewmenusub2.listobj.add(smallIndent+'Carrol Boyes',sitehome+'carolboyes.asp');
viewmenusub2.listobj.add(smallIndent+'Experiences - Adventure & Pamper',sitehome+'IFLORA/gifts_experiences.html');
viewmenusub2.listobj.add(smallIndent+'Bath and Body',sitehome+'IFLORA/gifts_bath_body.html');
viewmenusub2.listobj.add(smallIndent+'Garden & Home',sitehome+'IFLORA/gifts_garden_home.html');
//viewmenusub2.listobj.add(smallIndent+'iFlora Gift Collection',sitehome+'gifts.asp');
//viewmenusub2.listobj.add(smallIndent+'Soft Toys',sitehome+'soft_toys.asp');
viewmenusub2.listobj.add(smallIndent+"Gifts for Women",sitehome+'IFLORA/gifts_women.html');
viewmenusub2.listobj.add(smallIndent+"Gifts for Men",sitehome+'IFLORA/gifts_men.html');
viewmenusub2.listobj.add(smallIndent+"Gifts for Children",sitehome+'IFLORA/gifts_children.html');
viewmenusub2.listobj.add(smallIndent+"Gifts for Babies",sitehome+'IFLORA/gifts_babies.html');
//viewmenusub2.listobj.add(smallIndent+'Order Extras - Chocolates, Wine, Vases',sitehome+'addons.asp');


viewmenusub3 = new Menu(viewmenu,3,200)
//viewmenusub3.listobj.add(smallIndent+"<Font color=Red>Valentines Day</font>",sitehome+'valentines.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkGreen>Easter</font>",sitehome+'Easter.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkGreen>iFlora's 10th Birthday</font>",sitehome+'tenthbirthday.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=Red>Christmas</font>",sitehome+'christmas.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=Blue>Summer</font>",sitehome+'summer.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=Purple>Mother's Day</font>",sitehome+'mothersday.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkGreen>Soccer</font>",sitehome+'soccer.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkOrange>Autumn</font>",sitehome+'autumnpage.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=Brown>Father's Day</font>",sitehome+'fathersday.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=Purple>Women's Day - 9 August 2009</font>",sitehome+'womensday.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=Purple>Secretaries Day</font>",sitehome+'secretariesday.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkBlue>Winter</font>",sitehome+'winterpage.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkPink>Grandparent's Day</font>",sitehome+'grandparents.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkPink>Breast Cancer Awareness Month</font>",sitehome+'bcamonth.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=DarkBlue>Bosses Day</font>",sitehome+'bossesday.asp');
//viewmenusub3.listobj.add(smallIndent+'International Chocolate Day',sitehome+'chocolateday.asp');
//viewmenusub3.listobj.add(smallIndent+"<Font color=Green>Spring</font>",sitehome+'spring.asp');
viewmenusub3.listobj.add(smallIndent+'Birthday',sitehome+'IFLORA/occ_birthday.html');
viewmenusub3.listobj.add(smallIndent+'New Baby',sitehome+'IFLORA/occ_new_baby.html');
//viewmenusub3.listobj.add(smallIndent+'Engagement & Wedding',sitehome+'engagement.asp');
//viewmenusub3.listobj.add(smallIndent+'Friendship',sitehome+'friendship.asp');
//viewmenusub3.listobj.add(smallIndent+'Congratulations',sitehome+'congratulations.asp');
//viewmenusub3.listobj.add(smallIndent+'Get Well',sitehome+'getwell.asp');
viewmenusub3.listobj.add(smallIndent+'Love and Romance',sitehome+'IFLORA/occ_romance.html');
//viewmenusub3.listobj.add(smallIndent+'Sympathy',sitehome+'sympathy.asp');
//viewmenusub3.listobj.add(smallIndent+'Thank You',sitehome+'thankyou.asp');
viewmenusub3.listobj.add(smallIndent+'Anniversary',sitehome+'IFLORA/occ_anniversary.html');


infomenuHdr = new Menu(10,225,100,17);
infomenuHdr.listobj.useTheseImages('images/arrow.gif','images/arrow.gif',9,17)
infomenuHdr.borderSize = 1
infomenuHdr.offsetX = 3
infomenuHdr.setTextStyle('mylistHdr')

infomenuHdr.listobj.add(indent+'Information','');

infomenu = new Menu(10,250,100,17);
infomenu.listobj.useTheseImages('images/arrow.gif','images/arrow.gif',9,17)
infomenu.borderSize = 3
infomenu.offsetX = 3
infomenu.setTextStyle('mylist')

infomenu.listobj.add(indent+'About iFlora',sitehome+'IFLORA/about.html');
infomenu.listobj.add(indent+'Contact Us',sitehome+'IFLORA/contact.html');
infomenu.listobj.add(indent+'Placing an Order','');
infomenu.listobj.add(indent+'Important Dates','');
infomenu.listobj.add(indent+'Comments',sitehome+'IFLORA/comments.html');
infomenu.listobj.add(indent+'Desktop Calendar',sitehome+'calendar');
infomenu.listobj.add(indent+'Map of SA',sitehome+'samap.asp');
infomenu.listobj.add(indent+'SA Cities',sitehome+'cities.asp');
infomenu.listobj.add(indent+'Hospitals',sitehome+'hospitals.asp');
infomenu.listobj.add(indent+'Flower Meanings',sitehome+'flowermeanings.asp');
infomenu.listobj.add(indent+'Partners',sitehome+'partner.asp');

infomenusub2 = new Menu(infomenu,2,200)
infomenusub2.listobj.add(smallIndent+'How to Order',sitehome+'IFLORA/ordering.html');
infomenusub2.listobj.add(smallIndent+'Delivery',sitehome+'IFLORA/delivery.html');
infomenusub2.listobj.add(smallIndent+'Confidentiality',sitehome+'confidentiality.asp');
infomenusub2.listobj.add(smallIndent+'Security and Payment',sitehome+'creditcards.asp');

infomenusub3 = new Menu(infomenu,3,200)
infomenusub3.listobj.add(smallIndent+'Celebratory Days',sitehome+'IFLORA/holidays.html');
//infomenusub3.listobj.add(smallIndent+'Christian',sitehome+'christianholydays.asp');
//infomenusub3.listobj.add(smallIndent+'Hindu',sitehome+'hindufestivals.asp');
//infomenusub3.listobj.add(smallIndent+'Jewish',sitehome+'jewishdays.asp');
//infomenusub3.listobj.add(smallIndent+'Muslim',sitehome+'muslim.asp');
//infomenusub3.listobj.add(smallIndent+'Public Holidays',sitehome+'publicholidays.asp');

// The special menu is for Mother's Day, Father's Day etc.
specialmenuHdr.build();

viewmenuHdr.build();
viewmenu.build();
infomenuHdr.build();
infomenu.build();
document.onclick = hideChildren

function hideChildren()
{
	viewmenu.select()
	viewmenu.hideAll()
	viewmenu.hideMenu()
	infomenu.select()
	infomenu.hideAll()
	infomenu.hideMenu()
}
