/* INCLUDE THE CSS FILE FOR THE ACTUAL BROWSER */ if (navigator.appName == "Netscape") { document.write(""); }else if( navigator.userAgent.toLowerCase().substring(0,1) == "m" && navigator.userAgent.toLowerCase().indexOf("opera") == -1 ) { document.write(""); }else { document.write(""); } // Update some layout elements function initLayout() { adjustMenuDesign(); adjustImageWidths(); removeFontTags(document.body); } // new submitForm and sendQuery, 050201 function submitForm(e) { var code; if (!e) var e = window.event; if (e.keyCode) code = e.keyCode; else if (e.which) code = e.which; if (code==13) { sendQuery(); } } function sendQuery() { var bodyURL=""; bodyURL = "/MYWEB/Corp.nsf/SearchResult?ReadForm&query=" + escape(document.getElementById('query').value) + "&count=10&st=0&fr=0"; window.location.href = bodyURL; } //open and prefill submitform from Event cms document function openfrmDoc() { if(this.name=="RegisterWin") { var eForm = opener.document.forms['eventData']; var rForm = this.document.forms['_frmFeedbackWeb']; if (eForm != null && rForm != null) { rForm.field_1.value = eForm.eTitle.value ; rForm.field_2.value = eForm.eStart.value; } } } // hide annoying Trial label... //function hideTrial() { //if (navigator.appName=="Microsoft Internet Explorer") { // document.getElementById('apy0gk').outerHTML = "
"; //} else { // var base = document.getElementById('menubar'); // var oldNode = document.getElementById('apy0gk'); // var newNode = document.createElement("div"); // newNode.setAttribute("id","apy0gk"); // newNode.setAttribute("position","absolute"); // newNode.setAttribute("left","-100"); // newNode.setAttribute("top","-100"); // base.replaceChild(newNode, oldNode); // } //} // Adjust image caption width in content documents function adjustImageWidths() { for (var i=0; i-tags generated by Domino var plain; function removeFontTags(thisNode) { var nl = thisNode.childNodes; // consume all child nodes for (var i=0; i 1) this.q = q.substring(1, q.length); else this.q = null; this.keyValuePairs = new Array(); if(q) { for(var i=0; i < this.q.split("&").length; i++) { this.keyValuePairs[i] = this.q.split("&")[i]; } } this.getKeyValuePairs = function() { return this.keyValuePairs; } this.getValue = function(s) { for(var j=0; j < this.keyValuePairs.length; j++) { if(this.keyValuePairs[j].split("=")[0] == s) return this.keyValuePairs[j].split("=")[1]; } return false; } this.getParameters = function() { var a = new Array(this.getLength()); for(var j=0; j < this.keyValuePairs.length; j++) { a[j] = this.keyValuePairs[j].split("=")[0]; } return a; } this.getLength = function() { return this.keyValuePairs.length; } } function queryString(key){ var page = new PageQuery(window.location.search); return unescape(page.getValue(key)); } function displayItem(key){ if(queryString(key)=='false'){ //no parameters, load default file filmName = "mydata_Agilis.wmv"; }else{ filmName = queryString('media'); descr = queryString('desc'); } }