User:Amrsatrio/global.js

/* Nothing here. */

$.click(function {   replaceContentInContainer("modal", "modalVisible"); }

function replaceContentInContainer(matchClass, content) { var elems = document.getElementsByTagName('*'), i;   for (i in elems) { if((' ' + elems[i].className + ' ').indexOf(' ' + matchClass + ' ')               > -1) { elems[i].className = elems[i].className + " content"; }   } }