var tryme = document.getElementById("listing_id").value; var win = new Window({className: "spread", title: "More Information on Listing", top:70, left:100, width:400, height:300, url: "https://www.pixilink.com/newmap/info.php?id="+tryme, showEffectOptions: {duration:1.5}}) win.show();