processing=false;

function loadCss(ls){
var sc = document.createElement("LINK")
sc.setAttribute("href",ls);
sc.setAttribute("rel","stylesheet");
sc.setAttribute("content-type","text/css");
document.body.appendChild(sc);

}

function loadScript(ls){
var sc = document.createElement("SCRIPT")
sc.setAttribute("src",ls + "?" + new Date());
//alert(ls)
document.body.appendChild(sc);
}

var formHTML = ""

function formClose(aaa){
closeBusy()
hid_valiDiv()
document.getElementById('formShow').style.display = 'none'; 
document.getElementById("formPlot").innerHTML = formHTML
if (!(aaa == undefined))
{
	window.location = "/index.shtml"
}

}


function formComplete(httpresp){
var fs = document.getElementById("formShow")
fs.style.display = "block";
document.getElementById("formPlot").innerHTML = "<br>" + trim(httpresp) + "<center><br><a href=javascript:void(0) onclick=formClose(1)><img src='/core/images/b_close.gif' border=0></a></center>"
				fs.style.left = ((document.body.clientWidth - fs.offsetWidth) / 2)
				fs.style.top = ((document.body.clientHeight - fs.offsetHeight) / 2)  + document.body.scrollTop
				fs.style.zIndex="98"
				showBusy(fs.style.zIndex - 1)
				hid_valiDiv()
				}



var tl

if (document.all)
{
	tl = document.body
}
else{
	tl = window
}


function setUpElements(){
var fs = createFrame('formShow', 'formPlot',"formClose()")
document.body.appendChild(fs)
fs.style.display = "none"
fs.className = "formShow"
}

//window.onload = function(e){
/*loadScript("/core/commonJs/uiCreate.js");
loadScript("/core/commonJs/jsString.js");
loadScript("/core/commonJs/validiv.js");
loadScript("/core/commonJs/busydiv.js");
loadScript("/core/commonJs/jsDate.js");
loadScript("/core/commonJs/calender_date.js");
loadScript("/core/commonJs/formfuncs.js");
loadScript("/core/commonJs/ajaxFetch.js");
loadCss("/core/commonCss/commons.css");
loadCss("/core/commonCss/calender.css");
loadCss("/core/ui/frameTable/CSS/form-stylesheet.css");*/
setTimeout("setUpElements()",700)
//}

