function changeSorting(){var A=document.sort.srt.selectedIndex;
if(document.sort.srt.options[A].value!="null"){top.location.href=document.sort.srt.options[A].value
}}function relocate(A){window.location.href=A
}function resizeImage(A,B){if(B.height>A){B.width=Math.round((A/B.height)*B.width);
B.height=A
}}function forceImageReplace(A){A.src=badImg.src
}function showMerchantInfo(B){var A=window.open(B,"MerchantInfo","width=445,height=550,status=off");
A.focus()
}function showProductRating(B){var A=window.open(B,"Rating_Form","width=470,height=290,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0");
A.focus()
}function ohu(A){window.location.href=decode64(A)
}function adjustPopupSize(){if(window.document.height){popupHSize=window.document.height;
window.resizeTo(445,popupHSize+60)
}else{if(document.all){popupHSize=window.document.body.scrollHeight;
window.resizeTo(445,popupHSize+50)
}}}var badImg=new Image();
function getElementsByClassName(D){var A,C=new Array(),B=0,E;
if(document.all){A=document.all
}else{if(document.getElementsByTagName&&!document.all){A=document.getElementsByTagName("*")
}}for(i=0;
i<A.length;
i++){if(A[i].className.indexOf(D)!=-1){E=","+A[i].className.split(" ").join(",")+",";
if(E.indexOf(","+D+",")!=-1){C[B]=A[i];
B++
}}}return C
}function changeStyle(B){var C=getElementsByClassName(B);
var D=document.getElementById("country");
var A=D.options[D.selectedIndex].value;
for(i=0;
i<C.length;
i++){if(A=="us"){if(C[i].className=="registration_pd"){if(C[i].style.display=="none"){C[i].style.display="block"
}else{C[i].style.display="none";
document.forms["contact-form"].elements.state.selectedIndex=0
}}}else{if(A!="us"){C[i].style.display="none";
document.forms["contact-form"].elements.state.selectedIndex=0
}}}}var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
function ohu(A){window.location.href=decode64(A)
}function encode64(C){var A="";
var J,H,F;
var I,G,E,D;
var B=0;
do{J=C.charCodeAt(B++);
H=C.charCodeAt(B++);
F=C.charCodeAt(B++);
I=J>>2;
G=((J&3)<<4)|(H>>4);
E=((H&15)<<2)|(F>>6);
D=F&63;
if(isNaN(H)){E=D=64
}else{if(isNaN(F)){D=64
}}A=A+keyStr.charAt(I)+keyStr.charAt(G)+keyStr.charAt(E)+keyStr.charAt(D)
}while(B<C.length);
return A
}function decode64(C){var A="";
var J,H,F;
var I,G,E,D;
var B=0;
C=C.replace(/[^A-Za-z0-9\+\/\=]/g,"");
do{I=keyStr.indexOf(C.charAt(B++));
G=keyStr.indexOf(C.charAt(B++));
E=keyStr.indexOf(C.charAt(B++));
D=keyStr.indexOf(C.charAt(B++));
J=(I<<2)|(G>>4);
H=((G&15)<<4)|(E>>2);
F=((E&3)<<6)|D;
A=A+String.fromCharCode(J);
if(E!=64){A=A+String.fromCharCode(H)
}if(D!=64){A=A+String.fromCharCode(F)
}}while(B<C.length);
return A
}function showPriceHistory(B){var A=window.open(B,"Price_History","width=420,height=446,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0");
A.focus()
}function MM_openBrWindow(C,B,A,D){if(navigator.appName.indexOf("Microsoft")!=-1){window.open(C,"Imprint","width="+A+",height="+D+",toolbar=no,status=no,menubar=no,scrollbars=yes")
}else{window.open(C,B,"width="+A+",height="+D+",toolbar=no,status=no,menubar=no,scrollbars=yes")
}};