var val = document.getElementById('citecontent').innerHTML; var href = decodeURIComponent(window.location.href); var url = decodeURIComponent(escape(href.split("#")[0])); url = decodeURIComponent(escape(url.split(",")[0])); art.dialog.defaults.title = url; art.dialog.data('cite', val); art.dialog.data('homeDemoPath', '/Scripts/plus/artDialog/'); art.dialog.open('/Scripts/plus/artDialog/citeiframe.html');