/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=6
oCMenu.fromTop=60
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="../"
oCMenu.resizeCheck=1
oCMenu.wait=1000
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0
oCMenu.checkselect=1

//Netscape 4 and Opera form work-around !! !! !! !! !!
if(bw.ns4 || bw.op5 || bw.op6){
  oCMenu.onshow="document.layers?document.layers.formLayer.visibility='hidden':document.getElementById('formDiv').style.visibility='hidden';"
  oCMenu.onhide="document.layers?document.layers.formLayer.visibility='visible':document.getElementById('formDiv').style.visibility='visible';"
}

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu"-3
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=123
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=150
oCMenu.level[0].height=20
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=150
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width)/30
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;Home','http://www.bigfoto.com','',70)

oCMenu.makeMenu('top1','','&nbsp;America','http://www.bigfoto.com/america/','',100)
	oCMenu.makeMenu('sub10','top1','&nbsp;New York City','http://www.bigfoto.com/america/new-york/','',100)
	oCMenu.makeMenu('sub11','top1','&nbsp;San Francisco','http://www.bigfoto.com/america/san-francisco/','',100)
	oCMenu.makeMenu('sub12','top1','&nbsp;California','http://www.bigfoto.com/america/california/','',100)
	oCMenu.makeMenu('sub13','top1','&nbsp;Las Vegas','http://www.bigfoto.com/america/las-vegas/','',100)
	oCMenu.makeMenu('sub14','top1','&nbsp;Florida','http://www.bigfoto.com/america/florida/','',100)
	oCMenu.makeMenu('sub15','top1','&nbsp;Canada','http://www.bigfoto.com/america/canada/','',100)
	oCMenu.makeMenu('sub16','top1','&nbsp;Eskimos','http://www.bigfoto.com/america/eskimos/','',100)
	oCMenu.makeMenu('sub17','top1','&nbsp;Rio de Janeiro','http://www.bigfoto.com/america/rio-de-janeiro/','',100)

oCMenu.makeMenu('top2','','&nbsp;Asia','http://www.bigfoto.com/asia/','',100)
	oCMenu.makeMenu('sub20','top2','&nbsp;Japan','http://www.bigfoto.com/asia/japan/','',100)
	oCMenu.makeMenu('sub21','top2','&nbsp;Vietnam','http://www.bigfoto.com/asia/vietnam/','',100)
	oCMenu.makeMenu('sub22','top2','&nbsp;Laos','http://www.bigfoto.com/asia/laos/','',100)
	oCMenu.makeMenu('sub23','top2','&nbsp;Bangkok','http://www.bigfoto.com/asia/bangkok/','',100)
	oCMenu.makeMenu('sub24','top2','&nbsp;Singapore','http://www.bigfoto.com/asia/singapore/','',100)
	oCMenu.makeMenu('sub25','top2','&nbsp;Bali','http://www.bigfoto.com/asia/bali/','',100)
	oCMenu.makeMenu('sub26','top2','&nbsp;Beijing','http://www.bigfoto.com/asia/beijing/','',100)
	oCMenu.makeMenu('sub27','top2','&nbsp;Malaysia','http://www.bigfoto.com/asia/malaysia/','',100)
	oCMenu.makeMenu('sub28','top2','&nbsp;Israel','http://www.bigfoto.com/asia/israel/','',100)
	oCMenu.makeMenu('sub29','top2','&nbsp;Hong Kong','http://www.bigfoto.com/asia/hongkong/','',100)
	oCMenu.makeMenu('sub210','top2','&nbsp;Seoul','http://www.bigfoto.com/asia/seoul/','',100)
	oCMenu.makeMenu('sub211','top2','&nbsp;Uzbekistan','http://www.bigfoto.com/asia/uzbekistan/','',100)
	oCMenu.makeMenu('sub212','top2','&nbsp;Turkey','http://www.bigfoto.com/asia/turkey/','',100)


oCMenu.makeMenu('top3','','&nbsp;Europe','http://www.bigfoto.com/europe/','',100)
	oCMenu.makeMenu('sub30','top3','&nbsp;Germany...','','',100)
		oCMenu.makeMenu('subsub30','sub30','&nbsp;Berlin','http://www.bigfoto.com/europe/germany/berlin/','',130)
		oCMenu.makeMenu('subsub31','sub30','&nbsp;Munich','http://www.bigfoto.com/europe/germany/munich/','',130)
		oCMenu.makeMenu('subsub32','sub30','&nbsp;Bonn','http://www.bigfoto.com/europe/germany/bonn/','',130)
		oCMenu.makeMenu('subsub33','sub30','&nbsp;Neuschwanstein','http://www.bigfoto.com/europe/germany/neuswan/','',130)
		
	oCMenu.makeMenu('sub31','top3','&nbsp;Switzerland','http://www.bigfoto.com/europe/switzerland/','',100)
	oCMenu.makeMenu('sub32','top3','&nbsp;Austria...','','',100)
		oCMenu.makeMenu('subsub35','sub32','&nbsp;Vienna','http://www.bigfoto.com/europe/austria/vienna/','',130)
		oCMenu.makeMenu('subsub36','sub32','&nbsp;Salzburg','http://www.bigfoto.com/europe/austria/salzburg/','',130)
		oCMenu.makeMenu('subsub37','sub32','&nbsp;Graz','http://www.bigfoto.com/europe/austria/graz/','',130)
	oCMenu.makeMenu('sub33','top3','&nbsp;Italy...','','',100)
		oCMenu.makeMenu('subsub38','sub33','&nbsp;Rome','http://www.bigfoto.com/europe/italy/rome/','',130)
		oCMenu.makeMenu('subsub39','sub33','&nbsp;Venice','http://www.bigfoto.com/europe/italy/venice/','',130)
		oCMenu.makeMenu('subsub40','sub33','&nbsp;other','http://www.bigfoto.com/europe/italy/other/','',130)

	oCMenu.makeMenu('sub34','top3','&nbsp;Croatia','http://www.bigfoto.com/europe/croatia/','',100)
	oCMenu.makeMenu('sub35','top3','&nbsp;London','http://www.bigfoto.com/europe/london/','',100)
	oCMenu.makeMenu('sub36','top3','&nbsp;Paris','http://www.bigfoto.com/europe/paris/','',100)
	oCMenu.makeMenu('sub37','top3','&nbsp;Netherlands...','','',100)
		oCMenu.makeMenu('subsub41','sub37','&nbsp;Amsterdam','http://www.bigfoto.com/europe/netherlands/amsterdam/','',130)
		oCMenu.makeMenu('subsub42','sub37','&nbsp;Rotterdam','http://www.bigfoto.com/europe/netherlands/rotterdam/','',130)
		oCMenu.makeMenu('subsub43','sub37','&nbsp;Den Haag','http://www.bigfoto.com/europe/netherlands/denhaag/','',130)
		oCMenu.makeMenu('subsub44','sub37','&nbsp;other','http://www.bigfoto.com/europe/netherlands/other/','',130)
	oCMenu.makeMenu('sub38','top3','&nbsp;Lanzarote','http://www.bigfoto.com/europe/lanzarote/','',100)
	oCMenu.makeMenu('sub39','top3','&nbsp;Prague','http://www.bigfoto.com/europe/prague/','',100)
	oCMenu.makeMenu('sub310','top3','&nbsp;Copenhagen','http://www.bigfoto.com/europe/copenhagen/','',100)
	oCMenu.makeMenu('sub311','top3','&nbsp;Lisbon','http://www.bigfoto.com/europe/lisbon/','',100)

oCMenu.makeMenu('top4','','&nbsp;Africa','http://www.bigfoto.com/africa/','',100)
	oCMenu.makeMenu('sub40','top4','&nbsp;South Africa','http://www.bigfoto.com/africa/south-africa/','',100)
	oCMenu.makeMenu('sub41','top4','&nbsp;Egypt','http://www.bigfoto.com/africa/egypt/','',100)
	oCMenu.makeMenu('sub42','top4','&nbsp;Mauritius','http://www.bigfoto.com/africa/mauritius/','',100)
	oCMenu.makeMenu('sub43','top4','&nbsp;Ghana','http://www.bigfoto.com/africa/ghana/','',100)
	oCMenu.makeMenu('sub44','top4','&nbsp;Tunisia','http://www.bigfoto.com/africa/tunisia/','',100)

oCMenu.makeMenu('top5','','&nbsp;Pacific','http://www.bigfoto.com/pacific/','',100)
	oCMenu.makeMenu('sub50','top5','&nbsp;Australia','http://www.bigfoto.com/pacific/australia/','',100)
	oCMenu.makeMenu('sub51','top5','&nbsp;New Zealand','http://www.bigfoto.com/pacific/new-zealand/','',100)

oCMenu.makeMenu('top6','','&nbsp;Themes','http://www.bigfoto.com/themes/','',100)
	oCMenu.makeMenu('sub60','top6','&nbsp;Human...','','',100)
		oCMenu.makeMenu('subsub60','sub60','&nbsp;Hands','http://www.bigfoto.com/themes/human/hands/','',100)

		oCMenu.makeMenu('subsub61','sub60','&nbsp;Sport','http://www.bigfoto.com/themes/human/sport/','',100)
		oCMenu.makeMenu('subsub62','sub60','&nbsp;Carnival','http://www.bigfoto.com/themes/human/carnival/','',100)
		

	oCMenu.makeMenu('sub61','top6','&nbsp;Nature...','','',100)
		oCMenu.makeMenu('subsub66','sub61','&nbsp;Animals','http://www.bigfoto.com/themes/nature/animals/','',100)
		oCMenu.makeMenu('subsub67','sub61','&nbsp;Flowers','http://www.bigfoto.com/themes/nature/flowers/','',100)
		oCMenu.makeMenu('subsub68','sub61','&nbsp;Landscapes','http://www.bigfoto.com/themes/nature/landscapes/','',100)
		oCMenu.makeMenu('subsub69','sub61','&nbsp;Sky','http://www.bigfoto.com/themes/nature/sky/','',100)
		oCMenu.makeMenu('subsub70','sub61','&nbsp;Winter','http://www.bigfoto.com/themes/nature/winter/','',100)
		oCMenu.makeMenu('subsub71','sub61','&nbsp;Underwater','http://www.bigfoto.com/themes/nature/underwater/','',100)
		oCMenu.makeMenu('subsub72','sub61','&nbsp;Forest','http://www.bigfoto.com/themes/nature/forest/','',100)
		oCMenu.makeMenu('subsub73','sub61','&nbsp;Geology','http://www.bigfoto.com/themes/nature/geology/','',100)

	oCMenu.makeMenu('sub62','top6','&nbsp;Background','http://www.bigfoto.com/themes/background/','',100)
	oCMenu.makeMenu('sub63','top6','&nbsp;Aviation','http://www.bigfoto.com/themes/aviation/','',100)
	oCMenu.makeMenu('sub64','top6','&nbsp;Closeup','http://www.bigfoto.com/themes/closeup/','',100)
	oCMenu.makeMenu('sub65','top6','&nbsp;Fountains','http://www.bigfoto.com/themes/fountains/','',100)
	oCMenu.makeMenu('sub66','top6','&nbsp;Sculptures','http://www.bigfoto.com/themes/sculptures/','',100)

	oCMenu.makeMenu('sub67','top6','&nbsp;Fireworks','http://www.bigfoto.com/themes/fireworks/','',100)
	oCMenu.makeMenu('sub68','top6','&nbsp;Amusement','http://www.bigfoto.com/themes/amusement-park/','',100)
	oCMenu.makeMenu('sub69','top6','&nbsp;Christmas','http://www.bigfoto.com/themes/christmas/','',100)
	oCMenu.makeMenu('sub610','top6','&nbsp;Architecture','http://www.bigfoto.com/themes/architecture/','',100)
	oCMenu.makeMenu('sub611','top6','&nbsp;Food','http://www.bigfoto.com/themes/food/','',100)
	oCMenu.makeMenu('sub612','top6','&nbsp;Railway','http://www.bigfoto.com/themes/railway/','',100)
	oCMenu.makeMenu('sub613','top6','&nbsp;Ships','http://www.bigfoto.com/themes/ships/','',100)


oCMenu.makeMenu('top7','','&nbsp;Miscellaneous','http://www.bigfoto.com/miscellaneous/','',100)
	oCMenu.makeMenu('sub70','top7','&nbsp;Photos 1','http://www.bigfoto.com/miscellaneous/photos-01/','',100)
	oCMenu.makeMenu('sub71','top7','&nbsp;Photos 2','http://www.bigfoto.com/miscellaneous/photos-02/','',100)
	oCMenu.makeMenu('sub72','top7','&nbsp;Photos 3','http://www.bigfoto.com/miscellaneous/photos-03/','',100)
	oCMenu.makeMenu('sub73','top7','&nbsp;Photos 4','http://www.bigfoto.com/miscellaneous/photos-04/','',100)
	oCMenu.makeMenu('sub74','top7','&nbsp;Photos 5','http://www.bigfoto.com/miscellaneous/photos-05/','',100)
	oCMenu.makeMenu('sub75','top7','&nbsp;Photos 6','http://www.bigfoto.com/miscellaneous/photos-06/','',100)
	oCMenu.makeMenu('sub76','top7','&nbsp;Photos 7','http://www.bigfoto.com/miscellaneous/photos-07/','',100)
	oCMenu.makeMenu('sub77','top7','&nbsp;Photos 8','http://www.bigfoto.com/miscellaneous/photos-08/','',100)
	oCMenu.makeMenu('sub78','top7','&nbsp;Photos 9','http://www.bigfoto.com/miscellaneous/photos-09/','',100)
	oCMenu.makeMenu('sub79','top7','&nbsp;Photos 10','http://www.bigfoto.com/miscellaneous/photos-10/','',100)
	oCMenu.makeMenu('sub710','top7','&nbsp;Photos 11','http://www.bigfoto.com/miscellaneous/photos-11/','',100)
	oCMenu.makeMenu('sub711','top7','&nbsp;Photos 12','http://www.bigfoto.com/miscellaneous/photos-12/','',100)
	oCMenu.makeMenu('sub712','top7','&nbsp;Photos 13','http://www.bigfoto.com/miscellaneous/photos-13/','',100)
	oCMenu.makeMenu('sub713','top7','&nbsp;Photos 14','http://www.bigfoto.com/miscellaneous/photos-14/','',100)
	oCMenu.makeMenu('sub714','top7','&nbsp;Photos 15','http://www.bigfoto.com/miscellaneous/photos-15/','',100)
	oCMenu.makeMenu('sub715','top7','&nbsp;Photos 16','http://www.bigfoto.com/miscellaneous/photos-16/','',100)



//Leave this line - it constructs the menu
oCMenu.construct()

