
function KeyLargoInit(){

	var $LargoHeaderLinks = $('div#KeyLargo ul.v1:first');
	
	$LargoHeaderLinks
		.children()
		.before("<div class='v1_Divider'><img src='http://www.lpsvcs.com/Style%20Library/KeyLargo/Images/GlobalNavMainDivider.png'></div>")
		;
	$LargoHeaderLinks
		.children('li:last')
		.after("<div class='v1_Divider'><img src='http://www.lpsvcs.com/Style%20Library/KeyLargo/Images/GlobalNavMainDivider.png'></div>")
		;

	/*
	$('div#KeyLargo li.keyActive:first')
		.addClass("v1_keyActive")
		;
	*/

	//!!cdm 0318 This process looks for a Product Page
	//           If not identified, it removes Southern Key Largo's shoreline (extra white space)
	var $ProductPage = 
				$LargoHeaderLinks
					.children('li.keyActive:first')
					;



	if($ProductPage.size() == 0){
		//v1_keyActive is only present on v1_items when a Product page is active
		//This is not a Product Page
		//Change margin to remove white space
		if($.browser.version.slice(0,1) == "7"){
			if($.browser.msie){
				//IE7
				$('div#GlobalNavSegment')
					.css("height","65px")
					;
				$('div#BreadCrumbFrame')
					.css("margin-top","0px")
					;
				}
			else{
				//IE Other Versions
				$('div#GlobalNavSegment')
					.css("height","60px")
					;
				$('div#BreadCrumbFrame')
					.css("margin-top","-10px")
					;

				}//^^browser.msie
			}//^^browser.version

		else{
			//All other browsers
			$('div#GlobalNavSegment')
				.css("height","60px")
				;
			$('div#BreadCrumbFrame')
				.css("margin-top","-10px")
				;
			}
		}
	else{
		//This is a Product Page
		$ProductPage
			.addClass("v1_keyActive")
			;
		}



  $('div#KeyLargo ul.sf-menu')
  	.superfish({
	    pathClass:   'keyActive',
	    pathLevels:  1,
	    delay:       450,
	    animation:   {opacity:'show',height:'show'},
	    speed:       'fast',
	    autoArrows:  false,
	    dropShadows: false
		  })
		 ;


	var zIndexNumber;
	zIndexNumber = 2000;
	$('div#KeyLargo li')
		.each(function(){
			$(this).css('zIndex', zIndexNumber);
			zIndexNumber -= 10;
			})
		;


	}// ^^KeyLargoInit






