function TMA_Popup()
{
var sitenum = getQuerystring('SiteNum');
var clntnum = document.getElementById('<%=txt_ClientNum.ClientID %>').value;
window.showModalDialog('tma_codes.aspx?SiteNum=' + sitenum + '&ClientNum=' + clntnum,null,'height=450, width=450,status=no, resizable=no, scrollbars=yes, toolbar=no,location=no,menubar=no');
}
function getQuerystring(key, default_)
{
if (default_==null) default_="";
key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regex = new RegExp("[\\?&]"+key+"=([^&#]*)");
var qs = regex.exec(window.location.href);
if(qs == null)
return default_;
else
return qs[1];
}
Pl put Ur Code, then only we can get the where error we will know
-as of my understanding Bellow URl Help U
http://forums.devx.com/showthread.php?threadid=143380