﻿// JScript File

function MorePageing(PageNum,Dir)
{
    PageNum=(Dir)?PageNum+1:PageNum-1; 
    if(_Qtype=="viewAll")
    {
        location.href="/"+_UserName+"/Videos/viewAll/p/"+PageNum+"/"+_Dir;
    }
    else if(_Qtype=="older")
    {
        location.href="/"+_UserName+"/Videos/older/month/"+_Month+"/year/"+_Year+"/p/"+PageNum+"/"+_Dir;
    }
    else
    {
       location.href="/"+_UserName+"/Videos/month/"+_Month+"/year/"+_Year+"/p/"+PageNum+"/"+_Dir;
    }
}

function SortByVods(sb)
{
    _Dir = sb;
    MorePageing(1,0);
}
