/***************************************************************\
 * NAVBAR DEFAULT STYLES
\***************************************************************/
//styles which apply to the navbar
um.navbar = [
 "-6",  // nav -> menu x-offset (+-)["n" pixels]
 "3",  // nav -> menu y-offset (+-)["n" pixels]
 "7.5em", // width ["em"|"ex"|"px"] (vertical navbar only - horizontal navbar items have "auto" width) ("%" doesn't work right) 
 ];
//styles which apply to each navbar item
um.items = [
 "1",  // margin between items ["n" pixels]
 "1",  // border size ["n" pixels] (single value only)
 "collapse", // border collapse ["collapse"|"separate"] (only applies when margin = "0")
 " ",// border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 " ", // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 " ",// hover/focus border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 " ", // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 " ",// visited border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 " ",// visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "3",  // left/right padding ["n" pixels] (single value only)
 "3",  // top/bottom padding ["n" pixels] (single value only)
 " ",  // background ["color"|"#hex"|"rgb()"|"image.gif"]
 " ",  // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
 " ",  // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
 "1em",  // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
 "Arial, Verdana, sans-serif, Helvetica ",// font family ["font1,font2,font3"] (always end with a generic family name)
 "bold",  // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
 "none",  // text decoration ["none"|"underline"|"overline"|"line-through"]
 "left",  // text-align ["left"|"right"|"center"]
 "#FFFFFF", // color ["color"|"#hex"|"rgb()"]
 "#cccccc", // hover/focus color ["color"|"#hex"|"rgb()"]
 "#FFFFFF", // visited color ["color"|"#hex"|"rgb()"]
 "normal", // font-style ["normal"|"italic"|"oblique"]
 "normal", // hover/focus font-style ["normal"|"italic"|"oblique"]
 "normal", // visited font-style ["normal"|"italic"|"oblique"]
 "letter-spacing:0px;",// additional link CSS (careful!)
 "",  // additional hover/focus CSS (careful!)
 "",  // additional visited CSS (careful!)
 "none",// menu indicator character/image ["text"|"image.gif"|"none"] 
 "none",// menu indicator rollover character/image ["text"|"image.gif"|"none"] (must be same type)
 "7",  // clipping width of indicator image ["n" pixels] (only when using image arrows)
 "..",  // alt text of indicator image ["text"] (only when using image arrows)
 ];
 
 //navbar orientation
um.orientation = [
	'horizontal', // alignment ["vertical"|"horizontal"|"popup"|"expanding"]
	'left',     // h align ["left"|"right"|"rtl"]
	'top',      // v align ["top"|"bottom"]
	'relative', // positioning ["relative"|"absolute"|"fixed"|"allfixed"]
	'0',    // x position ["em"|"ex"|"px"|"0"]
	'0',    // y position ["em"|"ex"|"px"|"0"]
	'100',     // z order ["0" to "10000"]
	];
/***************************************************************\
 * MENU DEFAULT STYLES
\***************************************************************/
//styles which apply to each menu
um.menus = [
 "0",  // menu -> menu x-offset (+-)["n" pixels]
 "0",  // menu -> menu y-offset (+-)["n" pixels]
 "2",  // border size ["n" pixels] (single value only) 
 "#FFFFFF #FFFFFF #FFFFFF #FFFFFF",// border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "", // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "115px", // width ["em"|"ex"|"px"]
 "2",  // padding ["n" pixels] (single value only) 
 "#333333", // background ["color"|"#hex"|"rgb()"|"image.gif"]
 "",  // additional menu CSS (careful!) (you can use a transition here but *not* a static filter)
 "none",// shadow background ["color"|"#hex"|"rgb()"|"image.gif"|"none"]
 "2px",  // shadow offset (+-) ["em"|"px"|"pt"|"%"|"0"]
 "filter:progid:DXImageTransform.Microsoft.Shadow(color=#bbddbb,direction=135,strength=2);",// additional shadow layer CSS (if you use a Microsoft.Shadow filter here then Win/IE5.5+ will do that *instead* of default shadow)
 ];
//styles which apply to each menu item
um.menuItems = [
 "1",  // margin around items ["n" pixels] (single value only; margins are like table cellspacing)
 "0",  // border size ["n" pixels] (single value only)
 "", // border collapse ["collapse"|"separate"] (only applies when margin = "0")
 "#000000", // border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "solid", // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "#aca",  // hover/focus border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "solid", // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "#FFFCC9", // visited border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "solid", // visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "5",  // left/right padding ["n" pixels] (single value only) 
 "2",  // top/bottom padding ["n" pixels] (single value only) 
 "#333333", // background ["color"|"#hex"|"rgb()"|"image.gif"]
 "#CCCCCC", // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
 "#333333", // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
 "10px",  // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
 "Verdana, Arial, Helvetica, sans-serif",// font family ["font1,font2,font3"] (always end with a generic family name)
 "normal", // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
 "none",  // text decoration ["none"|"underline"|"overline"|"line-through"]
 "left",  // text-align ["left"|"right"|"center"]
 "#FFFFFF",  // color ["color"|"#hex"|"rgb()"]
 "#000000",  // hover/focus color ["color"|"#hex"|"rgb()"]
 "#FFFFFFS",  // visited color ["color"|"#hex"|"rgb()"]
 "normal", // font-style ["normal"|"italic"|"oblique"]
 "normal", // hover/focus font-style ["normal"|"italic"|"oblique"]
 "normal", // visited font-style ["normal"|"italic"|"oblique"]
 "",  // additional link CSS (careful!)
 "",  // additional hover/focus CSS (careful!)
 "",  // additional visited CSS (careful!)
 "white_arrow.gif",// submenu indicator character/image ["text"|"image.gif"|"none"] 
 "black_arrow.gif",// submenu indicator rollover character/image ["text"|"image.gif"|"none"] (must be the same type)
 "5",  // clipping width of indicator image ["n" pixels] (only when using image arrows)
 "..",  // alt text of indicator image ["text"] (only when using image arrows)
 ];
/***************************************************************\
 * MENU CLASSES [comment out or remove if not using]
\***************************************************************/
//classes which apply to menus [optional]
um.menuClasses["orangeMenu"] = [
 "#FFFFFF #FFFFFF #FFFFFF #FFFFFF",// border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "", // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "7em",  // width ["em"|"ex"|"px"]
 "fiesta/top_background.jpg",  // background ["color"|"#hex"|"rgb()"|"image.gif"]
 "",  // additional menu CSS (careful!) (you can use a transition here but *not* a static filter)
 "",// shadow background ["color"|"#hex"|"rgb()"|"image.gif"|"none"] 
 "2px",  // shadow offset (+-) ["em"|"px"|"pt"|"%"|"0"]
 "filter:progid:DXImageTransform.Microsoft.Shadow(color=#ddbbaa,direction=135,strength=2);", // additional shadow layer CSS (if you use a Microsoft.Shadow filter here then Win/IE5.5+ will do that *instead* of default shadow)
 ];
//classes which apply to menu items [optional]
um.itemClasses["orangeMenuItem"] = [
 "#FFFFFF",  // border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "solid", // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "#edbb85", // hover/focus border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "solid", // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "#fec",  // visited border colors ["color"|"#hex"|"rgb()"] (single, double or four values)
 "solid", // visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
 "#C45E2D", // background ["color"|"#hex"|"rgb()"|"image.gif"]
 "#FFFCC9", // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
 "#C45E2D", // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
 "10px",  // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
 "Verdana, Arial, Helvetica, sans-serif",// font family ["font1,font2,font3"] (always end with a generic family name)
 "normal", // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
 "none",  // text decoration ["none"|"underline"|"overline"|"line-through"]
 "left",  // text-align ["left"|"right"|"center"]
 "#FFFFFF",  // color ["color"|"#hex"|"rgb()"]
 "#000000",  // hover/focus color ["color"|"#hex"|"rgb()"]
 "#FFFCC9",  // visited color ["color"|"#hex"|"rgb()"]
 "normal", // font-style ["normal"|"italic"|"oblique"]
 "normal", // hover/focus font-style ["normal"|"italic"|"oblique"]
 "normal", // visited font-style ["normal"|"italic"|"oblique"]
 "",  // additional link CSS (careful!)
 "",  // additional hover/focus CSS (careful!)
 "",  // additional visited CSS (careful!)
 "white_arrow.gif",// submenu indicator character/image ["text"|"image.gif"|"none"] 
 "black_arrow.gif",// submenu indicator rollover character/image ["text"|"image.gif"|"none"] (must be the same type)
 "..",  // alt text of indicator image  ["text"] (only when using image arrow)
 ];
/***************************************************************\
 * DYNAMIC MENUS
\***************************************************************/
/***************************************************************\
\***************************************************************/

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
