Unexpected runtime error

The runtime has encountered an unexpected error.

Error source

Page Name:/authorProfile.xsp
Control Id: dspLogo

Exception

Error while executing JavaScript computed expression
Script interpreter error, line=1, col=18: [ReferenceError] 'glblstrStandingsDB' not found

JavaScript code

   1: var x= @DbLookup(glblstrStandingsDB,"Lookup","LeagueLogo",2);
   2: if (!@IsError(x)){
   3: 	x = x.substring(11,x.length-3);//strip out [<img src= and end sqaure bracket
   4: 	x = glblstrBaseURL +x;
   5: 	//return "<table border=\"0\" height=\"150\" width=\"150\" style=\"background:url(" + x +") no-repeat\" align=\"center\"><tr><td> </td></tr></table>"
   6: 	///return "<table border=\"0\" style=\"background:url(" + x +") no-repeat\" align=\"center\"><tr><td> </td></tr></table>"
   7: 	return "<img src=\""+ x +"\" style=\"max-width: 100%;height: auto;\">"
   8: 
   9: }
  10: else{
  11: 	return;
  12: }

Stack Trace