function ajaxSubmitCommentForm(){
"use strict";
var options = {
success: function(){
$j("#commentform textarea").val("");
$j("#commentform .success p").text("Comment has been sent!");
}
};
$j('#commentform').submit(function() {
$j(this).find('input[type="submit"]').next('.success').remove();
$j(this).find('input[type="submit"]').after('
');
$j(this).ajaxSubmit(options);
return false;
});
}
var header_height = 90;
var min_header_height = 45;
var scroll_amount_for_sticky = 90;
var logo_height = 51; // elision logo height
var logo_width = 177; // elision logo width
logo_height = 100;
logo_width = 180;
/*
** Init placeholder for search widget
*/
function addPlaceholderSearchWidget(){
"use strict";
$j('.widget.widget_search form input:text, .header_top .searchform input:text').each(
function(i,el) {
if (!el.value || el.value === '') {
el.placeholder = 'Search Here';
}
});
}
var geocoder;
var map;
function initialize() {
"use strict";
// Create an array of styles.
var mapStyles = [
{
stylers: [
{hue: "#324156" },
{saturation: -60},
{lightness: -20},
{gamma: 1.51}
]
}
];
var qodeMapType = new google.maps.StyledMapType(mapStyles,
{name: "Qode Map"});
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
zoom: 12,
scrollwheel: false,
center: latlng,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_CENTER
},
scaleControl: false,
scaleControlOptions: {
position: google.maps.ControlPosition.LEFT_CENTER
},
streetViewControl: false,
streetViewControlOptions: {
position: google.maps.ControlPosition.LEFT_CENTER
},
panControl: false,
panControlOptions: {
position: google.maps.ControlPosition.LEFT_CENTER
},
mapTypeControl: false,
mapTypeControlOptions: {
mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
position: google.maps.ControlPosition.LEFT_CENTER
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
}
function codeAddress(data) {
"use strict";
if (data === '')
return;
var contentString = '';
var infowindow = new google.maps.InfoWindow({
content: contentString
});
geocoder.geocode( { 'address': data}, function(results, status) {
if (status === google.maps.GeocoderStatus.OK) {
map.setCenter(results[0].geometry.location);
var marker = new google.maps.Marker({
map: map,
position: results[0].geometry.location,
icon: 'http://demo.qodeinteractive.com/elision/wp-content/themes/elision/img/pin.png',
title: data['store_title']
});
google.maps.event.addListener(marker, 'click', function() {
infowindow.open(map,marker);
});
//infowindow.open(map,marker);
}
});
}
var $j = jQuery.noConflict();
$j(document).ready(function() {
"use strict";
showContactMap();
});
function showContactMap() {
"use strict";
if($j("#map_canvas").length > 0){
initialize();
codeAddress("");
codeAddress("");
codeAddress("606 S Olive St #1014, Los Angeles, CA 90014");
codeAddress("606 S Olive St #1014, Los Angeles, CA 90014");
codeAddress("Los Angeles, United States");
}
}
var no_ajax_pages = [];
var qode_root = 'https://udecollection.com/';
var theme_root = 'https://udecollection.com/wp-content/themes/elision/';
var parallax_speed = 0.5;
var header_style_admin = "dark";
no_ajax_pages.push('https://udecollection.com/product/3-stone-oval-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/pave-set-split-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/heart-shape-halo-split-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/heart-shape-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/pave-set-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-diamond-engagement-ring-4/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-diamond-engagement-ring-3/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-split-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/blue-sapphire-and-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/fancy-color-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/solitaire-diamond-with-accents-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/2-row-halo-split-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-3-stone-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/halo-triple-split-shank-cushion-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/pave-set-halo-princess-cut-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/pave-set-split-shank-double-halo-emerald-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/pave-set-split-shank-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-oval-halo-pave-set-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/halo-triple-split-shank-asscher-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/marquise-halo-double-shank-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-princess-halo-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/marquise-halo-split-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/marquise-halo-twisted-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-pear-shape-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/heart-shape-halo-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-radiant-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/solitaire-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-diamond-engagement-ring-7/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-double-shank-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-halo-diamond-engagement-ring-3/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-oval-halo-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-split-shank-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-diamond-engagement-ring-6/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-two-row-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-oval-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-triple-shank-pave-set-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-pave-set-diamond-engagement-ring-5/');
no_ajax_pages.push('https://udecollection.com/product/cushion-halo-pave-set-split-shank-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/cushion-halo-pave-set-split-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/marquise-halo-pave-set-split-shank-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-halo-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/halo-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/3-stone-diamond-engagement-ring-3/');
no_ajax_pages.push('https://udecollection.com/product/aqua-center-with-diamonds-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/rose-gold-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/white-gold-diamond-engagement-ring-3/');
no_ajax_pages.push('https://udecollection.com/product/three-stone-fancy-color-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/split-shank-emerald-cut-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/white-gold-radiant-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/white-gold-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/white-and-rose-gold-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/white-gold-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/rose-gold-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/three-stone-diamond-engagement-ring-2/');
no_ajax_pages.push('https://udecollection.com/product/three-stone-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/rose-gold-marquise-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/pear-shape-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/yellow-gold-halo-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/fancy-yellow-diamond-engagement-ring/');
no_ajax_pages.push('https://udecollection.com/product/princess-and-round-diamond-earrings/');
no_ajax_pages.push('https://udecollection.com/product/invisible-set-princess-cut-diamond-stud-earrings-3/');
no_ajax_pages.push('https://udecollection.com/product/invisible-set-princess-cut-diamond-stud-earrings-2/');
no_ajax_pages.push('https://udecollection.com/product/invisible-set-princess-cut-fancy-yellow-diamond-stud-earrings/');
no_ajax_pages.push('https://udecollection.com/product/green-diamond-leaf-earrings/');
no_ajax_pages.push('https://udecollection.com/product/emerald-cut-diamond-stud-earrings/');
no_ajax_pages.push('https://udecollection.com/product/two-tone-heart-shape-diamond-earrings/');
no_ajax_pages.push('https://udecollection.com/product/diamond-earrings/');
no_ajax_pages.push('https://udecollection.com/product/diamond-heart-shape-earrings/');
no_ajax_pages.push('https://udecollection.com/product/channel-set-princess-cut-diamond-earrings/');
no_ajax_pages.push('https://udecollection.com/product/tanzanite-and-diamond-drop-earrings/');
no_ajax_pages.push('https://udecollection.com/product/invisible-set-princess-cut-diamond-stud-earrings/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-hamsa-diamond-pendant-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-cross-black-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14kyg-butterfly-sapphire-and-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-mini-dog-tag-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-yellow-gold-strawberry-ruby-and-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14kwg-heart-sapphire-and-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14krg-kitty-cat-sapphire-and-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-heart-and-key-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-4-leaf-clover-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-kitty-cat-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-yellow-gold-bumble-bee-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-elephant-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14kwg-evil-eye-diamond-and-sapphire-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-ladybug-ruby-and-diamond-necklace/');
no_ajax_pages.push('https://udecollection.com/product/14k-white-gold-butterfly-ruby-and-diamond-necklace/');
no_ajax_pages.push('');
no_ajax_pages.push('');
no_ajax_pages.push('');
no_ajax_pages.push('');
no_ajax_pages.push('');
no_ajax_pages.push('');
no_ajax_pages.push('');
no_ajax_pages.push('');
no_ajax_pages.push('');