$(document).ready(function(){ code_element = $("pre[class$='highlightcode']"); code_attr = code_element.attr("class").split("_"); code_element.attr("name","code"); code_element.attr("class",code_attr[0]); dp.SyntaxHighlighter.BloggerMode(); dp.SyntaxHighlighter.ClipboardSwf = 'http://eric925.blogbus.com/files/12273355200.swf'; dp.SyntaxHighlighter.HighlightAll('code'); });