if(typeof deconcept == "undefined") var deconcept = new Object();if(typeof deconcept.util == "undefined") deconcept.util = new Object();if(typeof deconcept.SWFObjectUtil == "undefined") deconcept.SWFObjectUtil = new Object();deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey) {	if (!document.getElementById) { return; }	this.DETECT_KEY = detectKey ? detectKey : 'detectflash';	this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);	this.params = new Object();	this.variables = new Object();	this.attributes = new Array();	if(swf) { this.setAttribute('swf', swf); }	if(id) { this.setAttribute('id', id); }	if(w) { this.setAttribute('width', w); }	if(h) { this.setAttribute('height', h); }	if(ver) { this.setAttribute('version', new deconcept.PlayerVersion(ver.toString().split("."))); }	this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();	if (!window.opera && document.all && this.installedVer.major > 7) {		// only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE		deconcept.SWFObject.doPrepUnload = true;	}	if(c) { this.addParam('bgcolor', c); }	var q = quality ? quality : 'high';	this.addParam('quality', q);	this.setAttribute('useExpressInstall', false);	this.setAttribute('doExpressInstall', false);	var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;	this.setAttribute('xiRedirectUrl', xir);	this.setAttribute('redirectUrl', '');	if(redirectUrl) { this.setAttribute('redirectUrl', redirectUrl); }}deconcept.SWFObject.prototype = {	useExpressInstall: function(path) {		this.xiSWFPath = !path ? "expressinstall.swf" : path;		this.setAttribute('useExpressInstall', true);	},	setAttribute: function(name, value){		this.attributes[name] = value;	},	getAttribute: function(name){		return this.attributes[name];	},	addParam: function(name, value){		this.params[name] = value;	},	getParams: function(){		return this.params;	},	addVariable: function(name, value){		this.variables[name] = value;	},	getVariable: function(name){		return this.variables[name];	},	getVariables: function(){		return this.variables;	},	getVariablePairs: function(){		var variablePairs = new Array();		var key;		var variables = this.getVariables();		for(key in variables){			variablePairs[variablePairs.length] = key +"="+ variables[key];		}		return variablePairs;	},	getSWFHTML: function() {		var swfNode = "";		if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture			if (this.getAttribute("doExpressInstall")) {				this.addVariable("MMplayerType", "PlugIn");				this.setAttribute('swf', this.xiSWFPath);			}			swfNode = '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'"';			swfNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';			var params = this.getParams();			 for(var key in params){ swfNode += [key] +'="'+ params[key] +'" '; }			var pairs = this.getVariablePairs().join("&");			 if (pairs.length > 0){ swfNode += 'flashvars="'+ pairs +'"'; }			swfNode += '/>';		} else { // PC IE			if (this.getAttribute("doExpressInstall")) {				this.addVariable("MMplayerType", "ActiveX");				this.setAttribute('swf', this.xiSWFPath);			}			swfNode = '<object id="'+ this.getAttribute('id') +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'">';			swfNode += '<param name="movie" value="'+ this.getAttribute('swf') +'" />';			var params = this.getParams();			for(var key in params) {			 swfNode += '<param name="'+ key +'" value="'+ params[key] +'" />';			}			var pairs = this.getVariablePairs().join("&");			if(pairs.length > 0) {swfNode += '<param name="flashvars" value="'+ pairs +'" />';}			swfNode += "</object>";		}		return swfNode;	},	write: function(elementId){		if(this.getAttribute('useExpressInstall')) {			// check to see if we need to do an express install			var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]);			if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) {				this.setAttribute('doExpressInstall', true);				this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));				document.title = document.title.slice(0, 47) + " - Flash Player Installation";				this.addVariable("MMdoctitle", document.title);			}		}		if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version'))){			var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId;			n.innerHTML = this.getSWFHTML();			return true;		}else{			if(this.getAttribute('redirectUrl') != "") {				document.location.replace(this.getAttribute('redirectUrl'));			}		}		return false;	}}/* ---- detection functions ---- */deconcept.SWFObjectUtil.getPlayerVersion = function(){	var PlayerVersion = new deconcept.PlayerVersion([0,0,0]);	if(navigator.plugins && navigator.mimeTypes.length){		var x = navigator.plugins["Shockwave Flash"];		if(x && x.description) {			PlayerVersion = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));		}	}else if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0){ // if Windows CE		var axo = 1;		var counter = 3;		while(axo) {			try {				counter++;				axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ counter);//				document.write("player v: "+ counter);				PlayerVersion = new deconcept.PlayerVersion([counter,0,0]);			} catch (e) {				axo = null;			}		}	} else { // Win IE (non mobile)		// do minor version lookup in IE, but avoid fp6 crashing issues		// see http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/		try{			var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");		}catch(e){			try {				var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");				PlayerVersion = new deconcept.PlayerVersion([6,0,21]);				axo.AllowScriptAccess = "always"; // error if player version < 6.0.47 (thanks to Michael Williams @ Adobe for this code)			} catch(e) {				if (PlayerVersion.major == 6) {					return PlayerVersion;				}			}			try {				axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");			} catch(e) {}		}		if (axo != null) {			PlayerVersion = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));		}	}	return PlayerVersion;}deconcept.PlayerVersion = function(arrVersion){	this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0;	this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0;	this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0;}deconcept.PlayerVersion.prototype.versionIsValid = function(fv){	if(this.major < fv.major) return false;	if(this.major > fv.major) return true;	if(this.minor < fv.minor) return false;	if(this.minor > fv.minor) return true;	if(this.rev < fv.rev) return false;	return true;}/* ---- get value of query string param ---- */deconcept.util = {	getRequestParameter: function(param) {		var q = document.location.search || document.location.hash;		if (param == null) { return q; }		if(q) {			var pairs = q.substring(1).split("&");			for (var i=0; i < pairs.length; i++) {				if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {					return pairs[i].substring((pairs[i].indexOf("=")+1));				}			}		}		return "";	}}/* fix for video streaming bug */deconcept.SWFObjectUtil.cleanupSWFs = function() {	var objects = document.getElementsByTagName("OBJECT");	for (var i = objects.length - 1; i >= 0; i--) {		objects[i].style.display = 'none';		for (var x in objects[i]) {			if (typeof objects[i][x] == 'function') {				objects[i][x] = function(){};			}		}	}}// fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/if (deconcept.SWFObject.doPrepUnload) {	if (!deconcept.unloadSet) {		deconcept.SWFObjectUtil.prepUnload = function() {			__flash_unloadHandler = function(){};			__flash_savedUnloadHandler = function(){};			window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs);		}		window.attachEvent("onbeforeunload", deconcept.SWFObjectUtil.prepUnload);		deconcept.unloadSet = true;	}}/* add document.getElementById if needed (mobile IE < 5) */if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }}/* add some aliases for ease of use/backwards compatibility */var getQueryParamValue = deconcept.util.getRequestParameter;var FlashObject = deconcept.SWFObject; // for legacy supportvar SWFObject = deconcept.SWFObject;//  MENU ITEMS //// DUPLICATE THIS ENTIRE SECTION FOR MULTIPLE MENUS.  PLEASE SEE THE INSTRUCTIONS FILE FOR DETAILS ///   var Menu1 = new Array ()var subMenu1 = new Array ()   Menu1[0] = new Array("<img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0><br>Home<br><img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0>", "index.php","_top", "left")     subMenu1[0] = new Array()   Menu1[1] = new Array("<img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0><br>About<br><img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0>", "","_top", "left")     subMenu1[1] = new Array()     subMenu1[1][0] = new Array ("Principal - Andrew Doughty", "about_principal.php","_top")     subMenu1[1][1] = new Array ("Track record", "about_track.php","_top")     subMenu1[1][2] = new Array ("Brochure", "about_brochure.php","_top")           subMenu1[1][3] = new Array ("Contact", "about_contact.php","_top")       Menu1[2] = new Array("<img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0><br>Services<br><img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0>", "","_top", "left")      subMenu1[2] = new Array()     subMenu1[2][0] = new Array ("Advisory services", "services_advisory.php","_top")     subMenu1[2][1] = new Array ("Typical scope", "services_typical.php","_top")     subMenu1[2][2] = new Array ("Why hire a financial advisor?", "services_whyhire.php","_top")   Menu1[3] = new Array("<img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0><br>Our distinction<br><img src=\"images/spacers/spacert.gif\" width=133 height=5 border=0>", "","_top", "left")     subMenu1[3] = new Array()	 subMenu1[3][0] = new Array ("Why use Doughty Finance?", "distinction_why.php","_top")     subMenu1[3][1] = new Array ("Blue chip quality", "distinction_quality.php","_top")     subMenu1[3][2] = new Array ("Testimonials", "distinction_testimonials.php","_top")     subMenu1[3][3] = new Array ("Clients", "distinction_clients.php","_top")  /// FORMAT MENU  ///menuStyle = "flat"                                  // Menu Style (flat, 3d)cellPadding = "3"                                   // Cell PaddingcellBorder = 1                                      // Border width (for no border, enter 0)  THIS VALUE APPLIES TO ALL MENUSverticalOffset = "0"                                // Vertical offset of Sub Menu. horizontalOffset = "-30"                              // Horizontal offset of Sub Menu. subMenuDelay = 1                                    // Time sub menu stays visible for (in seconds). THIS VALUE APPLIES TO ALL MENUSsubIndicate = 0                                     // Show if a sub menu is present (use 0 for "no")  THIS VALUE APPLIES TO ALL MENUSindicator = ">>" // Symbol to show if a sub menu is present (subIndicate must be to set to 1)                                                    // Use standard HTML <img> tag. You can use a character instead of an image.                                                     // e.g.      indicator = ">"// Main Menu ItemsmenuWidth = "141"                  // Width of menu item.  Use 0 for defaultborderColor = ""            // Border Colour (flat mode only)menuBackground = ""       // Cell Background ColourmenuHoverBackground = ""    // Cell Background Colour on mouse rolloverfontFace = "arial"               // Font FacefontColour = "#890202"           // Font ColourfontHoverColour = "#890202"      // Font Colour on mouse rolloverfontSize = "10pt"                 // Font SizefontDecoration = "none"          // Style of the link text (none, underline, overline, line-through)fontWeight = "bold"            // Font Weight (normal, bold)// Sub Menu ItemssmenuWidth = "0"                 // Width of sub menu item.  Use 0 for defaultsborderColor = "1F0706"           // Border Colour (flat mode only)smenuBackground = "FCF7F2"        // Cell Background ColoursmenuHoverBackground = "#ffffff" // Cell Background Colour on mouse rolloverrsfontFace = "arial"              // Font FacesfontColour = "#890202"          // Font ColoursfontHoverColour = "#890202"     // Font Colour on mouse rolloversfontSize = "8pt"                // Font SizesfontDecoration = "none"         // Style of the link text (none, underline, overline, line-through)sfontWeight = "normal"           // Font Weight (normal, bold)quantity = 1/// END FORMAT MENU  /////// DO NOT EDIT BELOW THIS LINE  ///// Browser Sniffervar isIE = (document.getElementById && document.all)?true:false;var isNS4 = (document.layers)?true:false;var isNS6 = (document.getElementById && !document.all)?true:false;var timer;var obj = (isIE)?"document.all":"document.getElementById"// Menu Stylesfunction createStyles(quant){styleBorder=(menuStyle.split(",")[quant-1].toLowerCase() == "flat")?cellBorder:0   document.writeln ('<style>');  document.writeln ('.rcMenuStatic'+quant+' {font-family:'+fontFace.split(",")[quant-1]+';font-size:'+fontSize.split(",")[quant-1]+';color:'+fontColour.split(",")[quant-1]+';font-weight:'+fontWeight.split(",")[quant-1]+';background-color:'+menuBackground.split(",")[quant-1]+'; cursor:hand; text-decoration:'+fontDecoration.split(",")[quant-1]+'}');  document.writeln ('.rcMenuHover'+quant+'  {font-family:'+fontFace.split(",")[quant-1]+';font-size:'+fontSize.split(",")[quant-1]+';color:'+fontHoverColour.split(",")[quant-1]+';font-weight:'+fontWeight.split(",")[quant-1]+';background-color:'+menuHoverBackground.split(",")[quant-1]+'; cursor:hand; text-decoration:'+fontDecoration.split(",")[quant-1]+'}');  document.writeln ('.rcSubMenuStatic'+quant+' {font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuBackground.split(",")[quant-1]+'; cursor:hand}');  document.writeln ('.rcSubMenuHover'+quant+'  {font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontHoverColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuHoverBackground.split(",")[quant-1]+'; cursor:hand}');  document.writeln ('</style>');}// Build and show the main menu itemsfunction showMenus(quant,definedOrientation){  createStyles(quant);  if(definedOrientation!=""){orientation=definedOrientation}  if (orientation.toLowerCase() == "vertical"){document.writeln ('<table border="0" cellpadding="0" cellspacing="'+styleBorder+'" bgColor="'+borderColor.split(",")[quant-1]+'">')}  else{document.writeln ('<table border="0" cellpadding="0" cellspacing="'+styleBorder+'" bgColor="'+borderColor.split(",")[quant-1]+'"><tr>')}    for (x=0; x<eval("Menu"+quant).length; x++)  {    if (orientation.toLowerCase()=="vertical") document.writeln('<tr>')    document.writeln ('<td width="'+menuWidth+'" onclick="tdMouseClick(\''+quant+'mainLink'+x+'\')" onMouseOver="hoverMenu(); popDown(\''+quant+'\','+x+', \''+quant+'button'+x+'\',\''+orientation+'\'); " onMouseOut="clearMenu('+quant+','+x+')" ')    if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+borderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+borderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+borderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+borderShadow.split(",")[quant-1]+';"');}            document.writeln ('><div id="'+quant+'button'+x+'"><table border="0" cellpadding="'+cellPadding.split(",")[quant-1]+'" cellspacing="0" width="100%"><tr><td class="rcMenuStatic'+quant+'" id="'+quant+'cell'+x+'" nowrap>');    document.writeln ('<a id="'+quant+'mainLink'+x+'" href="'+eval("Menu"+quant)[x][1]+'" target="'+eval("Menu"+quant)[x][2]+'" class="rcMenuStatic'+quant+'">'+eval("Menu"+quant)[x][0]+'</a></td>');    if (subIndicate == 1&&eval("subMenu"+quant)[x].length>=1){      document.writeln('<td class="rcMenuStatic'+quant+'" id="'+quant+'cell'+x+'a" align="right">');      document.writeln ('<a id="'+quant+'mainLink'+x+'a" href="'+eval("Menu"+quant)[x][1]+'" target="'+eval("Menu"+quant)[x][2]+'" class="rcMenuStatic'+quant+'">'+indicator+'</a></td>');}    document.writeln ('</tr></table></div></td>');        if (orientation.toLowerCase()=="vertical") document.writeln('</tr>')  }  if (orientation.toLowerCase() == "vertical"){document.writeln ('</table>');}  else{document.writeln ('</tr></table>');}   // Build the sub menu items  for (x=0; x<eval("Menu"+quant).length; x++)  {     if (eval("subMenu"+quant)[x].length > 0)    {           document.writeln ('<div id="'+quant+'MENU'+x+'" style="visibility:hidden; position:absolute; z-index:2" >');      document.writeln ('<table width="'+smenuWidth.split(",")[quant-1]+'" border="0" cellpadding="'+cellPadding.split(",")[quant-1]+'" cellspacing="'+styleBorder+'" bgColor="'+sborderColor.split(",")[quant-1]+'">');      for (y=0; y<eval("subMenu"+quant)[x].length; y++)      {        document.writeln ('<tr>');        if (eval("subMenu"+quant)[x][y][1].indexOf("#") != -1)        {          document.writeln ('<td bgColor="'+eval("subMenu"+quant)[x][y][2]+'" id="'+quant+'subMenu'+x+y+'" onMouseOver="hoverMenu(); highlightMenu(\'sub\','+x+','+y+',\'\','+quant+')" nowrap')          if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';"');}          document.writeln ('><p style="font-family:'+sfontFace.split(",")[quant-1]+'; font-size:'+sfontSize.split(",")[quant-1]+'; color:'+eval("subMenu"+quant)[x][y][1]+'"id="'+quant+'subLink'+x+y+'">'+eval("subMenu"+quant)[x][y][0]+'</p></td></tr>');        }        else        {          document.writeln ('<td id="'+quant+'subMenu'+x+y+'" class="rcSubMenuStatic'+quant+'" onMouseOver="hoverMenu(); highlightMenu(\'sub\','+x+','+y+',\'\','+quant+')" onMouseOut="clearMenu('+quant+','+x+');" onclick="tdMouseClick(\''+quant+'subLink'+x+y+'\')" nowrap')          if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';"');}          document.writeln ('><a id="'+quant+'subLink'+x+y+'" href="'+eval("subMenu"+quant)[x][y][1]+'" target="'+eval("subMenu"+quant)[x][y][2]+'" class="rcSubMenuStatic'+quant+'">'+eval("subMenu"+quant)[x][y][0]+'</a></td></tr>');        }      }      document.writeln ('</table></div>');    }  }} // Change colour or menu and submenu items when the mouse hovers over.  function highlightMenu(element,mainMenu,dropMenu,state,quant){  hoverMenu();  state=(state == "hover")?"rcMenuHover"+quant:"rcMenuStatic"+quant  if (element == "sub")  {    for (x=0; x < eval("subMenu"+quant)[mainMenu].length; x++)    {      if (eval("subMenu"+quant)[mainMenu][x][1].indexOf("#") == -1){        eval(obj+'("'+quant+'subMenu'+mainMenu+x+'").className = "rcSubMenuStatic'+quant+'"')        eval(obj+'("'+quant+'subLink'+mainMenu+x+'").className = "rcSubMenuStatic'+quant+'"')      }    }     if (eval("subMenu"+quant)[mainMenu][dropMenu][1].indexOf("#") == -1)  {      eval(obj+'("'+quant+'subMenu'+mainMenu+dropMenu+'").className="rcSubMenuHover'+quant+'"')      eval(obj+'("'+quant+'subLink'+mainMenu+dropMenu+'").className="rcSubMenuHover'+quant+'"')    }  }  else  {    eval(obj+'("'+quant+'cell'+mainMenu+'").className = "'+state+'"')    eval(obj+'("'+quant+'mainLink'+mainMenu+'").className = "'+state+'"')    if (subIndicate == 1&&eval("subMenu"+quant)[mainMenu].length>=1)    {      eval(obj+'("'+quant+'cell'+mainMenu+'a").className = "'+state+'"')      eval(obj+'("'+quant+'mainLink'+mainMenu+'a").className = "'+state+'"')    }  }}// Find positioning for sub menusfunction getOffset(obj, dim) {  if(dim=="left")   {         oLeft = obj.offsetLeft;        while(obj.offsetParent!=null)     {          oParent = obj.offsetParent           oLeft += oParent.offsetLeft       obj = oParent 	    }    return oLeft  }  else if(dim=="top")  {    oTop = obj.offsetTop;    while(obj.offsetParent!=null)     {      oParent = obj.offsetParent      oTop += oParent.offsetTop      obj = oParent 	    }    return oTop  }  else if(dim=="width")  {    oWidth = obj.offsetWidth    return oWidth  }    else if(dim=="height")  {    oHeight = obj.offsetHeight    return oHeight  }      else  {    alert("Error: invalid offset dimension '" + dim + "' in getOffset()")    return false;  }}// Show sub menusfunction popDown(quant, param, id, orientation){  var cellBorderOffset = (isNS6)?cellBorder:eval(cellBorder*2)  var browserAdjustment = (isNS6)?cellBorder:0  var menu;  var button;  if (id)  {        getOffset(eval(obj+'(id)'),'left');    getOffset(eval(obj+'(id)'),'top');        getOffset(eval(obj+'(id)'),'width');      getOffset(eval(obj+'(id)'),'height');        if (eval("Menu"+quant+"["+param+"][3]")=="right" && eval("subMenu"+quant+"["+param+"].length")>0)     {       oLeft=oLeft        oLeft=oLeft+oWidth;       getOffset(eval(obj+'("'+quant+'MENU'+param+'")'),'width');      oLeft=oLeft-oWidth ;      alignAdjustment = cellBorder*2 + 1    }    else     {      alignAdjustment = 0      oLeft=oLeft    }      }      n = 0;      while (n < eval("Menu"+quant).length)  {              menu = quant+"MENU"+n    if (param == n)    {      theObj = eval(obj+'(menu)');      if (theObj)      {         theObj.style.visibility = "visible"          if (orientation.toLowerCase()=="vertical"){            theObj.style.left=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oLeft+oWidth+cellBorder+parseInt(horizontalOffset.split(",")[quant-1]):oLeft+oWidth+cellBorderOffset+parseInt(horizontalOffset.split(",")[quant-1]);            theObj.style.top=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oTop-cellBorder+parseInt(verticalOffset.split(",")[quant-1]):oTop+parseInt(verticalOffset.split(",")[quant-1])-browserAdjustment}          else{            theObj.style.left=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oLeft-cellBorder+parseInt(horizontalOffset.split(",")[quant-1])+alignAdjustment:oLeft+parseInt(horizontalOffset.split(",")[quant-1])-browserAdjustment+alignAdjustment;            theObj.style.top=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oTop+oHeight+cellBorder+parseInt(verticalOffset.split(",")[quant-1]):oTop+oHeight+cellBorderOffset+parseInt(verticalOffset.split(",")[quant-1]);}        }             highlightMenu('main',n,'','hover',quant)       if (eval("subMenu"+quant)[param].length > 0)       {         for (x=0; x<eval("subMenu"+quant)[param].length; x++)         {           if(eval("subMenu"+quant)[param][x][1].indexOf("#") == -1){             eval (obj+'("'+quant+'subMenu'+param+x+'").className = "rcSubMenuStatic'+quant+'"')             eval (obj+'("'+quant+'subLink'+param+x+'").className = "rcSubMenuStatic'+quant+'"')             }                }       }    }    else     {        for (x=1; x<quantity+1; x++)      {               menu = x+"MENU"+n           //alert(menu)             if (eval(obj+'(menu)'))        {          eval(obj+'(menu).style.visibility = "hidden"')                    }        highlightMenu ('main',n,'','static',quant)      }    }    n++  }  }// Re-set timer for sub menusfunction hoverMenu(){  if(timer)  clearTimeout(timer)}// Set timer for sub menusfunction clearMenu(quant,menu){  setDelay = subMenuDelay*1000  delay = (eval("subMenu"+quant)[menu].length > 0)?setDelay:1    timer = setTimeout("popDown("+quant+","+(eval("Menu"+quant).length + 1)+")",delay)}// when you click the box, perform the same function as if the user had clicked the hyperlinkfunction tdMouseClick(theElement){  eval(obj+'(theElement).click()')}aran=6;function update(){if (aran==8) { aran=0 } document.ent.src='images/anim/0'+aran+'.gif';setTimeout("update()", 12500);aran++;} 





