// Check to see whether the protocol supports java script, if it
// does then check if we have a idRef to a script and if the script
// asset is invalid, if so then put out plain markup without
// <noscript></noscript> elements, but wrapped in span elements.
//
if (protocol.supportsJavaScript()) {
// Is there and idref attribute?
if (attributes.getIdref() != null) {
// Is the idref's asset valid?
if (pageContext.getIdValue(attributes.getIdref()) == null) {
// We need to skip the tags but still send the plain