﻿// JScript File
function CallLoader(ObjID)
{
 document.getElementById(ObjID).style.display="";
}
function ClearLoader()
{
 document.getElementById("imgloader").style.display="none";
}
function trim(strText) { 

// this will get rid of leading spaces
while (strText.substring(0,1) == ' ')
    strText = strText.substring(1, strText.length);

// this will get rid of trailing spaces
while (strText.substring(strText.length-1,strText.length) == ' ')
    strText = strText.substring(0, strText.length-1);
var pos=0
var tevePos=0
while(strText.indexOf("\n",pos)>-1)
{
    tevePos=strText.indexOf("\n",pos)
    pos=tevePos+1
}

return strText;
}