// 	Simple color toggle
  //Side menu buttons
	function highlight(inelement) {
		inelement.style.backgroundColor="#E8FFFF";
	}
	
	function unhighlight(inelement) {
		inelement.style.backgroundColor="#F0F0F0";
	}
  //Unused
	function highlight2(inelement) {
		inelement.style.backgroundColor="#FFFFFF";
	}
	
	function unhighlight2(inelement) {
		inelement.style.backgroundColor="#E8FFFF";
	}
// -------------------------------------------------------------------->


// --------------------    Pop Up Script   ---------------------------->
// Commercial Sites, please see http://www.crays.com/jsc/jsCom.htm
// Script is available at http://www.crays.com/jsc
	var popWin = null;    // use this when referring to pop-up window
	var winCount = 0;
	var winName = "popWin";
	function openPopWin(winURL, winWidth, winHeight, winFeatures, winLeft, winTop) {
		var d_winLeft = 20;  // default, pixels from screen left to window left
		var d_winTop = 20;   // default, pixels from screen top to window top
		winName = "popWin" + winCount++; //unique name for each pop-up window
		closePopWin();           // close any previously opened pop-up window
		if (openPopWin.arguments.length >= 4)  // any additional features? 
			winFeatures = "," + winFeatures;
		else
			winFeatures = "";
		if (openPopWin.arguments.length == 6)  // location specified
			winFeatures += getLocation(winWidth, winHeight, winLeft, winTop);
		else
			winFeatures += getLocation(winWidth, winHeight, d_winLeft, d_winTop);
			
		popWin = window.open(winURL, winName, "width=" + winWidth + ",height=" + winHeight + winFeatures);
	}
	function closePopWin() {    // close pop-up window if it is open
		if (navigator.appName != "Microsoft Internet Explorer" || parseInt(navigator.appVersion) >=4) //do not close if early IE
			if(popWin != null)
				if(!popWin.closed)
					popWin.close();
	}
	function getLocation(winWidth, winHeight, winLeft, winTop) {
		return "";
	}
// -------------------------------------------------------------------->
/*
	Employee Image popup function
*/
function OpenOurWindow(link) {
	Our_Window = window.open(link,"Pictures", "width=350,height=350,scrollbars=yes");
	Our_Window.focus();
}
// --------------------------------------------------------------->
	function LeavingLaSalle(linked) {
		if (confirm('You are about to be re-directed to a web site that is not hosted by LaSalle St. Securities, LLC.  LaSalle St. does not intend links to other Internet Web sites be referrals to, endorsements of, or affiliations with the linked entries.  Would you like to continue?')) {
			open(linked,'_blank');
		}
		else {
			alert('Your request has been canceled.');
		}
	}
	
	//Insurance Links
	var quotes = "http://lasalle.ashbrokerage.com/quotes/index.phtml";
	var forms = "http://lasalle.ashbrokerage.com/ashforms/main.php3";
	
	//Google Tracking Code
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

	//var pageTracker = _gat._getTracker("UA-5573235-1");
	var pageTracker;
	setTimeout('startGA();', 500);

	function startGA() {
		pageTracker = _gat._getTracker("UA-5573235-1");
		pageTracker._initData();
		pageTracker._trackPageview();
	}
	//pageTracker._trackPageview();
