');
ModalDialogWindow.document.writeln('');
ModalDialogWindow.document.writeln('');
ModalDialogWindow.document.close();
ModalDialogWindow.focus();
ModalDialogInterval = window.setInterval("ModalDialogMaintainFocus()",5);
}
//****************************************************************************************************
// FUNCTION : Write data into layer
// INPUT : ID - ID of the layer
// parentID - Parent ID of the layer
// sText - Data to be written into the layer
// RETURN : true or false
//****************************************************************************************************
function writeLayer(ID, parentID, sText)
{
if (document.layers)
{
var oLayer = (parentID)? eval('document.' + parentID + '.document.' + ID + '.document') : document.layers[ID].document;
oLayer.open();
oLayer.write(sText);
oLayer.close();
}
else if (document.all)
{
document.all[ID].innerHTML = sText
}
else if (parseInt(navigator.appVersion)>=5&&navigator.appName=="Netscape")
{
document.getElementById(ID).innerHTML = sText;
}
}