getting an error:Access is denied on window.open() function in javascript
<p>i am getting a problem while opening a file.
Here is my javascript code:</p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;
var refViewer = null;

function OpenViewerWindow(image) {
   alert(image)
   return window.open("file:///E:/HOBBYHOMES_E-PORTFOLIO/HobbyHomesWebApp/ePortfolio/PortFolioContent/5/ReferenceMaterial/"+image, "Viewer", "height=400px,width=550px,menubar=no,scrollbars=yes ,resizable=yes,top=100px,left=234px");
}


function openViewer(image) {

    if (refViewer != null) {
       if (refViewer.closed == false) {
            refViewer.close();
            refViewer = OpenViewerWindow(image);
        }
        else refViewer = OpenViewerWindow(image);
    }
    else
        refViewer = OpenViewerWindow(image);
}   
&lt;/script&gt;
</code></pre>

<p></p>

<p>@item.candidateportfolo.FilePath contains the filename:prtf_1.docx</p>

<p>but my file is not opening.
In Internet Explorer i get Accesdenied Error.<br>
In Mozilla Firfox it doesnot open<br>
Am i specifying a wrong path.Please help me</p>
