function GoToPage(page){
        if (document.location.toString().indexOf("&currentPage") > -1) {
           document.location = document.location.toString().substr(0, document.location.toString().indexOf("&currentPage")) + "&currentPage=" + page;
        }else{          
            document.location = document.location + "&currentPage=" + page;
        }       
}
