function CreateBookmarkLink(){if(title=document.title,url=location.href,window.sidebar)window.sidebar.addPanel(title,url,"");else if(window.external)window.external.AddFavorite(url,title);else if(window.opera&&window.print)return alert("Your browser does not support adding bookmarks by clicking web links. Please bookmark this link manually."),!0}function pixelRatioZoom(){zr=1,"undefined"!=typeof document.documentElement.ontouchstart&&(zr=screen.width/$(window).width());var a=window.devicePixelRatio?window.devicePixelRatio:1,b=document.documentElement.clientWidth/window.innerWidth;return b*a*zr}function szhandler(){var a=pixelRatioZoom();if(a!=zoom){var b=suffix;zoom=a,b=zoom>3.3?"_4x":zoom>2.3?"_3x":zoom>1.3?"_2x":"_1x",suffix!=b&&(suffix=b,$(".stdimage").each(function(){o_img=$(this).attr("src");var b="";zoom>3.3&&void 0!=$(this).attr("src0_4x")?b="src0_4x":zoom>2.3&&void 0!=$(this).attr("src0_3x")?b="src0_3x":zoom>1.3&&void 0!=$(this).attr("src0_2x")?b="src0_2x":void 0!=$(this).attr("src0_1x")&&(b="src0_1x"),""!=b&&(n_img=$(this).attr(b),n_img!=o_img&&(imgx=new Image,imgx.stor=this,$(imgx).load(function(){$(this.stor).attr("src",this.src)}).error(function(){}).attr("src",n_img)))}))}}this.imagePreview=function(){function d(){currelem=null}function e(){g(this)}function f(a,c){c.t=c.title,c.title="";var d=$(c).attr("tooltip");$(c).attr("offset_top")&&(c_top=parseInt($(c).attr("offset_top"))),$(c).attr("offset_bottom")&&(c_bottom=parseInt($(c).attr("offset_bottom"))),$(c).attr("offset_left")&&(c_left=parseInt($(c).attr("offset_left"))),$(c).attr("offset_right")&&(c_right=parseInt($(c).attr("offset_right"))),t_width=$(c).attr("tooltip_width")?parseInt($(c).attr("tooltip_width")):$("#preview").width();var e="
"+$("#"+d).html()+"
";$("body").append(e),position=$(c).position(),pageY=position.top,pageX=position.left,""!=c_bottom&&$("#preview").css("top",pageY+c_bottom+"px"),""!=c_right&&$("#preview").css("left",pageX+c_right+"px"),""!=c_left&&$("#preview").css("left",pageX-c_left-t_width+"px"),""!=c_top&&$("#preview").css("top",pageY-c_top-$("#preview").height()+"px"),0!=t_width&&($("#preview").css("width",t_width+"px"),$("#preview").css("max-width",t_width+"px")),$("#preview").animate({opacity:"0.8"},1),b||$(".tabletlink").css("display","none"),$("#preview").fadeIn("fast"),currelem=$(c).attr("tooltip")}function g(a){a.title=a.t,$("#preview").remove()}c_top="",c_left="",c_right="",c_bottom="",currelem=null,t_width=0,timeoutId1=null,timeoutId2=null,touchart=0;var a=navigator.userAgent,b=/iPad/i.test(a)||/iPhone OS 3_1_2/i.test(a)||/iPhone OS 3_2_2/i.test(a),c=0;$(".elevpreview").bind("click",function(){return b?!1:!0}),$("body").bind("touchstart",function(){0==touchart&&(null!=timeoutId1&&(currelem=null,window.clearTimeout(timeoutId1)),null!=timeoutId2&&(g(this),window.clearTimeout(timeoutId2))),touchart=0}),$(".elevpreview").bind("touchstart",function(a){touchart=1,c=event.touches.length,1==c&&(null!=timeoutId2&&g(this),window.clearTimeout(timeoutId1),window.clearTimeout(timeoutId2),event.preventDefault(),currelem==$(this).attr("tooltip")?document.location=$(this).attr("href"):f(a,this))}),$(".elevpreview").bind("touchcancel",function(){return event.preventDefault(),timeoutId1=window.setTimeout(d,300,!0),timeoutId2=window.setTimeout(e,5e3,!0),!1}),$(".elevpreview").bind("touchend",function(){0==event.touches.length&&(event.preventDefault(),timeoutId1=window.setTimeout(d,300,!0),timeoutId2=window.setTimeout(e,5e3,!0))}),$(".elevpreview").hover(function(a){f(a,this)},function(){g(this)})};var interv,ax=[],idx="";this.stdthis=function(){cnt=$("#"+idx).attr("cnt"),v=$("#"+idx).attr("v"),v=parseInt(v),v=(v+1)%cnt,sr=ax[v],$("#"+idx).attr("v",v),$("#"+idx).attr("src",sr)},suffix="_1x";var zoom=pixelRatioZoom();if(sch=0,0==sch)try{document.addEventListener("scroll",szhandler,!0),sch=1}catch(e){}if(0==sch)try{window.attachEvent("onscroll",szhandler),sch=1}catch(e){}$(window).resize(function(){szhandler()}),$(document).ready(function(){StdImageHandler()}),this.StdImageHandler=function(){imgs=[],is_2x=!1,suffix="_1x",$(".stdimage").ready(function(){suffix=zoom>3.3?"_4x":zoom>2.3?"_3x":zoom>1.3?"_2x":"_1x",$(".stdimage").each(function(){var b="";b=zoom>3.3&&void 0!=$(this).attr("src0_4x")?"src0_4x":zoom>2.3&&void 0!=$(this).attr("src0_3x")?"src0_3x":zoom>1.3&&void 0!=$(this).attr("src0_2x")?"src0_2x":void 0!=$(this).attr("src0_1x")?"src0_1x":"src0",""!=b&&(cls=$(this).attr(b),imgx=new Image,imgx.stor=this,$(imgx).load(function(){$(this.stor).attr("src",this.src)}).error(function(){}).attr("src",cls))}),$(".stdimage").each(function(){if(cnt=$(this).attr("cnt"),!(cnt<2))for(c=0;c