﻿/****************************************************************************************
Product         : PowerVolt Website Phase I.
Copyright	    : Edify Technologies Inc.
Source          : Product.js
Created Date    : 08/24/2009
Created By	    : John Jeya Aneston
Version         : 1.0.0
Description     : JavaScript file for Product page

CR / Issue No      Modified By       Modified On       Version         Reason
****************************************************************************************/

//function added by Aneston on 05/18/2009 for implementing Pager on Top and Bottom of the grid
function DDLPagesIndexChanged(getId)
{    
    var ids = document.getElementById(clientID + "hdnPagerId").value;
    var arrayIds = ids.split(",");
    if (getId == arrayIds[1])
        document.getElementById(arrayIds[2]).selectedIndex = document.getElementById(arrayIds[1]).selectedIndex;
    else    
        document.getElementById(arrayIds[1]).selectedIndex = document.getElementById(arrayIds[2]).selectedIndex;    
        
    document.getElementById(clientID + "hdnPagerId").value="";
}
