var GvodUrlArray = new Array();
GvodUrlArray = GvodUrls.split("###");
GvodUrlLen = GvodUrlArray.length;
var htmlurl = document.URL;
var gvascii = '&#103;&#118;&#111;&#100;&#98;&#46;&#99;&#111;&#109;';
var gdomain = U2A(gvascii);
if (htmlurl.indexOf('?gvod=') > 0) {
    var chtmlurl = htmlurl.split('?gvod=');
    var domain = chtmlurl[0];
    if (domain.indexOf(gdomain) < 0) {
        GvodUrlArray = new Array();
        GvodUrlLen = 0
    }
    var playnum = chtmlurl[1];
    if (isNaN(playnum)) {
        playnum = 1
    } else if ((playnum < 1) || (playnum > GvodUrlLen)) {
        playnum = 1
    }
} else {
    var playnum = 1;
    var domain = htmlurl
}
var urlnum = playnum - 1;

  function ThunderEncode(t_url) {
	var thunderPrefix = "AA";
	var thunderPosix = "ZZ";
	var thunderTitle = "thunder://";
	var tem_t_url = t_url;
	var thunderUrl = thunderTitle + encode64(strUnicode2Ansi(thunderPrefix + tem_t_url + thunderPosix));
	return thunderUrl;
}