﻿// JScript File
function PanelClick(sender, e) 
{
    
}

function ActiveTabChanged(sender, e) 
{
    
}

var HighlightAnimations = {};
function Highlight(el) 
{
    if (HighlightAnimations[el.uniqueID] == null) 
    {
        HighlightAnimations[el.uniqueID] = AjaxControlToolkit.Animation.createAnimation(
        {
            AnimationName : "color",
            duration : 0.5,
            property : "style",
            propertyKey : "backgroundColor",
            startValue : "#FFFF90",
            endValue : "#FFFFFF"
        }, el);
    }
    HighlightAnimations[el.uniqueID].stop();
    HighlightAnimations[el.uniqueID].play();
}

function ToggleHidden(value) 
{
    $find('<%=Tabs.ClientID%>').get_tabs()[2].set_enabled(value);
}

function addMyFavorite() 
{ 
    window.external.AddFavorite('http://www.ArmHr.am','ArmHr.am Career Portal Jobs & Vacancies in Armenia');
}
