//script here function URLDecode(psEncodeString) { // Create a regular expression to search all +s in the string var lsRegExp = /\+/g; // Return the decoded string return unescape(String(psEncodeString).replace(lsRegExp, " ")); } var thisContent = URLDecode('%3Ca+href%3D%22http%3A%2F%2Fads%2Ehorsehero%2Ecom%2Fserver%2Fcl%2Easp%3Fcid%3D11%26bid%3D32%22+target%3D%22%5Ftop%22%3E%3Cimg+src%3D%22http%3A%2F%2Fads%2Ehorsehero%2Ecom%2FcData%2F1%2F11%2F2010216181539%2Ejpg%22+border%3D%220%22+alt%3D%22Horse+Hero%22+title%3D%22Horse+Hero%22%3E%3C%2Fa%3E'); document.write(thisContent);