Nisha Desai Biswal, Assistant Secretary of State for South and Central Asia

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
});
$(‘form#login .lost-password a’).on(‘click’, function (e) {
$(‘form#login’).fadeOut();
$(‘form#register’).fadeOut();
$(‘form#lostpass’).fadeIn();
e.preventDefault();
});
$(‘.invite_friends’).on(‘click’, function (e) {
$(‘.invitefriend’).fadeToggle();
e.preventDefault();
});
$(‘#invitefriend’).focus(function () {
$(this).data(‘placeholder’, $(this).attr(‘placeholder’))
$(this).attr(‘placeholder’, ”);
});
$(‘#invitefriend’).blur(function () {
$(this).attr(‘placeholder’, $(this).data(‘placeholder’));
});
$(‘form#lostpass’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
useroremail = $(‘form#lostpass #useroremail’).val();
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
beforeSend: function () {
$(“.popup-row .loading-gif”).show();
},
data: {
‘action’: ‘ajaxlostpass’,
‘useroremail’: useroremail
},
success: function (data) {
$(‘p.status’).text(data.message);
$(“.popup-row .loading-gif”).hide();
}
});
e.preventDefault();
});
$(‘form#login, form#register’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
$(‘form#register’).on(‘submit’, function (e) {
if($(‘#profession’).val() == “please_select_pro”) {
$(‘#profession’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#profession’).css(‘border’,”);
}
if($(‘#areaofint’).val() == “please_select_aoi”) {
$(‘#areaofint’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#areaofint’).css(‘border’,”);
}
});
//$(‘p.status’, this).show().text(‘Sending user info, please wait…’);
$(‘form#register’).on(‘submit’, function (e) {
//$(‘p.status’,this).show().text(‘Thank you for signing up with www.narendramodi.in , you will soon receive an activation link on your email, kindly confirm your registration.
Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.’);
});

action = ‘ajaxlogin’;

username = $(‘form#login #username’).val();
password = $(‘form#login #password’).val();
invitefriend = $(‘form#login #invitefriend’).val();
rememberme = false;
if ($(‘form#login #rememberme’).is(‘:checked’)) {
rememberme = true;
}
email = ”;
security = $(‘form#login #security’).val();
si_code_log = $(‘#si_code_log’).val();
captcha_code = $(‘#captcha_code’).val();
if ($(this).attr(‘id’) == ‘register’) {
action = ‘ajaxregister’;
firstname = $(‘#firstname’).val();
lastname = $(‘#lastname’).val();
//username = $(‘#signonname’).val();
password = $(‘#signonpassword’).val();
email = $(‘#email’).val();
security = $(‘#signonsecurity’).val();
countrycode = $(‘#countrycode’).val();
phonenumber = $(‘#phonenumber’).val();
profession = $(‘#profession’).val();
areaofint = $(‘#areaofint’).val();
dob = $(‘#dob’).val();
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘firstname’: firstname,
‘lastname’: lastname,
‘username’: email,
‘password’: password,
‘rememberme’: rememberme,
‘invitefriend’: invitefriend,
‘countrycode’: countrycode,
‘phonenumber’: phonenumber,
‘profession’: profession,
‘areaofint’: areaofint,
‘dob’: dob,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(“#register .login-box h2″).text(“Thank You”);
$(“#register .login-box .status”).html(“Thank you for signing up with www.narendramodi.in, you will soon receive an activation link on your email, kindly confirm your registration.

Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.”);
$(“#register .login-box .popup-right”).hide();
$(“#register .login-box .popup-row”).hide();
$(“#register .login-box .bottom-row”).hide();
//document.location.href = window.location.href;
//$(‘p.status’, ctrl).text(data.message);
//if (data.loggedin == true) {
//}
$(“.popup-row .loading-gif”).hide();
setTimeout(function(){window.location.reload();}, 8000);
}
});
} else {
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘username’: username,
‘password’: password,
‘rememberme’: rememberme,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(‘p.status’, ctrl).text(data.message);
if (data.loggedin == true) {
url = window.location.href;
url = url.slice( 0, url.indexOf(‘?’) );
document.location.href = url;
}
$(“.popup-row .loading-gif”).hide();
}
});
}

e.preventDefault();
});
if ($(“#register”).length) {
$(“#register”).validate({
rules: {
phonenumber: {
required: true,
number: true,
maxlength:10
}
}
});
}

if ($(“#login”).length) {
$(“#login”).validate();
}
if ($(“#lostpass”).length) {
$(“#lostpass”).validate();
}

// When you open reg form by default
var regval = getParameterByName(‘reg’);
if(regval == “wish”) {
$(‘body’).prepend(‘

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
}
var regval = getParameterByName(‘action’);
if(regval == “confirm”) {
$(‘body’).prepend(”);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#register’).fadeIn(500);
else
$(‘form#login’).fadeIn(500);
e.preventDefault();
}
// When you open reg form by default

});
$(‘form#login’).on(‘click’, function (e) {
var email = $(“#invitefriend”).val();
var valid_email_id = true
if (email.length 0) {
var email_reg = “[A-Za-z0-9._%-']+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}”;
var re = new RegExp(‘^’ + email_reg + ‘(;\n*’ + email_reg + ‘)*;?$’);
var email_values = $(“#invitefriend”).val().trim();
var email_with_separator = email_values.replace(/[ ;,]+/g, “,”);
var email_array = email_with_separator.split(“,”);
var validate_email_id = email_array.map(function (str) {
return re.test(str);
});
var invalid_email_id_found = $.inArray(false, validate_email_id) -1;
if (invalid_email_id_found) {
valid_email_id = false
}
}
if (valid_email_id == false) {
$(“#invitefriend”).addClass(“required error”);
return false;
} else {
$(“#invitefriend”).removeClass();
}
});
$(function () {
$(‘#dob’).datepicker({
dateFormat: ‘yy-mm-dd’,
changeMonth: true,
changeYear: true,
yearRange: “1950:2015″,
maxDate: new Date()
});
});

Article source: http://www.narendramodi.in/nisha-desai-biswal-assistant-secretary-of-state-for-south-and-central-asia/

PM greets the people of Bangladesh, on their Independence Day

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
});
$(‘form#login .lost-password a’).on(‘click’, function (e) {
$(‘form#login’).fadeOut();
$(‘form#register’).fadeOut();
$(‘form#lostpass’).fadeIn();
e.preventDefault();
});
$(‘.invite_friends’).on(‘click’, function (e) {
$(‘.invitefriend’).fadeToggle();
e.preventDefault();
});
$(‘#invitefriend’).focus(function () {
$(this).data(‘placeholder’, $(this).attr(‘placeholder’))
$(this).attr(‘placeholder’, ”);
});
$(‘#invitefriend’).blur(function () {
$(this).attr(‘placeholder’, $(this).data(‘placeholder’));
});
$(‘form#lostpass’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
useroremail = $(‘form#lostpass #useroremail’).val();
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
beforeSend: function () {
$(“.popup-row .loading-gif”).show();
},
data: {
‘action’: ‘ajaxlostpass’,
‘useroremail’: useroremail
},
success: function (data) {
$(‘p.status’).text(data.message);
$(“.popup-row .loading-gif”).hide();
}
});
e.preventDefault();
});
$(‘form#login, form#register’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
$(‘form#register’).on(‘submit’, function (e) {
if($(‘#profession’).val() == “please_select_pro”) {
$(‘#profession’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#profession’).css(‘border’,”);
}
if($(‘#areaofint’).val() == “please_select_aoi”) {
$(‘#areaofint’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#areaofint’).css(‘border’,”);
}
});
//$(‘p.status’, this).show().text(‘Sending user info, please wait…’);
$(‘form#register’).on(‘submit’, function (e) {
//$(‘p.status’,this).show().text(‘Thank you for signing up with www.narendramodi.in , you will soon receive an activation link on your email, kindly confirm your registration.
Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.’);
});

action = ‘ajaxlogin’;

username = $(‘form#login #username’).val();
password = $(‘form#login #password’).val();
invitefriend = $(‘form#login #invitefriend’).val();
rememberme = false;
if ($(‘form#login #rememberme’).is(‘:checked’)) {
rememberme = true;
}
email = ”;
security = $(‘form#login #security’).val();
si_code_log = $(‘#si_code_log’).val();
captcha_code = $(‘#captcha_code’).val();
if ($(this).attr(‘id’) == ‘register’) {
action = ‘ajaxregister’;
firstname = $(‘#firstname’).val();
lastname = $(‘#lastname’).val();
//username = $(‘#signonname’).val();
password = $(‘#signonpassword’).val();
email = $(‘#email’).val();
security = $(‘#signonsecurity’).val();
countrycode = $(‘#countrycode’).val();
phonenumber = $(‘#phonenumber’).val();
profession = $(‘#profession’).val();
areaofint = $(‘#areaofint’).val();
dob = $(‘#dob’).val();
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘firstname’: firstname,
‘lastname’: lastname,
‘username’: email,
‘password’: password,
‘rememberme’: rememberme,
‘invitefriend’: invitefriend,
‘countrycode’: countrycode,
‘phonenumber’: phonenumber,
‘profession’: profession,
‘areaofint’: areaofint,
‘dob’: dob,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(“#register .login-box h2″).text(“Thank You”);
$(“#register .login-box .status”).html(“Thank you for signing up with www.narendramodi.in, you will soon receive an activation link on your email, kindly confirm your registration.

Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.”);
$(“#register .login-box .popup-right”).hide();
$(“#register .login-box .popup-row”).hide();
$(“#register .login-box .bottom-row”).hide();
//document.location.href = window.location.href;
//$(‘p.status’, ctrl).text(data.message);
//if (data.loggedin == true) {
//}
$(“.popup-row .loading-gif”).hide();
setTimeout(function(){window.location.reload();}, 8000);
}
});
} else {
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘username’: username,
‘password’: password,
‘rememberme’: rememberme,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(‘p.status’, ctrl).text(data.message);
if (data.loggedin == true) {
url = window.location.href;
url = url.slice( 0, url.indexOf(‘?’) );
document.location.href = url;
}
$(“.popup-row .loading-gif”).hide();
}
});
}

e.preventDefault();
});
if ($(“#register”).length) {
$(“#register”).validate({
rules: {
phonenumber: {
required: true,
number: true,
maxlength:10
}
}
});
}

if ($(“#login”).length) {
$(“#login”).validate();
}
if ($(“#lostpass”).length) {
$(“#lostpass”).validate();
}

// When you open reg form by default
var regval = getParameterByName(‘reg’);
if(regval == “wish”) {
$(‘body’).prepend(‘

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
}
var regval = getParameterByName(‘action’);
if(regval == “confirm”) {
$(‘body’).prepend(”);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#register’).fadeIn(500);
else
$(‘form#login’).fadeIn(500);
e.preventDefault();
}
// When you open reg form by default

});
$(‘form#login’).on(‘click’, function (e) {
var email = $(“#invitefriend”).val();
var valid_email_id = true
if (email.length 0) {
var email_reg = “[A-Za-z0-9._%-']+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}”;
var re = new RegExp(‘^’ + email_reg + ‘(;\n*’ + email_reg + ‘)*;?$’);
var email_values = $(“#invitefriend”).val().trim();
var email_with_separator = email_values.replace(/[ ;,]+/g, “,”);
var email_array = email_with_separator.split(“,”);
var validate_email_id = email_array.map(function (str) {
return re.test(str);
});
var invalid_email_id_found = $.inArray(false, validate_email_id) -1;
if (invalid_email_id_found) {
valid_email_id = false
}
}
if (valid_email_id == false) {
$(“#invitefriend”).addClass(“required error”);
return false;
} else {
$(“#invitefriend”).removeClass();
}
});
$(function () {
$(‘#dob’).datepicker({
dateFormat: ‘yy-mm-dd’,
changeMonth: true,
changeYear: true,
yearRange: “1950:2015″,
maxDate: new Date()
});
});

Article source: http://www.narendramodi.in/pm-greets-the-people-of-bangladesh-on-their-independence-day/

India’s reform drive could unlock corporate growth; country a global bright spot for investing: S&P

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
});
$(‘form#login .lost-password a’).on(‘click’, function (e) {
$(‘form#login’).fadeOut();
$(‘form#register’).fadeOut();
$(‘form#lostpass’).fadeIn();
e.preventDefault();
});
$(‘.invite_friends’).on(‘click’, function (e) {
$(‘.invitefriend’).fadeToggle();
e.preventDefault();
});
$(‘#invitefriend’).focus(function () {
$(this).data(‘placeholder’, $(this).attr(‘placeholder’))
$(this).attr(‘placeholder’, ”);
});
$(‘#invitefriend’).blur(function () {
$(this).attr(‘placeholder’, $(this).data(‘placeholder’));
});
$(‘form#lostpass’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
useroremail = $(‘form#lostpass #useroremail’).val();
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
beforeSend: function () {
$(“.popup-row .loading-gif”).show();
},
data: {
‘action’: ‘ajaxlostpass’,
‘useroremail’: useroremail
},
success: function (data) {
$(‘p.status’).text(data.message);
$(“.popup-row .loading-gif”).hide();
}
});
e.preventDefault();
});
$(‘form#login, form#register’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
$(‘form#register’).on(‘submit’, function (e) {
if($(‘#profession’).val() == “please_select_pro”) {
$(‘#profession’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#profession’).css(‘border’,”);
}
if($(‘#areaofint’).val() == “please_select_aoi”) {
$(‘#areaofint’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#areaofint’).css(‘border’,”);
}
});
//$(‘p.status’, this).show().text(‘Sending user info, please wait…’);
$(‘form#register’).on(‘submit’, function (e) {
//$(‘p.status’,this).show().text(‘Thank you for signing up with www.narendramodi.in , you will soon receive an activation link on your email, kindly confirm your registration.
Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.’);
});

action = ‘ajaxlogin’;

username = $(‘form#login #username’).val();
password = $(‘form#login #password’).val();
invitefriend = $(‘form#login #invitefriend’).val();
rememberme = false;
if ($(‘form#login #rememberme’).is(‘:checked’)) {
rememberme = true;
}
email = ”;
security = $(‘form#login #security’).val();
si_code_log = $(‘#si_code_log’).val();
captcha_code = $(‘#captcha_code’).val();
if ($(this).attr(‘id’) == ‘register’) {
action = ‘ajaxregister’;
firstname = $(‘#firstname’).val();
lastname = $(‘#lastname’).val();
//username = $(‘#signonname’).val();
password = $(‘#signonpassword’).val();
email = $(‘#email’).val();
security = $(‘#signonsecurity’).val();
countrycode = $(‘#countrycode’).val();
phonenumber = $(‘#phonenumber’).val();
profession = $(‘#profession’).val();
areaofint = $(‘#areaofint’).val();
dob = $(‘#dob’).val();
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘firstname’: firstname,
‘lastname’: lastname,
‘username’: email,
‘password’: password,
‘rememberme’: rememberme,
‘invitefriend’: invitefriend,
‘countrycode’: countrycode,
‘phonenumber’: phonenumber,
‘profession’: profession,
‘areaofint’: areaofint,
‘dob’: dob,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(“#register .login-box h2″).text(“Thank You”);
$(“#register .login-box .status”).html(“Thank you for signing up with www.narendramodi.in, you will soon receive an activation link on your email, kindly confirm your registration.

Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.”);
$(“#register .login-box .popup-right”).hide();
$(“#register .login-box .popup-row”).hide();
$(“#register .login-box .bottom-row”).hide();
//document.location.href = window.location.href;
//$(‘p.status’, ctrl).text(data.message);
//if (data.loggedin == true) {
//}
$(“.popup-row .loading-gif”).hide();
setTimeout(function(){window.location.reload();}, 8000);
}
});
} else {
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘username’: username,
‘password’: password,
‘rememberme’: rememberme,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(‘p.status’, ctrl).text(data.message);
if (data.loggedin == true) {
url = window.location.href;
url = url.slice( 0, url.indexOf(‘?’) );
document.location.href = url;
}
$(“.popup-row .loading-gif”).hide();
}
});
}

e.preventDefault();
});
if ($(“#register”).length) {
$(“#register”).validate({
rules: {
phonenumber: {
required: true,
number: true,
maxlength:10
}
}
});
}

if ($(“#login”).length) {
$(“#login”).validate();
}
if ($(“#lostpass”).length) {
$(“#lostpass”).validate();
}

// When you open reg form by default
var regval = getParameterByName(‘reg’);
if(regval == “wish”) {
$(‘body’).prepend(‘

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
}
var regval = getParameterByName(‘action’);
if(regval == “confirm”) {
$(‘body’).prepend(”);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#register’).fadeIn(500);
else
$(‘form#login’).fadeIn(500);
e.preventDefault();
}
// When you open reg form by default

});
$(‘form#login’).on(‘click’, function (e) {
var email = $(“#invitefriend”).val();
var valid_email_id = true
if (email.length 0) {
var email_reg = “[A-Za-z0-9._%-']+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}”;
var re = new RegExp(‘^’ + email_reg + ‘(;\n*’ + email_reg + ‘)*;?$’);
var email_values = $(“#invitefriend”).val().trim();
var email_with_separator = email_values.replace(/[ ;,]+/g, “,”);
var email_array = email_with_separator.split(“,”);
var validate_email_id = email_array.map(function (str) {
return re.test(str);
});
var invalid_email_id_found = $.inArray(false, validate_email_id) -1;
if (invalid_email_id_found) {
valid_email_id = false
}
}
if (valid_email_id == false) {
$(“#invitefriend”).addClass(“required error”);
return false;
} else {
$(“#invitefriend”).removeClass();
}
});
$(function () {
$(‘#dob’).datepicker({
dateFormat: ‘yy-mm-dd’,
changeMonth: true,
changeYear: true,
yearRange: “1950:2015″,
maxDate: new Date()
});
});

Article source: http://www.narendramodi.in/indias-reform-drive-could-unlock-corporate-growth-country-a-global-bright-spot-for-investing-sp/

India, Qatar Discuss Enhanced Cooperation, Ink Six Pacts

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
});
$(‘form#login .lost-password a’).on(‘click’, function (e) {
$(‘form#login’).fadeOut();
$(‘form#register’).fadeOut();
$(‘form#lostpass’).fadeIn();
e.preventDefault();
});
$(‘.invite_friends’).on(‘click’, function (e) {
$(‘.invitefriend’).fadeToggle();
e.preventDefault();
});
$(‘#invitefriend’).focus(function () {
$(this).data(‘placeholder’, $(this).attr(‘placeholder’))
$(this).attr(‘placeholder’, ”);
});
$(‘#invitefriend’).blur(function () {
$(this).attr(‘placeholder’, $(this).data(‘placeholder’));
});
$(‘form#lostpass’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
useroremail = $(‘form#lostpass #useroremail’).val();
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
beforeSend: function () {
$(“.popup-row .loading-gif”).show();
},
data: {
‘action’: ‘ajaxlostpass’,
‘useroremail’: useroremail
},
success: function (data) {
$(‘p.status’).text(data.message);
$(“.popup-row .loading-gif”).hide();
}
});
e.preventDefault();
});
$(‘form#login, form#register’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
$(‘form#register’).on(‘submit’, function (e) {
if($(‘#profession’).val() == “please_select_pro”) {
$(‘#profession’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#profession’).css(‘border’,”);
}
if($(‘#areaofint’).val() == “please_select_aoi”) {
$(‘#areaofint’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#areaofint’).css(‘border’,”);
}
});
//$(‘p.status’, this).show().text(‘Sending user info, please wait…’);
$(‘form#register’).on(‘submit’, function (e) {
//$(‘p.status’,this).show().text(‘Thank you for signing up with www.narendramodi.in , you will soon receive an activation link on your email, kindly confirm your registration.
Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.’);
});

action = ‘ajaxlogin’;

username = $(‘form#login #username’).val();
password = $(‘form#login #password’).val();
invitefriend = $(‘form#login #invitefriend’).val();
rememberme = false;
if ($(‘form#login #rememberme’).is(‘:checked’)) {
rememberme = true;
}
email = ”;
security = $(‘form#login #security’).val();
si_code_log = $(‘#si_code_log’).val();
captcha_code = $(‘#captcha_code’).val();
if ($(this).attr(‘id’) == ‘register’) {
action = ‘ajaxregister’;
firstname = $(‘#firstname’).val();
lastname = $(‘#lastname’).val();
//username = $(‘#signonname’).val();
password = $(‘#signonpassword’).val();
email = $(‘#email’).val();
security = $(‘#signonsecurity’).val();
countrycode = $(‘#countrycode’).val();
phonenumber = $(‘#phonenumber’).val();
profession = $(‘#profession’).val();
areaofint = $(‘#areaofint’).val();
dob = $(‘#dob’).val();
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘firstname’: firstname,
‘lastname’: lastname,
‘username’: email,
‘password’: password,
‘rememberme’: rememberme,
‘invitefriend’: invitefriend,
‘countrycode’: countrycode,
‘phonenumber’: phonenumber,
‘profession’: profession,
‘areaofint’: areaofint,
‘dob’: dob,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(“#register .login-box h2″).text(“Thank You”);
$(“#register .login-box .status”).html(“Thank you for signing up with www.narendramodi.in, you will soon receive an activation link on your email, kindly confirm your registration.

Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.”);
$(“#register .login-box .popup-right”).hide();
$(“#register .login-box .popup-row”).hide();
$(“#register .login-box .bottom-row”).hide();
//document.location.href = window.location.href;
//$(‘p.status’, ctrl).text(data.message);
//if (data.loggedin == true) {
//}
$(“.popup-row .loading-gif”).hide();
setTimeout(function(){window.location.reload();}, 8000);
}
});
} else {
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘username’: username,
‘password’: password,
‘rememberme’: rememberme,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(‘p.status’, ctrl).text(data.message);
if (data.loggedin == true) {
url = window.location.href;
url = url.slice( 0, url.indexOf(‘?’) );
document.location.href = url;
}
$(“.popup-row .loading-gif”).hide();
}
});
}

e.preventDefault();
});
if ($(“#register”).length) {
$(“#register”).validate({
rules: {
phonenumber: {
required: true,
number: true,
maxlength:10
}
}
});
}

if ($(“#login”).length) {
$(“#login”).validate();
}
if ($(“#lostpass”).length) {
$(“#lostpass”).validate();
}

// When you open reg form by default
var regval = getParameterByName(‘reg’);
if(regval == “wish”) {
$(‘body’).prepend(‘

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
}
var regval = getParameterByName(‘action’);
if(regval == “confirm”) {
$(‘body’).prepend(”);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#register’).fadeIn(500);
else
$(‘form#login’).fadeIn(500);
e.preventDefault();
}
// When you open reg form by default

});
$(‘form#login’).on(‘click’, function (e) {
var email = $(“#invitefriend”).val();
var valid_email_id = true
if (email.length 0) {
var email_reg = “[A-Za-z0-9._%-']+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}”;
var re = new RegExp(‘^’ + email_reg + ‘(;\n*’ + email_reg + ‘)*;?$’);
var email_values = $(“#invitefriend”).val().trim();
var email_with_separator = email_values.replace(/[ ;,]+/g, “,”);
var email_array = email_with_separator.split(“,”);
var validate_email_id = email_array.map(function (str) {
return re.test(str);
});
var invalid_email_id_found = $.inArray(false, validate_email_id) -1;
if (invalid_email_id_found) {
valid_email_id = false
}
}
if (valid_email_id == false) {
$(“#invitefriend”).addClass(“required error”);
return false;
} else {
$(“#invitefriend”).removeClass();
}
});
$(function () {
$(‘#dob’).datepicker({
dateFormat: ‘yy-mm-dd’,
changeMonth: true,
changeYear: true,
yearRange: “1950:2015″,
maxDate: new Date()
});
});

Article source: http://www.narendramodi.in/india-qatar-discuss-enhanced-cooperation-ink-six-pacts/

Delegation meets PM to discuss issues related to Jat Community

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
});
$(‘form#login .lost-password a’).on(‘click’, function (e) {
$(‘form#login’).fadeOut();
$(‘form#register’).fadeOut();
$(‘form#lostpass’).fadeIn();
e.preventDefault();
});
$(‘.invite_friends’).on(‘click’, function (e) {
$(‘.invitefriend’).fadeToggle();
e.preventDefault();
});
$(‘#invitefriend’).focus(function () {
$(this).data(‘placeholder’, $(this).attr(‘placeholder’))
$(this).attr(‘placeholder’, ”);
});
$(‘#invitefriend’).blur(function () {
$(this).attr(‘placeholder’, $(this).data(‘placeholder’));
});
$(‘form#lostpass’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
useroremail = $(‘form#lostpass #useroremail’).val();
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
beforeSend: function () {
$(“.popup-row .loading-gif”).show();
},
data: {
‘action’: ‘ajaxlostpass’,
‘useroremail’: useroremail
},
success: function (data) {
$(‘p.status’).text(data.message);
$(“.popup-row .loading-gif”).hide();
}
});
e.preventDefault();
});
$(‘form#login, form#register’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
$(‘form#register’).on(‘submit’, function (e) {
if($(‘#profession’).val() == “please_select_pro”) {
$(‘#profession’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#profession’).css(‘border’,”);
}
if($(‘#areaofint’).val() == “please_select_aoi”) {
$(‘#areaofint’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#areaofint’).css(‘border’,”);
}
});
//$(‘p.status’, this).show().text(‘Sending user info, please wait…’);
$(‘form#register’).on(‘submit’, function (e) {
//$(‘p.status’,this).show().text(‘Thank you for signing up with www.narendramodi.in , you will soon receive an activation link on your email, kindly confirm your registration.
Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.’);
});

action = ‘ajaxlogin’;

username = $(‘form#login #username’).val();
password = $(‘form#login #password’).val();
invitefriend = $(‘form#login #invitefriend’).val();
rememberme = false;
if ($(‘form#login #rememberme’).is(‘:checked’)) {
rememberme = true;
}
email = ”;
security = $(‘form#login #security’).val();
si_code_log = $(‘#si_code_log’).val();
captcha_code = $(‘#captcha_code’).val();
if ($(this).attr(‘id’) == ‘register’) {
action = ‘ajaxregister’;
firstname = $(‘#firstname’).val();
lastname = $(‘#lastname’).val();
//username = $(‘#signonname’).val();
password = $(‘#signonpassword’).val();
email = $(‘#email’).val();
security = $(‘#signonsecurity’).val();
countrycode = $(‘#countrycode’).val();
phonenumber = $(‘#phonenumber’).val();
profession = $(‘#profession’).val();
areaofint = $(‘#areaofint’).val();
dob = $(‘#dob’).val();
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘firstname’: firstname,
‘lastname’: lastname,
‘username’: email,
‘password’: password,
‘rememberme’: rememberme,
‘invitefriend’: invitefriend,
‘countrycode’: countrycode,
‘phonenumber’: phonenumber,
‘profession’: profession,
‘areaofint’: areaofint,
‘dob’: dob,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(“#register .login-box h2″).text(“Thank You”);
$(“#register .login-box .status”).html(“Thank you for signing up with www.narendramodi.in, you will soon receive an activation link on your email, kindly confirm your registration.

Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.”);
$(“#register .login-box .popup-right”).hide();
$(“#register .login-box .popup-row”).hide();
$(“#register .login-box .bottom-row”).hide();
//document.location.href = window.location.href;
//$(‘p.status’, ctrl).text(data.message);
//if (data.loggedin == true) {
//}
$(“.popup-row .loading-gif”).hide();
setTimeout(function(){window.location.reload();}, 8000);
}
});
} else {
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘username’: username,
‘password’: password,
‘rememberme’: rememberme,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(‘p.status’, ctrl).text(data.message);
if (data.loggedin == true) {
url = window.location.href;
url = url.slice( 0, url.indexOf(‘?’) );
document.location.href = url;
}
$(“.popup-row .loading-gif”).hide();
}
});
}

e.preventDefault();
});
if ($(“#register”).length) {
$(“#register”).validate({
rules: {
phonenumber: {
required: true,
number: true,
maxlength:10
}
}
});
}

if ($(“#login”).length) {
$(“#login”).validate();
}
if ($(“#lostpass”).length) {
$(“#lostpass”).validate();
}

// When you open reg form by default
var regval = getParameterByName(‘reg’);
if(regval == “wish”) {
$(‘body’).prepend(‘

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
}
var regval = getParameterByName(‘action’);
if(regval == “confirm”) {
$(‘body’).prepend(”);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#register’).fadeIn(500);
else
$(‘form#login’).fadeIn(500);
e.preventDefault();
}
// When you open reg form by default

});
$(‘form#login’).on(‘click’, function (e) {
var email = $(“#invitefriend”).val();
var valid_email_id = true
if (email.length 0) {
var email_reg = “[A-Za-z0-9._%-']+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}”;
var re = new RegExp(‘^’ + email_reg + ‘(;\n*’ + email_reg + ‘)*;?$’);
var email_values = $(“#invitefriend”).val().trim();
var email_with_separator = email_values.replace(/[ ;,]+/g, “,”);
var email_array = email_with_separator.split(“,”);
var validate_email_id = email_array.map(function (str) {
return re.test(str);
});
var invalid_email_id_found = $.inArray(false, validate_email_id) -1;
if (invalid_email_id_found) {
valid_email_id = false
}
}
if (valid_email_id == false) {
$(“#invitefriend”).addClass(“required error”);
return false;
} else {
$(“#invitefriend”).removeClass();
}
});
$(function () {
$(‘#dob’).datepicker({
dateFormat: ‘yy-mm-dd’,
changeMonth: true,
changeYear: true,
yearRange: “1950:2015″,
maxDate: new Date()
});
});

Article source: http://www.narendramodi.in/delegation-meets-pm-to-discuss-issues-related-to-jat-community/

PM launches PRAGATI: a multi-purpose, multi-modal platform for Pro-Active Governance And Timely Implementation

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
});
$(‘form#login .lost-password a’).on(‘click’, function (e) {
$(‘form#login’).fadeOut();
$(‘form#register’).fadeOut();
$(‘form#lostpass’).fadeIn();
e.preventDefault();
});
$(‘.invite_friends’).on(‘click’, function (e) {
$(‘.invitefriend’).fadeToggle();
e.preventDefault();
});
$(‘#invitefriend’).focus(function () {
$(this).data(‘placeholder’, $(this).attr(‘placeholder’))
$(this).attr(‘placeholder’, ”);
});
$(‘#invitefriend’).blur(function () {
$(this).attr(‘placeholder’, $(this).data(‘placeholder’));
});
$(‘form#lostpass’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
useroremail = $(‘form#lostpass #useroremail’).val();
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
beforeSend: function () {
$(“.popup-row .loading-gif”).show();
},
data: {
‘action’: ‘ajaxlostpass’,
‘useroremail’: useroremail
},
success: function (data) {
$(‘p.status’).text(data.message);
$(“.popup-row .loading-gif”).hide();
}
});
e.preventDefault();
});
$(‘form#login, form#register’).on(‘submit’, function (e) {
if (!$(this).valid())
return false;
$(‘form#register’).on(‘submit’, function (e) {
if($(‘#profession’).val() == “please_select_pro”) {
$(‘#profession’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#profession’).css(‘border’,”);
}
if($(‘#areaofint’).val() == “please_select_aoi”) {
$(‘#areaofint’).css(‘border’,’1px solid #ff0000′);
return false;
}else {
$(‘#areaofint’).css(‘border’,”);
}
});
//$(‘p.status’, this).show().text(‘Sending user info, please wait…’);
$(‘form#register’).on(‘submit’, function (e) {
//$(‘p.status’,this).show().text(‘Thank you for signing up with www.narendramodi.in , you will soon receive an activation link on your email, kindly confirm your registration.
Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.’);
});

action = ‘ajaxlogin’;

username = $(‘form#login #username’).val();
password = $(‘form#login #password’).val();
invitefriend = $(‘form#login #invitefriend’).val();
rememberme = false;
if ($(‘form#login #rememberme’).is(‘:checked’)) {
rememberme = true;
}
email = ”;
security = $(‘form#login #security’).val();
si_code_log = $(‘#si_code_log’).val();
captcha_code = $(‘#captcha_code’).val();
if ($(this).attr(‘id’) == ‘register’) {
action = ‘ajaxregister’;
firstname = $(‘#firstname’).val();
lastname = $(‘#lastname’).val();
//username = $(‘#signonname’).val();
password = $(‘#signonpassword’).val();
email = $(‘#email’).val();
security = $(‘#signonsecurity’).val();
countrycode = $(‘#countrycode’).val();
phonenumber = $(‘#phonenumber’).val();
profession = $(‘#profession’).val();
areaofint = $(‘#areaofint’).val();
dob = $(‘#dob’).val();
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘firstname’: firstname,
‘lastname’: lastname,
‘username’: email,
‘password’: password,
‘rememberme’: rememberme,
‘invitefriend’: invitefriend,
‘countrycode’: countrycode,
‘phonenumber’: phonenumber,
‘profession’: profession,
‘areaofint’: areaofint,
‘dob’: dob,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(“#register .login-box h2″).text(“Thank You”);
$(“#register .login-box .status”).html(“Thank you for signing up with www.narendramodi.in, you will soon receive an activation link on your email, kindly confirm your registration.

Note: Please check your Spam and Promotions folder in case the verification email is missing in your Inbox.”);
$(“#register .login-box .popup-right”).hide();
$(“#register .login-box .popup-row”).hide();
$(“#register .login-box .bottom-row”).hide();
//document.location.href = window.location.href;
//$(‘p.status’, ctrl).text(data.message);
//if (data.loggedin == true) {
//}
$(“.popup-row .loading-gif”).hide();
setTimeout(function(){window.location.reload();}, 8000);
}
});
} else {
ctrl = $(this);
$.ajax({
type: ‘POST’,
dataType: ‘json’,
url: ‘http://www.narendramodi.in/wp-admin/admin-ajax.php’,
data: {
‘action’: action,
‘username’: username,
‘password’: password,
‘rememberme’: rememberme,
‘email’: email,
‘security’: security,
‘si_code_log’: si_code_log,
‘captcha_code’: captcha_code
},
beforeSend: function () {
$(“.popup-row .loading-gif”).css({“display”: “inline-block”});
},
success: function (data) {
$(‘p.status’, ctrl).text(data.message);
if (data.loggedin == true) {
url = window.location.href;
url = url.slice( 0, url.indexOf(‘?’) );
document.location.href = url;
}
$(“.popup-row .loading-gif”).hide();
}
});
}

e.preventDefault();
});
if ($(“#register”).length) {
$(“#register”).validate({
rules: {
phonenumber: {
required: true,
number: true,
maxlength:10
}
}
});
}

if ($(“#login”).length) {
$(“#login”).validate();
}
if ($(“#lostpass”).length) {
$(“#lostpass”).validate();
}

// When you open reg form by default
var regval = getParameterByName(‘reg’);
if(regval == “wish”) {
$(‘body’).prepend(‘

‘);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#login’).fadeIn(500);
else
$(‘form#register’).fadeIn(500);
e.preventDefault();
}
var regval = getParameterByName(‘action’);
if(regval == “confirm”) {
$(‘body’).prepend(”);
if ($(this).attr(‘id’) == ‘show_login’)
$(‘form#register’).fadeIn(500);
else
$(‘form#login’).fadeIn(500);
e.preventDefault();
}
// When you open reg form by default

});
$(‘form#login’).on(‘click’, function (e) {
var email = $(“#invitefriend”).val();
var valid_email_id = true
if (email.length 0) {
var email_reg = “[A-Za-z0-9._%-']+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}”;
var re = new RegExp(‘^’ + email_reg + ‘(;\n*’ + email_reg + ‘)*;?$’);
var email_values = $(“#invitefriend”).val().trim();
var email_with_separator = email_values.replace(/[ ;,]+/g, “,”);
var email_array = email_with_separator.split(“,”);
var validate_email_id = email_array.map(function (str) {
return re.test(str);
});
var invalid_email_id_found = $.inArray(false, validate_email_id) -1;
if (invalid_email_id_found) {
valid_email_id = false
}
}
if (valid_email_id == false) {
$(“#invitefriend”).addClass(“required error”);
return false;
} else {
$(“#invitefriend”).removeClass();
}
});
$(function () {
$(‘#dob’).datepicker({
dateFormat: ‘yy-mm-dd’,
changeMonth: true,
changeYear: true,
yearRange: “1950:2015″,
maxDate: new Date()
});
});

Article source: http://www.narendramodi.in/pm-launches-pragati-a-multi-purpose-multi-modal-platform-for-pro-active-governance-and-timely-implementation/