/*
*************************************************************************
* 
* CAPTUAL TECHNOLOGIES CONFIDENTIAL
* _________________________________
* 
*  2008 - 2011 Captual Technologies Inc. 
*  All Rights Reserved.
* 
* NOTICE:  All information contained herein is, and remains
* the property of Captual Technologies Incorporated and its suppliers,
* if any.  Dissemination of this information or reproduction of this 
* material is strictly forbidden unless prior written permission is 
* obtained from Captual Technologies Incorporated.
*
*************************************************************************
*/

/// <reference path="~/Content/js/lib/jquery/jquery.min.js" />

$(document).ready(function () {
    $(".c_floatingwindow").each(function () {
        $(this).find(".tab_cycler_bottom").focus(function () {
            $(this).parents(".c_floatingwindow").find(".first_focus").focus();
        });
        $(this).find(".tab_cycler_top").focus(function () {
            $(this).parents(".c_floatingwindow").find(".last_focus").focus();
        });
    });
});
