function sevominJobViewer(settings) { var jobs = $$jobs; if (settings.container == undefined || settings.container == '') throw 'You did not specify any container'; var container = document.querySelector(settings.container); if (container == undefined) throw 'You did not specify any container'; this.show = function () { var content = '
'; content += jobs[i].JobSummary + '' + settings.linkText + '
'; content += '