[ad_1]
45 Worldwide corporations have participated and the viewing has over 100,000 carats of tough rubies. The viewing is divided into 74 schedules.
This viewing is dwelling to a few of the most interesting, gem-quality rubies from the famend Montepuez ruby district. A advantageous vary of tough stock in numerous shades of pink, starting from darkish pink to pinkish pink in addition to rubies with purple and orange tones might be on provide at this tender. This inaugural tender is a milestone occasion, as it is going to set the stage for Gemrock as one of many main suppliers of color gems to the world.
window.fbAsyncInit = function () { FB.init({ appId: '1430751883855158', cookie: true, // This is important, it's not enabled by default version: 'v2.9', oauth: true }); };
(function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) { return; } js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
function checkLoginState() { FB.getLoginStatus(function (response) { statusChangeCallback(response); }); }
// This is called with the results from from FB.getLoginStatus(). function statusChangeCallback(response) { // console.log('statusChangeCallback'); //console.log(response); // The response object is returned with a status field that lets the // app know the current login status of the person. // Full docs on the response object can be found in the documentation // for FB.getLoginStatus().
if (response.status === 'connected') { // Logged into your app and Facebook. var uid = response.authResponse.userID; var accessToken = response.authResponse.accessToken; $("#hidUserId").val(uid); getName(); } else if (response.status === 'not_authorized') { // The person is logged into Facebook, but not your app. // alert('Please log ' + 'into this app.');
FB.login(function (response) {
if (response.authResponse) {
var uid = response.authResponse.userID; var accessToken = response.authResponse.accessToken; $("#hidUserId").val(uid); getName(); } else { // not auth / cancelled the login! } }, { scope: 'public_profile,email,user_hometown' });
} else { FB.login(function (response) {
if (response.authResponse) {
var uid = response.authResponse.userID; var accessToken = response.authResponse.accessToken; $("#hidUserId").val(uid); getName(); }
}, { scope: 'public_profile,email,user_hometown' }); } }
function getName() {
FB.api('/me?fields=hometown,name', function (response) { alert(JSON.stringify(response)); $("#txtName").val(response.name); // $("#txtTown").val(response.hometown.name); $("#txtRName").val(response.name); $("#hidType").val(3); document.getElementById("imgBtnSubmitnew").click(); hideOverlay(); }); }
[ad_2]
Source_link