/* FCFCP Javascript */
/* common.js */
/* defines common functions */
/* last updated 20100330 */

// Details slider
$(document).ready(function(){ $("#details-trigger").click(function(event) { event.preventDefault(); $("#details").slideToggle(); }); });

// URL and Embed auto selects
$(document).ready(function(){$("#embed,#url").focus(function(){this.select();});});

//Search and Mailing List text replace
$(document).ready(function(){$("#search-text").toggleVal({populateFrom: "label",removeLabels: true});});
$(document).ready(function(){$("#mailinglist-email").toggleVal({populateFrom: "label",removeLabels: true});});

/* end common.js */
