function maillink(lhs,rhs){document.write("" + lhs + "@" + rhs + "<\/a>");} function bgVideoSource(s){ if (window.matchMedia("(min-width: 480px)").matches) { /* the viewport is at least 480 pixels wide */ document.write(''); } else { /* the viewport is less than 400 pixels wide */ } }