function quick_jobalert_email_like_this(obj,extra) { setTimeout(function(){ $.ajax({ url: '/ajax/is_login.asp', cache: false, async: false, success: function(data) { if(data == "true") { quick_jobalert(obj,extra); } else { quick_jobalert_withRegistration(obj,extra); } } }); },300); } function quick_jobalert(obj,extra) { CallFancybox_Dimension("/english/my_careertimes/my_preference_quick_jobalert_like.asp?keywordForQuickSearch=MANAGEMENT+TRAINEE&fulltext=J&c=DE&sp_crit=grad&top=search&search=Y",560,290); } function quick_jobalert_withRegistration(obj,extra) { CallFancybox_Dimension("/english/my_careertimes/my_preference_quick_jobalert_email.asp?keywordForQuickSearch=MANAGEMENT+TRAINEE&fulltext=J&c=DE&sp_crit=grad&top=search&search=Y",560,290); //alert("New flow still in development: Open page for enter Email"); //CallFancybox_Dimension("/english/signup/my_login_min.asp?reg_withjobalert=Y&activity_name=ja_reg_emailme&isparent=&mid=25&from=%2Fenglish%2Fmy%5Fcareertimes%2Fmy%5Fpreference%5Fquick%5Fjobalert%5Flike%2Easp%3FkeywordForQuickSearch%3DMANAGEMENT%2BTRAINEE%26fulltext%3DJ%26c%3DDE%26sp%5Fcrit%3Dgrad%26top%3Dsearch%26search%3DY",560,290); }