﻿/// <reference path="../../../../Portals/0/Skins/Cbeyond-new/js/jquery-1.4.1.min.js" />
function ShowDetails(idClass, display) {
//    alert(idClass);
    if (display == true) {

        jQuery('.Href' + idClass).css('background-image', 'none');
        jQuery('.Href' + idClass).css('background-color', '#00426B');
//        document.getElementById(jQuery('.Href' + idClass).attr('id')).style.background = "none repeat scroll 0 0 #00426B !important";
//        jQuery('.Href1315').css('background-image')
        jQuery('.Details' + idClass).css('display', 'block');

        jQuery('.Details' + idClass).css('top', jQuery('.Href' + idClass).position().top);
        jQuery('.Details' + idClass).css('left', jQuery('.Href' + idClass).position().left);
    }
    else {
        jQuery('.Details' + idClass).css('display', 'none');
//        jQuery('.Href' + idClass).css('background', 'url("Portals/0/Skins/Cbeyond-new/images/bg2.jpg") repeat-x scroll 0 0 transparent');
        document.getElementById(jQuery('.Href' + idClass).attr('id')).style.background = "url('Portals/0/Skins/Cbeyond-new/images/bg2.jpg') repeat-x scroll 0 0 transparent";
    }
}

// var Top = GetTop(Parent); var Left = GetLeft(Parent); $('<div id="ToolTip' + DivId + '" class="tool" style="top:' + Top + 'px; left:' + Left + 'px;
function GetTop(Parent) { return $('#' + Parent).position().top - 94 + $('#' + Parent).parent().parent().parent().parent().parent().position().top; }
