diff --git a/graphics/bode-melochord_files/BodeHa_mugshot.jpg b/graphics/bode-melochord_files/BodeHa_mugshot.jpg deleted file mode 100644 index 3be1774..0000000 Binary files a/graphics/bode-melochord_files/BodeHa_mugshot.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/CEC_top.png b/graphics/bode-melochord_files/CEC_top.png deleted file mode 100644 index bf176ba..0000000 Binary files a/graphics/bode-melochord_files/CEC_top.png and /dev/null differ diff --git a/graphics/bode-melochord_files/Concordia_black.gif b/graphics/bode-melochord_files/Concordia_black.gif deleted file mode 100644 index 5730e14..0000000 Binary files a/graphics/bode-melochord_files/Concordia_black.gif and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig01_s.jpg b/graphics/bode-melochord_files/bode_history_fig01_s.jpg deleted file mode 100644 index 188344f..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig01_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig02_s.jpg b/graphics/bode-melochord_files/bode_history_fig02_s.jpg deleted file mode 100644 index 6c82ac3..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig02_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig03_s.jpg b/graphics/bode-melochord_files/bode_history_fig03_s.jpg deleted file mode 100644 index c60bbc0..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig03_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig04_s.png b/graphics/bode-melochord_files/bode_history_fig04_s.png deleted file mode 100644 index 9a5a804..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig04_s.png and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig05_s.jpg b/graphics/bode-melochord_files/bode_history_fig05_s.jpg deleted file mode 100644 index a5701f7..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig05_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig06_s.jpg b/graphics/bode-melochord_files/bode_history_fig06_s.jpg deleted file mode 100644 index ca383b8..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig06_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig07_s.jpg b/graphics/bode-melochord_files/bode_history_fig07_s.jpg deleted file mode 100644 index 0e19184..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig07_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig08_s.png b/graphics/bode-melochord_files/bode_history_fig08_s.png deleted file mode 100644 index b1e1e92..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig08_s.png and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig09_s.png b/graphics/bode-melochord_files/bode_history_fig09_s.png deleted file mode 100644 index 838305f..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig09_s.png and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig10_s.png b/graphics/bode-melochord_files/bode_history_fig10_s.png deleted file mode 100644 index 4bf7b8c..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig10_s.png and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig11_s.jpg b/graphics/bode-melochord_files/bode_history_fig11_s.jpg deleted file mode 100644 index b906a3d..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig11_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig12_s.png b/graphics/bode-melochord_files/bode_history_fig12_s.png deleted file mode 100644 index e63b23a..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig12_s.png and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig13_s.jpg b/graphics/bode-melochord_files/bode_history_fig13_s.jpg deleted file mode 100644 index f7e201f..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig13_s.jpg and /dev/null differ diff --git a/graphics/bode-melochord_files/bode_history_fig14_s.png b/graphics/bode-melochord_files/bode_history_fig14_s.png deleted file mode 100644 index 074808d..0000000 Binary files a/graphics/bode-melochord_files/bode_history_fig14_s.png and /dev/null differ diff --git a/graphics/bode-melochord_files/brand b/graphics/bode-melochord_files/brand deleted file mode 100644 index 19ff8a6..0000000 --- a/graphics/bode-melochord_files/brand +++ /dev/null @@ -1,109 +0,0 @@ - -(function() { -var f = document.getElementById('cse-search-box'); -if (!f) { -f = document.getElementById('searchbox_demo'); -} -if (f && f['q']) { -var q = f['q']; -var n = navigator; -var l = location; -var du = function(n, v) { -var u = document.createElement('input'); -u.name = n; -u.value = v; -u.type = 'hidden'; -f.appendChild(u); -return u; -}; -var su = function (n, t, v, l) { -if (!encodeURIComponent || !decodeURIComponent) { -return; -} -var regexp = new RegExp('(?:[?&]' + n + '=)([^]*)'); -var existing = regexp.exec(t); -if (existing) { -v = decodeURIComponent(existing[1]); -} -var delimIndex = v.indexOf('://'); -if (delimIndex >= 0) { -v = v.substring(delimIndex + '://'.length, v.length); -} -var v_sub = v.substring(0, l); -while (encodeURIComponent(v_sub).length > l) { -v_sub = v_sub.substring(0, v_sub.length - 1); -} -du(n, v_sub); -}; -var pl = function(he) { -var ti = 0, tsi = 0, tk = 0, pt; -return function() { -var ct = (new Date).getTime(); -if (pt) { -var i = ct - pt; -ti += i; -tsi += i*i; -} -tk++; -pt = ct; -he.value = [ti, tsi, tk].join('j'); -}; -}; -var append = false; -if (n.appName == 'Microsoft Internet Explorer') { -var s = f.parentNode.childNodes; -for (var i = 0; i < s.length; i++) { - if (s[i].nodeName == 'SCRIPT' && - s[i].attributes['src'] && - s[i].attributes['src'].nodeValue == unescape('http:\x2F\x2Fwww.google.com\x2Fcoop\x2Fcse\x2Fbrand?form=cse-search-box\x26lang=en')) { - append = true; - break; - } - } - } else { - append = true; - } - if (append) { - - var loc = document.location.toString(); var ref = document.referrer; - su('siteurl', loc, loc, 250); - su('ref', loc, ref, 750); - - - - if (q.addEventListener) { - q.addEventListener('keyup', pl(du('ss', '')), false); - } else if (q.attachEvent) { - q.attachEvent('onkeyup', pl(du('ss', ''))); - } - } - - - if (n.platform == 'Win32') { - q.style.cssText = 'border: 1px solid #7e9db9; padding: 2px;'; - } - - - if (window.history.navigationMode) { - window.history.navigationMode = 'compatible'; - } - - var b = function() { - if (q.value == '') { - q.style.background = '#FFFFFF url(http:\x2F\x2Fwww.google.com\x2Fcse\x2Fintl\x2Fen\x2Fimages\x2Fgoogle_custom_search_watermark.gif) left no-repeat'; - } - }; - - var f = function() { - q.style.background = '#ffffff'; - }; - - q.onfocus = f; - q.onblur = b; - - - if (!/[&?]q=[^&]/.test(l.search)) { - b(); - } - } -})(); diff --git a/graphics/bode-melochord_files/builder.js b/graphics/bode-melochord_files/builder.js deleted file mode 100644 index 7325038..0000000 --- a/graphics/bode-melochord_files/builder.js +++ /dev/null @@ -1,136 +0,0 @@ -// script.aculo.us builder.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 - -// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// -// script.aculo.us is freely distributable under the terms of an MIT-style license. -// For details, see the script.aculo.us web site: http://script.aculo.us/ - -var Builder = { - NODEMAP: { - AREA: 'map', - CAPTION: 'table', - COL: 'table', - COLGROUP: 'table', - LEGEND: 'fieldset', - OPTGROUP: 'select', - OPTION: 'select', - PARAM: 'object', - TBODY: 'table', - TD: 'table', - TFOOT: 'table', - TH: 'table', - THEAD: 'table', - TR: 'table' - }, - // note: For Firefox < 1.5, OPTION and OPTGROUP tags are currently broken, - // due to a Firefox bug - node: function(elementName) { - elementName = elementName.toUpperCase(); - - // try innerHTML approach - var parentTag = this.NODEMAP[elementName] || 'div'; - var parentElement = document.createElement(parentTag); - try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707 - parentElement.innerHTML = "<" + elementName + ">" + elementName + ">"; - } catch(e) {} - var element = parentElement.firstChild || null; - - // see if browser added wrapping tags - if(element && (element.tagName.toUpperCase() != elementName)) - element = element.getElementsByTagName(elementName)[0]; - - // fallback to createElement approach - if(!element) element = document.createElement(elementName); - - // abort if nothing could be created - if(!element) return; - - // attributes (or text) - if(arguments[1]) - if(this._isStringOrNumber(arguments[1]) || - (arguments[1] instanceof Array) || - arguments[1].tagName) { - this._children(element, arguments[1]); - } else { - var attrs = this._attributes(arguments[1]); - if(attrs.length) { - try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707 - parentElement.innerHTML = "<" +elementName + " " + - attrs + ">" + elementName + ">"; - } catch(e) {} - element = parentElement.firstChild || null; - // workaround firefox 1.0.X bug - if(!element) { - element = document.createElement(elementName); - for(attr in arguments[1]) - element[attr == 'class' ? 'className' : attr] = arguments[1][attr]; - } - if(element.tagName.toUpperCase() != elementName) - element = parentElement.getElementsByTagName(elementName)[0]; - } - } - - // text, or array of children - if(arguments[2]) - this._children(element, arguments[2]); - - return $(element); - }, - _text: function(text) { - return document.createTextNode(text); - }, - - ATTR_MAP: { - 'className': 'class', - 'htmlFor': 'for' - }, - - _attributes: function(attributes) { - var attrs = []; - for(attribute in attributes) - attrs.push((attribute in this.ATTR_MAP ? this.ATTR_MAP[attribute] : attribute) + - '="' + attributes[attribute].toString().escapeHTML().gsub(/"/,'"') + '"'); - return attrs.join(" "); - }, - _children: function(element, children) { - if(children.tagName) { - element.appendChild(children); - return; - } - if(typeof children=='object') { // array can hold nodes and text - children.flatten().each( function(e) { - if(typeof e=='object') - element.appendChild(e); - else - if(Builder._isStringOrNumber(e)) - element.appendChild(Builder._text(e)); - }); - } else - if(Builder._isStringOrNumber(children)) - element.appendChild(Builder._text(children)); - }, - _isStringOrNumber: function(param) { - return(typeof param=='string' || typeof param=='number'); - }, - build: function(html) { - var element = this.node('div'); - $(element).update(html.strip()); - return element.down(); - }, - dump: function(scope) { - if(typeof scope != 'object' && typeof scope != 'function') scope = window; //global scope - - var tags = ("A ABBR ACRONYM ADDRESS APPLET AREA B BASE BASEFONT BDO BIG BLOCKQUOTE BODY " + - "BR BUTTON CAPTION CENTER CITE CODE COL COLGROUP DD DEL DFN DIR DIV DL DT EM FIELDSET " + - "FONT FORM FRAME FRAMESET H1 H2 H3 H4 H5 H6 HEAD HR HTML I IFRAME IMG INPUT INS ISINDEX "+ - "KBD LABEL LEGEND LI LINK MAP MENU META NOFRAMES NOSCRIPT OBJECT OL OPTGROUP OPTION P "+ - "PARAM PRE Q S SAMP SCRIPT SELECT SMALL SPAN STRIKE STRONG STYLE SUB SUP TABLE TBODY TD "+ - "TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR").split(/\s+/); - - tags.each( function(tag){ - scope[tag] = function() { - return Builder.node.apply(Builder, [tag].concat($A(arguments))); - }; - }); - } -}; \ No newline at end of file diff --git a/graphics/bode-melochord_files/cec_2009.css b/graphics/bode-melochord_files/cec_2009.css deleted file mode 100644 index d707c02..0000000 --- a/graphics/bode-melochord_files/cec_2009.css +++ /dev/null @@ -1 +0,0 @@ -html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; outline: 0; font-size: 100%; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; text-decoration: none;}body { background-color: #21262C; color: #656565; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px;}h1 { font-size: 24px; font-weight: bold; margin-top: 12px; margin-bottom: 12px; text-align: left; line-height: 27px; color: #000;}h2 { font-size: 18px; margin-top: 12px; margin-bottom: 12px; text-align: left; font-weight: normal; font-variant: small-caps; text-transform: uppercase; line-height: 22px; color: #0D0D0D;}h1 + h2 { margin-bottom:12px; font-weight: normal; font-variant: small-caps;}h3 { font-size: 18px; font-weight: bold; margin-top: 18px; margin-bottom: 12px; text-align: left; line-height: 22px; color: #191919;}h4 { font-size: 15px; margin-top: 25px; margin-bottom: 8px; text-align: left; font-weight: normal; text-transform: uppercase; line-height: 18px; color: #252525;}h5 { font-size: 14px; margin-top: 16px; margin-bottom: 8px; text-align: left; font-weight: bold; font-variant: small-caps; text-transform: uppercase; line-height: 16px; color: #333;}h6 { font-size: 13px; font-weight: bold; text-align: left; margin-top: 12px; margin-bottom: 3px; line-height: 16px; color: #3F3F3F;}h6 + p.blurb { margin-top:-3px;}p + h3, p + h4, p + h5 {margin-top:25px}p { font-size: 12px;}body p { margin-top:0; line-height: 1.25em; margin-bottom: 8px;}.caption { font-size: 9px; margin-top: 4px; width: 100%; line-height: 11px; margin-bottom: 10px; text-align: left; font-weight: bold; display: block; color: rgb(75,75,75);}.float_left { float: left; margin-top: 5px; margin-right: 20px; margin-bottom: 10px; margin-left: -30%;}.float_leftfirst { clear: left; float: left; margin-top: 20px; margin-right: 20px; margin-bottom: 10px; margin-left: -30%;}.float_right { float: right; margin-top: 5px; margin-right: 0px; margin-bottom: 10px; padding-left: 20px;}.float_left_noprint { float: left; margin-top: 20px; margin-right: 20px; margin-bottom: 10px; margin-left: -30%;}.float_left_noprintfirst { float: left; clear: left; margin-top: 20px; margin-right: 20px; margin-bottom: 10px; margin-left: -30%;}.float_right_noprint { float: right; margin-top: 20px; margin-right: 0px; margin-bottom: 10px; padding-left: 20px;}.noprint { display:block;}ul, ol, li { margin-top: 4px;}.quotation { font-size: 11px; line-height: 13px; margin-right: 20px; padding-left: 33px; display: block;}.byline { font-size: 14px; text-align: left; margin-top: 12px; margin-bottom: 12px; line-height: 16px;}.img_noborder { border: 1px none #999;}.bibliography { font-size: 11px; line-height: 13px; text-align: left; text-indent: -3em; padding-left: 3em;}.notes { font-size: 11px;}.notescenter { font-size: 11px; line-height: 12px; text-align: center;}.links_cec { font-size: 10px; text-align: center;}a:link, a:link .english { color: #A8252C; text-decoration: none; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;}a:visited, a:visited .english { color: #A8252C; text-decoration: none;}a:hover, a:hover .english { color: #D58204; text-decoration: underline;}a:focus { color: #D58204;}a:active { color: #D58204;}.content_menu { padding-top: 8px; padding-right: 10px; padding-bottom: 8px; margin: 0px; padding-left: 10px;}#cec { display: none; font-size: 24pt; font-weight: bold; float: left; margin-right: 8pt;}#cec2 { display: none; font-size: 13pt; font-weight: bold; line-height: 14pt;}#source { display: none;}.indent { margin-left: 20px;}.inline { display: inline;}.discret { }.english { color: #000;}.palt { color: #000;}table { margin-bottom: 15px;}.appearedin { font-style: italic; margin-top: 25px; font-size: 11px; line-height: 12px; margin-bottom: 20px;}.blurb { font-size: 11px; line-height: 12px; margin-top: -8px; margin-bottom: 10px;}.sidebar { margin: 5px 5px 5px 15px; float: right; border: 1px solid #CCCCCC; width: 290px; padding: 10px; background-color: #F2F2F2; font-size: 11px;}.abstract { margin: 5px 0; border: 1px solid #CCCCCC; width: 96%; padding: 10px; background-color: #F2F2F2; font-size: 11px;}.abstract p { font-size: 11px; margin-bottom: 3px;}.currentissue { border: 1px solid #83C4C8; padding: 10px; background-color: #F2F5F8; margin-left:-10px; margin-top: 5px; margin-right: -10px; margin-bottom: 5px; width: 98.666%;}.logo { background-color: #FFFFFF; vertical-align: middle; clear: both; margin: 5px 0; padding: 10px 15px 10px 0;}.logo img { border-style: none; padding-right: 8px; padding-left: 8px;}.logos { padding:5px; border:none; vertical-align: middle;}.authorplus { font-size: 11px; margin: -8px 0 0 15px;}.sortedbytitle li { list-style-type: circle; margin-top: 1px;}.sortedbytitle a { font-weight: bold;}.authorplus a { font-weight: normal;}.pre { font-family: "Courier New", Courier, monospace; padding-left: 20px; font-size: 13px;}#outerWrapper { background-color: #fff; margin: 0 auto 0 auto; max-width: 1024px; min-width: 480px; text-align: left; width: 80%;}#outerWrapper #header { background-color: #FFFFFF; background-image: url(../image/top_background.jpg); background-position: 16px -5px; background-repeat: no-repeat; font-size: 18px; font-weight: bold; height: 80px; line-height: 15px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #599094;}#outerWrapper #topNavigation { background-color: #AFAFAF; font-size: 14px; padding-left: 8px; padding-right: 5px; margin: 0px; padding-top: 5px; height: 14px; padding-bottom: 6px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #599094; -moz-box-shadow: inset 0px 1px 0px #000; -webkit-box-shadow: inset 0px 1px 0px #000; box-shadow: inset 0px 1px 0px #000;}#outerWrapper #contentWrapper { overflow: hidden;}#outerWrapper #contentWrapper #leftColumn { min-width: 112px; background-color: #F2F5F8; float: left; padding: 0px; width: 22%; border-right-width: 1px; border-right-style: solid; border-right-color: #99CED2; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #99CED2; margin-bottom: 15px; -moz-border-radius: 0 0 0.8em 0; -webkit-border-radius: 0 0 0.8em 0;}#leftColumn #banner { background-color: #FFFFFF; height: 40px; margin: 0px; padding-top: 18px; padding-right: 0px; padding-bottom: 0px; padding-left: 16px; overflow: hidden;}#outerWrapper #contentWrapper #leftColumn #leftmenu { font-size: 12px;}#outerWrapper #contentWrapper #leftColumn #leftmenu h2 { -moz-border-radius: 0 1.2em 1.2em 0; -webkit-border-radius: 0 1.2em 1.2em 0; -moz-box-shadow: inset 0 0 4px #C0E3E6; -webkit-box-shadow: inset 0 0 4px #C0E3E6; box-shadow: inset 0 0 4px #C0E3E6;}#outerWrapper #contentWrapper #content { font-size: 12px; margin: 0 0 0 23%; padding: 16px 10px 10px 10px;}#outerWrapper #footer { background-color: #333B45; border-top: solid 1px #666; padding: 10px 10px 10px 10px; text-align: center; color: #CCCCCC; font-size: 10px; -moz-border-radius: 1.0em 1.0em 0 0; -webkit-border-radius: 1.0em 1.0em 0 0; -moz-box-shadow: inset 0px 2px 1px #000; -webkit-box-shadow: inset 0px 2px 1px #000; box-shadow: inset 0px 2px 1px #000;}#topNavigation li { display: inline; list-style-type: none; border-right-width: 1px; border-right-style: solid; border-right-color: #CCCCCC; padding-right: 7px; padding-left: 2px; padding-top: 5px; padding-bottom: 5px; margin: 0px;}#topNavigation ul { display: inline; margin-left: 14px; margin-right: 0px; padding: 0px;}#leftmenu ul { list-style-type: none; padding-top: 5px; padding-right: 0px; padding-bottom: 8px; padding-left: 0px; margin: 0px;}#leftmenu li { margin-left: 5px; padding-left: 8px; padding-top: 1px; padding-right: 3px; padding-bottom: 1px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; display: block;}#topNavigation #language { float: right; width: 20%; padding-top: 1px; padding-right: 5px; padding-bottom: 3px; padding-left: 5px; text-align: right; color: #AFAFAF; margin-top: -1px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;}#topNavigation a { color: #FFFFFF; font-weight: bold; -webkit-transition: color 0.3s ease, background 0.3s ease; -moz-transition: color 0.3s ease, background 0.3s ease; -o-transition: color 0.3s ease, background 0.3s ease; transition: color 0.3s ease, background 0.3s ease;}#topNavigation a:hover { color: #4C5968; background-color: #ECF4FB; padding-top: 3px; padding-bottom: 3px; text-decoration: none; -moz-border-radius: 0 0 0.9em 0; -webkit-border-radius: 0 0 0.9em 0;}#leftColumn a { color: #2E3740; font-weight: normal; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;}#topNavigation .topnavfirst { margin: 0px; padding-right: 8px; padding-left: 8px; border-right-width: 1px; border-right-style: solid; border-right-color: #C3CCD5; padding-top: 2px; padding-bottom: 2px;}#topNavigation .topnavothers { padding-right: 8px; padding-left: 8px; border-right-width: 1px; border-right-style: solid; border-right-color: #C3CCD5; margin: 0px; padding-top: 2px; padding-bottom: 2px;}#topNavigation .topnavlast { margin: 0px; padding-left: 8px; padding-top: 2px; padding-right: 8px; padding-bottom: 2px;}#topNavigation #language a:hover { color: #A31F1F; text-decoration: none; background-color: #AFAFAF;}#leftmenu .leftnavfirst { display: block; padding-left: 3px; padding-bottom: 1px;}#leftmenu .leftnavothersfirst { margin-top: 5px;}#leftmenu .leftnavothers { display: block; padding-left: 3px; padding-bottom: 1px;}#leftmenu .leftnavlast { display: block; padding-left: 3px; padding-bottom: 1px;}#leftmenu a:hover { color: #A31F1F; background-color: #C0E3E6; padding-left: 3px; padding-bottom: 1px; text-decoration: none; -moz-border-radius: 0 0.6em 0.6em 0; -webkit-border-radius: 0 0.6em 0.6em 0;}#leftColumn #leftmenu h2 { font-size: 14px; font-weight: bold; color: #9A9A9A; padding-left: 4px; margin-top: 2px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 1px; display: block; margin-left: 2px; background-color: #FFFFFF; margin-right: 2px; border: 1px solid #C0E3E6; font-variant: normal; text-transform: none;}#contentWrapper #path { font-size: 11px; font-weight: bold; color: #999999; margin-top: 10px; margin-right: 40%; margin-bottom: 0px; margin-left: 23%; padding-left: 10px;}#path a { color: #9F9F9F; text-decoration: none; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;}#path a:hover { color: #A31F1F; text-decoration: none;}#contentWrapper #google { float: right; margin-top: 9px; width: 200px;}#contentWrapper #google input.q { border: 0; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; -o-border-radius: 1em; box-shadow: 0 -2px 1px #BFBFBF; -moz-box-shadow: 0 -2px 1px #BFBFBF; -webkit-box-shadow: 0 -2px 1px #BFBFBF; -o-box-shadow: 0 -2px 1px #BFBFBF;}#contentWrapper #leftColumn #banner { background-color: #FFFFFF; background-image: url(../image/banner_main.jpg); background-repeat: no-repeat; background-position: 0px 0px; margin: 0px; padding: 0px; height: 58px;}#content .table { border: 1px solid #E5E5E5; empty-cells:hide; border-spacing:0; border-collapse:collapse;}#content .table td, #content .table th { border: 1px solid #DADADA; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px;}#content .table td p, #content .table th p { margin: 0px;}#content .table p + p { margin-top: 1em;}#content .footnotes { float: left; margin-left: -30%; width: 26%; font-size: 10px; line-height: 13px; margin-top: 2px; clear: left; padding: 0px; margin-right: 0px; margin-bottom: 10px;}#leftmenu h2 a { color: #999999; font-weight: bold; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;}#leftmenu h2 a:hover { font-weight: bold; color: #A31F1F; background-color: #FFFFFF; padding-bottom: 0px; padding-left: 0px;}#footer a { color: #CCCCCC; font-weight: normal;}#banner img { border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none;}.footnotes a { font-weight: normal;}#content .actcec { width: 60%;}#content #actother { float: right; width: 30%;}#elsewhere { float: right; width: 180px; margin-right: 0px; margin-bottom: 20px; margin-left: 20px; padding-top: 5px; padding-bottom: 7px; padding-left: 7px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: none; border-bottom-style: solid; border-left-style: solid; border-top-color: #BDBDBD; border-right-color: #BDBDBD; border-bottom-color: #BDBDBD; border-left-color: #BDBDBD; margin-top: 5px; -moz-border-radius: 0.8em 0 0 0.8em; -webkit-border-radius: 0.8em 0 0 0.8em;} #elsewhere .notes { font-size: 10px;}#wrapper_logos { clear:both; margin:35px 0 5px 0;}#logosbottom { margin-left:0;}#logosbottom img { margin-top: 0px; margin-right: 25px; margin-bottom: 0px; margin-left: 0px; padding:5px 0; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none;}#to_top { margin-right:30px; padding:5px 0; float:left;}#to_top img { border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none;}.verysmall { font-size: 8px; color: #999; line-height: 9px;}#content #logo_top { margin-top: 10px; margin-bottom: 20px; margin-left: 0px; display: block;}.jttpoutleft { float: left; margin-left: -41px; margin-top: 224px;}.econtactoutleft { float: left; margin-left: -41px; margin-top: 224px;}#print { display: none;}.indentecontact { margin: 0 10px 0 9px; float: left; font-size: 14px; font-weight: bold; padding: 1px;}.indentecontact2 { margin: 0 10px 0 9px; float: left; font-size: 14px; font-weight: bold; padding: 1px;}#content #logo_top { display: block;}#content .listletters { display: inline; font-weight: bold; font-size: 16px;}#content .listalpha { margin-bottom: 10px;}.quotation_excpt { border: 1px dotted #097B81; padding-top: 5px; padding-right: 8px; padding-bottom: 5px; padding-left: 8px; text-align: center; line-height: 18px; font-size: 16px;}a img { border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none;}video, audio { display: block;}.editor { font-size: 11px; margin-top: 0px; margin-bottom: 0;}.issuenumber { float:left; margin:0 10px 0 0; font-size:14px; font-weight:bold; padding: 1px;}.videosublimeright { float: right; margin-top: 5px; margin-right: 0px; margin-bottom: 15px; margin-left: 25px; clear: right;}.videosublimeleft { float: left; margin-top: 5px; margin-right: 25px; margin-bottom: 15px; margin-left: 0; clear: left;}.videosublimeleftleft { float: left; margin-top: 5px; margin-right: 25px; margin-bottom: 15px; margin-left: -30%; clear: left;}.videosublimenormal { float: none; margin-top: 5px; margin-right: 25px; margin-bottom: 15px; margin-left: 0;}.playaudio { background-color: #B0DDE1; padding-top: 2px; padding-right: 5px; padding-bottom: 1px; padding-left: 16px; display: inline-block; background-image: url(../image/play_button2.png); background-repeat: no-repeat; background-position: 2px center;}.lightviewright { clear: right; float: right; margin-top: 5px; margin-bottom: 10px; margin-left: 20px;}.lightviewcaption { width: 250px; font-size: 9px; margin-top: 4px; line-height: 11px; margin-bottom: 10px; text-align: left; font-weight: bold; color: #666666; display: block;}.lightviewcaptiongallery { width: 375px; font-size: 9px; margin-top: 4px; line-height: 11px; margin-bottom: 10px; text-align: left; font-weight: bold; color: #666666; display: block;}.lightviewcaptionphoto { width: 185px; font-size: 9px; margin-top: 4px; line-height: 11px; margin-bottom: 10px; text-align: left; font-weight: bold; color: #666666; display: block;}.lightviewleft { clear: left; float: left; margin-left: -30%; margin-top: 10px; margin-right: 20px; margin-bottom: 10px;}.lightviewleftnot30 { clear: left; float: left; margin-top: 5px; margin-right: 20px; margin-bottom: 10px;}.lightviewnormal { margin-top: 5px; margin-bottom: 10px;}.imgborder { border: 1px solid rgba(230,230,230,1); padding: 5px;}.quotationbox p { text-align: center; clear: left; float: left; width: 250px; font-size: 1.2em; margin-top: 25px; margin-bottom: 10px; margin-right: 20px; margin-left: -30%; border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; border-top-color: #A8252C; border-bottom-color: #A8252C; padding-top: 8px; padding-bottom: 8px; line-height: 1.2em;}#content ol li { padding-left: 13px; list-style-position: outside; margin-left: -20px;}#content ul li { padding-left: 17px; list-style-position: outside; margin-left: -24px;}.col2 { -webkit-column-count:2; -moz-column-count:2; column-count:2; -webkit-column-gap:20px; -moz-column-gap:20px; column-gap:20px;}.col3 { -webkit-column-count:3; -moz-column-count:3; column-count:3; -webkit-column-gap:15px; -moz-column-gap:15px; column-gap:15px;} \ No newline at end of file diff --git a/graphics/bode-melochord_files/cec_print_2009.css b/graphics/bode-melochord_files/cec_print_2009.css deleted file mode 100644 index 2fdead1..0000000 --- a/graphics/bode-melochord_files/cec_print_2009.css +++ /dev/null @@ -1,690 +0,0 @@ -body { - font-family: AGaramond, Garamond, "Times New Roman", serif; - font-size: 11pt; - width: 7in; - margin-top: 0.2in; - margin-right: auto; - margin-left: auto; - margin-bottom: 0.1in; - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; - float: none; - padding: 0 0 0 0; -} -h1, h2, h3, h4, h5, h6 { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -h1 { - font-size: 20pt; - font-weight: bold; - margin-top: 10pt; - margin-bottom: 10pt; - text-align: left; - line-height: 110%; -} -h2 { - font-size: 18pt; - margin-top: 10pt; - margin-bottom: 10pt; - text-align: left; - font-weight: normal; - text-transform: uppercase; -} -h1 + h2 { - margin-bottom:12pt; - font-weight: normal; - margin-top: -10pt; -} -h3 { - font-size: 16pt; - font-weight: bold; - margin-top: 16pt; - margin-bottom: 12pt; - text-align: left; -} -h4 { - font-size: 15pt; - margin-top: 20pt; - margin-bottom: 8pt; - text-align: left; - font-weight: normal; - text-transform: uppercase; -} -h5 { - font-size: 13pt; - margin-top: 12pt; - margin-bottom: 8pt; - text-align: left; - font-weight: bold; - text-transform: uppercase; -} -h6 { - font-size: 13pt; - font-weight: bold; - text-align: left; - margin-top: 12pt; - margin-bottom: 3pt; -} -h1, h2, h3, h4, h5, h6 { - page-break-after:avoid; -} -p + h3, p + h4, p + h5 { - margin-top:20pt -} -p { - font-size: 11pt; -} -body p { - margin-top: 0px; - line-height: 120%; - margin-bottom: 8pt; -} -a, a:link, a:visited, a:hover, a:focus, a:active { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; - text-decoration: none; - font-weight: bold; -} -#outerWrapper { - background-color: #fff; - background-image: none; - border-color: #000; - margin-left: 0; - margin-right: 0; - padding-left: 0; - padding-right: 0; - color: #000; - width: 100%; -} -#outerWrapper #header { - display:none; -} -#outerWrapper #topNavigation { - display:none; -} -#outerWrapper #contentWrapper { - background-color: #fff; - background-image: none; - border-color: #000; - padding-left: 0; - padding-right: 0; - margin-left: 0; - margin-right: 0; - color: #000; - width: 100%; - overflow: visible; -} -#outerWrapper #contentWrapper #leftColumn { - display:none; -} -#outerWrapper #contentWrapper #leftColumn #banner { - display:none; -} -#outerWrapper #contentWrapper #leftColumn #leftmenu { - display:none; -} -#outerWrapper #contentWrapper #content { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; - margin-right: 0; - margin-left: 0; - padding: 0; - width: 100%; -} -#outerWrapper #contentWrapper #content h1 { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content h2 { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content h3 { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content h4 { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content h5 { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content h6 { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content a, #outerWrapper #contentWrapper #content a:link { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content a:visited { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content a:hover { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content a:focus { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #contentWrapper #content a:active { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper #footer { - display:none; -} -#outerWrapper a, #outerWrapper a:link { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper a:visited { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper a:hover { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper a:focus { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#outerWrapper a:active { - background-color: #fff; - background-image: none; - border-color: #000; - color: #000; -} -#contentWrapper #google { - display: none; -} -#contentWrapper #path { - display: none; -} -.float_left { - margin-left: 0px; - margin-top: 5px; - margin-right: 20px; - margin-bottom: 5px; - float: left; -} -.float_leftfirst { - margin-left: 0px; - margin-top: 5px; - margin-right: 20px; - margin-bottom: 5px; - float: left; -} -#content .footnotes { - float: right; - width: 25%; - font-size: 9pt; - line-height: 120%; - clear: right; - margin-top: 10px; - margin-right: 0; - margin-bottom: 10px; - margin-left: 20px; - font-family: Arial, Helvetica, sans-serif; - color: #666666; -} -.float_right { - float: right; - margin-top: 5px; - margin-right: 0px; - margin-bottom: 10px; - padding-left: 20px; -} -#cec { - float: left; - display: inline; - font-size: 24pt; - font-weight: bold; - margin-right: 8pt; - margin-top: 7px; - color: #666666; -} -#cec2 { - display: block; - font-size: 13pt; - font-weight: normal; - line-height: 105%; - margin-left: 0pt; - margin-bottom: 25px; - color: #666666; -} -#source { - font-size: 8pt; - display: block; - margin-bottom: 0; - color: #666666; -} -#cec2 .contact { - font-size: 12pt; - line-height: 105%; -} -#content a:link:after, #content a:visited:after { - content: " <" attr(href) ">"; - font-weight: normal; - font-size: 0.8em; - font-variant: normal; - text-transform: none; -} -#content a.discret:link:after, #content a.discret:visited:after { - content: ""; -} -#content .listalpha { - display:none; -} -.footnotes a { - font-weight: normal; - content: " <" attr(href) ">"; -} -#elsewhere { - float: right; - width: 33%; - margin-right: 0px; - margin-bottom: 20px; - margin-left: 20px; - padding-top: 5px; - padding-bottom: 7px; - padding-left: 7px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-style: solid; - border-right-style: none; - border-bottom-style: solid; - border-left-style: solid; - border-top-color: #BDBDBD; - border-right-color: #BDBDBD; - border-bottom-color: #BDBDBD; - border-left-color: #BDBDBD; - margin-top: 5px; -} -#elsewhere .notes { - font-size: 8pt; -} -img { - border: 1px solid #666666; -} -.img_noborder { - border: 1px none #666666; -} -#wrapper_logos { - clear:both; - margin:35px 0 5px 0; -} -#logosbottom { - margin-left:0; -} -#logosbottom img { - margin-top: 0px; - margin-right: 25px; - margin-bottom: 0px; - margin-left: 0px; - padding:5px 0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; -} -#to_top { - display:none -} -.verysmall { - font-size: 8pt; - color: #999; - line-height: 110%; -} -.float_left_noprint { - display: none; -} -.float_left_noprintfirst { - display: none; -} -.float_right_noprint { - display: none; -} -.caption { - font-size: 8pt; - margin-top: 4pt; - width: 100%; - line-height: 10pt; - margin-bottom: 8pt; - text-align: left; - font-weight: normal; - color: #666666; - display: block; - font-family: Arial, Helvetica, sans-serif; - page-break-before: auto; - page-break-after: auto; -} -.lightviewcaption { - font-size: 8pt; - font-family: Arial, Helvetica, sans-serif; - font-weight: normal; - color: #666666; - line-height: 10pt; -} -.lightviewcaptiongallery { - width: 375px; - font-size: 8pt; - font-family: Arial, Helvetica, sans-serif; - font-weight: normal; - color: #666666; - line-height: 10pt; -} -.lightviewcaptionphoto { - width: 185px; - font-size: 8pt; - font-family: Arial, Helvetica, sans-serif; - font-weight: normal; - color: #666666; - line-height: 10pt; -} -.lightviewleft { - clear: left; - float: left; - margin-left: -30%; - margin-top: 5px; - margin-right: 20px; - margin-bottom: 10px; -} -.lightviewleftnot30 { - clear: left; - float: left; - margin-top: 5px; - margin-right: 20px; - margin-bottom: 10px; -} -.lightviewnormal { - margin-top: 5px; - margin-bottom: 10px; -} - -.noprint { - display: none; -} -ul, ol, li { - margin-top: 4pt; - line-height: 115%; -} -.quotation { - font-size: 9pt; - line-height: 120%; - margin-right: 20px; - padding-left: 30px; - display: block; - font-family: Arial, Helvetica, sans-serif; -} -.byline { - font-size: 14pt; - text-align: left; - margin-top: 12pt; - margin-bottom: 12pt; - line-height: 115%; -} -.bibliography { - font-size: 9pt; - line-height: 115%; - text-align: left; - text-indent: -3em; - padding-left: 3em; -} -.notes { - font-size: 9pt; - line-height: 115%; -} -.notescenter { - font-size: 9pt; - line-height: 115%; - text-align: center; -} -#menu_bottom { - display: none; -} -.links_cec { - font-size: 10pt; - text-align: center; -} -.contact { - display: block; - font-weight: normal; - clear: both; - line-height: 120%; - margin-top: 3pt; -} -.indent { - margin-left: 20pt; -} -.inline { - display: inline; -} -.english { - color: #666666; -} -.palt { - color: #666666; -} -.appearedin { - font-size: 9pt; - font-style: italic; - margin-top: 25pt; - line-height: 115%; -} -.blurb { - font-size: 9pt; - line-height: 115%; - margin-top: -8pt; -} -.sidebar { - margin: 5pt 15pt; - float: right; - border: 1pt solid #CCCCCC; - width: 30%; - padding: 10pt; - font-size: 9pt; -} -.abstract { - margin: 5pt 0; - border: 1px solid #CCCCCC; - width: 96%; - padding: 10pt 10pt 0pt 10pt; - background-color: #FFF; - font-size: 9pt; - font-family: Arial, Helvetica, sans-serif; - line-height: 120%; -} -.abstract p { - font-size: 9pt; - font-family: Arial, Helvetica, sans-serif; - line-height: 120%; - margin-bottom: 8px; -} -.currentissue { - border: 1px solid #CCCCCC; - background-color: #FFFFFF; -} -.pre { - font-family: "Courier New", Courier, monospace; - padding-left: 12pt; -} -.jttpoutleft { - display: none; -} -.econtactoutleft { - display: none; -} -.statcounter {display:none} -.red { - color: #000000; - font-weight: bold; -} -form { - font-size: 10pt; -} -input { - font-size: 10pt; -} - -#print { - display: block; -} -h1#print { - font-size: 30pt; - font-weight: bold; -} -.contribution { - margin-left: 0px; - width: 100%; - padding: 0px; - margin-top: 5pt; - margin-bottom: 5pt; -} -.indentecontact { - float: left; - margin-top: 5pt; - margin-right: 5pt; - margin-bottom: 1pt; - margin-left: 3pt; - font-size:14pt; - font-weight:bold; -} -.indentecontact2 { - margin-top: 1pt; - margin-right: 5pt; - margin-bottom: 1pt; - margin-left: 3pt; - float: left; - font-size:14pt; - font-weight:bold; -} -#content #logo_top { - display: none; -} -.quotation_excpt { - border: 1px dotted #666; - padding-top: 5px; - padding-right: 8px; - padding-bottom: 5px; - padding-left: 8px; - text-align: center; - line-height: 18pt; - font-size: 16pt; -} -.editor { - font-size: 11pt; - margin-top: 0pt; - margin-bottom: 0; -} -.issuenumber { - float:left; - margin:5pt 10pt 0 0; - font-size:14pt; - font-weight:bold; -} -.CollapsiblePanelTab { - font-size: 14pt; -} -.issuetitle { - font-size: 14pt; - margin-top: 0px; - padding-top: 0px; -} -#content .issuenumber a { - font-weight: bold; -} -#content .indentecontact a { - font-size: 14pt; - font-weight: bold; -} -#content .indentecontact2 a { - font-size: 14pt; - font-weight: bold; -} -.to_top_s { - display: none; -} -.quotationbox p { - clear: left; - float: left; - width: 250px; - font-size: 1.2em; - margin-top: 20px; - margin-bottom: 10px; - margin-right: 20px; - margin-left: 0; - border-top-width: 1px; - border-bottom-width: 1px; - border-top-style: solid; - border-bottom-style: solid; - border-top-color: #666666; - border-bottom-color: #666666; - padding-top: 8px; - padding-bottom: 8px; - line-height: 1.2em; - font-family: Arial, Helvetica, sans-serif; - color: #666666; -} -.col2 { - -webkit-column-count:2; - -moz-column-count:2; - column-count:2; - -webkit-column-gap:20px; - -moz-column-gap:20px; - column-gap:20px; -} -.col3 { - -webkit-column-count:3; - -moz-column-count:3; - column-count:3; - -webkit-column-gap:15px; - -moz-column-gap:15px; - column-gap:15px; -} \ No newline at end of file diff --git a/graphics/bode-melochord_files/controls.js b/graphics/bode-melochord_files/controls.js deleted file mode 100644 index 5137ab5..0000000 --- a/graphics/bode-melochord_files/controls.js +++ /dev/null @@ -1,965 +0,0 @@ -// script.aculo.us controls.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 - -// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// (c) 2005-2010 Ivan Krstic (http://blogs.law.harvard.edu/ivan) -// (c) 2005-2010 Jon Tirsen (http://www.tirsen.com) -// Contributors: -// Richard Livsey -// Rahul Bhargava -// Rob Wills -// -// script.aculo.us is freely distributable under the terms of an MIT-style license. -// For details, see the script.aculo.us web site: http://script.aculo.us/ - -// Autocompleter.Base handles all the autocompletion functionality -// that's independent of the data source for autocompletion. This -// includes drawing the autocompletion menu, observing keyboard -// and mouse events, and similar. -// -// Specific autocompleters need to provide, at the very least, -// a getUpdatedChoices function that will be invoked every time -// the text inside the monitored textbox changes. This method -// should get the text for which to provide autocompletion by -// invoking this.getToken(), NOT by directly accessing -// this.element.value. This is to allow incremental tokenized -// autocompletion. Specific auto-completion logic (AJAX, etc) -// belongs in getUpdatedChoices. -// -// Tokenized incremental autocompletion is enabled automatically -// when an autocompleter is instantiated with the 'tokens' option -// in the options parameter, e.g.: -// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' }); -// will incrementally autocomplete with a comma as the token. -// Additionally, ',' in the above example can be replaced with -// a token array, e.g. { tokens: [',', '\n'] } which -// enables autocompletion on multiple tokens. This is most -// useful when one of the tokens is \n (a newline), as it -// allows smart autocompletion after linebreaks. - -if(typeof Effect == 'undefined') - throw("controls.js requires including script.aculo.us' effects.js library"); - -var Autocompleter = { }; -Autocompleter.Base = Class.create({ - baseInitialize: function(element, update, options) { - element = $(element); - this.element = element; - this.update = $(update); - this.hasFocus = false; - this.changed = false; - this.active = false; - this.index = 0; - this.entryCount = 0; - this.oldElementValue = this.element.value; - - if(this.setOptions) - this.setOptions(options); - else - this.options = options || { }; - - this.options.paramName = this.options.paramName || this.element.name; - this.options.tokens = this.options.tokens || []; - this.options.frequency = this.options.frequency || 0.4; - this.options.minChars = this.options.minChars || 1; - this.options.onShow = this.options.onShow || - function(element, update){ - if(!update.style.position || update.style.position=='absolute') { - update.style.position = 'absolute'; - Position.clone(element, update, { - setHeight: false, - offsetTop: element.offsetHeight - }); - } - Effect.Appear(update,{duration:0.15}); - }; - this.options.onHide = this.options.onHide || - function(element, update){ new Effect.Fade(update,{duration:0.15}) }; - - if(typeof(this.options.tokens) == 'string') - this.options.tokens = new Array(this.options.tokens); - // Force carriage returns as token delimiters anyway - if (!this.options.tokens.include('\n')) - this.options.tokens.push('\n'); - - this.observer = null; - - this.element.setAttribute('autocomplete','off'); - - Element.hide(this.update); - - Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this)); - Event.observe(this.element, 'keydown', this.onKeyPress.bindAsEventListener(this)); - }, - - show: function() { - if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update); - if(!this.iefix && - (Prototype.Browser.IE) && - (Element.getStyle(this.update, 'position')=='absolute')) { - new Insertion.After(this.update, - ''); - this.iefix = $(this.update.id+'_iefix'); - } - if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50); - }, - - fixIEOverlapping: function() { - Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)}); - this.iefix.style.zIndex = 1; - this.update.style.zIndex = 2; - Element.show(this.iefix); - }, - - hide: function() { - this.stopIndicator(); - if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update); - if(this.iefix) Element.hide(this.iefix); - }, - - startIndicator: function() { - if(this.options.indicator) Element.show(this.options.indicator); - }, - - stopIndicator: function() { - if(this.options.indicator) Element.hide(this.options.indicator); - }, - - onKeyPress: function(event) { - if(this.active) - switch(event.keyCode) { - case Event.KEY_TAB: - case Event.KEY_RETURN: - this.selectEntry(); - Event.stop(event); - case Event.KEY_ESC: - this.hide(); - this.active = false; - Event.stop(event); - return; - case Event.KEY_LEFT: - case Event.KEY_RIGHT: - return; - case Event.KEY_UP: - this.markPrevious(); - this.render(); - Event.stop(event); - return; - case Event.KEY_DOWN: - this.markNext(); - this.render(); - Event.stop(event); - return; - } - else - if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN || - (Prototype.Browser.WebKit > 0 && event.keyCode == 0)) return; - - this.changed = true; - this.hasFocus = true; - - if(this.observer) clearTimeout(this.observer); - this.observer = - setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); - }, - - activate: function() { - this.changed = false; - this.hasFocus = true; - this.getUpdatedChoices(); - }, - - onHover: function(event) { - var element = Event.findElement(event, 'LI'); - if(this.index != element.autocompleteIndex) - { - this.index = element.autocompleteIndex; - this.render(); - } - Event.stop(event); - }, - - onClick: function(event) { - var element = Event.findElement(event, 'LI'); - this.index = element.autocompleteIndex; - this.selectEntry(); - this.hide(); - }, - - onBlur: function(event) { - // needed to make click events working - setTimeout(this.hide.bind(this), 250); - this.hasFocus = false; - this.active = false; - }, - - render: function() { - if(this.entryCount > 0) { - for (var i = 0; i < this.entryCount; i++) - this.index==i ? - Element.addClassName(this.getEntry(i),"selected") : - Element.removeClassName(this.getEntry(i),"selected"); - if(this.hasFocus) { - this.show(); - this.active = true; - } - } else { - this.active = false; - this.hide(); - } - }, - - markPrevious: function() { - if(this.index > 0) this.index--; - else this.index = this.entryCount-1; - this.getEntry(this.index).scrollIntoView(true); - }, - - markNext: function() { - if(this.index < this.entryCount-1) this.index++; - else this.index = 0; - this.getEntry(this.index).scrollIntoView(false); - }, - - getEntry: function(index) { - return this.update.firstChild.childNodes[index]; - }, - - getCurrentEntry: function() { - return this.getEntry(this.index); - }, - - selectEntry: function() { - this.active = false; - this.updateElement(this.getCurrentEntry()); - }, - - updateElement: function(selectedElement) { - if (this.options.updateElement) { - this.options.updateElement(selectedElement); - return; - } - var value = ''; - if (this.options.select) { - var nodes = $(selectedElement).select('.' + this.options.select) || []; - if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select); - } else - value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal'); - - var bounds = this.getTokenBounds(); - if (bounds[0] != -1) { - var newValue = this.element.value.substr(0, bounds[0]); - var whitespace = this.element.value.substr(bounds[0]).match(/^\s+/); - if (whitespace) - newValue += whitespace[0]; - this.element.value = newValue + value + this.element.value.substr(bounds[1]); - } else { - this.element.value = value; - } - this.oldElementValue = this.element.value; - this.element.focus(); - - if (this.options.afterUpdateElement) - this.options.afterUpdateElement(this.element, selectedElement); - }, - - updateChoices: function(choices) { - if(!this.changed && this.hasFocus) { - this.update.innerHTML = choices; - Element.cleanWhitespace(this.update); - Element.cleanWhitespace(this.update.down()); - - if(this.update.firstChild && this.update.down().childNodes) { - this.entryCount = - this.update.down().childNodes.length; - for (var i = 0; i < this.entryCount; i++) { - var entry = this.getEntry(i); - entry.autocompleteIndex = i; - this.addObservers(entry); - } - } else { - this.entryCount = 0; - } - - this.stopIndicator(); - this.index = 0; - - if(this.entryCount==1 && this.options.autoSelect) { - this.selectEntry(); - this.hide(); - } else { - this.render(); - } - } - }, - - addObservers: function(element) { - Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this)); - Event.observe(element, "click", this.onClick.bindAsEventListener(this)); - }, - - onObserverEvent: function() { - this.changed = false; - this.tokenBounds = null; - if(this.getToken().length>=this.options.minChars) { - this.getUpdatedChoices(); - } else { - this.active = false; - this.hide(); - } - this.oldElementValue = this.element.value; - }, - - getToken: function() { - var bounds = this.getTokenBounds(); - return this.element.value.substring(bounds[0], bounds[1]).strip(); - }, - - getTokenBounds: function() { - if (null != this.tokenBounds) return this.tokenBounds; - var value = this.element.value; - if (value.strip().empty()) return [-1, 0]; - var diff = arguments.callee.getFirstDifferencePos(value, this.oldElementValue); - var offset = (diff == this.oldElementValue.length ? 1 : 0); - var prevTokenPos = -1, nextTokenPos = value.length; - var tp; - for (var index = 0, l = this.options.tokens.length; index < l; ++index) { - tp = value.lastIndexOf(this.options.tokens[index], diff + offset - 1); - if (tp > prevTokenPos) prevTokenPos = tp; - tp = value.indexOf(this.options.tokens[index], diff + offset); - if (-1 != tp && tp < nextTokenPos) nextTokenPos = tp; - } - return (this.tokenBounds = [prevTokenPos + 1, nextTokenPos]); - } -}); - -Autocompleter.Base.prototype.getTokenBounds.getFirstDifferencePos = function(newS, oldS) { - var boundary = Math.min(newS.length, oldS.length); - for (var index = 0; index < boundary; ++index) - if (newS[index] != oldS[index]) - return index; - return boundary; -}; - -Ajax.Autocompleter = Class.create(Autocompleter.Base, { - initialize: function(element, update, url, options) { - this.baseInitialize(element, update, options); - this.options.asynchronous = true; - this.options.onComplete = this.onComplete.bind(this); - this.options.defaultParams = this.options.parameters || null; - this.url = url; - }, - - getUpdatedChoices: function() { - this.startIndicator(); - - var entry = encodeURIComponent(this.options.paramName) + '=' + - encodeURIComponent(this.getToken()); - - this.options.parameters = this.options.callback ? - this.options.callback(this.element, entry) : entry; - - if(this.options.defaultParams) - this.options.parameters += '&' + this.options.defaultParams; - - new Ajax.Request(this.url, this.options); - }, - - onComplete: function(request) { - this.updateChoices(request.responseText); - } -}); - -// The local array autocompleter. Used when you'd prefer to -// inject an array of autocompletion options into the page, rather -// than sending out Ajax queries, which can be quite slow sometimes. -// -// The constructor takes four parameters. The first two are, as usual, -// the id of the monitored textbox, and id of the autocompletion menu. -// The third is the array you want to autocomplete from, and the fourth -// is the options block. -// -// Extra local autocompletion options: -// - choices - How many autocompletion choices to offer -// -// - partialSearch - If false, the autocompleter will match entered -// text only at the beginning of strings in the -// autocomplete array. Defaults to true, which will -// match text at the beginning of any *word* in the -// strings in the autocomplete array. If you want to -// search anywhere in the string, additionally set -// the option fullSearch to true (default: off). -// -// - fullSsearch - Search anywhere in autocomplete array strings. -// -// - partialChars - How many characters to enter before triggering -// a partial match (unlike minChars, which defines -// how many characters are required to do any match -// at all). Defaults to 2. -// -// - ignoreCase - Whether to ignore case when autocompleting. -// Defaults to true. -// -// It's possible to pass in a custom function as the 'selector' -// option, if you prefer to write your own autocompletion logic. -// In that case, the other options above will not apply unless -// you support them. - -Autocompleter.Local = Class.create(Autocompleter.Base, { - initialize: function(element, update, array, options) { - this.baseInitialize(element, update, options); - this.options.array = array; - }, - - getUpdatedChoices: function() { - this.updateChoices(this.options.selector(this)); - }, - - setOptions: function(options) { - this.options = Object.extend({ - choices: 10, - partialSearch: true, - partialChars: 2, - ignoreCase: true, - fullSearch: false, - selector: function(instance) { - var ret = []; // Beginning matches - var partial = []; // Inside matches - var entry = instance.getToken(); - var count = 0; - - for (var i = 0; i < instance.options.array.length && - ret.length < instance.options.choices ; i++) { - - var elem = instance.options.array[i]; - var foundPos = instance.options.ignoreCase ? - elem.toLowerCase().indexOf(entry.toLowerCase()) : - elem.indexOf(entry); - - while (foundPos != -1) { - if (foundPos == 0 && elem.length != entry.length) { - ret.push("
Please download and install the required plugin from:
#{pluginspage}