                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

if(!window.__td){window.__MT=100;window.__ti=0;window.__td=[];window.__td.length=__MT;window.__noTrace=false;}
var lensWidth,lensHeight;var lensCtrX,lensCtrY;var big;var lens;var images;function updateLensPos(event)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(!images){initExplodedZoom();}
if(!lens){lens=document.getElementById("lens");}
var smallImg=document.getElementById("smallImage");var cLeft=smallImg.offsetLeft;var cRight=cLeft+smallImg.width;var cTop=smallImg.offsetTop;var cBottom=cTop+smallImg.height;var oSmallScrollRect=vp.ui.getScrollRect(smallImg);var ex=event.clientX-oSmallScrollRect.left;var ey=event.clientY-oSmallScrollRect.top;if(ex<cLeft||ex>cRight||ey<cTop||ey>cBottom){return;}
big.scrollLeft=scaleX*(ex-lensCtrX-cLeft);big.scrollTop=scaleY*(ey-lensCtrY-cTop);var lensX=ex-lensCtrX;var lensY=ey-lensCtrY;lens.style.left=lensX+"px";lens.style.top=lensY+"px";if(lensX<cLeft){lens.style.left=cLeft+"px";}
if(lensY<cTop){lens.style.top=cTop+"px";}
if(lensX+lensWidth>cRight){lens.style.left=(cRight-lensWidth)+"px";}
if(lensY+lensHeight>cBottom){lens.style.top=(cBottom-lensHeight)+"px";}}
function prepareToShowViewLarger()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(!images){initExplodedZoom();}
var combo=document.getElementById("gx-font-combo-box");if(combo){combo.style.display="none";}
var smallImg=document.getElementById("smallImage");var bigImg=document.getElementById("bigImage");var timestamp="&ts="+new Date().valueOf();smallImg.src=images[0]+timestamp;bigImg.src=images[1]+timestamp;lens.style.left=0;lens.style.top=0;}
function prepareToHideViewLargerLayer()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var combo=document.getElementById("gx-font-combo-box");if(combo){combo.style.display="block";}}
function initExplodedZoom()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var docMouseUp=document.onmouseup;document.onmouseup=function(){rtMouse=false;if(docMouseUp){docMouseUp();}};var smallImg=document.getElementById("smallImage");var bigImg=document.getElementById("bigImage");images=[smallImg.src,bigImg.src];lensWidth=Math.floor(viewWidth/scaleX);lensHeight=Math.floor(viewHeight/scaleY);lensCtrX=Math.floor(lensWidth/2);lensCtrY=Math.floor(lensHeight/2);lens=document.getElementById("lens");big=document.getElementById("big");big.style.width=viewWidth+"px";big.style.height=viewHeight+"px";lens.style.width=lensWidth+"px";lens.style.height=lensHeight+"px";lens.style.left=0;lens.style.top=0;if(vp.browser.isIE&&vp.browser.ver<7){lens.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/vp/images/nns/common/design_wiz/zoom/hover_blue.png', sizingMethod='scale')";}else{lens.style.backgroundImage="url('/vp/images/nns/common/design_wiz/zoom/hover_blue.png')";}};