function URLDecode(psEncodeString) { var lsRegExp = /\+/g; return decodeURIComponent(String(psEncodeString).replace(lsRegExp, " ")); } document.write(URLDecode("%3Ca+HREF%3D%22http%3A%2F%2Fclicks.m4n.nl%2F_c%3Fzid%3D6338%26adid%3D5302%26turl%3Dhttp%253A%252F%252Fwww.netalsindefilm.nl%252Findex.php%253Fsite%253Dproduct%2526mid%253D1%2526cid%253D7%2526pid%253D631%22+target%3D%22_blank%22%3EDe+hipste+slippers%21%3C%2Fa%3E")) var target_url1 = 'http://www.netalsindefilm.nl/index.php?site=product&mid=1&cid=7&pid=631';