stm_bm(["menu43cf",700,"images/","blank.gif",0,"","",0,0,0,0,1000,1,0,0,"","100%",0,0,1,1,"default","hand","js/"],this);
stm_bp("p0",[0,4,0,0,0,0,0,0,100,"",-2,"",-2,90,0,0,"#000000","#73A8B7","",3,0,0,"#FFFFFF"]);
stm_ai("p0i0",[2,"","nav_home.jpg","nav_home2.gif",103,41,0,"index.jsp","_self","","Home","","",0,0,0,"","",0,0,0,0,1,"#73A8B7",0,"#B3CCD3",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#000000","8pt Arial","8pt Arial",0,0],103,41);
stm_bpx("p1","p0",[1,4]);
stm_aix("p1i0","p0i0",[2,"","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#22607d",0,"#22607d",0,"","",3,3,0,0,"#21A5C9","#CCCCCC","#FFFFFF","#000000","7pt 'Arial','Verdana'","7pt 'Arial','Verdana'"],155,10);
stm_aix("p1i1","p1i0",[1,"INNER HARBOR<BR>SIGHTSEEING TOURS","","",-1,-1,0,"sightseeing/index.jsp","_self","","Inner Harbor Sightseeing Tours","","",0,0,0,"","",0,0,0,1,1,"#21A5C9",0,"#6fcce5"],155,30);
stm_ai("p1i2",[6,1,"#CCCCCC","",-1,-1,0]);
stm_aix("p1i4","p1i2",[]);
stm_aix("p1i5","p1i0",[],155,6);
stm_ep();
stm_aix("p0i1","p0i0",[2,"","nav_group.jpg","nav_group2.gif",139,41,0,"http://www.entertainmentcruises.com/Baltimore/Spirit/home","_new","","Group Website"],139,41);
stm_aix("p0i2","p0i0",[2,"","nav_price.jpg","nav_price2.gif",125,41,0,"pricing.jsp","_self","","Pricing and Schedules"],0,41);
stm_aix("p0i3","p0i0",[2,"","nav_aboard.jpg","nav_aboard2.gif",113,41,0,"","_self","","Welcome Aboard","","",0,0,0,"","",0,0,0,0,1,"#21A5C9",0,"#3bb6d7"],113,41);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[],120,10);
stm_aix("p2i1","p1i0",[0,"TOUR THE SHIP","","",-1,-1,0,"tour_ship.jsp","_self","","Tour the Ship","","",0,0,0,"","",0,0,0,1,1,"#21A5C9",0,"#6fcce5",0,"","",3,3,0,0,"#21A5C9","#CCCCCC","#FFFFFF","#006666"],120,30);
stm_aix("p2i2","p1i2",[]);
stm_aix("p2i3","p2i1",[0,"PHOTO GALLERY","","",-1,-1,0,"virtual_tour/photo_index.jsp","_blank","","Photo Gallery"],120,30);
stm_aix("p2i4","p1i2",[]);
stm_aix("p2i5","p2i1",[0,"CRUISE ROUTE","","",-1,-1,0,"cruise_route.jsp","_self","","Cruise Route"],120,30);
stm_aix("p2i6","p1i2",[]);
stm_aix("p2i7","p2i1",[0,"DIRECTIONS & PARKING","","",-1,-1,0,"directions.jsp","_self","","Directions & Parking"],120,30);
stm_aix("p2i8","p1i2",[]);
stm_aix("p2i9","p2i1",[0,"SPECIAL OCCASIONS","","",-1,-1,0,"special_occasions.jsp","_self","","Special Occasions"],120,30);
stm_aix("p2i10","p1i2",[]);
stm_aix("p2i11","p2i1",[0,"THINGS TO DO IN <BR> BALTIMORE","","",-1,-1,0,"thingstodo_baltimore.jsp","_self","","Things to do in Baltimore"],120,30);
stm_aix("p2i12","p1i2",[]);
stm_aix("p2i13","p2i1",[0,"ENTERTAINMENT<BR>CRUISES BLOG","","",-1,-1,0,"http://www.entertainmentcruises.com/blog/","_new","","Entertainment Cruises Blog"],120,30);
stm_aix("p2i14","p1i2",[]);
stm_aix("p2i15","p1i0",[],120,6);
stm_ep();
stm_aix("p0i4","p0i0",[2,"","nav_dining.jpg","nav_dining2.gif",155,41,0,"","_self","","Dining & Entertainment"],0,41);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p1i0",[],155,10);
stm_aix("p4i1","p2i1",[0,"LUNCH CRUISE","","",-1,-1,0,"lunch.jsp","_self","","Lunch Menu"],155,30);
stm_aix("p4i2","p1i2",[]);
stm_aix("p4i3","p2i1",[0,"DINNER CRUISE","","",-1,-1,0,"dinner.jsp","_self","","Dinner Menu"],155,30);
stm_aix("p4i4","p1i2",[]);
stm_aix("p4i5","p2i1",[0,"MOONLIGHT CRUISE","","",-1,-1,0,"moonlight.jsp","_self","","Moonlight"],155,30);
stm_aix("p4i6","p1i2",[]);
stm_aix("p4i7","p2i1",[0,"ENTERTAINMENT","","",-1,-1,0,"entertainment.jsp","_self","","Entertainment"],155,30);
stm_aix("p4i8","p1i2",[]);
stm_aix("p4i9","p2i1",[0,"ENHANCEMENT PACKAGES","","",-1,-1,0,"enhancement_packages.jsp","_self","","Enhancement Packages"],155,30);
stm_aix("p4i10","p1i2",[]);
stm_aix("p4i11","p1i0",[],155,6);
stm_ep();
stm_aix("p0i5","p0i0",[2,"","nav_cruise.jpg","nav_cruise2.gif",96,41,0,"","_self","","Special Cruises"],0,41);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p1i0",[],155,10);
stm_aix("p5i1","p2i1",[0,"SPECIALTY CRUISES","","",-1,-1,0,"special_cruises.jsp","_self","","Specialty Cruises"],155,30);
stm_aix("p5i2","p1i2",[]);
stm_aix("p5i3","p2i1",[0,"SPECIAL PROMOTIONS","","",-1,-1,0,"special_promotions.jsp","_self","","Promotions"],155,30);
stm_aix("p5i4","p1i0",[],155,6);
stm_ep();
stm_aix("p0i6","p0i0",[2,"","nav_faq.jpg","nav_faq2.gif",69,41,0,"","_self","","FAQ"],0,41);
stm_bpx("p6","p1",[]);
stm_aix("p6i0","p1i0",[],120,10);
stm_aix("p6i1","p2i1",[0,"CRUISE QUESTIONS","","",-1,-1,0,"faq.jsp","_self","","Cruise Questions"],120,30);
stm_aix("p6i2","p1i2",[]);
stm_aix("p6i3","p2i1",[0,"DIRECTIONS & PARKING","","",-1,-1,0,"directions.jsp","_self","","Directions & Parking"],120,30);
stm_aix("p6i4","p1i2",[]);
stm_aix("p6i5","p2i1",[0,"CONTACT US","","",-1,-1,0,"contact.jsp","_self","","Contact Us"],120,30);
stm_aix("p6i6","p1i2",[]);
stm_aix("p6i7","p2i1",[0,"REQUEST INFO","","",-1,-1,0,"http://www.entertainmentcruises.com/rfp/request_proposal/Baltimore","_blank","","Request Info"],120,30);
stm_aix("p6i8","p1i2",[]);
stm_aix("p6i9","p1i0",[],120,6);
stm_ep();
stm_ep();
stm_em();

//Start ClickTracksCookies
function rand(number) {
	return Math.ceil(Math.random()*number);
}

function SetClickTracksCookies()
{
	// This sets the persistent cookie for unique visitors and tracking latent purchases
	var thisCookie = GetCookie("CLICKTRACKS_PERSISTENT");
        var myValue = thisCookie;
	if( thisCookie == null)
	{
		//Setup the random cookie value
		myValue = new Date();
		var randNum = rand(100);		
		myValue = myValue.toGMTString() + "_" + randNum;

		//Setup the expiry date to expire in 2010
		var expiryDate = new Date();
		var date2010 = "Fri, 31 Dec 2030 23:00:00 EST";
		var dt = Date.parse(date2010);

		expiryDate.setTime(dt);

		SetCookie("CLICKTRACKS_PERSISTENT", myValue, expiryDate, "/", window.location.hostname);
	}     

	// This sets the session cookie for maintaining session integrity
	// Set to 15 minutes by default.  Change var minutes value to adjust session length
	
	var minutes = 15;
	var session = GetCookie("CLICKTRACKS_SESSION");
	var scdt = new Date();
	var sdt = new Date(scdt.getMilliseconds + (minutes * 60 * 1000));

        var sessionVal;
        if(session==null){
           sessionVal=myValue + "=" + scdt.toGMTString() + "_" + rand(100);
        }else{
           sessionVal=session;
        }

        SetCookie("CLICKTRACKS_SESSION", sessionVal, sdt, "/", window.location.hostname);
}


// ---------------------------------------------------------------
    //  Cookie Functions - Second Helping  (21-Jan-96)
    //  Written by:  Bill Dortch, hIdaho Design <BDORTCH@NETW.COM>
    //  The following functions are released to the public domain.
    //
    // "Internal" function to return the decoded value of a cookie
    //
    function getCookieVal (offset) {
      var endstr = document.cookie.indexOf (";", offset);
      if (endstr == -1)
        endstr = document.cookie.length;
      return unescape(document.cookie.substring(offset, endstr));
    }

    //
    //  Function to return the value of the cookie specified by "name".
    //    name - String object containing the cookie name.
    //    returns - String object containing the cookie value, or null if
    //      the cookie does not exist.
    //
    function GetCookie (name) {
      var arg = name + "=";
      var alen = arg.length;
      var clen = document.cookie.length;
      var i = 0;
      while (i < clen) {
        var j = i + alen;
        if (document.cookie.substring(i, j) == arg)
          return getCookieVal (j);
        i = document.cookie.indexOf(" ", i) + 1;
        if (i == 0) break; 
      }
      return null;
    }

    //
    //  Function to create or update a cookie.
    //    name - String object object containing the cookie name.
    //    value - String object containing the cookie value.  May contain
    //      any valid string characters.
    //    [expires] - Date object containing the expiration data of the cookie.  If
    //      omitted or null, expires the cookie at the end of the current session.
    //    [path] - String object indicating the path for which the cookie is valid.
    //      If omitted or null, uses the path of the calling document.
    //    [domain] - String object indicating the domain for which the cookie is
    //      valid.  If omitted or null, uses the domain of the calling document.
    //    [secure] - Boolean (true/false) value indicating whether cookie transmission
    //      requires a secure channel (HTTPS).  
    //
    //  The first two parameters are required.  The others, if supplied, must
    //  be passed in the order listed above.  To omit an unused optional field,
    //  use null as a place holder.  For example, to call SetCookie using name,
    //  value and path, you would code:
    //
    //      SetCookie ("myCookieName", "myCookieValue", null, "/");
    //
    //  Note that trailing omitted parameters do not require a placeholder.
    //
    //  To set a secure cookie for path "/myPath", that expires after the
    //  current session, you might code:
    //
    //      SetCookie (myCookieVar, cookieValueVar, null, "/myPath", null, true);
    //
    function SetCookie (name, value) {
      var argv = SetCookie.arguments;
      var argc = SetCookie.arguments.length;
      var expires = (argc > 2) ? argv[2] : null;
      var path = (argc > 3) ? argv[3] : null;
      var domain = (argc > 4) ? argv[4] : null;
      var secure = (argc > 5) ? argv[5] : false;
      document.cookie = name + "=" + escape (value) +
        ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
        ((path == null) ? "" : ("; path=" + path)) +
        ((domain == null) ? "" : ("; domain=" + domain)) +
        ((secure == true) ? "; secure" : "");
    }

    //  Function to delete a cookie. (Sets expiration date to current date/time)
    //    name - String object containing the cookie name
    //
    function DeleteCookie (name) {
      var exp = new Date();
      exp.setTime (exp.getTime() - 1);  // This cookie is history
      var cval = GetCookie (name);
      document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
    }

//---------------------------------------------------------------------------------------------



//Call the SetClickTracksCookies() function

SetClickTracksCookies();

//End ClickTracksCookies