
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - edrn.js - */
// http://edrn.jpl.nasa.gov/portal_javascripts/edrn.js?original=1
function roundEKECorners(){var divs=document.getElementsByTagName('div');var roundedDivs=[];for(var i=0;i<divs.length;++i){if (/\bekeApplication\b/.exec(divs[i].className)){roundedDivs[roundedDivs.length]=divs[i]}}
for(var i=0;i<roundedDivs.length;++i){var original=roundedDivs[i];original.className=original.className.replace('ekeApplication','original');var topRight=document.createElement('div');topRight.className='ekeAppRounded';original.parentNode.replaceChild(topRight,original);var topLeft=document.createElement('div');topLeft.className='topLeft';topRight.appendChild(topLeft);var bottomRight=document.createElement('div');bottomRight.className='bottomRight';topLeft.appendChild(bottomRight);var alpha=document.createElement('div');alpha.className='alpha';bottomRight.appendChild(alpha)
var beta=document.createElement('div');beta.className='beta';alpha.appendChild(beta)
beta.appendChild(original)}}
registerPloneFunction(roundEKECorners);

/* - eke.js - */
// http://edrn.jpl.nasa.gov/portal_javascripts/eke.js?original=1


/* - clouseau_trigger.js - */
// http://edrn.jpl.nasa.gov/portal_javascripts/clouseau_trigger.js?original=1
function showClouseau(context){var footer=document.getElementById("region-content").nextSibling;var wrapper=document.getElementById("region-content").parentNode;var div=document.createElement("div");var iframe=document.createElement("iframe");var existing=document.getElementById("clouseau_iframe");if(existing){wrapper.removeChild(existing)} else{div.id="clouseau_iframe";iframe.src="clouseau_minimal?context="+context;iframe.style.width="100%";iframe.style.height="800px";div.appendChild(iframe);wrapper.insertBefore(div,footer);wrapper.focus()}}
