/* /\/\ -|- ]\[ */
function getById(A){if(document.getElementById){return document.getElementById(A)
}else{if(document.all){return document.all(A)}else{return null}}}var previousKeyPressed;
function fnTrapKD(C,B){var D=getById(C);var A=null;if(B.keyCode){A=B.keyCode}else{if(B.which){A=B.which
}}if(A==13&&previousKeyPressed!=38&&previousKeyPressed!=40){if(window.event){window.event.returnValue=false
}else{if(B.cancelable){B.preventDefault()}if(!B.cancelBubble){B.stopPropagation()
}}D.click();return false}else{previousKeyPressed=A}}function quickSearch(C,A,B){if(C.length>0&&C!=B){window.location.href=A.replace(/searchterm/,escape(C))
}return false}function MLquickSearch(C,B,A){return quickSearch(C,B,A)}function resetTextCommon(A,C){var B=getById(A);
if(B&&(B.value==""||B.value==C)){B.value=C;B.style.color="#aaa"}}function clearTextCommon(A,C){var B=getById(A);
if(B&&B.value==C){B.value="";B.style.color="black"}}function addDropShadow(A,D,C){if($("#"+A).length>0){var B={left:2,top:2,blur:2,opacity:0.6};
if(C!==undefined&&C!==null){B=C}$("#"+A).dropShadow(B);$("#"+D).hide()}}var defaultSearchText="enter font name or key terms";
$(function(){resetTextCommon("navSearchField",defaultSearchText);var A=$("#siteNav");
if(A.length>0){A.superfish({animation:{opacity:"show",height:"show"}})}$(".curvedcorner").curvedCorners();
addDropShadow("CurrencyDiv","CurrencyWrapper");addDropShadow("MLInternationalDiv","MLInternationalWrapper")
});function togglePopup(A,B,C,G){var F=$("#"+A);if(B!=null){var H=$(B).offset();var E=H.top-C;
if(E<1){E=10}var D=H.left-G;if(D<1){D=10}F.css({top:E,left:D})}F.toggle()}function logError(B,C){if(document.createElement){var D="/services/service.ashx?method=logError&error="+escape(B.message)+"&where="+escape(C);
var A=document.createElement("iframe");A.setAttribute("src",D);A.style.display="none";
document.body.appendChild(A)}}function readCookie(A){var E=A+"=";var B=document.cookie.split(";");
for(var D=0;D<B.length;D++){var C=B[D];while(C.charAt(0)==" "){C=C.substring(1,C.length)
}if(C.indexOf(E)==0){return C.substring(E.length,C.length)}}return""}function createCookie(A,E,D){var C="";
if(D){var B=new Date();B.setTime(B.getTime()+(D*24*60*60*1000));C="; expires="+B.toGMTString()
}document.cookie=A+"="+E+C+"; path=/"}var monotypeExternalLinks=function(){var C="fonts.com";
var D="You are leaving the Fonts.com Web site. You may\nreturn to the Fonts.com Web site by closing\nthe window to the third-party Web site\nthat you have opened.\n\nDo you wish to continue?";
var E=function(){if(window.addEventListener){return function(G,H,F){G.addEventListener(H,F,false)
}}else{if(window.attachEvent){return function(G,H,F){var I=function(){F.call(G,window.event)
};G.attachEvent("on"+H,I)}}else{return function(G,H,F){G["on"+H]=F}}}}();function B(F){if(!confirm(D)){if(F.preventDefault){F.preventDefault()
}else{F.returnValue=false}return false}else{return true}}function A(){var F=new RegExp("^\\w+:\\/\\/(\\w+\\.)?(test)?"+C+"\\/");
var H=new RegExp("^\\w+:\\/\\/"+window.location.hostname+"\\/");var G=document.getElementsByTagName("a");
for(var I=0;I<G.length;I++){if(!F.test(G[I].href)&&!H.test(G[I].href)&&G[I].href.substring(0,7)!="mailto:"&&G[I].href.substring(0,11)!="javascript:"&&G[I].href.substring(0,14)!="http://msg2svc"){G[I].setAttribute("target","_blank");
E(G[I],"click",B)}}}E(window,"load",A,false)}();jQuery.fn.curvedCorners=function(C){var A={paddingTop:14,iePadding:7};
var B=jQuery.extend(A,C);this.wrap("<div class='outercorner'><div class='innercorner'></div></div>").css({border:"0",background:"transparent none"});
jQuery(".outercorner").curvyCorner().css("padding-top",B.paddingTop+"px");jQuery(".innercorner").curvyCorner({tl:{radius:6},tr:{radius:6},bl:{radius:6},br:{radius:6}});
if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)>6){jQuery(".innercorner").css("padding-top",B.iePadding+"px")
}return this};