Diamond Cutting

So what is a diamond cut wheel? This is an alloy wheel which has been put on a lathe and part of or the entire painted surface of the wheel machined off to leave a shiny alloy finish.

A small part of the actual alloy is machined off to create this finish. It is then lacquered over to prevent corrosion. You will be able to see if your wheel is diamond cut if on close inspection you see very fine lines created by the cutting machine and the appearance is very shiny.

This may be harder to distinguish if you wheels are of poor quality, old or corroded.

Not all wheels can be diamond cut as this depends on the profile of the face of the wheel If the diamond cut finish is not suitable, other wheel finishes are available.

Colour change or customised alloy wheels will truly give a unique look to the vehicle.

Although powder coating is Leominster Powdercoats most popular and durable alloy wheel refurbishment service, diamond cut finishes are also a very desired finish.

Nearly all new cars are fitted with diamond cut finished wheels. also the last 5 years about 65% have this finish We can reproduce this finish. Diamond cutting is a very precise process and takes longer to reproduce than a powdercoat refurbishment.

The refurbishment of a diamond cut wheel is impossible to do as a touch up or mobile as it requires the use of lathe. Diamond cutting involves removing a thin layer of alloy from the wheel using specialist lathing equipment. With our state of the art diamond cutting lathe we will provide you with the highest quality finish and the quickest turnaround time.

We can replicate OEM (Factory) finishes eg: Audi, BMW, Mercedes, Volkswagen, etc…

Please note that some of the machinery we use is loud and we may miss your call, if we can’t get to the phone, please leave a message and we will get back to you as soon as possible.

Contact Us
[cs_content_seo]Diamond CuttingSo what is a diamond cut wheel? This is an alloy wheel which has been put on a lathe and part of or the entire painted surface of the wheel machined off to leave a shiny alloy finish.
A small part of the actual alloy is machined off to create this finish. It is then lacquered over to prevent corrosion. You will be able to see if your wheel is diamond cut if on close inspection you see very fine lines created by the cutting machine and the appearance is very shiny.
This may be harder to distinguish if you wheels are of poor quality, old or corroded.
Not all wheels can be diamond cut as this depends on the profile of the face of the wheel If the diamond cut finish is not suitable, other wheel finishes are available.
Colour change or customised alloy wheels will truly give a unique look to the vehicle.
Although powder coating is Leominster Powdercoats most popular and durable alloy wheel refurbishment service, diamond cut finishes are also a very desired finish.
Nearly all new cars are fitted with diamond cut finished wheels. also the last 5 years about 65% have this finish We can reproduce this finish. Diamond cutting is a very precise process and takes longer to reproduce than a powdercoat refurbishment.
The refurbishment of a diamond cut wheel is impossible to do as a touch up or mobile as it requires the use of lathe. Diamond cutting involves removing a thin layer of alloy from the wheel using specialist lathing equipment. With our state of the art diamond cutting lathe we will provide you with the highest quality finish and the quickest turnaround time.
We can replicate OEM (Factory) finishes eg: Audi, BMW, Mercedes, Volkswagen, etc…

.center_content1 {
position:relative;
overflow:visible;
top:50%;
transform:translateY(-50%);
-webkit-transform:translateY(-50%);
-ms-transform:translateY(-50%);
-moz-transform:translateY(-50%);
-o-transform:translateY(-50%);
}
#RW_Load_Content_Navigation1 {
margin:20px auto !important;
background-color:transparent !important;
z-index:999;
width:500px;
height:400px;
max-width:100% !important;
}
.cssload-thecube1 { width: 30px !important; height: 30px !important; }
.cssload-thecube1
{
width: 50px;
height: 50px;
margin: 20px auto;
position: relative;
transform: rotateZ(45deg);
-o-transform: rotateZ(45deg);
-ms-transform: rotateZ(45deg);
-webkit-transform: rotateZ(45deg);
-moz-transform: rotateZ(45deg);
}
.cssload-thecube1 .cssload-cube
{
position: relative;
transform: rotateZ(45deg);
-o-transform: rotateZ(45deg);
-ms-transform: rotateZ(45deg);
-webkit-transform: rotateZ(45deg);
-moz-transform: rotateZ(45deg);
}
.cssload-thecube1 .cssload-cube
{
float: left;
width: 50%;
height: 50%;
position: relative;
transform: scale(1.1);
-o-transform: scale(1.1);
-ms-transform: scale(1.1);
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
}
.cssload-thecube1 .cssload-cube:before
{
content: “”;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #6ecae9;
animation: cssload-fold-thecube 2.76s infinite linear both;
-o-animation: cssload-fold-thecube 2.76s infinite linear both;
-ms-animation: cssload-fold-thecube 2.76s infinite linear both;
-webkit-animation: cssload-fold-thecube 2.76s infinite linear both;
-moz-animation: cssload-fold-thecube 2.76s infinite linear both;
transform-origin: 100% 100%;
-o-transform-origin: 100% 100%;
-ms-transform-origin: 100% 100%;
-webkit-transform-origin: 100% 100%;
-moz-transform-origin: 100% 100%;
}
.cssload-thecube1 .cssload-c2
{
transform: scale(1.1) rotateZ(90deg);
-o-transform: scale(1.1) rotateZ(90deg);
-ms-transform: scale(1.1) rotateZ(90deg);
-webkit-transform: scale(1.1) rotateZ(90deg);
-moz-transform: scale(1.1) rotateZ(90deg);
}
.cssload-thecube1 .cssload-c3
{
transform: scale(1.1) rotateZ(180deg);
-o-transform: scale(1.1) rotateZ(180deg);
-ms-transform: scale(1.1) rotateZ(180deg);
-webkit-transform: scale(1.1) rotateZ(180deg);
-moz-transform: scale(1.1) rotateZ(180deg);
}
.cssload-thecube1 .cssload-c4
{
transform: scale(1.1) rotateZ(270deg);
-o-transform: scale(1.1) rotateZ(270deg);
-ms-transform: scale(1.1) rotateZ(270deg);
-webkit-transform: scale(1.1) rotateZ(270deg);
-moz-transform: scale(1.1) rotateZ(270deg);
}
.cssload-thecube1 .cssload-c2:before
{
animation-delay: 0.35s;
-o-animation-delay: 0.35s;
-ms-animation-delay: 0.35s;
-webkit-animation-delay: 0.35s;
-moz-animation-delay: 0.35s;
}
.cssload-thecube1 .cssload-c3:before
{
animation-delay: 0.69s;
-o-animation-delay: 0.69s;
-ms-animation-delay: 0.69s;
-webkit-animation-delay: 0.69s;
-moz-animation-delay: 0.69s;
}
.cssload-thecube1 .cssload-c4:before
{
animation-delay: 1.04s;
-o-animation-delay: 1.04s;
-ms-animation-delay: 1.04s;
-webkit-animation-delay: 1.04s;
-moz-animation-delay: 1.04s;
}
@keyframes cssload-fold-thecube
{
0%, 10% { transform: perspective(136px) rotateX(-180deg); opacity: 0; }
25%, 75% { transform: perspective(136px) rotateX(0deg); opacity: 1; }
90%, 100% { transform: perspective(136px) rotateY(180deg); opacity: 0; }
}
@-o-keyframes cssload-fold-thecube
{
0%, 10% { -o-transform: perspective(136px) rotateX(-180deg); opacity: 0; }
25%, 75% { -o-transform: perspective(136px) rotateX(0deg); opacity: 1; }
90%, 100% { -o-transform: perspective(136px) rotateY(180deg); opacity: 0; }
}
@-ms-keyframes cssload-fold-thecube
{
0%, 10% { -ms-transform: perspective(136px) rotateX(-180deg); opacity: 0; }
25%, 75% { -ms-transform: perspective(136px) rotateX(0deg); opacity: 1; }
90%, 100% { -ms-transform: perspective(136px) rotateY(180deg); opacity: 0; }
}
@-webkit-keyframes cssload-fold-thecube
{
0%, 10% { -webkit-transform: perspective(136px) rotateX(-180deg); opacity: 0; }
25%, 75% { -webkit-transform: perspective(136px) rotateX(0deg); opacity: 1; }
90%, 100% { -webkit-transform: perspective(136px) rotateY(180deg); opacity: 0; }
}
@-moz-keyframes cssload-fold-thecube
{
0%, 10% { -moz-transform: perspective(136px) rotateX(-180deg); opacity: 0; }
25%, 75% { -moz-transform: perspective(136px) rotateX(0deg); opacity: 1; }
90%, 100% { -moz-transform: perspective(136px) rotateY(180deg); opacity: 0; }
}

.rSlider_1
{
border: 4px solid #ffffff;
box-sizing: border-box;
max-width: 99% !important;
margin: 15px auto !important;
}
.rSlider_1 .slide-styled_1 { text-align:justify !important; }
.rSlider_1 .slide-styled_1 h2
{
font-size: 18px !important;
color: #598fbf !important;
font-family: Aldhabi;
text-transform:none !important;
letter-spacing:0px !important;
text-align:justify !important;
line-height: 1 !important;
margin: 10px 0 !important;
padding: 0 !important;
}
.rSlider_1 .slide-styled_1 div.rw_description_1 {
line-height: 1 !important;
margin: 0 !important;
padding: 0 !important;
}
.rSlider_1 .slide-styled_1 a.rw_link1 {
font-size: 16px;
color: #ffffff !important;
font-family: Aldhabi;
background: rgba(221,51,51,0);
border: 1px solid #ffffff;
border-radius: 0px;
display: inline-block;
padding: 5px 10px;
text-decoration: none;
margin:10px auto;
line-height: 1;
cursor: pointer;
box-shadow:none !important;
-moz-box-shadow:none !important;
-webkit-box-shadow:none !important;
}
.rSlider_1 .slide-styled_1 a.rw_link1:hover
{
color: #0084aa !important;
background: rgba(255,255,255,0);
}
.rSlider_1 > .rSlider–arrow-controls_1 button
{
color: #0084aa;
background: rgba(255,255,255,0.45) !important;
border: 0px solid #000000;
border-radius: 46px;
letter-spacing: 0px;
}
.rSlider_1 > .rSlider–arrow-controls_1 button:focus { outline: none !important; }
.rSlider_1 > .rSlider–arrow-controls_1 span:hover button
{
color: #0084aa;
background-color: #ffffff !important;
}
.rSlider_1 > .rSlider–dots-controls_1 button
{
height: 10px;
width: 10px;
border: 1px solid #ffffff;
border-radius: 50px;
margin-right: 5px;
background: #0084aa;
}
.rSlider_1 > .rSlider–dots-controls_1 button.active
{
background: #ffffff;
}
.rSlider_1 > .rSlider–dots-controls_1 button:hover
{
background: #ffffff;
}
.rSlider_1 { overflow: hidden; width: 100%; position: relative; }
.rSlider_1 > .rSlider–view_1
{
width: 1100%;
overflow: hidden;
display: block;
}
.rSlider_1 > .rSlider–view_1:before { content: ” “; display: block; }
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1
{
float: left;
overflow: hidden;
position: relative;
display: block;
}
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1:before
{
content: ” “;
display: block;
}
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1 > .rSlider–image_1
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-position: center center;
z-index: 0;
}
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1 > .rSlider–image_1
{
background-size: cover;
}
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1 > .rSlider–container_1
{
padding: 0px 80px !important;
max-width: 1200px;
margin: auto;
width: 100%;
position: relative;
z-index: 2;
top: 50%;
left: 0;
-webkit-transform: translate(0, -50%);
-moz-transform: translate(0, -50%);
transform: translate(0, -50%);
display: block;
overflow: hidden;
}
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1 > .rSlider–container_1:before
{
content: ” “;
display: block;
}
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1 > .rSlider–bg-color_1
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
z-index: 1;
}
.rSlider_1 > .rSlider–dots-controls_1
{
padding: 20px;
position: absolute;
bottom: 0;
left: 50%;
-webkit-transform: translate(-50%, 0);
-moz-transform: translate(-50%, 0);
transform: translate(-50%, 0);
z-index: 2;
display: block;
overflow: hidden;
}
.rSlider_1 > .rSlider–dots-controls_1:before
{
content: ” “;
display: block;
}
.rSlider_1 > .rSlider–dots-controls_1 button
{
float: left;
cursor: pointer;
margin-bottom: 5px;
padding: 0;
outline:none !important;
}
.rSlider_1 > .rSlider–dots-controls_1 button:last-of-type
{
margin-right: 0;
margin-bottom: 0;
}
.rSlider_1 > .rSlider–arrow-controls_1
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.rSlider_1 > .rSlider–arrow-controls_1 span
{
padding: 10px;
position: absolute;
overflow: hidden;
top: 0;
height: 100%;
z-index: 3;
text-align: center;
cursor: pointer;
box-sizing: border-box;
}
.rSlider_1 > .rSlider–arrow-controls_1 span:first-child { left: 0; }
.rSlider_1 > .rSlider–arrow-controls_1 span:last-child { right: 0; }
.rSlider_1 > .rSlider–arrow-controls_1 button
{
position: relative;
top: 50%;
text-transform: none !important;
font-weight:100 !important;
-webkit-transform: translate(0, -50%);
-moz-transform: translate(0, -50%);
transform: translate(0, -50%);
cursor: pointer;
padding: 10px 5px;
}
.rSlider_1.css-transitions .rSlider–view_1
{
-webkit-transition: all 0.6s ease 0s;
-moz-transition: all 0.6s ease 0s;
transition: all 0.6s ease 0s;
}
.rSlider_1.css-transitions .rSlider–slide_1
{
-webkit-transition: all 0.6s ease 0s;
-moz-transition: all 0.6s ease 0s;
transition: all 0.6s ease 0s;
}
.rSlider–slide_1 { height:100% !important; }
.rSlider_1.css-transitions .rSlider–bg-color_1
{
-webkit-transition: all 0.6s ease 0s;
-moz-transition: all 0.6s ease 0s;
transition: all 0.6s ease 0s;
}
.rSlider_1.css-transitions .rSlider–dots-controls_1 button
{
-webkit-transition: all 0.6s ease 0s;
-moz-transition: all 0.6s ease 0s;
transition: all 0.6s ease 0s;
}
.rSlider_1.css-transitions .rSlider–arrow-controls_1 button
{
-webkit-transition: all 0.6s ease 0s;
-moz-transition: all 0.6s ease 0s;
transition: all 0.6s ease 0s;
}
.rSlider_1 .rSlider–bg-color_1 { background: rgba(0, 0, 0, 0.3); }
.rSlider_1 .slide-styled_1
{
position:absolute;
width: 100%;
max-width: 50%;
top:50%;
max-height:70%;
overflow-x:hidden;
padding-right:10px;
box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
transform:translateY(-50%);
-webkit-transform:translateY(-50%);
-ms-transform:translateY(-50%);
-moz-transform:translateY(-50%);
-o-transform:translateY(-50%);
}
.rSlider_1 .slide-styled_1::-webkit-scrollbar { width: 0.5em; }
.rSlider_1 .slide-styled_1::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px transparent;
}
.rSlider_1 .slide-styled_1::-webkit-scrollbar-thumb
{
background-color: #598fbf;
outline: #598fbf;
}
.rSlider_1:hover .rSlider–bg-color_1 { background: rgba(0, 0, 0, 0); }
.rSlider–image_RW { position:absolute; width:100%; height:100%; }
@media (min-width: 0) and (max-width: 500px)
{
.rSlider_1 .slide-styled_1 div.rw_description_1 { display: none; }
.rSlider_1 .slide-styled_1 h2 { font-size: 14px !important; }
.rSlider_1 .slide-styled_1 a { font-size: 14px !important; }
.rSlider_1 > .rSlider–view_1 > .rSlider–slide_1 > .rSlider–container_1 {padding: 150px 80px;}
.rSlider_1 > .rSlider–arrow-controls_1 button { font-size: 10px;line-height:10px !important; }
}
@media screen and (max-width:700px)
{
.rSlider_1 > .rSlider–arrow-controls_1 span { cursor:default !important; }
.rSlider_1 > .rSlider–arrow-controls_1 span button { cursor:default !important; }
.rSlider_1 .slide-styled_1 a { cursor:default !important; }
.rSlider–image_RW { cursor:default !important; }
}
@media screen and (max-width:600px)
{
.rSlider_1 > .rSlider–dots-controls_1 { display:none !important; }
.rSlider_1 .slide-styled_1 { top:65%; }
.rSlider_1 .slide-styled_1 h2 { margin:0px; }
}

/*video styles*/

.rw_vd_popup{
position: absolute;
font-size: 20px;
color: rgba(221,51,51,0.4);
cursor: pointer;
z-index: 3;
top: 50%;
left: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
-moz-transform: translateY(-50%) translateX(-50%);
-o-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
}

.rw_vDinamic_ic{
padding: 10px 25px;
background-color: rgba(221,51,51,0.8);
color: rgba(255,255,255,0.4);
border-radius: 8px;
}

.dPopupOverlay1{
position: fixed;
display: -webkit-box; /* OLD – iOS 6-, Safari 3.1-6 */
display: -moz-box; /* OLD – Firefox 19- (buggy but mostly works) */
display: -ms-flexbox; /* TWEENER – IE 10 */
display: -webkit-flex; /* NEW – Chrome */
display: flex;
-webkit-justify-content: center;
justify-content: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
align-items: center;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.4);
z-index: 999999;
opacity: 0;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.dPopupOverlay1_anim{
opacity: 1;
}

.dPopupOverlayContent1{
position: fixed;

width: 1000px;
height: 562.5px;
max-width:100%;
box-sizing: border-box;
opacity: 0;
transform:scale(0.8,0.8);
-webkit-transform:scale(0.8,0.8);
-ms-transform:scale(0.8,0.8);
-moz-transform:scale(0.8,0.8);
-o-transform:scale(0.8,0.8);
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}

.dPopupOverlayContent1_anim{
opacity: 1;
transform: scale(1,1);
-webkit-transform: scale(1,1);
-ms-transform: scale(1,1);
-moz-transform: scale(1,1);
-o-transform: scale(1,1);
}

.dPopupVideo1,.dPopupImg1{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
}
.dPopupVideo1{
display: none;
}

.dnSlDelIcon1{
position: fixed;
top: 5px;
right: 5px;
color:#ffffff;
font-size: 30px;
text-shadow: 0px 0px 30px #000000;
cursor: pointer;
}

>

>

>

>

>

>

>

>

>

>

jQuery(document).ready(function(){
var array_dynamic1=[];
jQuery(“.rw_img_dynamic1”).each(function(){
if( jQuery(this).attr(“rel”) != “” ) { array_dynamic1.push(jQuery(this).attr(“rel”)); }
})
var y_dynamic1=0;
for(i=0;i self.$context.outerHeight() ) h = h;
self.$slides.height(h);
$slide.height(h);
return h;
},
removeAnimations: function()
{
var self = this,
className = “css-transitions”;
self.$context.removeClass(className);
clearTimeout(self.resizeTimer);
self.resizeTimer = setTimeout(self.setAnimations.bind(self), 500);
},
setAnimations: function()
{
var self = this,
className = “css-transitions”;
if(!self.settings.transitions) return;
self.$context.addClass(className);
},
events: function()
{
var self = this;
self.$dotsControls.on(“click”, “button”, function()
{
var $btn = jQuery(this);
self.userEvents.handleDotsControls.call(self, $btn);
});
self.$arrowControls.on(“click”, “span”, function()
{
var $btn = jQuery(this).children(“button”);
self.userEvents.handleArrowControls.call(self, $btn);
});
jQuery(window).on(“load resize”, self.userEvents.resizeWindow.bind(self));

self.$context.on( “mouseover”, self.stopAutomaticMovement.bind(self));

self.$context.on( “mouseleave”, self.startAutomaticMovement.bind(self));

// jQuery(“.dnSlDelIcon1”).on(“click”,self.startAutomaticMovement.bind(self));
}
};
jQuery.extend(Plugin.prototype, pluginProto);
jQuery.fn[pluginName] = function(options){ return jQuery.each(jQuery(this), function() { return new Plugin( this, options); }); };
jQuery(“.rSlider_1”).rSlider();
}());
jQuery(document).ready(function(){
var RW_DSL_H_1 = jQuery(‘.RW_DSL_H_1’).val();
jQuery(‘.rSlider–image_RW’).css(“width”,”0px”);
function resp(){
jQuery(‘.rSlider–container_1’).css(‘height’,Math.floor(RW_DSL_H_1*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1’).width()+150)));
jQuery(‘.rSlider_1’).css(‘height’,Math.floor(RW_DSL_H_1*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1’).width()+150)));
jQuery(‘.rSlider–bg-color_1’).css(‘height’,Math.floor(RW_DSL_H_1*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1’).width()+150)));
jQuery(‘.rSlider–image_1’).css(‘height’,Math.floor(RW_DSL_H_1*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1’).width()+150)));
jQuery(‘.rSlider–view_1’).css(‘height’,Math.floor(RW_DSL_H_1*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1’).width()+150)))
jQuery(‘.rSlider–slide_1’).css(‘height’,Math.floor(RW_DSL_H_1*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1’).width()+150)));
jQuery(‘.rSlider–container_1’).css(‘height’,Math.floor(RW_DSL_H_1*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1’).width()+150)));
jQuery(‘.rSlider–dots-controls_1’).css(‘padding’,Math.floor(20*jQuery(‘.rSlider–container_1’).width()/(jQuery(‘.rSlider–container_1′).width()+150))+’px’);
if(jQuery(‘.rSlider_1’).width()window.innerHeight){
el.style.maxHeight = window.innerHeight+”px”;
el.style.maxWidth = window.innerHeight*16/9+”px”;
}else{
console.log(el.clientWidth)
el.style.maxWidth = “100%”;
el.style.maxHeight = window.innerWidth*56.25/100+”px”;
}
}
function createPopup(vSrc,iSrc){
if(Rich_Web_Sl_DS_DFS1 != “true”){
return;
}
var overlay = document.createElement(“div”);
overlay.setAttribute(“class”,”dPopupOverlay1″);
document.body.appendChild(overlay);
var content = document.createElement(“div”);
content.setAttribute(“class”,”dPopupOverlayContent1″);
overlay.appendChild(content);
var delIcon = document.createElement(“div”);
delIcon.setAttribute(“class”,”dnSlDelIcon1 rich_web rich_web-times”);
overlay.appendChild(delIcon);
var image = document.createElement(“img”);
image.setAttribute(“class”,”dPopupImg1″);
image.setAttribute(“src”,iSrc);
content.appendChild(image);
resp(content);
window.onresize = function(event) {
resp(content);
};
if(vSrc != “”){
var video = document.createElement(“iframe”);
video.setAttribute(“class”,”dPopupVideo1″);
video.setAttribute(“src”,vSrc);
video.setAttribute(“webkitAllowFullScreen”,”webkitAllowFullScreen”);
video.setAttribute(“mozallowfullscreen”,”mozallowfullscreen”);
video.setAttribute(“allowFullScreen”,”allowFullScreen”);
content.appendChild(video);
}
setTimeout(function(){
overlay.classList.add(“dPopupOverlay1_anim”);
content.classList.add(“dPopupOverlayContent1_anim”);

},100)
setTimeout(function(){
if(vSrc != “”){
video.setAttribute(“src”,vSrc+”?rel=0&autoplay=1″);
video.style.display = “block”;
}
},400)

function delPop(){
if(vSrc != “”){
video.setAttribute(“src”,””);
video.style.display = “none”;
}
overlay.classList.remove(“dPopupOverlay1_anim”);
content.classList.remove(“dPopupOverlayContent1_anim”);
setTimeout(function(){
overlay.remove();
},300)
}

delIcon.onclick = function(){
delPop();
}
document.onkeyup = function(e){
if (e.keyCode == 27) {
delPop();
}
}

}

var allIcons = document.querySelectorAll(“.rSlider–slide_1”);

for(var i=0;i[/cs_content_seo]