var isread = 0; var barrierfreewebid = 33; var readtype = 'a,p'; $(function(){ var pathname = window.location.pathname; if(pathname.indexof('/preview.do')!=-1||pathname.indexof('/preview_show.do')!=-1||pathname.indexof('/view/')!=-1){ path1 = "/jcms/jcms_files/jcms1/web33/site/module/jslib/accessiblereading/js/barrierfree.js"; }else{ path1 = '/module/jslib/accessiblereading/js/barrierfree.js'; } $.getscript(path1); });