function watchvideo(vurl,thumb,title) {
    if (window.XMLHttpRequest)
    {
        xmlhttp=new XMLHttpRequest();
    }
    else
    {
        xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    xmlhttp.onreadystatechange=function()
    {
        if (xmlhttp.readyState==4 && xmlhttp.status==200)
        {
            document.location = 'http://video.url.bg/v/'+xmlhttp.responseText;
        }
    }
    xmlhttp.open("GET","http://video.url.bg/checkvideo.php?url=" + vurl + "&thumb=" + thumb + "&title=" + title,true);
    xmlhttp.send();
}
