﻿// JScript File
function BTNSubmit_onClientSideClick()
{
    
   
   if (RequiredFieldsMissing())
   {
        if(document.all)
        {
            //alert("true");
            window.event.returnValue = false;
        }
        else
            return false;
   }


}


function SetInnerText(elementid,content){
if (document.getElementById && !document.all){
rng = document.createRange();
el = document.getElementById(elementid);
rng.setStartBefore(el);
htmlFrag = rng.createContextualFragment(content);
while (el.hasChildNodes())
el.removeChild(el.lastChild);
el.appendChild(htmlFrag);
}
else
{
    el = document.getElementById(elementid);
    el.innerText = content;
}
    
}