// BEGIN: LEXICO DETECTION AND DISPLAY =====================================================================LEXICOFlashObject = function(swf, id, w, h, defaultImage, ver, imageMap, c) {	isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;		this.swf = swf;	this.id = id;	this.width = w;	this.height = h;	this.imageMap = imageMap;	this.version = ver || 6; // default to 6	if (isIE6) this.align = "middle"; // default to top	else this.align = "texttop";	this.codebase = this.version +",0,0,0"; // fix cab download	this.redirect = "";	this.sq = document.location.search.split("?")[1] || "";	this.defaultImage = defaultImage;	this.altTxt = "Please <a href='http://www.macromedia.com/go/getflashplayer'>upgrade your Flash Player</a>.";	this.bypassTxt = "";	this.params = new Object();	this.variables = new Object();	if (c) this.color = this.addParam('bgcolor', c);	this.addParam('quality', 'high'); // default to high	this.doDetect = getQueryParamValue('detectflash');}LEXICOFlashObject.prototype.addParam = function(name, value) {	this.params[name] = value;}LEXICOFlashObject.prototype.getParams = function() {    return this.params;}LEXICOFlashObject.prototype.getParam = function(name) {    return this.params[name];}LEXICOFlashObject.prototype.addVariable = function(name, value) {	this.variables[name] = value;}LEXICOFlashObject.prototype.getVariable = function(name) {    return this.variables[name];}LEXICOFlashObject.prototype.getVariables = function() {    return this.variables;}LEXICOFlashObject.prototype.getParamTags = function() {    var paramTags = "";    for (var param in this.getParams()) {        paramTags += '<param name="' + param + '" value="' + this.getParam(param) + '" />';    }    if (paramTags == "") {        paramTags = null;    }    return paramTags;}LEXICOFlashObject.prototype.getHTML = function() {    var flashHTML = "";    if (window.ActiveXObject && navigator.userAgent.indexOf('Mac') == -1) { // PC IE        flashHTML += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+ this.codebase +'" width="' + this.width + '" height="' + this.height + '" id="' + this.id + '" align="' + this.align + '">';        flashHTML += '<param name="movie" value="' + this.swf + '" />';        if (this.getParamTags() != null) {            flashHTML += this.getParamTags();        }        if (this.getVariablePairs() != null) {            flashHTML += '<param name="flashVars" value="' + this.getVariablePairs() + '" />';        }        flashHTML += '</object>';    }    else { // Everyone else        flashHTML += '<embed type="application/x-shockwave-flash" src="' + this.swf + '" width="' + this.width + '" height="' + this.height + '" id="' + this.id + '" align="' + this.align + '"';        for (var param in this.getParams()) {            flashHTML += ' ' + param + '="' + this.getParam(param) + '"';        }        if (this.getVariablePairs() != null) {            flashHTML += ' flashVars="' + this.getVariablePairs() + '"';        }        flashHTML += '></embed>';    }    return flashHTML;	}LEXICOFlashObject.prototype.getVariablePairs = function() {    var variablePairs = new Array();    for (var name in this.getVariables()) {        variablePairs.push(name + "=" + escape(this.getVariable(name)));    }    if (variablePairs.length > 0) {        return variablePairs.join("&");    }    else {        return null;    }}LEXICOFlashObject.prototype.write = function(elementId) {	if(detectFlash(this.version) || this.doDetect=='false') 		{		if (elementId) 			{			document.getElementById(elementId).innerHTML = this.getHTML();			}		else 			{			document.write(this.getHTML());			}		} 	else 		{		if (this.redirect != "") 			{			document.location.replace(this.redirect);			}		else if (this.defaultImage != "")			{					imageString = this.defaultImage;			if (eval('typeof(this.imageMap)') != "undefined" && this.imageMap != "")			document.write (imageString);			}		else			document.write(this.altTxt +""+ this.bypassTxt);	}		}function getFlashVersion() {	var flashversion = 0;	if (navigator.plugins && navigator.plugins.length) {		var x = navigator.plugins["Shockwave Flash"];		if(x){			if (x.description) {				var y = x.description;				if (y.charAt(y.indexOf('.')-2) != " ") flashversion = parseInt(y.charAt(y.indexOf('.')-2) + y.charAt(y.indexOf('.')-1));				else flashversion = y.charAt(y.indexOf('.')-1);			}		}	} else {		result = false;	    for(var i = 15; i >= 3 && result != true; i--){   			execScript('on error resume next: result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'"))','VBScript');   			flashversion = i;   		}	}	return flashversion;}function detectFlash(ver) {		if (getFlashVersion() >= ver) {		return true;	} else {		return false;	}}// get value of querystring paramfunction getQueryParamValue(param) {	var q = document.location.search;	var detectIndex = q.indexOf(param);	if(q.length > 1 && detectIndex != -1) {		return q.substring(q.indexOf("=", detectIndex)+1, q.indexOf("&", detectIndex));	} else {		return true;	}}if(!a10) {var a10 = {};} //if a10 not defined yeta10.flash = {      FlashDetect : new function(){        var self = this;        self.installed = false;        var activeXDetectRules = [            {                "name":"ShockwaveFlash.ShockwaveFlash.7"            },            {                "name":"ShockwaveFlash.ShockwaveFlash.6"            },            {                "name":"ShockwaveFlash.ShockwaveFlash"            }        ];        var getActiveXObject = function(name){            var obj = -1;            try{                obj = new ActiveXObject(name);            }catch(err){}            return obj;        };        self.FlashDetect = function(){            if(navigator.plugins && navigator.plugins.length>0){                var type = 'application/x-shockwave-flash';                var mimeTypes = navigator.mimeTypes;                if(mimeTypes && mimeTypes[type] && mimeTypes[type].enabledPlugin && mimeTypes[type].enabledPlugin.description){                    self.installed = true;                }            }else if(navigator.appVersion.indexOf("Mac")==-1 && window.execScript){                for(var i=0; i<activeXDetectRules.length && !self.installed; i++){                    var obj = getActiveXObject(activeXDetectRules[i].name);                    if(typeof obj == "object"){                        self.installed = true;                    }                }            }        }();    }}a10.flash.FlashDetect.release = "1.0.3";a10.flash.isEnabled = function() {    return this.FlashDetect.installed;}try{var anchors=document.getElementsByTagName("a");for(i = 0; i < anchors.length; i++){if(anchors[i].href.indexOf("http://browse/") != -1 || anchors[i].href.indexOf("http:///") != -1){	anchors[i].href = anchors[i].href.replace("http://browse/","http://thesaurus.reference.com/browse/");	anchors[i].href = anchors[i].href.replace("http:///","http://thesaurus.reference.com/");	}	}}catch(e){}function newInit(){	updatebrokenlinks();	initpage();}function updatebrokenlinks(){try{var anchors=document.getElementsByTagName("a");for(i = 0; i < anchors.length; i++){if(anchors[i].href.indexOf("http://browse/") != -1 || anchors[i].href.indexOf("http:///") != -1){	anchors[i].href = anchors[i].href.replace("http://browse/","http://thesaurus.reference.com/browse/");	anchors[i].href = anchors[i].href.replace("http:///","http://thesaurus.reference.com/");	}	}}catch(e){}}// END: LEXICO FLASH DETECTION AND DISPLAY =======================================================================