﻿function RedirectTo()
    {
        $.ajax({
         type: "POST",
         url: "CommonWebServices.asmx/GetTop1Product",
         data: "{}",
         contentType: "application/json; charset=utf-8",
         dataType: "json",
         success: function(msg) {
             AjaxAlbumSucceeded(msg);
         },
         error: AjaxFailed
     });

    }
    function AjaxAlbumSucceeded(arg)
    {
        window.location.href = arg.d + ".aspx"
    }
    function AjaxFailed()
    {
    
    }