﻿/* Disclaimers */var emailDisclaimer = "You are about to send an unsecured e-mail. We do not recommend that you send confidential information, such as account numbers, Social Security numbers, or other non-public information through e-mail. We have no control over information sent via e-mail.";var linkDisclaimer = "You are now leaving the Tolleson Wealth Management (TWM) website. TWM does not provide, and is not responsible for, any product, service, or content available at third-party sites, nor does the TWM Privacy Policy apply to such sites.  Please consult the Privacy Policy available on external or linked sites for further information.";function mailConfirm(passedAddress) {	if (confirm(emailDisclaimer)) {		window.location.href = passedAddress;	}}function disclaimer(passedWebsite) {	var oWin;	if (confirm(linkDisclaimer)) {		oWin = window.open(passedWebsite,"newWindow");		if (oWin === null || typeof(oWin) === "undefined") {			window.location.href = passedWebsite;		} else {			return true;		}	}}function getFlashVersion(){// ietry {	try {		// avoid fp6 minor version lookup issues		// see: http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/		var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');		try { axo.AllowScriptAccess = 'always'; }		catch(e) { return '6,0,0'; }	} catch(e) {}	return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g, ',').match(/^,?(.+),?$/)[1];// other browsers} catch(e) {	try {		if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){			return (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1];		}	} catch(e) {}}return '0,0,0';}/* Window Scripts */function popWindow(url) {	window.open(url, "legalPage","status=0,toolbar=0,width=662,height=400,scrollbars=1");}function closeWindow() {	window.close();}/* Home Page Flash Scripts */function getFlashMovieObject(movieName){	if (window.document[movieName]){		return window.document[movieName];	}	if (navigator.appName.indexOf("Microsoft Internet")==-1){		if (document.embeds && document.embeds[movieName])		return document.embeds[movieName];	}	else{ 		return document.getElementById(movieName);	}}	function goHome(href)	{	var flashMovie=getFlashMovieObject("main");	flashMovie.goHome();		elementClick = href;	destination = $(elementClick).offset().top;	$("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, 1100 );}