$('#download_embeded_table_11').show();
function add_school_to_profileembeded_table_11(element){
alert('Please login');
return false;
}
function show_ajax_loaderembeded_table_11(){
$('#embeded_table_11').html('');
}
function show_success_addembeded_table_11(){
$('#embeded_table_11').html(' Added to My Schools');
}
function ajax_add_school_to_profileembeded_table_11(element){
/*mode new Popup*/
/*element.href= "/forum/profile/info/add_app_school/2012/5/11/true";
hs.htmlExpand(element, { objectType: 'iframe',width: 450,height: 620} );*/
element.className = 'addMyInfo';
element.setAttribute("data-school-id", "5");
element.setAttribute("data-program-id", "11");
return false;
/*$.ajax({
url: '/forum/profile/schools/add_school_ajax/2012/5/11',
dataType : "text",
beforeSend: function(){
show_ajax_loaderembeded_table_11();
},
success: function (data, textStatus) {
show_success_addembeded_table_11();
window.location = '/forum/ucp.php?i=applicant_profile&mode=schools';
}
}); */
}
function show_add_school_buttonembeded_table_11(){
$.ajax({
url: '/forum/profile/schools/check_profile_school/2012/5/11',
dataType : "text",
success: function (data, textStatus) {
if(data == 'true'){
show_success_addembeded_table_11();
}
$('#embeded_table_11').show();
}
});
}
$(window).load(function () {
show_add_school_buttonembeded_table_11();
});