//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 = get_cookie(MMCookieName);

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

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
"8030C0",					// Off Font Color 000000
"ffffff",					// Off Back Color b3cef7
"ffffff",					// On Font Color  000088
"000000",					// On Back Color  eeeeff
"ffffff",					// Border Color
10,							// Font Size
"normal",					// Font Style 
"normal",					// Font Weight
"Verdana,Tahoma,Helvetica",	// Font
3,							// Padding
"/JavaScript_files/black_right_arrow.gif",				// Sub Menu Image
1,							// 3D Border & Separator
"ffffff",					// 3D High Color 666666
"ffffff"					// 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
288,				// Top
30,				// left
170,					// Width
1,					// 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        ", "index.html",,,1,
     "Our Goal", "goal.html target=pages",,,1,
     "<b>Testimonials</b>", "testimonials.html target=pages",,,1,
     "Planning Your Wedding", "plans.html target=pages",,,1,
     "<b>Packages, Options & Prices</b>", "prices.html target=pages",,,1,
	 "<b>Check Your Date Here</b>", "http://tiffanyphotos.com/cgi/jobtraker/TiffPho/ProcessDoc2.cgi?act=LEAD_REQUEST target=RQST",,,1,
	 "Request Information", "info_request.html target=pages",,,1,
     "<b>Order Your Prints HERE</b>", "/cgi/store1.cgi target=store",,,1,
     "Photo Albums", "albums.html target=pages",,,1,
	 "DVD Creation", "dvd.html target=pages",,,1,
	 "Corporate and Other Photography", "other.html target=pages",,,1,
	 "<b>Recent Weddings & Events</b>", "weddings.html target=pages",,,1,
     "Links to Other Vendors", "links.html target=pages",,,1,
	 "Contact Us by Email", "mailto:contactus@tiffanyphotos.com?subject=WeddingInfo",,,0
]



