// Display status message
	function statusbarmsg(msg){
	
//msg="test to see how js file works";
	timeID=15;
	stcnt=16;
	wmsg=new Array(33);
		wmsg[0]=msg;
		blnk="                         ";
		for(i=1;i<32;i++)
		{
			b=blnk.substring(0,i);
			wmsg[i]="";
			for(j=0;j<msg.length;j++)
				wmsg[i]=wmsg[i]+msg.charAt(j)+b;
					}
}
	function wiper()
	{
		if(stcnt>-1)
			str=wmsg[stcnt];
			else
				str=wmsg[0];
		if(stcnt--<-40)
			stcnt=31;
			status=str;
			clearTimeout(timeID);
			timeID=setTimeout("wiper()",100);
	}
	
	//wiper();
	
// Add a function called trim as a method of the prototype 
// object of the String constructor.
String.prototype.trim = function()
{
    // Use a regular expression to replace leading and trailing 
    // spaces with the empty string
    return this.replace(/(^\s*)|(\s*$)/g, "");
}
