window.open function load CSS
<p>Is there any way to load CSS during pop up a window? </p>

<pre><code>       function kmt_ShowBoxPopup(targetDivID, aTag)
        {
        var orgin_div_content=document.getElementById(targetDivID).innerHTML;
        //alert(targetDivID);
        showBoxPopupWin =window.open("",targetDivID,'height=400,width=710,screenX=250,screenY=80, scrollbars=yes');
        showBoxPopupWin.document.write ('&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"&gt;'+
'&lt;html&gt;&lt;head&gt;&lt;title&gt;'+targetDivID+'&lt;/title&gt;&lt;/head&gt;&lt;body&gt;'+orgin_div_content+'&lt;/body&lt;/html&gt;');
        if (window.focus) {showBoxPopupWin.focus()}
        }


    &lt;a class="cs_popuplink" onclick="kmt_ShowBoxPopup('BOX02_01',this); return false; "&gt;show me how..&lt;/a&gt;


 &lt;div id = "BOX02_01" STYLE=display:none&gt;
    p
    p
    p
    &lt;/div&gt;
</code></pre>

<p>Here is my code. I would like to load a CSS in showBoxPopupwin.document.write function. Is it possible? </p>

<p>cheers,
Qing </p>
