var urlRegistrationFormCheckFees = '';var abstractCharMax = 3600;var biostatementCharMax = 1500;var companyProfileCharMax = 500;var globalMouseX = 0;var globalMouseY = 0;$(document).ready(function(){            $('body').mousemove(function(e){        globalMouseX = e.clientX;        globalMouseY = e.clientY;    });           /**************     * Autosound     ***************/    //All the object is under the $.ready function.    //autosound.init();         /**************     * Fancybox     ***************/    $("a.fancybox").fancybox();    $("a.fancyboxNoTitle").fancybox({        'titleShow' : false    });    $("a.fancyboxIframe700x500").fancybox({        'type' : 'iframe',        'width'	: 700,        'height' : 500,        'titleShow' : false,        'onClosed': function() {            parent.location.reload(true);        }    });        $("a.fancyboxIframe1200x900").fancybox({        'type' : 'iframe',        'width'	: 1200,        'height' : 900,        'titleShow' : false    });    /**************     * Blink     ***************/    $(".blink").blink();	    $(".blinkslow").blink({        delay: 2000    });	    $('#formBillingDataCheck').change(function() {        if ($('#formBillingDataCheck').attr('checked')) $('#formBillingDataFieldset').show();        else $('#formBillingDataFieldset').hide()    });    /**************     * Registration form     ***************/    /*    $('.formProductCheck').click(function(){        if ($("input:first-child", this).attr('checked')){            $("input:first-child", this).attr('checked', false);        }        else{            $("input:first-child", this).attr('checked', true);        }    });     */    $('#imcas_registration_registration_main').change(function() {        if ($('#imcas_registration_registration_main').attr('checked')) {            $('#registrationTcBlock').show();            $('#registrationTcBlockWarning').hide();            $('#registrationClassBlock').show();            $('#registrationClassBlockWarning').hide();        }        else {            $('#registrationTcBlock').hide();            $('#registrationTcBlockWarning').show();            $('#registrationClassBlock').hide();            $('#registrationClassBlockWarning').show();        }    }).change();    $('#registrationForm :input').change(function() {        checkRegistrationFees();    });        $('#speakerHotelForm :input').change(function() {        checkSpeakerHotelNights();    });          /**************     * Presentation Cycle     ***************/    $('.cycleImg').cycle({        fx: 'scrollDown'    });        /**************     * Presentation Cycle     ***************/    $('#picsCocktailSponsorAd').cycle({         fx:    'fade',         speed:    3000,         timeout:  2000     });            /**************     * Coktail Cycle     ***************/    $('.cycleImgCocktail').cycle({        fx: 'fade',        speed:		4000,        timeout:	2000    });    /**************     * Floating Right Box     ***************/    if ($('#floatingRightBox').length > 0){        var top = $('#floatingRightBox').offset().top - parseFloat($('#floatingRightBox').css('marginTop').replace(/auto/, 0));        $(window).scroll(function (event) {            var y = $(this).scrollTop();            if (y >= top) {                $('#floatingRightBox').addClass('fixed');            }            else {                $('#floatingRightBox').removeClass('fixed');            }        });    }        $("table.tableList tr").hover(        function(){            $(this).addClass("selected");        },        function(){            $(this).removeClass("selected");        });            /*    $("table.tableSimple tr").hover(        function(){            $(this).addClass("selected");        },        function(){            $(this).removeClass("selected");        });     */    /**************     * News Ticker     ***************/    $("ul#imcasNewsTicker").liScroll({        travelocity: 0.05    });    /**************     * Payment Country and state     ***************/    $("#imcas_payment_country").change(function(){        var country = $("#imcas_payment_country option:selected").val();        if(country == 'US'){            $('#imcas_payment_state').parents('tr').show();        }        else{            $('#imcas_payment_state').parents('tr').hide();            $('#imcas_payment_state').val('');        }    }).change();    /**************     * Registration Country and state     ***************/    $("#imcas_registration_country").change(function(){        var country = $("#imcas_registration_country option:selected").val();        if(country == 'US'){            $('#imcas_registration_state').parents('tr').show();        }        else{            $('#imcas_registration_state').parents('tr').hide();            $('#imcas_registration_state').val('');        }    }).change();    /**************     * Abstract Country and state     ***************/    $("#imcas_abstract_country").change(function(){        var country = $("#imcas_abstract_country option:selected").val();        if(country == 'US'){            $('#imcas_abstract_state').parents('tr').show();        }        else{            $('#imcas_abstract_state').parents('tr').hide();            $('#imcas_abstract_state').val('');        }    }).change();        /*************     * Abstract award paper     ***************/    $("#imcas_abstract_type_of_paper").change(function(){        var type_of_paper = $("#imcas_abstract_type_of_paper option:selected").val();        if(type_of_paper == 3){            $('#imcas_abstract_type_of_paper_lecture_id').parents('tr').show();        }        else{            $('#imcas_abstract_type_of_paper_lecture_id').parents('tr').hide();            $('#imcas_abstract_type_of_paper_lecture_id').val('');        }    }).change();        /*************     * Abstract award research     ***************/    $("#imcas_abstract_research_published").change(function(){        var research_published = $("#imcas_abstract_research_published option:selected").val();        if(research_published == 1 || research_published == 2){            $('#imcas_abstract_research_published_journal_title').parents('tr').show();            $('#imcas_abstract_research_published_article_number').parents('tr').show();            $('#imcas_abstract_research_published_publication_date_month').parents('tr').show();        }        else{            $('#imcas_abstract_research_published_journal_title').parents('tr').hide();            $('#imcas_abstract_research_published_journal_title').val('');            $('#imcas_abstract_research_published_article_number').parents('tr').hide();            $('#imcas_abstract_research_published_article_number').val('');            $('#imcas_abstract_research_published_publication_date_month').parents('tr').hide();            $('#imcas_abstract_research_published_publication_date_month').val('');            $('#imcas_abstract_research_published_publication_date_day').val('');            $('#imcas_abstract_research_published_publication_date_year').val('');        }    }).change();            /*************     * Badge licenced distributor     ***************/    $("#imcas_badge_member_of").change(function(){        var member_of = $("#imcas_badge_member_of option:selected").val();        if(member_of == 2){            $('#imcas_badge_company').parents('tr').show();        }        else{            $('#imcas_badge_company').parents('tr').hide();            $('#imcas_badge_company').val('');        }    }).change();            /**************     * Press accreditation Country and state     ***************/    $("#imcas_press_accreditation_country").change(function(){        var country = $("#imcas_press_accreditation_country option:selected").val();        if(country == 'US'){            $('#imcas_press_accreditation_state').parents('tr').show();        }        else{            $('#imcas_press_accreditation_state').parents('tr').hide();            $('#imcas_press_accreditation_state').val('');        }    }).change();        /**************     * Press paper Country and state     ***************/    $("#imcas_press_paper_country").change(function(){        var country = $("#imcas_press_paper_country option:selected").val();        if(country == 'US'){            $('#imcas_press_paper_state').parents('tr').show();        }        else{            $('#imcas_press_paper_state').parents('tr').hide();            $('#imcas_press_paper_state').val('');        }    }).change();        /**************     * Abstract abstract count     ***************/    $("#imcas_abstract_abstract").keyup(function(){        var text = $("#imcas_abstract_abstract").val();        var count = text.length;        $('#abstractCharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_abstract_abstract").val(newText);        }    }).keyup();        /**************     * Abstract biostatement count     ***************/        $("#imcas_abstract_biostatement").keyup(function(){        var text = $("#imcas_abstract_biostatement").val();        var count = text.length;        $('#biostatementCharCount').html(count);        if (count >= biostatementCharMax){            var newText = text.substr(0, biostatementCharMax);            $("#imcas_abstract_biostatement").val(newText);        }    }).keyup();                /**************     * Profile biostatement count     ***************/    $("#imcas_user_biostatement").keyup(function(){        var text = $("#imcas_user_biostatement").val();        var count = text.length;        $('#biostatementCharCount').html(count);        if (count >= biostatementCharMax){            var newText = text.substr(0, biostatementCharMax);            $("#imcas_user_biostatement").val(newText);        }    }).keyup();        /**************     * Company profile count     ***************/    $("#imcas_user_company_profile").keyup(function(){        var text = $("#imcas_user_company_profile").val();        var count = text.length;        $('#companyProfileCharCount').html(count);        if (count >= companyProfileCharMax){            var newText = text.substr(0, companyProfileCharMax);            $("#imcas_user_company_profile").val(newText);        }    }).keyup();        /*     * ******************************************     * Buttons     * ******************************************     */    $("a.uiButtonIconSearch").button({        icons: {            primary: "ui-icon-search"        }    });        $( "a.uiButtonIconInfo" ).button({        icons: {            primary: "ui-icon-info"        }    });        $( "a.uiButtonIconDownload" ).button({        icons: {            primary: "ui-icon-transferthick-e-w"        }    });        $( "a.uiButtonArrowLeft" ).button({        icons: {            primary: "ui-icon-triangle-1-w"        }    });        /*     * ******************************************     * File Dialog     * ******************************************     */     $(".dialogFile").dialog({        width: 400,        autoOpen: false,        resizable: false,         draggable: false    });        /*     * ******************************************     * Accordion     * ******************************************     */              //Init of accordion mechanism    //We hide all subsections at the start    $('.accordion_section').css('display','none');        var is_slided = false;        $('.accordion_header')    .click(function(){               if( is_slided )        {            $(this).parent().next().next().slideUp();            $(this).removeClass('accordion_down');            is_slided = false;        }        else        {            $(this).parent().next().next().slideDown();            $(this).addClass('accordion_down');            is_slided = true;        }	    });            $("table.tableGroupRegistration tr").hover(        function(){            $(this).addClass("selected");        },        function(){            $(this).removeClass("selected");        });                $('#iDelEvaluationQuestion4').change(function(){        $('#lecturesQuestion4Ajax').hide();        $('#lecturesQuestion4AjaxWait').show();        $('#lecturesQuestion4Ajax').load(urlEvalAjaxLectures, {            session: 'antiaging',            selected: $(this).val()        }, function(){            $('#lecturesQuestion4Ajax').show();            $('#lecturesQuestion4AjaxWait').hide();          });    });        if ($('#iDelEvaluationQuestion4').val()!='I did not attend'){        $('#iDelEvaluationQuestion4').change();    }    $('#iDelEvaluationQuestion5').change(function(){        $('#lecturesQuestion5Ajax').hide();        $('#lecturesQuestion5AjaxWait').show();        $('#lecturesQuestion5Ajax').load(urlEvalAjaxLectures, {            session: 'tribune',            selected: $(this).val()        }, function(){            $('#lecturesQuestion5Ajax').show();            $('#lecturesQuestion5AjaxWait').hide();          });    })        if ($('#iDelEvaluationQuestion5').val()!='I did not attend'){        $('#iDelEvaluationQuestion5').change();    }    $('#iDelEvaluationScientificSessions1').change(function(){        $('#lecturesScientificSessions1Ajax').hide();        $('#lecturesScientificSessions1AjaxWait').show();        $('#lecturesScientificSessions1Ajax').load(urlEvalAjaxLectures, {            session: $(this).val()        }, function(){            $('#lecturesScientificSessions1Ajax').show();            $('#lecturesScientificSessions1AjaxWait').hide();          });    })        if ($('#iDelEvaluationScientificSessions1').val()!='I did not attend' && $('#iDelEvaluationScientificSessions1').val()!=''){        $('#iDelEvaluationScientificSessions1').change();    }    $('#iDelEvaluationScientificSessions2').change(function(){        $('#lecturesScientificSessions2Ajax').hide();        $('#lecturesScientificSessions2AjaxWait').show();        $('#lecturesScientificSessions2Ajax').load(urlEvalAjaxLectures, {            session: $(this).val()        }, function(){            $('#lecturesScientificSessions2Ajax').show();            $('#lecturesScientificSessions2AjaxWait').hide();          });    });        if ($('#iDelEvaluationScientificSessions2').val()!='I did not attend' && $('#iDelEvaluationScientificSessions2').val()!=''){        $('#iDelEvaluationScientificSessions2').change();    }    $('#iDelEvaluationScientificSessions3').change(function(){        $('#lecturesScientificSessions3Ajax').hide();        $('#lecturesScientificSessions3AjaxWait').show();        $('#lecturesScientificSessions3Ajax').load(urlEvalAjaxLectures, {            session: $(this).val()        }, function(){            $('#lecturesScientificSessions3Ajax').show();            $('#lecturesScientificSessions3AjaxWait').hide();          });    })        if ($('#iDelEvaluationScientificSessions3').val()!='I did not attend' && $('#iDelEvaluationScientificSessions3').val()!=''){        $('#iDelEvaluationScientificSessions3').change();    }        $('#iDelEvaluationScientificSessions4').change(function(){        $('#lecturesScientificSessions4Ajax').hide();        $('#lecturesScientificSessions4AjaxWait').show();        $('#lecturesScientificSessions4Ajax').load(urlEvalAjaxLectures, {            session: $(this).val()        }, function(){            $('#lecturesScientificSessions4Ajax').show();            $('#lecturesScientificSessions4AjaxWait').hide();          });    })        if ($('#iDelEvaluationScientificSessions4').val()!='I did not attend' && $('#iDelEvaluationScientificSessions4').val()!=''){        $('#iDelEvaluationScientificSessions4').change();    }        $('#iDelEvaluationScientificSessions5').change(function(){        $('#lecturesScientificSessions5Ajax').hide();        $('#lecturesScientificSessions5AjaxWait').show();        $('#lecturesScientificSessions5Ajax').load(urlEvalAjaxLectures, {            session: $(this).val()        }, function(){            $('#lecturesScientificSessions5Ajax').show();            $('#lecturesScientificSessions5AjaxWait').hide();          });    })        if ($('#iDelEvaluationScientificSessions5').val()!='I did not attend' && $('#iDelEvaluationScientificSessions5').val()!=''){        $('#iDelEvaluationScientificSessions5').change();    }    $('#iDelEvaluationQuestion6').change(function(){        if ($(this).val()!='I did not attend') $('#blockTCRate').show();        else $('#blockTCRate').hide();    }).change();    $('#iDelEvaluationTCRate1').change(function(){        $('#lecturesTC1Ajax').hide();        $('#lecturesTC1AjaxWait').show();        $('#lecturesTC1Ajax').load(urlEvalAjaxLectures, {            session: $(this).val()        }, function(){            $('#lecturesTC1Ajax').show();            $('#lecturesTC1AjaxWait').hide();          });    })        if ($('#iDelEvaluationTCRate1').val()!='I did not attend' && $('#iDelEvaluationTCRate1').val()!=''){        $('#iDelEvaluationTCRate1').change();    }    $('#iDelEvaluationTCRate2').change(function(){        $('#lecturesTC2Ajax').hide();        $('#lecturesTC2AjaxWait').show();        $('#lecturesTC2Ajax').load(urlEvalAjaxLectures, {            session: $(this).val()        }, function(){            $('#lecturesTC2Ajax').show();            $('#lecturesTC2AjaxWait').hide();          });    })        if ($('#iDelEvaluationTCRate2').val()!='I did not attend' && $('#iDelEvaluationTCRate2').val()!=''){        $('#iDelEvaluationTCRate2').change();    }    /*    $('#iDelEvaluationQuestion7').change(function(){        if ($(this).val()!='I did not attend') $('#blockSympoRate').show();        else $('#blockSympoRate').hide();    }).change();    $('#iDelEvaluationQuestion8').change(function(){        if ($(this).val()!='I did not attend') $('#blockLivedemoRate').show();        else $('#blockLivedemoRate').hide();    }).change();    $('#iDelEvaluationQuestion9').change(function(){        if ($(this).val()!='I did not attend') $('#blockNewdeviceRate').show();        else $('#blockNewdeviceRate').hide();    }).change();        */        /**************     * Exhibitor survey quesion 1 count     ***************/    $("#imcas_exhibitor_survey_question1").keyup(function(){        var text = $("#imcas_exhibitor_survey_question1").val();        var count = text.length;        $('#surveyQuestion1CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question1").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 2 count     ***************/    $("#imcas_exhibitor_survey_question2").keyup(function(){        var text = $("#imcas_exhibitor_survey_question2").val();        var count = text.length;        $('#surveyQuestion2CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question2").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 3 count     ***************/    $("#imcas_exhibitor_survey_question3").keyup(function(){        var text = $("#imcas_exhibitor_survey_question3").val();        var count = text.length;        $('#surveyQuestion3CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question3").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 4 count     ***************/    $("#imcas_exhibitor_survey_question4").keyup(function(){        var text = $("#imcas_exhibitor_survey_question4").val();        var count = text.length;        $('#surveyQuestion4CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question4").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 5 count     ***************/    $("#imcas_exhibitor_survey_question5").keyup(function(){        var text = $("#imcas_exhibitor_survey_question5").val();        var count = text.length;        $('#surveyQuestion5CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question5").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 6 count     ***************/    $("#imcas_exhibitor_survey_question6").keyup(function(){        var text = $("#imcas_exhibitor_survey_question6").val();        var count = text.length;        $('#surveyQuestion6CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question6").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 7 count     ***************/    $("#imcas_exhibitor_survey_question7").keyup(function(){        var text = $("#imcas_exhibitor_survey_question7").val();        var count = text.length;        $('#surveyQuestion7CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question7").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 8 count     ***************/    $("#imcas_exhibitor_survey_question8").keyup(function(){        var text = $("#imcas_exhibitor_survey_question8").val();        var count = text.length;        $('#surveyQuestion8CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question8").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 9 count     ***************/    $("#imcas_exhibitor_survey_question9").keyup(function(){        var text = $("#imcas_exhibitor_survey_question9").val();        var count = text.length;        $('#surveyQuestion9CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question9").val(newText);        }    }).keyup();    /**************     * Exhibitor survey quesion 10 count     ***************/    $("#imcas_exhibitor_survey_question10").keyup(function(){        var text = $("#imcas_exhibitor_survey_question10").val();        var count = text.length;        $('#surveyQuestion10CharCount').html(count);        if (count >= abstractCharMax){            var newText = text.substr(0, abstractCharMax);            $("#imcas_exhibitor_survey_question10").val(newText);        }    }).keyup();        $('#digitalProgramSpeakerSelection').change(function(){        var speaker_id = $("#digitalProgramSpeakerSelection option:selected").val();              scheduleOnlyDisplaySessions(speaker_id);         $.cookie('schedule_speaker', speaker_id);    });        if ($.cookie('schedule_speaker')){          speaker_id = $.cookie('schedule_speaker');              $('#digitalProgramSpeakerSelection').val(speaker_id);         $('#digitalProgramSpeakerSelection').change();    }       });/*	Autosound object	Define the behaviors for the auto-lauch of a sound for pages congress and gala dinner */var autosound = {    sound : undefined,    credit : undefined,    textPlaySound : undefined,    textStopSound : undefined,    textCreditTo : undefined,    init : function(){			        //We check if a sound is present on the page        var is_sound = $('.autosound').length;			        if( is_sound )        {            //We get the url for the sound            var url_sound = $('.autosound').eq(0).attr('rel');        	            //We try to find credits to the sound            var is_credit = $('.autosound > .creditSound').length;        	            if( is_credit == 1 )            {                autosound.credit = $('.autosound > .creditSound').eq(0).attr('rel');	            }        	                        }				        if( is_sound && url_sound.length > 0 )        {            //We store in the object the url of the sound            autosound.sound = url_sound;			            //We launch the player with the sound            var content = "";            content += "<div id='sound_container' >";            content += '<object type="application/x-shockwave-flash" data="/soundplayer/dewplayer-mini.swf" width="160" height="20" id="dewplayer" name="dewplayer"> <param name="wmode" value="transparent" /><param name="movie" value="dewplayer-mini.swf" /> <param name="flashvars" value="mp3=' + url_sound  + '&amp;autostart=1&amp;nopointer=1&amp;volume=75" /> </object>';            content += "</div>";										            $('body').append(content);			            //We add the control to stop the sound            $('.autosound').eq(0).find('.control').eq(0)            .html(autosound.textStopSound)            .bind('click',function(){					                autosound.stop();									            });                        if( autosound.credit != undefined )            {                //console.log('There is sound');                $('.autosound > .creditSound').eq(0).html('<a href="' + autosound.credit + '">(' + autosound.textCreditTo + ')</a>');            }			        }			    },    stop : function(){			        $('#sound_container').remove();        $('.autosound').eq(0).find('.control').eq(0)        .html(autosound.textPlaySound)        .unbind('click')        .bind('click',function(){			            autosound.play();				        });					    },    play : function(){				        var content = "";        content += "<div id='sound_container' >";        content += '<object type="application/x-shockwave-flash" data="/soundplayer/dewplayer-mini.swf" width="160" height="20" id="dewplayer" name="dewplayer"> <param name="wmode" value="transparent" /><param name="movie" value="dewplayer-mini.swf" /> <param name="flashvars" value="mp3=' + autosound.sound  + '&amp;autostart=1&amp;nopointer=1&amp;volume=75" /> </object>';        content += "</div>";								        $('body').append(content);				        $('.autosound').eq(0).find('.control').eq(0)        .html(autosound.textStopSound)        .unbind('click')        .bind('click',function(){					            autosound.stop();					        });	    }}function dialogFileOpen(_number){    var positionX = globalMouseX-200;    var positionY = globalMouseY-100;    $("#dialogFile"+_number).dialog('open');    $("#dialogFile"+_number).dialog( "option", "position", [positionX,positionY] );    $("#dialogFilLinkView"+_number).blur();}function subMenuTitleToggle(_code){      if ($('#subMenuToggleTitle'+_code).hasClass('itemTitleToggleOpen')){        $('#subMenuToggleTitle'+_code).removeClass('itemTitleToggleOpen');        $('#subMenuToggleTitle'+_code).addClass('itemTitleToggleClose');        $('#subMenuToggleId'+_code).hide();    }    else{        $('#subMenuToggleTitle'+_code).removeClass('itemTitleToggleClose');        $('#subMenuToggleTitle'+_code).addClass('itemTitleToggleOpen');        $('#subMenuToggleId'+_code).show();    }}function checkRegistrationFees(){    var values_array = $('#registrationForm').serializeArray();        $.post(checkRegistrationFeesUrl,{        form_values: values_array,        object_id: checkRegistrationObjectId    }, function(data) {        s=data.split('|')        $('#iBadgeFees').html(s[0]);        $('#iOrderFees').html(s[1]);        $('#iOrderBadges').html(s[2]);    });}function checkSpeakerHotelNights(){    var values_array = $('#speakerHotelForm').serializeArray();        $.post(checkSpeakerHotelNightsUrl,{        form_values: values_array    }, function(data) {        s=data.split('|')        $('#iTotalNights').html(s[0]);        $('#iAdditionalNights').html(s[2]);    });}var lastBlink = null;var lastTypeAbstractButton = null;function toggleAbstractsDescriptions(_type){    if (lastTypeAbstractButton != _type){        $('.abstractsIntroductionDescription').hide();        if (lastBlink != null){            clearTimeout(lastBlink);        }        blink('#buttonAbstract' + _type);        $('#blockAbstract' + _type).fadeIn('slow');        lastTypeAbstractButton = _type;    }}function blink(_element){    $(_element).fadeOut(300).fadeIn(300);    var action = function() {        blink(_element);    };    lastBlink = setTimeout(action , 900);}function paymentSwitchCurrency(_currency1, _currency2){    $('#blockPaymentFees'+_currency2).show();    $('#blockPaymentFees'+_currency1).hide();    $('#blockPaymentFeesSwitch'+_currency2).show();    $('#blockPaymentFeesSwitch'+_currency1).hide();    $('#blockPaymentChoice'+_currency2).show();    $('#blockPaymentChoice'+_currency1).hide();}function popupOldSchool(_url){    window.open(_url, 'popup', config='height=800, width=680, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, directories=no, status=no');}function scheduleOnlyDisplaySessions(_speaker_id){    $('.digitalProgramLinkCourse').fadeOut(500);    $('.digitalProgramLinkPoster').unblink();    $('.digitalProgramLinkPoster').css('color', '#045082');     $('.digitalProgramLinkEpaper').unblink();     $('.digitalProgramLinkEpaper').css('color', '#045082');    if (_speaker_id == "all") {        $('.digitalProgramLinkCourse').fadeIn(1000);    }    else{        $('.digitalProgramLinkCourse[id*="_s-'+_speaker_id+'_"]').fadeIn(1000);        $('.digitalProgramLinkPoster[id*="_s-'+_speaker_id+'_"]').blink();        $('.digitalProgramLinkPoster[id*="_s-'+_speaker_id+'_"]').css('color', 'red');        $('.digitalProgramLinkEpaper[id*="_s-'+_speaker_id+'_"]').blink();        $('.digitalProgramLinkEpaper[id*="_s-'+_speaker_id+'_"]').css('color', 'red');    }}
