var regExp = /<\/?[^>]+>/gi;
function ReplaceTags(xStr){
      xStr = xStr.replace(regExp,"");
        return xStr;
      }
function addslashes( str ) {  
        return (str+'').replace(/([\\"'])/g, "\\$1").replace(/\0/g, "\\0");  
    } 

function ScrollTo(id){
      if((obj = document.getElementById(id)) && obj != null){
          window.scrollTo(0, obj.offsetTop);
      }
  }
function ScrollDivTo(id){
		document.getElementById(id).scrollIntoView();
  }  
  
  
function Waiting(wid){
	document.getElementById('waiticon').innerHTML = "<img src='./design/icoa/downloadingnow.gif'>";
  }

