function dhtmlLoadScript(url) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = url;
document.getElementsByTagName('head')[0].appendChild(script);
}
function dhtmlLoadScriptIFrame(iframeId, url) {
var iframe = document.createElement("IFRAME");
iframe.style.display="none";
iframe.name = iframeId;
iframe.id = iframeId;
iframe.src = url;
document.body.appendChild(iframe);
//var iframeDocument = window.frames[iframeId].document;
//iframeDocument.write('