//Get cookie routine by Shelley Powers 
function get_cookie(Name) {
  var search = Name + "=";
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search) 
    // if cookie exists
    if (offset != -1) { 
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1) end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}

var MMCookieName = "hi-keys";
var myCookie = "";
//var myCookie = get_cookie(MMCookieName);

timegap=300;
followspeed=0;
followrate=10;
suboffset_top=1;
suboffset_left=1;

effect = "fade(duration=0.3);Shadow(color='#444444', Direction=135, Strength=9)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
	nwin.focus();
}

prop1=[						// prop1 is an array of properties you can have as many property arrays as you need
"e0e0e0",					// Off Font Color 000000
"000000",					// Off Back Color b3cef7
"ff4444",					// On Font Color  000088  gold=E9BA2E,
"000000",					// On Back Color  eeeeff
"000000",					// Border Color
16,							// Font Size
"italic",					// Font Style 
"bold",					// Font Weight
"Verdana,Tahoma,Helvetica",	// Font
1,							// Padding
"/JavaScript_files/black_right_arrow.gif",				// Sub Menu Image
0,							// 3D Border & Separator
"000000",					// 3D High Color 666666
"000000"					// 3D Low Color  999999
//"006699"					// Referer item Font Color (leave this blank to disable)
//"006699"					// Referer item Back Color (leave this blank to disable)
]

menu1=[				// This is the array that contains your menu properties and details
0,				// Top
0,				// left
60,					// Width
0,					// Border Width
"left",			    // Screen Position - here you can use "center;middle;right"
prop1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time
"left",			// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation
,					// Follow Scrolling - Tells the menu item to follow the user down the screen
0, 					// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,					// Position of sub image left:center:right:middle:top:bottom
,					// Show an image on top menu bars indicating a sub menu exists below
,					// Reserved for future use
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
     "Home <br><font size=2>&nbsp;</font><br>", "page1.html",,,5,
     "Galleries", "",,,1,
     "&nbsp; Weddings", "gallery1.html",,,1,
     "&nbsp; Engagements", "engagement.htm",,,1,
     "&nbsp; Portraiture", "portrait.html",,,1,
     "&nbsp; Maternity", "maternity.html",,,1,
     "&nbsp; Infants", "infants.html",,,1,
     "&nbsp; Children<br><font size=2>&nbsp;</font><br>", "children.html",,,1,
     "Raves <br><font size=2>&nbsp;</font><br>", "testimonials.html",,,1,
     "Pricing <br><font size=2>&nbsp;</font><br>", "prices.html",,,1,
	 "About Me <br><font size=2>&nbsp;</font><br>", "faq.html",,,1,
     "Albums <br><font size=2>&nbsp;</font><br>", "http://www.printroom.com/pro/cocostudios/ target=pages",,,1,
     "Preview Album<br><font size=2>&nbsp;</font><br>", "page2.html",,,1,
	 "Contact Us <br><font size=2>&nbsp;</font><br>", "mailto:cocostudios@cox.net?subject=WeddingInfo",,,0
]


