﻿function onMouseOver(cell, target) {

    //var mainVwr = $get("ImageViewer1");
    //cell.src = "Images/1.png";
    target.src = cell.src;
}

function onImageViewerClick(popupCtl, updPanel) {
    

    //Display the popup.
    popupCtl.style.display = "block";

    
}







//Loads the popup when an image is clicked on the Catalogue.aspx page.
function LoadProductItem(categoryId, productId) {

    //Get the ID of the Cart Refresh Button by calling a method on the Master Page
    //btn = GetRefreshButton();
    
    //Construct the URL including query string args to load the popup.
    url = "ProductDetails.aspx?catId=" + categoryId + "&prodId=" + productId;
    
    //Open the popup window
    window.open(url,'ClassicPrints','status=0,menubar=0,toolbar=0,height=650,width=800,scrollbars=2,resizable=1');


}



if (typeof('Sys' !== 'undefined')) Sys.Application.notifyScriptLoaded();

