
function showVideoBox(tagid)
{
    showInfoBox(900,600);

    loadAnimation();

     dojo.xhrGet({
        url: url + "videobox/" + tagid,
        load: function(response, ioArgs)
        {
            stopLoadAnimation();

            videos = response.split(",");

            for (var i = 0 ;i <videos.length-1 ; i++)
            {
                    videos[i] = videos[i].replace(/\s/g , '');
                    
                    $("#infobox").html('<object width="900" height="600" data="'+videos[i]+'"><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param></object>');

            }

            var close = dojo.create("div", {id:"div_close"},"infobox");
            close.innerHTML += '<center><a href="javascript:hideInfoBox()">Schlie&szlig;en</a></center>';

             //Dojo recommends that you always return(response); to propagate
             //the response to other callback handlers. Otherwise, the error
             //callbacks may be called in the success case.
             return response;
        },
    error: function(response, ioArgs)
        {
            $("#infobox").html("Fehler: Der Boxinhalt konnte nicht geladen werden.<br><a href='javascript:hideInfoBox()'>Schlie&szlig;en</a>");
            
            return response;
        }


    });

    

}
