'
+ ''
+ ''
+ ''
+ ''
+ '
'
+ SVG_848('90%')
+ ''
+ ' |
'
+ ''
+ 'Try On'
+ ' |
'
+ '
'
//product-gallery__carousel
var p = document.getElementsByClassName('product-gallery__carousel')[0];
p.appendChild(o)
//
//if (p.length > 2) {
// p[2].parentElement.insertBefore(o, p[2]);
//}
//else {
// p.parentNode.appendChild(o)
//}
}
}
//}
return (_View);
}
Before_Open_iFrame() {
//
}
After_Close_iFrame() {
//
}
Init_User_Code(mode) {
//
}
Get_Product_Images() {
//
}
//Get_info_From_Page(URL) {
//}
constructor(_URL_Execute_Domain, _URL_Execute_Page, _URL_Parent_Domain, _Ring_Try_Yourself, _SID, _Mode, _Rotate_Mobile, _Cur_Project, _Flag_Parent_Host, _Language, _Btn_Close_No_Show, _Flag_Use_Google_Tag_Events, _Server_From) {
this.WA___Flag_Mobile = '0';
this.WA___Flag_iPhone = false;
this.WA___iPhone_Stat = false;
this.WA___Flag_Load = 0;
this.WA___Frame_SRC = 0;
this.WA___Flag_Open = 0;
this.WA___TagVieport = '';
this.WA___TagText = '';
this.WA___ViewPort_K = 1;
this.Parent_Body_Style = '';
this.Parent_HTML_Style = '';
this.Flag_Block_Rotate = '';
this.Type_Product = '';
this.Window_Height = 0;
this.Interval = '';
this.User_Parent = '';
this.Flag_Page_Success = '';
this.User_Ring = '';
this.User_Ring_Checked = '';
this.User_Diam = '';
this.Count_Time = 0;
this.Old_Product_Name = '';
this.z_Back = '2147483644';
this.z_iFrame = '2147483645';
this.z_Mess = '2147483646';
this.z_Close = '2147483647';
this.WA_aoCalls = new Array();
this.User_Retailer = '';
this.Retailer_Ring = '';
this.Retailer_File = '';
this.DontShow_Button = '1';
this.m3d_360 = '';
this.Flag_No_Wait_Click = '';
this.If_No_Exists_Chang_To = '';
this.User_Ring_No_Exist = '';
this.Flag_Put_Button = '';
this.Count_Repite_Print_HTML = -1;
this.WA___User_Array = (',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,').split(',');
this.Flag_Local = '0';
this.iFrame_Orientation = '';
this.Flag_Work_BO = '';
this.URL_Execute_Domain = _URL_Execute_Domain;
this.URL_Execute_Page = _URL_Execute_Page;
this.Parent_Domain = _URL_Parent_Domain;
this.Ring_Try_Yourself = _Ring_Try_Yourself;
this.SID = _SID;
this.Mode = _Mode;
this.Rotate_Mobile = _Rotate_Mobile;
this.Cur_Project = _Cur_Project;
this.Flag_Parent_Host = _Flag_Parent_Host;
this.Btn_Close_No_Show = _Btn_Close_No_Show;
this.Flag_Use_Google_Tag_Events = _Flag_Use_Google_Tag_Events;
this.Icon_Parent_Button = 'Include/Inova/Images/Buttons/' + _Language + '/hand_1.png';
this.Icon_Parent_Style = '';
this.Flag_Block_Ring_ID = '';
this.From_Check_Exists_Ring = '';
this.BO_Parameter_URL = '';
this.Product_Page = '';
this.XML_HttpRequest;
this.Service_From = _Server_From;
this.Server_Stat = 'https://stat.vto.jewelry/index.aspx';
this.Flag_Parent_Page = '';
this.Flag_UnLoad = '';
this.Flag_Load_Button = '';
this.Flag_Show_SID = '';
this.Product_Code = '';
this.xmlObj;
this.This_IP = '3.145.196.175';
this.Dop_URL_Param = '';
this.Ring_Show_Change = '';
window.addEventListener("load", function () {
cls_InovaDiamonds_Iframe.Count_Repite_Print_HTML = 1
});
window.addEventListener("unload", function () {
cls_InovaDiamonds_Iframe.Send_Unload();
});
window.addEventListener("beforeunload", function () {
cls_InovaDiamonds_Iframe.Send_Unload();
});
window.addEventListener("resize", function () {
cls_InovaDiamonds_Iframe.Put_Size_iFrame();
});
window.addEventListener("orientationchange", function () {
cls_InovaDiamonds_Iframe.Orientation_Change();
});
window.addEventListener("message", function (event) {
cls_InovaDiamonds_Iframe.WA___Listener(event);
});
}
Currient_IP() {
if (this.This_IP == '149.106.241.237') {
return (true)
}
return (false)
}
check_Browser() {
cls_InovaDiamonds_Iframe.WA___Flag_Mobile = '0';
if (cls_InovaDiamonds_Iframe.Get_Orientation() == '1') {
cls_InovaDiamonds_Iframe.WA___Flag_Mobile = '1';
}
else {
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) {
cls_InovaDiamonds_Iframe.WA___Flag_Mobile = '1';
}
}
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
cls_InovaDiamonds_Iframe.WA___Flag_iPhone = true
cls_InovaDiamonds_Iframe.WA___iPhone_Stat = true
}
if (cls_InovaDiamonds_Iframe.WA___Flag_Mobile != '1') {
cls_InovaDiamonds_Iframe.WA___Flag_iPhone = false
if (navigator.userAgent.indexOf('Mac') > 0) {
cls_InovaDiamonds_Iframe.WA___iPhone_Stat = true
}
}
}
stopEvent(event) {
event = ''
//event.stopPropagation();
//event.stopImmediatePropagation();
}
Get_Orientation() {
try {
var orientation;
try {
orientation = (screen.orientation.type || screen.mozOrientation || screen.msOrientation);
}
catch (e) {
orientation = (screen.orientation || screen.mozOrientation || screen.msOrientation);
}
if (orientation != undefined) {
if (orientation.indexOf('landscape') >= 0) { return ('0') }
else if (orientation.indexOf('portrait') >= 0) { return ('1') }
}
else {
var query = window.matchMedia("(orientation:landscape)");
if (query.matches == true) {
return ('0')
}
query = window.matchMedia("(orientation:portrait)");
if (query.matches == true) {
return ('1')
}
var W = screen.width;
var H = screen.height;
if (W > H) {
return ('0')
}
else {
return ('1')
}
}
}
catch (e) { }
return ('0')
}
User___Data(Request_From) {
if (cls_InovaDiamonds_Iframe.Flag_Block_Ring_ID != '') {
return ('')
}
if (document.location.href.indexOf('localhost') > 0) {
cls_InovaDiamonds_Iframe.Flag_Local = '1'
}
if (cls_InovaDiamonds_Iframe.Ring_Try_Yourself != '') {
cls_InovaDiamonds_Iframe.User_Ring = cls_InovaDiamonds_Iframe.Ring_Try_Yourself;
return ('');
}
if (document.getElementById('List_All_Id_Ring_SDJWERGBWREH')) {
if (document.getElementById('List_All_Id_Ring_SDJWERGBWREH').value != '') {
if (cls_InovaDiamonds_Iframe.From_Check_Exists_Ring == '') {
cls_InovaDiamonds_Iframe.Flag_Block_Ring_ID = '1';
cls_InovaDiamonds_Iframe.User_Ring = document.getElementById('List_All_Id_Ring_SDJWERGBWREH').value;
}
else {
cls_InovaDiamonds_Iframe.User_Ring = '4069'
}
return ('');
}
}
var tmp = cls_InovaDiamonds_Iframe.get_From_Query('show_ring');
if (tmp != '') {
cls_InovaDiamonds_Iframe.User_Ring = tmp + '^metall:w';
cls_InovaDiamonds_Iframe.Flag_No_Wait_Click = '1';
}
else {
cls_InovaDiamonds_Iframe.Get_Info_Product(Request_From);
}
}
Check_Ring_Id() {
if (cls_InovaDiamonds_Iframe.Flag_Page_Success != '') {
return ('');
}
var Flag_Repite = 0;
try {
cls_InovaDiamonds_Iframe.User___Data('check');
if (cls_InovaDiamonds_Iframe.User_Ring == '') {
Flag_Repite = 1;
}
}
catch (e) {
Flag_Repite = 1;
}
if (Flag_Repite == 1) {
cls_InovaDiamonds_Iframe.Count_Repite_Print_HTML += 1;
if (cls_InovaDiamonds_Iframe.Count_Repite_Print_HTML < 15) {
setTimeout(function () {
cls_InovaDiamonds_Iframe.Check_Ring_Id();
}, 1000);
}
return ('');
}
if (cls_InovaDiamonds_Iframe.Ring_Try_Yourself != '') {
cls_InovaDiamonds_Iframe.check_Browser();
cls_InovaDiamonds_Iframe.print_HTML_Go('none');
cls_InovaDiamonds_Iframe.Inova__OpenFrame();
}
else {
cls_InovaDiamonds_Iframe.Check_Ring_Exists();
}
}
Show_Ring(Id_Ring, Flag_Mode_ring, Flag_From_BO, BO_Parameter, URL_Param) {
if (Flag_From_BO == 'BO_Next') {
var ar = document.getElementsByTagName('IMG')
for (var i = 0; i < ar.length; i++) {
var on = ar[i].parentNode.getAttribute('onclick')
if (on) {
if (on.indexOf('Show_Ring') > 0) {
if (on.indexOf("'" + document.getElementById('List_All_Id_Ring_SDJWERGBWREH').value + "'") > 0) {
for (var j = i + 1; j < ar.length; j++) {
var on = ar[j].parentNode.getAttribute('onclick')
if (on) {
if (on.indexOf('Show_Ring') > 0) {
ar[j].parentNode.click()
return ('')
}
}
}
}
}
}
}
}
if (!document.getElementById('BO_Next')) {
if (document.location.href.indexOf('btn=NEXT') > 0) {
var o = document.createElement('DIV');
o.id = 'BO_Next';
o.setAttribute('style', 'padding:11px;position:fixed;left:11px;top:11px;z-index:' + ((this.z_Close * 1) + 1) + ';');
o.setAttribute('onclick', 'cls_InovaDiamonds_Iframe.Show_Ring("","","BO_Next")')
o.innerHTML = 'NEXT'
document.getElementById('WA_Paas_DivBack').appendChild(o)
}
}
if (URL_Param){
var ar = URL_Param.split(':');
if (ar[0] == 'URL_Param') {
cls_InovaDiamonds_Iframe.Dop_URL_Param = ar[1]
}
}
cls_InovaDiamonds_Iframe.check_Browser()
cls_InovaDiamonds_Iframe.Flag_Block_Ring_ID = '';
if (Flag_From_BO == 'BO') {
cls_InovaDiamonds_Iframe.Flag_Work_BO = 'BO'
}
if (!document.getElementById('List_All_Id_Ring_SDJWERGBWREH')) {
cls_InovaDiamonds_Iframe.build_Input()
}
document.getElementById('List_All_Id_Ring_SDJWERGBWREH').value = Id_Ring;
if (Flag_Mode_ring == '360') {
cls_InovaDiamonds_Iframe.m3d_360 = '1';
}
else {
cls_InovaDiamonds_Iframe.m3d_360 = '';
}
if (BO_Parameter) {
cls_InovaDiamonds_Iframe.BO_Parameter_URL = BO_Parameter;
}
cls_InovaDiamonds_Iframe.Inova__OpenFrame();
}
build_Input() {
var o = document.createElement('INPUT');
o.type = 'hidden';
o.id = 'List_All_Id_Ring_SDJWERGBWREH';
o.value = '';
document.body.appendChild(o);
}
print_HTML(data, type_prod) {
cls_InovaDiamonds_Iframe.check_Browser();
var _View = 'none';
if (document.location.href.indexOf('.html') > 0) {
_View = 'block';
}
if (cls_InovaDiamonds_Iframe.Ring_Try_Yourself != '') {
_View = 'none';
}
if (cls_InovaDiamonds_Iframe.Mode == 'list') {
if (!document.getElementById('List_All_Id_Ring_SDJWERGBWREH')) {
cls_InovaDiamonds_Iframe.build_Input();
}
}
if (cls_InovaDiamonds_Iframe.Mode == 'list_bo') {
cls_InovaDiamonds_Iframe.print_HTML_Go(_View)
return ('')
}
try {
if (cls_InovaDiamonds_Iframe.Flag_No_Wait_Click == '') {
var d_View = cls_InovaDiamonds_Iframe.Print_Buttons(data, type_prod);
if (d_View != '') {
_View = d_View;
}
}
}
catch (e) {
cls_InovaDiamonds_Iframe.Count_Repite_Print_HTML += 1
if (cls_InovaDiamonds_Iframe.Count_Repite_Print_HTML < 100) {
setTimeout(function () {
cls_InovaDiamonds_Iframe.print_HTML(data, type_prod);
}, 50);
}
else {
}
return ('');
}
cls_InovaDiamonds_Iframe.print_HTML_Go(_View)
}
//Send_Images_To_Server(st_Images) {
// var url = cls_InovaDiamonds_Iframe.URL_Execute_Domain
// + cls_InovaDiamonds_Iframe.URL_Execute_Page + '?mode=error_write_button'
// cls_InovaDiamonds_Iframe.__Send_Stat_toServer(url, 'cls_InovaDiamonds_Iframe.Send_Images_To_Server_Go()');
//}
print_HTML_Go(_View) {
var html = ''
+ '';
if (_View != 'none') {
html += '' +
'