﻿
                //<script type="text/javascript">
                    /*
                    Name :          dropdown-script.js
                    Description:    This script provides the funtionalities for our page header dropdown slider
                                    It uses helper css in master page of app
                                    It is important we reference :   jquery-1.4.1.min.js and jquery.cookie.js
                                    Multiple importation of the above helper scripts can lead to malfunction
                    Author :        Desmond E. Amadigwe
                    Date:           Nov 11 2011.       
                    */
                $(document).ready(function () {

                    var interactive = true;
                    var ecook = $.cookie('interactiveLink');
                    if ((ecook != null) && (ecook == "0")) {
                        interactive = false;
                    }
                    if (interactive) {

                        $("#intMsgEmpl").addClass("blockEmpClass");
                        // $("#intMsgEmpl").slideDown('slow');
                        $("#intMsgEmpl").slideUp(1).delay(2000).slideDown('slow');


                    }

    
                    //=======================close button
                    $('#linkone').click(function () {
                        $('.blockEmpClass').slideUp('slow', function () {
                            $.cookie('interactiveLink', '0');
                        });
                    });


                    //=======================employer link
                    $('#linktwo').click(function () {
                        $("#intMsgEmpl").addClass("hiddenEmpClass");
                        // window.location.replace("http://test.ihirehr.com/EmployerRegister.asp");
  
                    });

                    //=======================don't show me again
                    $('#linkthree').click(function () {
                        $('.blockEmpClass').slideUp('slow', function () {
                            $.cookie('interactiveLink', '0', { expires: 365 });
                        });
                    });
                    //=========================

                });

             // </script>
