The object of a contract must be lawful when the contract is made, and possible and ascertainable by the time the contract is to be performed.
var val = document.getElementById('citecontent').innerHTML; art.dialog.defaults.title = window.location.href; art.dialog.data('cite', val); art.dialog.data('homeDemoPath', '/Scripts/plus/artDialog/'); art.dialog.open('/Scripts/plus/artDialog/citeiframe.html');