I have the following code, which launches a coldfusion page in a new window

```
$(".productDetailLink").click(function(e) {
    var listings_clickedId = $(this).attr("id")
    var product_id = listings_clickedId.split("^")[1]
    openWindow("/popupDetail.cfm?entity=products&product_id=" + product_id,"detail","width=900,height=600,left=200,top=50,scrollbars=yes");
})

```

I'm pretty sure it wasn't doing this before but instead of opening the page, it launches a file download dialog box, asking me if I want to download the page, instead of just launching the page.

Any help greatly appreciated.

```
function openWindow(url,windowName,winatts){
        var windowName = windowName || 'NewWindow';
        var winatts = winatts || 'width=800,height=600,left=200,top=50,scrollbars=yes';
        window.open(url,windowName,winatts);
    }

```