
/* 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 -
 */

/* - input-label.js - */
// http://beta.jamesstroud.com/portal_javascripts/input-label.js?original=1
var ploneInputLabel={focus: function(e){var t=jq(e.target);if(t.hasClass('inputLabelActive')&&t.val()==t.attr('title'))
t.val('').removeClass('inputLabelActive')},blur: function(e){var t=jq(e.target);if(!t.val())
t.addClass('inputLabelActive').val(t.attr('title'))},submit: function(e){jq('input[title].inputLabelActive').filter(function(){return jq(this).val()==this.title}).val('').removeClass('inputLabelActive')}};jq(function(){jq('form:has(input[title].inputLabel)').submit(ploneInputLabel.submit);jq('input[title].inputLabel').each(function(){jq(this).focus(ploneInputLabel.focus).blur(ploneInputLabel.blur);if(!jq(this).val())
jq(this).val(this.title).removeClass('inputLabel').addClass('inputLabelActive')})});

/* - plone_minwidth.js - */
// http://beta.jamesstroud.com/portal_javascripts/plone_minwidth.js?original=1
/*@cc_on
@if(@_win32&&@_jscript_version>4)
var rulersCreated=0
function fixwidth(){var el;el=document.getElementById('visual-portal-wrapper');if(!rulersCreated){ruler=document.createElement('div');ruler.style.width="70em";ruler.style.position="absolute";ruler.style.top="-10px"
ruler.style.visibility="hidden";document.body.insertBefore(ruler,document.body.firstChild)
ruler2=document.createElement('div');ruler2.style.position="relative";ruler2.style.visibility="hidden";ruler2.style.clear="both"
document.body.appendChild(ruler2)
rulersCreated=1}
if(ruler2.offsetWidth<ruler.offsetWidth){el.style.width="70em"}else{el.style.width=ruler2.offsetWidth+'px'}}
window.attachEvent('onload',fixwidth);window.attachEvent('onresize',fixwidth);@end @*/
