This 3-Minute Video Shows How Lingerie Has Evolved in the Last 100 Years
September 4, 2015 by admin
Filed under Lingerie Events
Congratulations! ‘+res[i].levelDesc+’
‘+next_level+’
‘;
$(“#dialogs”).html(data);
$(“#close_modal”+modal_count).bind(“click”, function()
{$.modal.close();}
);
$(“#dialog”+modal_count).modal();
//alert($(“#dialog”+modal_count).parent().id);
//$(“#dialog”+modal_count).parent().css(“left”, “+=50″);
//var modalData = jRef.data(“modalData”);alert(modalData.modalId);
//var overlay = $(“#multiModalOverlay-” + modalData.modalId);
modal_count=modal_count+1;
setBadgesShareData();
}
}
}
/*Function for MyTimes api calls ends*/
function post_to_url(path, params, method) {
method = method || “post”;
var form = document.createElement(“form”);
//Move the submit function to another variable
//so that it doesn’t get overwritten.
form._submit_function_ = form.submit;
form.setAttribute(“method”, method);
form.setAttribute(“action”, path);
for(var key in params) {
var hiddenField = document.createElement(“input”);
hiddenField.setAttribute(“type”, “hidden”);
hiddenField.setAttribute(“name”, key);
hiddenField.setAttribute(“value”, params[key]);
form.appendChild(hiddenField);
}
document.body.appendChild(form);
form._submit_function_(); //Call the renamed function.
}
function show_comment_bar(logged){
if($(‘#comment_bar’).length){
switch(logged)
{
case 1:
var u_type = readCookie(‘user_type’);
var comment_bar_html = ”;
/*if(u_type == ‘Twitter’){
var comment_bar_html = ‘
Tweet on Twitter:
‘;
}*/
comment_bar_html += ‘
Post comment as Anonymous
‘;
break;
default:
var comment_bar_html = ‘
To Post Your Comment Please Login with : indiatimes facebooktwitter
‘;
break;
}
$(‘#comment_bar’).html(comment_bar_html);
}
}
function show_expertqst_bar(logged){
if($(‘#expertqst_bar’).length){
switch(logged)
{
case 1:
var u_type = readCookie(‘user_type’);
var expertqst_bar_html = ”;
expertqst_bar_html += ‘
Post Question as Anonymous
Yes I’ve read the Terms Conditions and accept it.
‘;break;
default:
var expertqst_bar_html = ‘
To ask your question you must log in : indiatimes facebooktwitter
‘;
break;
}
$(‘#expertqst_bar’).html(expertqst_bar_html);
}
}