I am using the BlockUI jquery plug in to lock pages for accepting input while processing. I want to allow the admins to change the value of the prompt/displayed message. Below is the line, where I am needing the customized value:

Code:
$.blockUI.defaults.message = '<img src="Images/wait26trans.gif" /><h4>Please wait, while we process your payment...</h4>';
I tried creating a stringresouce for the value and tried this code, but it didn't work:

Code:
$.blockUI.defaults.message = '<img src="Images/wait26trans.gif" /><h4><%$ Tokens:StringResource,checkoutpayment.aspx.32 %></h4>';
It tells me to use an ASP.Literal to wrap the stringresouce. That won't work in javascript. Has anyone done something like this?

Any help would be appreciated.