/*** 
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.
**/

//Setting IE5.5 and IE6 to use dom creation for standard compatability - though you don't really need to
//bw.usedom=bw.ns6||bw.ie6||bw.ie55

var oM=new makeCM("oM")
oM.pxBetween =0
oM.fromTop=73
oM.fromLeft=0
oM.menuPlacement="left"
oM.wait=600
oM.fillImg="images/cm_fill.gif"
oM.zIndex=100 
oM.resizeCheck=1
oM.zIndex=100  


if( typeof(altVals) != "undefined" && altVals == true ){
   oM.fromLeft = getAltX();
	oM.fromTop = getAltY();
}

oM.onlineRoot=""
oM.offlineRoot=""

oM.rows=1

//Background bar properties
//oM.useBar=1
//oM.barWidth="760" 
//oM.barHeight="menu"
//oM.barX=0
//oM.barY="menu"
//oM.barClass="clBar" 
//oM.barBorderX=0
//oM.barBorderY=2
//oM.barBorderClass="clB1"


//Level properties
//Syntax for fast creation (advanced users only)
//oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)

oM.level[0]=new cm_makeLevel()
oM.level[0].fillImg="images/cm_fill.gif"
oM.level[0].width=120
oM.level[0].height=28
oM.level[0].regClass="clT" 
oM.level[0].overClass="clTover"  
oM.level[0].borderX=0
oM.level[0].borderY=0
oM.level[0].borderClass="clB" 
oM.level[0].rows=0
oM.level[0].align="bottom"
oM.level[0].offsetX=0
oM.level[0].offsetY=0
//oM.level[0].arrow="menu_arrow.gif"
//oM.level[0].arrowWidth=2
//oM.level[0].arrowHeight=28


//Level 2 properties
//Syntax for fast creation (advanced users only)
//oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)

oM.level[1]=new cm_makeLevel()
oM.level[1].width=180
oM.level[1].height=20
oM.level[1].regClass="subclT" 
oM.level[1].overClass="subclTover"  
oM.level[1].borderX=0
oM.level[1].borderY=0
oM.level[1].borderClass="clB" 
oM.level[1].rows=0
oM.level[1].align="bottom"
oM.level[1].offsetX=93
oM.level[1].offsetY=-14
oM.level[1].arrow="images/submenu_arrow.gif"
oM.level[1].arrowWidth=8
oM.level[1].arrowHeight=8


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oM.makeMenu('top0','','Home','home.html','',85,'','','','clT','clTover')
	
oM.makeMenu('top1','','About Us','aboutus.html','',90)
/**************
	oM.makeMenu('1sub10','top1','Overview','corpoverview.html','',100,20,'','','','','','','')
	oM.makeMenu('1sub11','top1','News & Events','newsevents.html','',100,20)
	oM.makeMenu('1sub12','top1','Careers','careers.html','',100,20)
**************/
	
oM.makeMenu('top2','','Products','productguide.html','',99)
	oM.makeMenu('2sub10','top2','GigaView','gigaview.html','',130,20)
	oM.makeMenu('2sub11','top2','StreamView','streamView.html','',130,20)
	oM.makeMenu('2sub12','top2','Product Selection Guide','productguide.html','',130,20)
/****
	oM.makeMenu('2sub11','top2','MemView','memview.html','',130,20)
	oM.makeMenu('2sub13','top2','TriggerView','triggerView.html','',130,20)
****/

oM.makeMenu('top3','','Solutions','solutions.html','',99)
	oM.makeMenu('3sub10','top3','Applications','solutions.html','',100,20)
	oM.makeMenu('3sub11','top3','Custom Solutions','customsolutions.html','',100,20)
/*********
	oM.makeMenu('3sub12','top3','Image Gallery','imagegallery.html','',100,20)
*********/

oM.makeMenu('top4','','Support','support.html','',99)
	
/* oM.makeMenu('top5','','Partners','partners.html','',99) */
	
oM.makeMenu('top6','','Contact Us','contactus.html','',99)

oM.makeMenu('top7','','Video Gallery','imagegallery.html','',99)
	oM.makeMenu('7sub10','top7','Propeller Feathering','http://www.southernvisionsystems.com/files/prop_feather.mov','',150,20)
	oM.makeMenu('7sub11','top7','Arrow Flex','http://www.southernvisionsystems.com/files/bow3.mov','',150,20)
	oM.makeMenu('7sub12','top7','Arrow Thru Coke Can','http://www.southernvisionsystems.com/files/Arrow_thru_Coke.mov','',150,20)
	oM.makeMenu('7sub13','top7','Arrow Thru Sierra Mist','http://www.southernvisionsystems.com/files/Arrow_thru_Sierra_Mist.mov','',150,20)
	oM.makeMenu('7sub14','top7','Baseball Foul','http://www.southernvisionsystems.com/files/baseball.mov','',150,20)
	oM.makeMenu('7sub15','top7','BB Thru Lightbulb','http://www.southernvisionsystems.com/files/BB_thru_bulb.mov','',150,20)
	oM.makeMenu('7sub16','top7','Bridge Demolition','http://www.southernvisionsystems.com/files/Clay_Bridge_Demolition.mov','',150,20)
	oM.makeMenu('7sub17','top7','Bulb-Mousetrap','http://www.southernvisionsystems.com/files/bulb_trap.mov','',150,20)
	oM.makeMenu('7sub18','top7','Bulletproof Vest','http://www.southernvisionsystems.com/files/bpv.mov','',150,20)
	oM.makeMenu('7sub19','top7','Burning Match','http://www.southernvisionsystems.com/files/matches.mov','',150,20)
	oM.makeMenu('7sub110','top7','Exploding Fuse','http://www.southernvisionsystems.com/files/exploding_fuse.mov','',150,20)
	oM.makeMenu('7sub111','top7','Exploding Breaker','http://www.southernvisionsystems.com/files/exploding_breaker.mov','',150,20)
	oM.makeMenu('7sub112','top7','Fly on Water Balloon','http://www.southernvisionsystems.com/files/fly_on_balloon.mov','',150,20)
	oM.makeMenu('7sub113','top7','Hummingbird 1','http://www.southernvisionsystems.com/files/humbird.mov','',150,20)
	oM.makeMenu('7sub114','top7','Hummingbird 2','http://www.southernvisionsystems.com/files/humbird2.mov','',150,20)
	oM.makeMenu('7sub115','top7','Golf Ball','http://www.southernvisionsystems.com/files/golf_ball.mov','',150,20)
	oM.makeMenu('7sub116','top7','Golf Shaft Flex','http://www.southernvisionsystems.com/files/golf_shaft_flex.mov','',150,20)
	oM.makeMenu('7sub117','top7','Pistol Shot 1','http://www.southernvisionsystems.com/files/pistol_shot.mov','',150,20)
	oM.makeMenu('7sub118','top7','Pistol Shot 2','http://www.southernvisionsystems.com/files/pistol_2.mov','',150,20)
	oM.makeMenu('7sub119','top7','Popcorn','http://www.southernvisionsystems.com/files/popcorn.mov','',150,20)
	oM.makeMenu('7sub120','top7','Sewing Machine','http://www.southernvisionsystems.com/files/sewing_machine.mov','',150,20)
	oM.makeMenu('7sub121','top7','Potato Shot thru Watermelon','http://www.southernvisionsystems.com/files/watermelon.mov','',150,20)
	oM.makeMenu('7sub122','top7','Deadly Arrow','http://www.southernvisionsystems.com/files/deadly_arrow.mov','',150,20)



oM.construct()


function loopNodes(){
  
}