'}
function addLoadEvent(e){var t=window.onload;window.onload="function"!=typeof window.onload?e:function(){t&&t(),e()}}
function ajaxReOrder(e){e=parseInt(e),scriptname="https://refreshcartridges.co.uk/ajaxreorder.php";var t;try{t=new XMLHttpRequest}catch(n){try{t=new ActiveXObject("Msxml2.XMLHTTP")}catch(n){try{t=new ActiveXObject("Microsoft.XMLHTTP")}catch(n){return alert("Your browser does not support AJAX!"),!1}}return!1}t.onreadystatechange=function(){4==t.readyState?(x=elById("shoppingcart"),responseArray=t.responseText.split("||||||"),x.innerHTML=responseArray[0],y=elById("reorder"),y.height="37",y.width="130",y.src="includes/languages/english/images/buttons/btn_reordered.gif",y.onclick="return false",y.style.cursor="default"):(y=elById("reorder"),y.height="37",y.width="130",y.src="includes/languages/english/images/buttons/btn_reordering.gif",y.onclick="return false",y.style.cursor="default")},"https:"===location.protocol&&(scriptname=scriptname.replace("http:","https:")),document.URL.indexOf("www.")>-1||(scriptname=scriptname.replace("www.","")),t.open("GET",scriptname+"?reorder="+e,!0),t.send()}
function ajaxAddToCart(e){
e = parseInt(e);y = elById("notify"+e);y.innerHTML = "";x = elById("cart_quantity"+e);y= elById("mycartquantity");z = parseInt(y.value) + parseInt(x.value);y.value = z;updateQtyNew();goodAjaxFunction("products_id="+e+"&cart_quantity="+x.value,"https://refreshcartridges.co.uk/ajaxcart.php","shoppingcart",e);}
function ajaxAddToCartListingNewJustOne(e){e=parseInt(e); generalAjaxFunction("output=new&products_id="+e+"&cart_quantity=1","https://refreshcartridges.co.uk/ajaxcartlisting.php","shoppingcart");}
function ajaxAddToCartListingNew(e){e=parseInt(e),x=elById("cart_quantity"+e),generalAjaxFunction("output=new&products_id="+e+"&cart_quantity="+x.value,"https://refreshcartridges.co.uk/ajaxcartlisting.php","shoppingcart")}
function ajaxAddToCartListing(e){e=parseInt(e),y=elById("notify"+e),y.innerHTML="",x=elById("cart_quantity"+e),goodAjaxFunction("products_id="+e+"&cart_quantity="+x.value,"https://refreshcartridges.co.uk/ajaxcartlisting.php","shoppingcart",e)}
function removeProductShoppingCart(e){e=parseInt(e);var t;try{t=new XMLHttpRequest}catch(n){try{t=new ActiveXObject("Msxml2.XMLHTTP")}catch(n){try{t=new ActiveXObject("Microsoft.XMLHTTP")}catch(n){return alert("Your browser does not support AJAX!"),!1}}return!1}t.onreadystatechange=function(){4==t.readyState&&(generalAjaxFunction("","https://refreshcartridges.co.uk/ajax_shopping_cart.php","cart_quantity"),generalAjaxFunction("","https://refreshcartridges.co.uk/ajaxupdatecart.php","shoppingcart"))},scriptname="https://refreshcartridges.co.uk/ajax_shopping_cart.php?ajaxaction=remove&pid=","https:"===location.protocol&&(scriptname=scriptname.replace("http:","https:")),document.URL.indexOf("www.")>-1||(scriptname=scriptname.replace("www.","")),t.open("GET",scriptname+e,!0),t.send()}function updateProductShoppingCart(e,t){e=parseInt(e),t=parseInt(t);var n;try{n=new XMLHttpRequest}catch(r){try{n=new ActiveXObject("Msxml2.XMLHTTP")}catch(r){try{n=new ActiveXObject("Microsoft.XMLHTTP")}catch(r){return alert("Your browser does not support AJAX!"),!1}}return!1}n.onreadystatechange=function(){4==n.readyState&&(setTimeout(function(){generalAjaxFunction("","https://refreshcartridges.co.uk/ajax_shopping_cart.php","cart_quantity")},10),generalAjaxFunction("","https://refreshcartridges.co.uk/ajaxupdatecart.php","shoppingcart"))},setTimeout(function(){scriptname="https://refreshcartridges.co.uk/ajax_shopping_cart.php?ajaxaction=update&amt="+t+"&pid=","https:"===location.protocol&&(scriptname=scriptname.replace("http:","https:")),document.URL.indexOf("www.")>-1||(scriptname=scriptname.replace("www.","")),n.open("GET",scriptname+e,!0),n.send()},10)}
function addProductShoppingCart(e){e=parseInt(e);var t;try{t=new XMLHttpRequest}catch(n){try{t=new ActiveXObject("Msxml2.XMLHTTP")}catch(n){try{t=new ActiveXObject("Microsoft.XMLHTTP")}catch(n){return alert("Your browser does not support AJAX!"),!1}}return!1}t.onreadystatechange=function(){4==t.readyState&&(generalAjaxFunction("","https://refreshcartridges.co.uk/ajax_shopping_cart.php","cart_quantity"),generalAjaxFunction("","https://refreshcartridges.co.uk/ajaxupdatecart.php","shoppingcart"))},scriptname="https://refreshcartridges.co.uk/ajax_shopping_cart.php?ajaxaction=add&pid=","https:"===location.protocol&&(scriptname=scriptname.replace("http:","https:")),document.URL.indexOf("www.")>-1||(scriptname=scriptname.replace("www.","")),t.open("GET",scriptname+e,!0),t.send()}
function reCalculateTotals(){}function restoreImage(e){y=elById("submit"+e),y.src="includes/languages/english/images/buttons/button_add_to_basket_ajax_top.png",y.height="30",y.width="134",y=elById("notify"+e),y.innerHTML=""}
function checkDiscount(){if(elById("linkToDiscount")){for(ahrefs=document.getElementsByTagName("a"),displayimage=0,i=0;i ')}}
function rScreenWidth(){var e=0;return self.innerHeight?e=self.innerWidth:document.documentElement&&document.documentElement.clientHeight?e=document.documentElement.clientWidth:document.body&&(e=document.body.clientWidth),parseInt(e)}
function rScreenHeight(){var e=0;return self.innerHeight?e=self.innerHeight:document.documentElement&&document.documentElement.clientHeight?e=document.documentElement.clientHeight:document.body&&(e=document.body.clientHeight),parseInt(e)}
function GetWidth(){return rScreenWidth()}
function GetHeight(){return rScreenHeight()}
function getScrollY(){var e=0,t=0;return"number"==typeof window.pageYOffset?(t=window.pageYOffset,e=window.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),t}
function getScrollX(){var e=0,t=0;return"number"==typeof window.pageYOffset?(t=window.pageYOffset,e=window.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),e}
function GetElWidth(e){return parseInt(elById(e).offsetWidth)}
function GetElHeight(e){return parseInt(elById(e).offsetHeight)}
function findPos(e){var t=curtop=curwidth=curheight=0;if(curwidth=e.offsetWidth,curheight=e.offsetHeight,e.offsetParent)for(;e.offsetParent;)t+=e.offsetLeft,curtop+=e.offsetTop,e=e.offsetParent;
return[t,curtop,curwidth,curheight]}function returnFalse(){return!1}
function findPosForceCenter(e){var t=curtop=curwidth=curheight=0;if(curwidth=e.offsetWidth,curheight=e.offsetHeight,e.offsetParent)for(;e.offsetParent;)t+=e.offsetLeft,curtop+=e.offsetTop,e=e.offsetParent;
t = (GetWidth() / 2) - (curwidth / 2);
curtop = (GetHeight() / 2) - (curheight / 2);
return[t,curtop,curwidth,curheight]}function returnFalse(){return!1}
function stopMenuItems(){if(screenWidth=rScreenWidth(),screenWidth>600&&969>screenWidth)for(ahrefs=document.getElementsByTagName("a"),i=0;i960?generalAjaxFunction("vid="+e,"showvideo.php","explain"):window.open("https://www.youtube.com/watch?v="+e),!1}
function centerObject(e){x=elById(e),x.style.position="absolute",x.style.left=window.innerWidth/2-275+getScrollX()+"px",mheight=parseInt(document.getElementsByTagName("div")[e].offsetHeight)/2,x.style.top=window.innerHeight/2-mheight+getScrollY()+"px"}
function updateProductRating(pid,rating){tr=new Array("","Bad","Poor","Average","Good","Excellent");if (elById("textRating"+pid)){x=elById("textRating"+pid);x.innerHTML = tr[rating];}
for (i=1; i!=6; i++){x = elById("button_rating_"+pid+"_"+i);if (i > rating){x.style.backgroundPosition = "bottom left";} else {x.style.backgroundPosition = "top left";}if (i <= rating){x.style.zIndex=2;} else {x.style.zIndex = 1;}y = elById("review_rating_"+ pid);y.value = rating;}}
function updateHover(pid,rating){for (i=1; i!=6; i++){x = elById("button_rating_"+pid+"_"+i);if (i > rating){x.style.backgroundPosition = "bottom right";} else {x.style.backgroundPosition = "top right";}y = elById("review_rating_"+ pid);}}
function checkReviewForm(){x= elById("review_comments_0");myStr = x.value;var myStrArray = myStr.split("\n");var count;myStrArrayLength = myStrArray.length;for(var i=0; i < myStrArrayLength; i++){count = myStrArray[i].match(/ /g);}if ((count) && (count.length > 3)){return true;} else {x.focus();x.style.borderColor = "#fc5252";return false;}}
function restoreRating(pid){for (i=1; i!=6; i++){x = elById("button_rating_"+pid+"_"+i);sofar=0;if (x.style.zIndex != 1){x.style.backgroundPosition = "top left";} else {x.style.backgroundPosition = "bottom left";}}}
function checkCollision(inel){x=elById(inel);rect = (findPosForceCenter(x));mCursorY-=getScrollY();if ((mCursorX > rect[0]) && (mCursorX < (rect[0]+rect[2])) && (mCursorY > rect[1]) && (mCursorY < (rect[1]+rect[3]))){return true;} else {return false;}}
function generalAjaxFunction(invar,scriptname,divtarget){
var xmlHttp;
try{xmlHttp=new XMLHttpRequest();}
catch(e){try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e){try{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e){alert("Your browser does not support AJAX!");return false;}}
return false;}
xmlHttp.onreadystatechange=function(){
if((xmlHttp.readyState==4)){
if (divtarget == "postcodeget"){x=elById("getShippingAddressButton");x.value="Get Address";};
if (divtarget == "billingpostcodeget"){x=elById("getBillingAddressButton");x.value="Get Address";};
if (divtarget == "customerReviewsBox"){doOpaqueAnywhere("customerReviewsBox",100);}
switch(divtarget){
case"shippingbox":yy=xmlHttp.responseText.split("|||");x=elById("shippingbox");x.innerHTML=yy[0];x=elById("shippingdetails");x.innerHTML=yy[1];x=elById("shippingpricedetails");x.innerHTML=yy[2];x=elById("totalpricedetails");x.innerHTML=yy[3];break;
case"billingshippingbox":yy=xmlHttp.responseText.split("|||");x=elById("billingshippingbox");x.innerHTML=yy[0];x=elById("billingshippingdetails");x.innerHTML=yy[1];x=elById("billingshippingpricedetails");x.innerHTML=yy[2];x=elById("billingtotalpricedetails");x.innerHTML=yy[3];break;
case"deliveryshippingbox":yy=xmlHttp.responseText.split("|||");x=elById("deliveryshippingbox");x.innerHTML=yy[0];x=elById("deliveryshippingdetails");x.innerHTML=yy[1];x=elById("deliveryshippingpricedetails");x.innerHTML=yy[2];x=elById("deliverytotalpricedetails");x.innerHTML=yy[3];break;
default:x=elById(divtarget);x.innerHTML=xmlHttp.responseText;if(divtarget=='explain'){showElement('explain');centerObject('explain');}
break;}
switch(divtarget){
case "dynamicsearch3":
case "dynamicsearch":
case "dynamicsearchtwo":
case "dynamicsearchfour":
x= elById(divtarget);
scaleTo(x,1,1);
break;
}
}else{x=elById(divtarget);showElement(divtarget);}}
params=invar;if(location.protocol==="https:"){scriptname=scriptname.replace("http:","https:");} else {scriptname=scriptname.replace("https:","http:");}
if(document.URL.indexOf("www.")>-1){
if (scriptname.indexOf("www.") == -1){
scriptname=scriptname.replace("://", "://www.");
}
}else{
scriptname=scriptname.replace("www.","");
}
xmlHttp.open("GET",scriptname+"?"+params,true);xmlHttp.send();
if (divtarget == "customerReviewsBox"){doOpaqueAnywhere("customerReviewsBox",50);}
}
var myTimeout;
function openSubCheckoutWindow(){s=document.getElementById("justaddednow");s.style.display='block';s.style.visibility='visible';s.style.height='0px';updateCheckoutHeight("justaddednow",150,25);}
function updateCheckoutHeight(inid,targetAmt,changeAmt){
s=elById(inid);height = parseInt(s.style.height);height+=changeAmt;s.style.height=height+'px';
switch (height){
case 150:
s.style.overflow= "visible";
s.style.height = "auto";
myTimeout = setTimeout(function(){s.style.height = "150px";updateCheckoutHeight(inid,0,-25);}, 2000);
break;
case 0:
setTimeout(function() {hideElement(inid);}, 250);
break;
case 25:case 50:case 75:case 100:case 125:setTimeout(function() {s.style.overflow= "hidden";updateCheckoutHeight(inid,targetAmt,changeAmt);}, 10);break;}}
function goodAjaxFunction(e,t,n,r){
var o;
try{o=new XMLHttpRequest}catch(i){
try{o=new ActiveXObject("Msxml2.XMLHTTP")}catch(i){
try{o=new ActiveXObject("Microsoft.XMLHTTP")}catch(i){
return alert("Your browser does not support AJAX!"),!1}}return!1}
elById("notify"+r)&&(y=elById("notify"+r),y.innerHTML=""),o.onreadystatechange=function(){if(4==o.readyState){switch(x=elById(n),n){case"postcodeget":s=elById("getShippingAddressButton"),s.value="Get Address";break;case"billingpostcodeget":s=elById("getBillingAddressButton"),s.value="Get Address"}responseArray=o.responseText.split("||||||"),x.innerHTML=responseArray[0],
cWidth = GetWidth();
if(cWidth > 599){openSubCheckoutWindow();}
if (responseArray.length > 1){
if (elById("cartactionmedo"+r)){x = elById("cartactionmedo"+r);x.innerHTML = responseArray[2];}
}
elById("product"+r)&&(x=elById("product"+r),x.style.width="300px"),elById("curqty"+r)||elById("notify"+r)&&(x=elById("notify"+r),x.style.display="block",x.style.visibility="visible",x.innerHTML=responseArray[1]),elById("curqty"+r)&&(x=elById("curqty"+r),x.innerHTML=responseArray[1]),
cWidth = GetWidth();
if(cWidth > 599){openSubCheckoutWindow();}
}else x=elById(n)},params=e;
if(location.protocol==="https:"){t=t.replace("http:","https:");} else {t=t.replace("https:","http:");}
if(document.URL.indexOf("www.")>-1){
if (t.indexOf("www.") == -1){
t=t.replace("://", "://www.");
}
}else{
t=t.replace("www.","");
}
o.open("GET",t+"?"+params,!0),o.send()}
function initQuestionForm(e){generalAjaxFunction("p="+e,"https://refreshcartridges.co.uk/genquestionform.php","questionlist");}
function displayQuestionForm(){x=elById("questionform"),x.style.visibility="visible",x.style.display="block";showElementSlow("questionform",0.1,0);generalAjaxFunction('','https://refreshcartridges.co.uk/captchacontainer.php','captchacontainer');}
function hideQuestionForm(){x=elById("questionform"),x.style.visibility="hidden",x.style.display="none"}
function removeAskQuestionLink(){elById("askmedo").innerHTML="",elById("askmedo").style.display="none",elById("askmedo").style.visibility="hidden",hideQuestionForm()}
function ajaxSafe(e){var t=e.replace(/[^a-z0-9.-_+@\,\?\s]/gi,"");return encodeURIComponent(t)}
function checkAjaxQuestionForm(){
if (elById("qpid").value.substr(0,1) == "c"){
return error=0,errormsg="",checkEmail("email")||(error++,errormsg+="Please Enter Your Email Address\n"),notNull("questiontitle")||(error++,errormsg+="Please Enter Your Question Title\n"),notNull("question")||(error++,errormsg+="Please Enter Your Question\n"),1>error?(invar="firstname="+ajaxSafe(elById("firstname").value)+"&lastname="+ajaxSafe(elById("lastname").value)+"&email="+ajaxSafe(elById("email").value)+"&questiontitle="+ajaxSafe(elById("questiontitle").value)+"&question="+ajaxSafe(elById("question").value)+"&product="+ajaxSafe(elById("qpid").value)+"&captcha="+ajaxSafe(elById("captcha").value),generalAjaxFunction(invar,"https://refreshcartridges.co.uk/askquestion.php","questionformsubx"),!1):(alert("Your Form has the following Errors:"+errormsg),!1);
} else {
return error=0,errormsg="",checkEmail("email")||(error++,errormsg+="Please Enter Your Email Address\n"),notNull("questiontitle")||(error++,errormsg+="Please Enter Your Question Title\n"),notNull("question")||(error++,errormsg+="Please Enter Your Question\n"),1>error?(invar="firstname="+ajaxSafe(elById("firstname").value)+"&lastname="+ajaxSafe(elById("lastname").value)+"&email="+ajaxSafe(elById("email").value)+"&questiontitle="+ajaxSafe(elById("questiontitle").value)+"&question="+ajaxSafe(elById("question").value)+"&product="+ajaxSafe(elById("qpid").value)+"&captcha="+ajaxSafe(elById("captcha").value),generalAjaxFunction(invar,"https://refreshcartridges.co.uk/askquestion.php","questionform"),!1):(alert("Your Form has the following Errors:"+errormsg),!1);
}
}
var nextImgIndex;
var prevImgIndex;
function closeDownImage(){x =document.getElementById('imageloader');x.innerHTML='';x.style.visibility='hidden';x.style.display='none';y = document.getElementById('imageloaderouter');y.style.visibility='hidden';y.style.display='none';}
function enlargeImage(inid){
n = window.location.href.indexOf("=");
indexlist = inid.split("-");
switch(indexlist.length){
case 1:
curIndex = 0;
break;
default:
curIndex = parseInt(indexlist[1]);
}
totalImages = 1;
for (i=0; i!=5; i++){
if (elById(indexlist[0]+"-" + i)){
totalImages++;
}
}
//CHECK IF PREV AND NEXT INDEXES EXIST
//NEXT INDEX CALC
nextImgIndex=curIndex+1;
if (elById(indexlist[0]+"-" + nextImgIndex)){
} else {
nextImgIndex++;
if (elById(indexlist[0]+"-" + nextImgIndex)){
} else {
nextImgIndex++;
if (elById(indexlist[0]+"-" + nextImgIndex)){
} else {
nextImgIndex++;
if (elById(indexlist[0]+"-" + nextImgIndex)){
} else {
nextImgIndex++;
if (elById(indexlist[0]+"-" + nextImgIndex)){
} else {
nextImgIndex = 0;
}
}
}
}
}
// PREV INDEX CALC - NEEDS FIXING
prevImgIndex = curIndex - 1;
j = 0;
if (prevImgIndex == 0){
if (elById(indexlist[0])){
prevImgIndex = 0;
}
}
if (elById(indexlist[0]+"-" + prevImgIndex)){
} else {
prevImgIndex--;
if (prevImgIndex == 0){
if (elById(indexlist[0])){
prevImgIndex = 0;
}
}
if (prevImgIndex==-1){prevImgIndex = 4;}
if (elById(indexlist[0]+"-" + prevImgIndex)){
} else {
prevImgIndex--;
if (prevImgIndex==-1){prevImgIndex = 4;}
if (prevImgIndex == 0){
if (elById(indexlist[0])){
prevImgIndex = 0;
}
}
if (elById(indexlist[0]+"-" + prevImgIndex)){
} else {
prevImgIndex--;
if (prevImgIndex==-1){prevImgIndex = 4;}
if (prevImgIndex == 0){
if (elById(indexlist[0])){
prevImgIndex = 0;
}
}
if (elById(indexlist[0]+"-" + prevImgIndex)){
} else {
prevImgIndex--;
if (prevImgIndex==-1){prevImgIndex = 4;}
if (prevImgIndex == 0){
if (elById(indexlist[0])){
prevImgIndex = 0;
}
}
if (elById(indexlist[0]+"-" + prevImgIndex)){
} else {
prevImgIndex=0;
}
}
}
}
}
if (j == 0){
prevImgIndex = 0;
}
switch(prevImgIndex){
case 0:
prevEnlarge = indexlist[0];
break;
default:
prevEnlarge = indexlist[0]+"-"+prevImgIndex;
break;
}
switch(nextImgIndex){
case 0:
nextEnlarge = indexlist[0];
break;
default:
nextEnlarge = indexlist[0]+"-"+nextImgIndex;
break;
}
document.onmousedown = function(){
x =document.getElementById('imageloader');
if ((x.style.visibility=='visible') && (totalImages < 2)){
x.innerHTML='';
x.style.visibility='hidden';
x.style.display='none';
y = document.getElementById('imageloaderouter');
y.style.visibility='hidden';
y.style.display='none';
}
}
x=document.getElementById(inid);
image = x.href;
y = document.getElementById('imageloaderouter');
y.style.visibility='visible';
y.style.display='block';
y=document.getElementById('imageloader');
if (totalImages < 2){
y.style.cursor = "zoom-out";
} else {
y.style.cursor = "default";
}
y.style.visibility='visible';
y.style.display='block';
height = rScreenHeight() *.75;
if (rScreenWidth() < 600){
if (rScreenWidth() < rScreenHeight()){
width = rScreenWidth()-50;
height = width;
y.style.left= '0px';
y.style.top=parseInt((rScreenHeight()/2)-((height+50)/2))+'px';
} else {
height = rScreenHeight()-80;
width = height;
y.style.left = parseInt((rScreenWidth()/2) - (width/2)) + 'px';
y.style.top = '0px';
}
} else {
width = rScreenWidth() *.5;
y.style.left= parseInt(rScreenWidth()/2 - ((width/2)-10))+ 'px';
y.style.top=parseInt((rScreenHeight()/2)-((height+50)/2))+'px';
}
y.style.width= width+'px';
y.style.height= (height+50)+'px';
y.style.padding='10px';
y.style.position = 'fixed';
y.style.margin='0px auto';
y.style.float='none';
y.style.zIndex = '90000000';
if (totalImages < 2){
y.innerHTML = "Click Here to Zoom Out<\/p>";
} else {
y.innerHTML = " ";
y.innerHTML += " ";
y.innerHTML += "
Click Here to Zoom Out<\/p>";
}
return false;
}
function transitionTabs(lastTab,curTab,lastTime,curTime,totalTime){
if (lastTime > 0){
newTime = new Date();
curTime += newTime-lastTime;
y = document.getElementById("proddetails");
divs = y.getElementsByTagName("div");
lastDiv = divs[(lastTab)];
curDiv = divs[(curTab)];
halfway = totalTime/2;
if (curTime < halfway){
setOpacity(lastDiv.id, 1.0-((curTime/halfway)));
} else {
lastDiv.style.visibility="hidden";
lastDiv.style.display="none";
curDiv.style.visibility="visible";
curDiv.style.display="block";
setOpacity(curDiv.id, ((curTime-halfway)/halfway));
}
if (curTime >= totalTime){
setOpacity(curDiv.id, (curTime-halfway)/halfway);
curTime = totalTime;
}
}
lastTime = new Date();
if (curTime < totalTime){
setTimeout(function(){transitionTabs(lastTab,curTab,lastTime,curTime,totalTime)},1);
}
}
function switchTab(e){for(x=elById("detailslist"),lis=x.getElementsByTagName("li"),activeTab="",lastTab="",y=elById("proddetails"),divs=y.getElementsByTagName("div"),i=0;i-1&&(lastTab=i),i==e?-1==tempStr.indexOf("active")&&(lis[i].className+="active",setOpacity(divs[i].id,0)):(tempStr=tempStr.replace("active",""),lis[i].className=tempStr);lastTab!=e&&(setOpacity(divs[e].id,0),transitionTabs(lastTab,e,0,0,300))}
function setOpacity(e,t){x=elById(e),x.style.MozOpacity=t,x.style.KhtmlOpacity=t,x.style.opacity=t,x.style.MsFilter='"progid:DXImageTransform.Microsoft.Alpha"(Opacity='+parseInt(100*t)+")",x.style.filter="alpha(opacity="+parseInt(100*t)+")"}
function getOpacity(e){x=elById(e);return x.style.opacity;}
var cancelFade=1;
var bahhShambles=0;
function fadeIn(e){bahShambles = 1;cancelFade=1;updateFadeIn(e);}
function updateFadeIn(e){myx=parseFloat(getOpacity(e));if (bahShambles == 1){cancelFade++;if (cancelFade == 1){} else {if (myx <.9){if (cancelFade > 35){myx+=.02;showElement(e);setOpacity(e,myx);}setTimeout(function(){updateFadeIn(e);},25);} else {setOpacity(e,1);}}}}
function fadeOut(e){bahShambles =0;cancelFade = 0;updateFadeOut(e);}
function updateFadeOut(e){myyx=parseFloat(getOpacity(e));if (bahShambles == 0){if ((myyx > 0.02) && (cancelFade < 2)){myyx-=.02;setOpacity(e,myyx);setTimeout(function(){updateFadeOut(e);},5);} else {if (myyx <0.03){hideElement(e);}}}}
function positionFadingMenu(){
y=elById('menuic');z = (findPos(y));zz = z[1] + z[3];elById('menuoverlay').style.top = zz + 'px';}
function updateQty(e,t){qty=parseInt(elById(e).value),qty+=t,1>qty&&(qty=1),isNaN(qty)&&(qty=1),elById(e).value=qty}
function updateQtyNew(){checkCartQty('mycartquantity');}
function checkCartQty(e){
qty=parseInt(elById(e).value),1>qty&&(qty=1),elById(e).value=qty,isNaN(qty)&&(qty=1,elById(e).value=qty),pb0=elById("pb0"),elById("pb2")&&(pb1=elById("pb1"),pbb1=elById("pbb1"),pb2=elById("pb2"),pbb2=elById("pbb2"),pl1=parseInt(pb1.innerHTML),pl2=parseInt(pb2.innerHTML),qty>=pl2?(pb0.style.background="none",pb1.style.background="none",pbb1.style.background="none",pb2.style.background="rgba(255,255,255,.45)",pbb2.style.background="rgba(255,255,255,.45)"):qty>=pl1&&pl2>qty?(pb0.style.background="none",pb1.style.background="rgba(255,255,255,.45)",pbb1.style.background="rgba(255,255,255,.45)",pb2.style.background="none",pbb2.style.background="none"):(pb0.style.background="rgba(255,255,255,.45)",pb1.style.background="none",pbb1.style.background="none",pb2.style.background="none",pbb2.style.background="none"))
if(elById('pb2')){
} else {
if (elById("pb1")){
pb1=elById("pb1");
pbb1=elById("pbb1");
pl1=parseInt(pb1.innerHTML);
if (qty < pl1){
pb0.style.background="rgba(255,255,255,.45)";
pb1.style.background="none";
pbb1.style.background="none";
} else {
pb0.style.background="none";
pb1.style.background="rgba(255,255,255,.45)";
pbb1.style.background="rgba(255,255,255,.45)";
}
}
}
}
function scrollVideo(e,t,n,r){x=elById(t),totalImages=x.getElementsByTagName("img").length,n>0?(newTime=new Date,curTime=newTime-n,curLeft=parseInt(x.style.left),curLeft+=.5*e*curTime,-1==e&&r>curLeft&&(curLeft=r),1==e&&curLeft>r&&(curLeft=r),x.style.left=curLeft+"px",maxleft=parseInt(x.style.width)-1):(curLeft=parseInt(x.style.left),r=curLeft+200*e,r>0&&(r-=200*totalImages,e=-e),-(200*(totalImages-1))>r&&(r+=200*totalImages,e=-e),curLeft%200!=0&&(r=curLeft)),n=new Date,curLeft!=r?setTimeout(function(){scrollVideo(e,t,n,r)},1):(x=elById("videoindex"),x.innerHTML=Math.abs(parseInt(r/200))+1+"/"+totalImages,tmpdiv="video"+(Math.abs(parseInt(r/200))+1)+"title",x=elById(tmpdiv),newTitle=x.innerHTML,x=elById("videotitle"),x.innerHTML=newTitle)}var globalhtml="",docheight=0,cake=0,called="",hasRunBefore=!1;addLoadEvent(stopMenuItems);addLoadEvent(positionFadingMenu);addLoadEvent(checkCartScroller);function hamburgering(){x=elById("hammenu");y=elById("restorer");if(x.style.display=="block"){contractHamburgerMenu();}else{x.style.width="0%";y.style.width="100%";x.style.display="block";x.style.visibility="visible";y.style.display="block";y.style.visibility="visible";expandHamburgerMenu();}}
function contractHamburgerMenu(){x=elById("hammenu");y=elById("restorer");ywidth=parseInt(y.style.width);xwidth=parseInt(x.style.width);xwidth-=5;ywidth=100-xwidth;x.style.width=xwidth+"%";y.style.width=ywidth+"%";if(x.style.width=="0%"){x.style.display="none";x.style.visibility="hidden";y.style.display="none";y.style.visibility="hidden";}else{setTimeout(function(){contractHamburgerMenu();},1);}}
function expandHamburgerMenu(){x=elById("hammenu");y=elById("restorer");ywidth=parseInt(y.style.width);xwidth=parseInt(x.style.width);xwidth+=5;ywidth=100-xwidth;x.style.width=xwidth+"%";y.style.width=ywidth+"%";if(x.style.width=="70%"){}else{setTimeout(function(){expandHamburgerMenu();},1);}}
function findPosX(obj){var curleft=curtop=0,scr=obj,fixed=false;while((scr=scr.parentNode)&&scr!=document.body){curleft-=scr.scrollLeft||0;curtop-=scr.scrollTop||0;if(getStyleX(scr,"position")=="fixed")fixed=true;}if(fixed&&!window.opera){var scrDist=scrollDist();curleft+=scrDist[0];curtop+=scrDist[1];}do{curleft+=obj.offsetLeft;curtop+=obj.offsetTop;}while(obj=obj.offsetParent);return[curleft,curtop];}
function scrollDistX(){var html=document.getElementsByTagName('html')[0];if(html.scrollTop&&document.documentElement.scrollTop){return[html.scrollLeft,html.scrollTop];}else if(html.scrollTop||document.documentElement.scrollTop){return[html.scrollLeft+document.documentElement.scrollLeft,html.scrollTop+document.documentElement.scrollTop];}else if(document.body.scrollTop)return[document.body.scrollLeft,document.body.scrollTop];return[0,0];}
function getStyleX(obj,styleProp){if(obj.currentStyle){var y=obj.currentStyle[styleProp];}else if(window.getComputedStyle)var y=window.getComputedStyle(obj,null)[styleProp];return y;}
function imgClickAction(el){
if(GetWidth() < 701){
// OPEN LINK
return true;
} else {
// LOAD UP ENLARGED IMAGE
myDiv = document.createElement("div");url = el.parentNode.childNodes[1].firstChild.id.replace("enlargeimage","https://refreshcartridges.co.uk/productimages/a_");url +=".jpg";myDiv.style.background = "rgba(0,0,0,0.75) url("+url+") center center no-repeat";myDiv.style.visibility="visible";myDiv.id = "enlargedimagediv";myDiv.style.position = "fixed";myDiv.style.top = "0px";myDiv.style.left = "0px";myDiv.style.right = "0px";myDiv.style.bottom = "0px";myDiv.style.zIndex = "999999999999";myDiv.style.cursor = "zoom-out";myDiv.style.color = "#eee";myDiv.style.textAlign = "right";myDiv.innerHTML = "Close ";document.body.insertBefore(myDiv, elById("main")); myDiv.onclick = function(){this.parentElement.removeChild(this);};return false;}}
function updateAddOnLineQty(inid){
x = elById("inbasket" + inid);
x.style.display = "block";
x.style.visibility = "visible";
generalAjaxFunction("productsid=" + inid, "https://refreshcartridges.co.uk/getCartLineQty.php", "inbasket" + inid);
}
function imgClickActionDX(el){
if(GetWidth() < 701){
// OPEN LINK
return true;
} else {
// LOAD UP ENLARGED IMAGE
myDiv = document.createElement("div");url = el.parentNode.childNodes[1].firstChild.id.replace("enlargeimage","https://refreshcartridges.co.uk/productimages/a_");url +=".jpg";myDiv.style.background = "rgba(0,0,0,0.75) url("+url+") center center no-repeat";myDiv.style.visibility="visible";myDiv.id = "enlargedimagediv";myDiv.style.position = "fixed";myDiv.style.top = "0px";myDiv.style.left = "0px";myDiv.style.right = "0px";myDiv.style.bottom = "0px";myDiv.style.zIndex = "999999999999";myDiv.style.cursor = "zoom-out";myDiv.style.color = "#eee";myDiv.style.textAlign = "right";myDiv.innerHTML = "Close ";document.body.insertBefore(myDiv, elById("main")); myDiv.onclick = function(){this.parentElement.removeChild(this);};return false;}}
function isFunction(possibleFunction) {return typeof(possibleFunction) === typeof(Function);}
document.onkeydown = function(evt) {
evt = evt || window.event;
//LEFT ARROW
if(evt.keyCode == 37){
if(elById("imageloaderouter")){
x = elById("imageloaderouter");
if (x.style.visibility == "visible"){
ximg = x.getElementsByTagName("img");
ximgstr = (ximg[0].style.backgroundImage);
endPos = ximgstr.lastIndexOf(".jpg");
startPos = ximgstr.lastIndexOf("a_");
xid = elById(("enlarge" + ximgstr.substr((startPos+2), endPos-(startPos+2))));
if (xid.previousElementSibling){
enlargeImage(xid.previousElementSibling.id);
}
}
}
}
//RIGHT ARROW
if(evt.keyCode == 39){
if(elById("imageloaderouter")){
x = elById("imageloaderouter");
if (x.style.visibility == "visible"){
ximg = x.getElementsByTagName("img");
ximgstr = (ximg[0].style.backgroundImage);
endPos = ximgstr.lastIndexOf(".jpg");
startPos = ximgstr.lastIndexOf("a_");
xid = elById(("enlarge" + ximgstr.substr((startPos+2), endPos-(startPos+2))));
if (xid.nextElementSibling){
enlargeImage(xid.nextElementSibling.id);
}
}
}
}
// ESCAPE KEY
if (evt.keyCode == 27) {
if(elById("catdescriptionbox")){
if(elById('catdescp')){remElById('catdescp');}
if(elById('descstatus')){remElById('descstatus');}
if(elById('brel')){remElById('brel');}
if(elById('subBtn')){remElById('subBtn');}
if(elById('cnlbtn')){remElById('cnlbtn');}
if(elById('catdescedit')){remElById('catdescedit');}
if(elById('catdescinnerbox')){remElById('catdescinnerbox');}
if(elById('catgooglesearch')){remElById('catgooglesearch');}
if (elById('enlargedimagediv')){remElById('enlargedimagediv');}
hideElement('catdescriptionbox');
}
if(elById("categoryspecsdiv")){hideElement('categoryspecsdiv');}
if(elById("imageloaderouter")){hideElement('imageloaderouter');}
if(elById("customisevaluepack")){hideElement('customisevaluepack');}
if(elById("satisfactionguaranteed")){hideElement('satisfactionguaranteed');}
if(elById("pricematchpromise")){hideElement('pricematchpromise');}
if(elById("threeyear")){hideElement('threeyear');}
if(elById("fastfreedelivery")){hideElement('fastfreedelivery');}
if (elById("questionform")){hideQuestionForm();}
if (elById("addonrange")){hideElement("addonrange");}
if(elById("updatemedo")){hideElement("updatemedo");}
if(elById("explain")){hideElement("explain");
//ADD CONDITION FOR SECURE_CHECKOUT.PHP
if (window.location.href.indexOf("secureCheckout.php") == 32){
restoreLastShippingMethod();
}
}
if(elById("explain2")){hideElement("explain2");}
}
};//-->
Select Your Toner Printer Manufacturer from Below
View 6 More Toner Printer Brands »
About Our Toner Cartridges
We supply a wide range of Laser Toner Cartridges
for all popular makes of Laser Printer. Traditionally used by
Businesses for lower overall cost and general document printing
efficiency, lower-end machines have crept further into home use
as years pass by.
We provide Excellent Value Laser Toner Cartridges
for both home and office use, backed by our 100% Satisfaction
guarantee.
Our Popular Toner Printers
Latest Customer Reviews of our Products
We guarantee your printing needs will be satisfied with our range of superior quality Laser Toner cartridges, sourced from the most reliable OEM and Remanufacturers. Backed up by our lowest price promise and 100% no-quibble guarantees with no hidden extras, fast free delivery and support from our excellent after-sales team! We also offer discounts on our Toner cartridges with both quantity discounts and customisable multipacks for even further savings.
Our Best Selling Toner Cartridges
Toner Cartridge Buyers Guide
Refresh Cartridges are specialists at sourcing and
supplying original, remanufactured and compatible toner cartridges
for practically every printer released within the last thirty
years.
Where available we will offer both an original
and a third party equivalent for most machines with the third
party version typically being either remanufactured (a recycled
unit) or compatible (a brand new alternative) depending on the
specific construction of the OEM cartridge.
We understand that laser printers are typically
relied upon by the majority of busy offices which is why all of
our cartridges are fully backed by a three-year guarantee. As
you would expect, our failure rate is incredibly low but in the
event of an issue we will immediately swap out the offending
unit or collect for a refund.
The majority of cartridges that we stock conform
to industry standards being typically STMC Compliant, ISO 9001
and 14001 certified along with being Reach and RoHS certified
meaning that whether a small office, home business, school or
government body your satisfaction can be assured.
Site Information
Customer Support
Our Guarantees Copyright © 1999-2026 Refresh eCommerce Ltd, Company Registered in Cardiff Reg 3747805, VAT GB 819 3265 18
Address: Refresh eCommerce Ltd ,
Unit 3, Longpark, 163 Newton Road, Torquay , Devon , TQ2 7AL £0.97 - £ 999.97 Phone: 01803 449 339 Fax: 01803 500056 Email: [email protected]