﻿// JavaScript Document



function clickurl(urlid){
	urlid =  decode64(urlid);
tenlongs_redirect(urlid);	
}


function tenlongs_redirect(url) {
    var a = document.createElement('a'),
        b = '_blank',
        bd = document.body,
        target = '_blank';
    if (!a.click) {
        return window.open(url, target);
    }
    a.setAttribute("target", target);
    a.setAttribute('href', url);
    a.style.display = 'none';
    if (!bd) return;
    bd.appendChild(a);
    a.click();
    if (target == b) {
        setTimeout(function() {
            try {
                bd.removeChild(a);
            }
            catch (e) {
            }
        }, 10);
    }
}

<!--
function killErrors() {
return true;
}
window.onerror = killErrors;
// -->
