   	// ALBUM PICTURES 

	function afm_change()
    {
        countDownTime = 60;
        countlocation=1;
        ajax_afm = new vB_AJAX_Handler(true);
        ajax_afm.onreadystatechange(afm_update);
        ajax_afm.send('ajax.php', 'do=albumpictures');
    }

    function afm_update()
    {
        fetch_object('afmbits').innerHTML = '<center><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><b> Güncelleniyor <\/b><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><\/center>';
        if (ajax_afm.handler.readyState == 4 && ajax_afm.handler.status == 200 && ajax_afm.handler.responseText)
        {
            fetch_object('afm').innerHTML = ajax_afm.handler.responseText;
        }
    }

	// ALBUM PICTURES

	// POLLS

    function polls_change()
    {
        countDownTime = 60;
        countlocation=4;
        ajax_polls = new vB_AJAX_Handler(true);
        ajax_polls.onreadystatechange(polls_update);
        ajax_polls.send('ajax.php', 'do=polls');
    }
    function polls_update()
    {
        fetch_object('pollsbits').innerHTML = '<center><img  src="images/dk/misc\/progress.gif" alt="" \/><\/center>';
        if (ajax_polls.handler.readyState == 4 && ajax_polls.handler.status == 200 && ajax_polls.handler.responseText)
        {
            fetch_object('polls').innerHTML = ajax_polls.handler.responseText;
        }
    }

	// POLLS

	// VIDEO DIRECTORY

    function latestvideos_change()
    {
        countDownTime = 60;
        countlocation=5;
        ajax_latestvideos = new vB_AJAX_Handler(true);
        ajax_latestvideos.onreadystatechange(latestvideos_update);
        ajax_latestvideos.send('ajax.php', 'do=latestvideos');
    }

    function latestvideos_update()
    {
        fetch_object('latestvideosbits').innerHTML = '<center><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><b> Güncelleniyor <\/b><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><\/center>';
        if (ajax_latestvideos.handler.readyState == 4 && ajax_latestvideos.handler.status == 200 && ajax_latestvideos.handler.responseText)
        {
            fetch_object('latestvideos').innerHTML = ajax_latestvideos.handler.responseText;
        }
    }

    function topratedvideos_change()
    {
        countDownTime = 60;
        countlocation=6;
        ajax_topratedvideos = new vB_AJAX_Handler(true);
        ajax_topratedvideos.onreadystatechange(topratedvideos_update);
        ajax_topratedvideos.send('ajax.php', 'do=topratedvideos');
    }

    function topratedvideos_update()
    {
        fetch_object('topratedvideosbits').innerHTML = '<center><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><b> Güncelleniyor <\/b><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><\/center>';
        if (ajax_topratedvideos.handler.readyState == 4 && ajax_topratedvideos.handler.status == 200 && ajax_topratedvideos.handler.responseText)
        {
            fetch_object('topratedvideos').innerHTML = ajax_topratedvideos.handler.responseText;
        }
    }

    function mostviewed_change()
    {
        countDownTime = 60;
        countlocation=7;
        ajax_mostviewed = new vB_AJAX_Handler(true);
        ajax_mostviewed.onreadystatechange(mostviewed_update);
        ajax_mostviewed.send('ajax.php', 'do=mostviewed');
    }

    function mostviewed_update()
    {
        fetch_object('mostviewedbits').innerHTML = '<center><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><b> Güncelleniyor <\/b><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><\/center>';
        if (ajax_mostviewed.handler.readyState == 4 && ajax_mostviewed.handler.status == 200 && ajax_mostviewed.handler.responseText)
        {
            fetch_object('mostviewed').innerHTML = ajax_mostviewed.handler.responseText;
        }
    }

    function randomvideos_change()
    {
        countDownTime = 60;
        countlocation=8;
        ajax_randomvideos = new vB_AJAX_Handler(true);
        ajax_randomvideos.onreadystatechange(randomvideos_update);
        ajax_randomvideos.send('ajax.php', 'do=randomvideos');
    }

    function randomvideos_update()
    {
        fetch_object('randomvideosbits').innerHTML = '<center><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><b> Güncelleniyor <\/b><img class="inlineimg" src="images/dk/misc\/progress.gif" alt="" \/><\/center>';
        if (ajax_randomvideos.handler.readyState == 4 && ajax_randomvideos.handler.status == 200 && ajax_randomvideos.handler.responseText)
        {
            fetch_object('randomvideos').innerHTML = ajax_randomvideos.handler.responseText;
        }
    }

	// VIDEO DIRECTORY