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?job_area=002_jc&top=list&hotjob_category=305&sp_crit=grad&fulltext=JC",560,290); } function quick_jobalert_withRegistration(obj,extra) { CallFancybox_Dimension("/english/my_careertimes/my_preference_quick_jobalert_email.asp?job_area=002_jc&top=list&hotjob_category=305&sp_crit=grad&fulltext=JC",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%3Fjob%5Farea%3D002%5Fjc%26top%3Dlist%26hotjob%5Fcategory%3D305%26sp%5Fcrit%3Dgrad%26fulltext%3DJC",560,290); }