function fncSearchKeyDown(a,e){try{if(13==a)return document.getElementById("id_search_button").click(),!1;e==fncGetResourceByResourceId("enter_search_keyword")&&document.getElementById("id_search")&&(document.getElementById("id_search").value="",document.getElementById("id_search").style.color="#000000");return!0}catch(f){}}var video_external_normal_width="560",video_external_normal_height="315",video_self_normal_width="560",video_self_normal_height="315";
function fncOpenSubWindow(a,e){try{if("_blank"==e)var f=window.open(a,e);else if("theme"==e)var d=1024,b=768,g=screen.width/2-d/2,h=screen.height/2-b/2,f=window.open(a+"?theme=yes",e,"directories=no,location=no,menubar=no,status=no,toolbar=no,resizable=yes,width="+d+",top="+h+",left="+g+",height="+b+",scrollbars=yes");else if("video_external_normal"==e)d=video_external_normal_width,b=video_external_normal_height,g=screen.width/2-d/2,h=screen.height/2-b/2,a+="?cc_lang_pref="+fncGetLangCodeForCC()+
"&cc_load_policy=1",f=window.open("video.html?dest="+a,e,"directories=no,location=no,menubar=no,status=no,toolbar=no,resizable=yes,width="+d+",top="+h+",left="+g+",height="+b+",scrollbars=no");else{if("video_self_normal"==e){d=video_self_normal_width;b=video_self_normal_height;a+="?cc_lang_pref="+fncGetLangCodeForCC()+"&cc_load_policy=1";var n=window.event.srcElement,k=document.createElement("div");k.className="video";var p=document.createElement("iframe");p.src=a;p.id="iframe_video";p.frameBorder=
0;p.allowFullScreen=!0;p.setAttribute("allowfullscreen",!0);p.width=d;p.height=b;k.appendChild(p);n.parentNode.parentNode.insertBefore(k,n.parentNode);n.parentNode.parentNode.removeChild(n.parentNode);return}d=640;b=480;g=screen.width/2-d/2;h=screen.height/2-b/2;f=window.open(a+"?sub=yes",e,"directories=no,location=no,menubar=no,status=no,toolbar=no,resizable=yes,width="+d+",top="+h+",left="+g+",height="+b)}f.focus()}catch(l){}}
function fncGetLangCodeForCC(){var a=document.documentElement.lang||document.body.lang;return a.match(/zh-CN/)?"zh-Hans":a.match(/zh-TW/)?"zh-Hant":a.match(/zh/)?"zh-Hans":a.split("-")[0]}function fncPrint(){try{window.print()}catch(a){}}function fncKeyPress(){try{27==event.keyCode&&window.close()}catch(a){}}
function fncGetTocHrefAndTitleByLinkName(a){try{for(var e=eval(toc),f=e.length,d=0;d<f;d++){var b;if(e[d].link_name){if(b=e[d].link_name,""==b)continue}else if(e[d].type){if(b=e[d].type,""==b)continue}else continue;var g=b.indexOf("::");-1!=g&&(b=b.substring(g+2));if(b==a)return"../contents/"+e[d].href+"___DELIMITER___"+e[d].title}return!1}catch(h){}}
function fncGetTocIdByLinkName(a){try{var e=eval(toc);if(!a)return e[0].id;for(var f=e.length,d=0;d<f;d++){var b;if(e[d].link_name){if(b=e[d].link_name,""==b)continue}else if(e[d].type){if(b=e[d].type,""==b)continue}else continue;var g=b.indexOf("::");-1!=g&&(b=b.substring(g+2));if(b==a)return e[d].id}return!1}catch(h){}}function fncGetTocById(a){try{for(var e=eval(toc),f=e.length,d=0;d<f;d++)if(e[d].id==a)return e[d];return!1}catch(b){}}
function fncGetTocNodeByLinkName(a){try{for(var e=eval(toc),f=e.length,d=0;d<f;d++){var b;if(e[d].link_name&&(b=e[d].link_name,""!=b)){var g=b.indexOf("::");-1!=g&&(b=b.substring(g+2));if(b==a)return e[d]}}return!1}catch(h){}}
function fncGetSiblingNodeId(a){try{for(var e=eval(toc),f=e.length,d=":",b=0;b<f;b++){if(0==b&&""==a)return d+e[b].id;if(e[b].id==a){if(0==b)d="../frame_htmls/home"+d;else for(var g=b;0<g;){if(e[g-1]&&"n"!=e[g-1].show_toc){d=e[g-1].id+d;break}g--}for(g=b;g<=f;){if(e[g+1]&&"n"!=e[g+1].show_toc){d+=e[g+1].id;break}g++}break}}return d}catch(h){}}
function fncGetResourceByResourceId(a){try{for(var e=eval(resource),f=e.length,d=0;d<f;d++)if(e[d].id==a){if("local"!=asset_mode&&"guide_name"==a){try{var b=location.pathname.split("/")[1].split("-"),b=b[b.length-1],g=b.slice(0,2);"zh"==g&&(g=b.slice(0,2)+"-"+b.slice(2,4).toLowerCase())}catch(h){g=document.getElementsByTagName("html")[0].attributes["xml:lang"].value}try{return"undefined"==typeof region_text&&document.location.reload(!0),a="","en"==g&&(a="-"+b.slice(2,4).toLowerCase()),e[d].value==
region_text["User's Guide"][g+a]?e[d].value+" "+gdpr_qr_text.string_8[g]:e[d].value}catch(n){}}return e[d].value}return""}catch(k){}}
function fncIncludeHeader(){try{if(header){for(var a=[],e=header.split(","),f=e.length,d=0;d<f;d++)switch(e[d]){case "config":a.push('<button id="config"></button>');break;case "help":a.push('<button id="help"></button>');break;case "|":a.push('<img class="header_vr" src="'+frame_path+'images/hdr_vr.gif" />');break;case "_SEARCH_":break;default:a.push('<a id="id_link_'+e[d]+'"></a>')}document.getElementById("id_header_include").innerHTML=a.join("")}}catch(b){}}
function fncIncludeFooter(){try{if(footer){for(var a=[],e=footer.split(","),f=e.length,d=0;d<f;d++)switch(e[d]){case "|":a.push('<img class="footer_vr" src="'+frame_path+'images/ftr_vr.gif" />');break;case "_PUBNO_":a.push('<span id="id_res_pub_number"></span>');break;default:a.push('<a id="id_link_'+e[d]+'"></a>')}document.getElementById("id_footer_include").innerHTML=a.join("")}}catch(b){}}
function fncLoadResource(){try{for(var a=eval(resource),e=a.length,f="",d=0;d<e;d++){if(document.getElementById("id_res_"+a[d].id)){var b=a[d].value;frame_path&&(b=b.replace(/___frame_path___/,frame_path));if("local"!=asset_mode)if("guide_name"==a[d].id){try{var g=location.pathname.split("/")[1].split("-"),g=g[g.length-1],h=g.slice(0,2);"zh"==h&&(h=g.slice(0,2)+"-"+g.slice(2,4).toLowerCase())}catch(n){h=document.getElementsByTagName("html")[0].attributes["xml:lang"].value}try{"undefined"==typeof region_text&&
document.location.reload(!0);var k="";"en"==h&&(k="-"+g.slice(2,4).toLowerCase());a[d].value==region_text["User's Guide"][h+k]?document.getElementById("id_res_"+a[d].id).innerHTML=b+" "+gdpr_qr_text.string_8[h]:document.getElementById("id_res_"+a[d].id).innerHTML=b}catch(p){document.getElementById("id_res_"+a[d].id).innerHTML=b}}else"gb"!=a[d].id&&("gb_place_of_origin"!=a[d].id&&"gb_importer"!=a[d].id&&"gb_revised"!=a[d].id&&"gb_address"!=a[d].id)&&(document.getElementById("id_res_"+a[d].id).innerHTML=
b);else document.getElementById("id_res_"+a[d].id).innerHTML=b}if(("product_main_name"==a[d].id||"product_sub_name"==a[d].id||"version"==a[d].id||"guide_name"==a[d].id)&&""!=a[d].value)"guide_name"==a[d].id&&(f+=" - "),f+=a[d].value.replace(/<br>|<br\/>|<br \/>/gi,"").replace(/&#x200b;/gi,"")+" ",f=remove_tags(f)}""==document.title?document.title="Canon - "+f:"HOME_TOC"!=strWindowType&&(document.title+=" - Canon - "+f);document.title=document.title.replace(/&shy;|/gi,"").replace(/&#x200b;/gi,"")}catch(l){}}
function fncGenerateDynamicLink(a){try{for(var e=eval(link_info),f=e.length,d=0;d<f;d++){var b=e[d].link_name,g=e[d].link_target,h=e[d].link_resource;h||(h=b);void 0!=a&&(g=a);for(var n=$("*[id=id_link_"+b+"]"),k=n.length,p=0;p<k;p++){var l=n[p];if(l){var w=fncGetTocHrefAndTitleByLinkName(b),s=null,v=null;w&&(s=w.split("___DELIMITER___")[0],v=w.split("___DELIMITER___")[1]);s||(s=e[d].link_href);l.link_href=s;var u=l.nodeName.toLowerCase();if("a"==u){var q=fncGetResourceByResourceId(h);q||(q=v);q&&
(l.innerHTML=q,l.title=q.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"));if("_self"==g){l.href=s;if(-1!=s.indexOf(".pdf")){if(ga_tracking_id&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga("send","event",s,"click","pdf downloads",4)}catch(C){}try{if("local"!=asset_mode&&multitrack_id&&ga2&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga2("send","event",s,"click","pdf downloads",4)}catch(D){}}catch(t){}}l.className="self"}else l.href="#",l.link_target=
g,"canon_sub_window"==g&&(l.className="sub_window"),l.onclick=function(){if(-1!=this.link_href.indexOf(".pdf")){if(ga_tracking_id&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga("send","event",this.link_href,"click","pdf downloads",4)}catch(a){}try{if("local"!=asset_mode&&multitrack_id&&ga2&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga2("send","event",this.link_href,"click","pdf downloads",4)}catch(b){}}catch(d){}}fncOpenSubWindow(this.link_href,this.link_target)}}else"li"==u?
((q=fncGetResourceByResourceId(h))||(q=v),q&&(l.innerHTML=q,l.title=q.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")),l.style.cursor="pointer",l.onclick=function(){document.location.href=this.link_href;if(-1!=this.link_href.indexOf(".pdf")){if(ga_tracking_id&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga("send","event",this.link_href,"click","pdf downloads",4)}catch(a){}try{if("local"!=asset_mode&&multitrack_id&&ga2&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga2("send",
"event",this.link_href,"click","pdf downloads",4)}catch(b){}}catch(d){}}}):"button"==u?((q=fncGetResourceByResourceId(h))||(q=v),q&&(l.title=q.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")),"_self"==g?l.onclick=function(){document.location.href=this.link_href}:(l.link_target=g,l.onclick=function(){fncOpenSubWindow(this.link_href,this.link_target);if(-1!=this.link_href.indexOf(".pdf")){if(ga_tracking_id&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga("send",
"event",this.link_href,"click","pdf downloads",4)}catch(a){}try{if("local"!=asset_mode&&multitrack_id&&ga2&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga2("send","event",this.link_href,"click","pdf downloads",4)}catch(b){}}catch(d){}}}),l.childNodes[0]||(l.innerHTML='<img src="'+frame_path+"images/"+b+'_out.png" />',l.link_name=b,l.onmouseover=function(){this.childNodes[0].src=""+frame_path+"images/"+this.link_name+"_over.png"},l.onmouseout=function(){this.childNodes[0].src=""+frame_path+
"images/"+this.link_name+"_out.png"})):"img"==u&&((q=fncGetResourceByResourceId(h))||(q=v),q&&(l.title=q.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")),l.style.cursor="Pointer","_self"==g?l.onclick=function(){if(-1!=this.link_href.indexOf(".pdf")){if(ga_tracking_id&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga("send","event",this.link_href,"click","pdf downloads",4)}catch(a){}try{if("local"!=asset_mode&&multitrack_id&&ga2&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga2("send",
"event",this.link_href,"click","pdf downloads",4)}catch(b){}}catch(d){}}document.location.href=this.link_href}:(l.link_target=g,l.onclick=function(){if(-1!=this.link_href.indexOf(".pdf")){if(ga_tracking_id&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga("send","event",this.link_href,"click","pdf downloads",4)}catch(a){}try{if("local"!=asset_mode&&multitrack_id&&ga2&&viewer_country&&-1==viewer_country.indexOf("CN"))try{ga2("send","event",this.link_href,"click","pdf downloads",4)}catch(b){}}catch(d){}}fncOpenSubWindow(this.link_href,
this.link_target)}))}}var r=document.getElementById("id_button_"+b);r&&(w=fncGetTocHrefAndTitleByLinkName(b),v=s=null,w&&(s=w.split("___DELIMITER___")[0],v=w.split("___DELIMITER___")[1]),s||(s=e[d].link_href),r.link_href=s,u=r.nodeName.toLowerCase(),"button"==u?((q=fncGetResourceByResourceId(h))||(q=v),q&&(r.title=q),"_self"==g?r.onclick=function(){document.location.href=this.link_href}:(r.link_target=g,r.onclick=function(){fncOpenSubWindow(this.link_href,this.link_target)}),r.childNodes[0]||(r.innerHTML=
'<img src="'+frame_path+"images/"+b+'_out.png" />',r.link_name=b,r.onmouseover=function(){this.childNodes[0].src=frame_path+"images/"+this.link_name+"_over.png"},r.onmouseout=function(){this.childNodes[0].src=frame_path+"images/"+this.link_name+"_out.png"})):"img"==u&&((q=fncGetResourceByResourceId(h))||(q=v),q&&(r.title=q),r.src="../images/"+b+"_out.png",r.link_name=b,r.onmouseover=function(){this.src="../images/"+this.link_name+"_over.png"},r.onmouseout=function(){this.src="../images/"+this.link_name+
"_out.png"},r.style.cursor="Pointer","_self"==g?r.onclick=function(){document.location.href=this.link_href}:(r.link_target=g,r.onclick=function(){fncOpenSubWindow(this.link_href,this.link_target)})))}}catch(y){}}
function fncResizeFrame(){try{var a=fncGetWindowWidth(),e=fncGetWindowHeight();document.getElementById("id_body")&&(document.getElementById("id_body").style.height=e-70+"px",document.getElementById("id_body").style.width=a+"px");document.getElementById("id_footer")&&(document.getElementById("id_footer").style.top=e-26+"px",document.getElementById("id_footer").style.width=a+"px")}catch(f){}}
function fncSearchBox(){try{$.browser.msie&&9>=parseInt($.browser.version)&&document.getElementById("id_search")&&(""==document.getElementById("id_search").value&&(document.getElementById("id_search").value=fncGetResourceByResourceId("enter_search_keyword"),document.getElementById("id_search").style.color="#808080"),document.getElementById("id_search").value==fncGetResourceByResourceId("enter_search_keyword")&&(document.getElementById("id_search").style.color="#808080"),document.getElementById("id_search").onclick=
function(){this.value==fncGetResourceByResourceId("enter_search_keyword")&&(this.value="",document.getElementById("id_search").style.color="#000000")},document.getElementById("id_search").onblur=function(){""==this.value&&(this.value=fncGetResourceByResourceId("enter_search_keyword"),document.getElementById("id_search").style.color="#808080")})}catch(a){}}
function fncDoSearch(a){try{var e=document.getElementsByTagName("html")[0].attributes["xml:lang"].value,f=document.getElementById("id_search").value,d=f=f.trim();if(""==f||f==fncGetResourceByResourceId("enter_search_keyword"))return document.getElementById("id_search_results")&&-1!=document.getElementById("id_search_results").innerHTML.indexOf(fncGetResourceByResourceId("search_message_wait"))&&fncResetSearchDisplay(),!1;fncSetSessionStorage("SEARCH-KEYWORD",f);var b=/([$()\-^\\\|\[\]{},:+*.?])/g;
null!=b.exec(f)&&(f=f.replace(b,"\\$1"));b=/(&)/g;null!=b.exec(f)&&(f=f.replace(b,"&amp;"),d=d.replace(b,"&amp;"));b=/(<)/g;null!=b.exec(f)&&(f=f.replace(b,"&lt;"),d=d.replace(b,"&lt;"));b=/(>)/g;null!=b.exec(f)&&(f=f.replace(b,"&gt;"),d=d.replace(b,"&gt;"));for(var g=!1,h=[],n=f.length,b=0;b<n;b++){var k=f.substring(b,b+1);if('"'==k||"\u201d"==k||"\u201c"==k)k="",g=!g;else if(g&&(" "==k||"\u3000"==k||"\t"==k||"\u00a0"==k))k="___SPACE___";h.push(k)}f=h.join("");g=!1;h=[];n=d.length;for(b=0;b<n;b++){k=
d.substring(b,b+1);if('"'==k||"\u201d"==k||"\u201c"==k)k="",g=!g;else if(g&&(" "==k||"\u3000"==k||"\t"==k||"\u00a0"==k))k="___SPACE___";h.push(k)}for(var d=h.join(""),k=/[\s\u3000]+/,p=f.split(k),l=d.split(k),n=p.length,b=0;b<n;b++)""==p[b]&&p.splice(b,1);n=l.length;for(b=0;b<n;b++)""==l[b]&&l.splice(b,1);if(""==p.join(""))return document.getElementById("id_search").value=fncGetResourceByResourceId("enter_search_keyword"),document.getElementById("id_search").style.color="#808080",document.getElementById("id_search_results")&&
-1!=document.getElementById("id_search_results").innerHTML.indexOf(fncGetResourceByResourceId("search_message_wait"))&&fncResetSearchDisplay(),!1;n=p.length;for(b=0;b<n;b++)p[b]=p[b].replace(/___SPACE___/g," ");n=l.length;for(b=0;b<n;b++)l[b]=l[b].replace(/___SPACE___/g," ");if(document.getElementById("id_search_chapters")){for(var w=document.getElementById("id_search_chapters").getElementsByTagName("input"),n=w.length,f=[],k=[],b=0;b<n;b++)w[b].checked?f.push(w[b].id):k.push(w[b].id);if(f.length!=
n&&(0==f.length||document.getElementById("id_search_options_search_scope_all").checked))f=k}var s=fncGetConstantByName("search_show_around");s||(s=50);var f=w=s,v=fncGetConstantByName("search_show_result_count");v||(v=10);var u=fncGetConstantByName("search_page_max_range");u||(u=5);parseInt(u/2);parseInt(u/2);u=0;k=[];if("GLOSSARY"!=strWindowType)for(var q=0,n=l.length,b=0;b<n;b++)q++,10<=q&&(q=0);for(var C=eval(search),D=p.length,g=0;g<D;g++){var t=p[g];1==fncGetConstantByName("search_option_multibyte")&&
(t=fncConvertSearchText(t,!0),p[g]=t);var r="i";document.getElementById("id_search_options_case")?document.getElementById("id_search_options_case").checked&&(r=""):"GLOSSARY"==strWindowType?r="":"TRUE"==fncGetSessionStorage("SEARCH-OPTIONS-CASE")&&(r="")}h="";document.location.search&&-1!=document.location.search.indexOf("?search=")&&(h=document.location.search.split("?search=")[1],h=h.split("&word=yes")[0],h=-1!=h.indexOf("&marking=no")?"":h.split("&marking=")[0],""!=h&&(h=decodeURIComponent(h),
h=h.trim(),h==fncGetResourceByResourceId("enter_search_keyword")&&(h="")));n=C.length;for(b=0;b<n;b++){var y=C[b].body,G=C[b].toc_id,H=C[b].title;if(y)for(var D=p.length,K=[],g=0;g<D;g++){var t=p[g],E="("+t+")";"GLOSSARY"==strWindowType&&(null==e.match(/ja|zh|ko/)&&null==t.match(/([()])/))&&(E="\\b("+t+")\\b");var L=RegExp(E,r);if(null==L.exec(y))break;else if(l[g].length>s)K.push(l[g]);else{var F=y.search(L);if(-1!=F){var B="",M=y.substring(0,F),N=M.lastIndexOf("&");"&"!=t&&-1!=N&&(B=M.substring(N));
var O="";if(-1==l[g].indexOf(";")){var P=y.substring(F+l[g].length),Q=P.indexOf(";");";"!=l[g]&&-1!=Q&&(O=P.substring(0,Q+1))}var I=B+l[g].toLowerCase()+O;if("&amp;"==I||"&lt;"==I||"&gt;"==I||"&quot;"==I)break;for(var J=y.substring(F-w-0,F+f+l[g].length+0);;)if(null!=J.substring(0,1).match(/[\u0E31]|[\u0E47-\u0E4E]|[\u0E34-\u0E3A]/))J=J.substring(1);else break;K.push(J)}}if(g==p.length-1&&(u++,a*v>=u+0&&a*v-v<u+0)){for(var m=K.join(String.fromCharCode(8230)),B=q=0;B<D;B++){switch(q){case 0:strMarkerColor=
String.fromCharCode(8320);break;case 1:strMarkerColor=String.fromCharCode(8321);break;case 2:strMarkerColor=String.fromCharCode(8322);break;case 3:strMarkerColor=String.fromCharCode(8323);break;case 4:strMarkerColor=String.fromCharCode(8324);break;case 5:strMarkerColor=String.fromCharCode(8325);break;case 6:strMarkerColor=String.fromCharCode(8326);break;case 7:strMarkerColor=String.fromCharCode(8327);break;case 8:strMarkerColor=String.fromCharCode(8328);break;case 9:strMarkerColor=String.fromCharCode(8329)}t=
p[B];t=t.replace(/&amp;/g,String.fromCharCode(726));t=t.replace(/&quot;/g,String.fromCharCode(698));t=t.replace(/&lt;/g,String.fromCharCode(753));t=t.replace(/&gt;/g,String.fromCharCode(754));E="("+t+")";"GLOSSARY"==strWindowType&&(E="\\b("+t+")\\b");var S=RegExp(E,"g"+r),m=m.replace(/&amp;/g,String.fromCharCode(726)),m=m.replace(/&quot;/g,String.fromCharCode(698)),m=m.replace(/&lt;/g,String.fromCharCode(753)),m=m.replace(/&gt;/g,String.fromCharCode(754)),m=m.replace(S,function(a,b,d){return String.fromCharCode(8261)+
strMarkerColor+a+String.fromCharCode(8262)}),m=m.replace(/\u02D6/g,"&amp;"),m=m.replace(/\u02BA/g,"&quot;"),m=m.replace(/\u02F1/g,"&lt;"),m=m.replace(/\u02F2/g,"&gt;");q++;10<=q&&(q=0)}var T=RegExp("\u2046","g"),m=m.replace(RegExp("\u2045([\u2080-\u2089])","g"),'<span class="hit hit_$1">'),m=m.replace(T,"</span>"),m=m.replace(/\u2080/g,"0"),m=m.replace(/\u2081/g,"1"),m=m.replace(/\u2082/g,"2"),m=m.replace(/\u2083/g,"3"),m=m.replace(/\u2084/g,"4"),m=m.replace(/\u2085/g,"5"),m=m.replace(/\u2086/g,"6"),
m=m.replace(/\u2087/g,"7"),m=m.replace(/\u2088/g,"8"),m=m.replace(/\u2089/g,"9"),m=m.replace(/\u2026/g,"..."),m=m.replace(/\u00b6+/g,'<span style="color:#C0C0C0"><img src="'+frame_path+'images/src_para.gif" /></span>');k.push('<div class="search_topic_title">');k.push("&nbsp;");G==document.body.toc_id?h==document.getElementById("id_search").value?k.push('<a class="current" href="javascript:fncOpenTopic(\''+G+"', "+a+');void(0);" title="'+H+'">'):k.push("<a href=\"javascript:fncOpenTopic('"+G+"', "+
a+');void(0);" title="'+H+'">'):k.push("<a href=\"javascript:fncOpenTopic('"+G+"', "+a+');void(0);" title="'+H+'">');k.push(H);k.push("</a>");k.push("</div>");k.push('<div class="search_topic_summary">');k.push("...");k.push(m);k.push("...");k.push("</div>")}}}var z=document.getElementById("id_search_texts");z?z.value=d:(z=document.createElement("input"),z.id="id_search_texts",z.type="hidden",z.value=d,document.getElementById("id_panel_search").appendChild(z));var A=document.getElementById("page");
A?A.value=a:(A=document.createElement("input"),A.id="page",A.type="hidden",A.value=a,document.getElementById("id_panel_search").appendChild(A));document.getElementById("id_search_results").innerHTML+=k.join("");document.getElementById("id_search_results").style.backgroundColor="#fff";"pc"==fncGetLayoutMode()&&(device.tablet()||document.getElementById("id_search").select());var R=parseInt(u/v);0!=u%v&&R++;e=[];e.push(fncGetResourceByResourceId("search_result_item"));e.push(' <span style="color: #cf4e32;">'+
u+"</span> "+fncGetResourceByResourceId("search_found"));document.getElementById("id_search_info").innerHTML=e.join("");var x=document.getElementById("more");x&&x.parentNode.parentNode.removeChild(x.parentNode);a+1<=R&&(more_div=document.createElement("div"),more_div.className="more",x=document.createElement("button"),x.id="more",x.innerHTML=fncGetResourceByResourceId("search_message_more"),x.onclick=function(){fncDoSearch(parseInt(document.getElementById("page").value)+1)},document.getElementById("id_search_results").appendChild(more_div),
more_div.appendChild(x))}catch(U){}}function fncClearSearch(){document.getElementById("id_search_results")&&(document.getElementById("id_search_results").scrollTop=0,document.getElementById("id_search_results").innerHTML="")}function fncSearchResultScroll(a){document.getElementById("id_search_results").scrollTop=a}
function fncOpenTopic(a,e){try{var f=encodeURIComponent(document.getElementById("id_search").value),d=fncGetResourceByResourceId("webfaq_link_html_file_name"),b=fncGetResourceByResourceId("webfaq_url"),g="_self";if(d&&b&&-1!=(a+".html").indexOf(d)&&"local"!=asset_mode)var h="/"+b+"&manual_url="+location.pathname.split("/")[1],g="CANON_WEB_FAQ";else h="../contents/"+a+".html?search="+f;fncSetSearchResultsInfo(e);"GLOSSARY"==strWindowType&&(h+="&word=yes");"HOME"==strWindowType&&(h+="&marking=no");
window.open(h,g)}catch(n){window.open(h)}}function fncSetSearchResultsInfo(a){try{document.getElementById("id_search_results")&&"GLOSSARY"!=strWindowType&&fncSetSessionStorage("SEARCH-RESULT-SETTING",a+":"+document.getElementById("id_search_results").scrollTop+":"+$("#page").val())}catch(e){}}function fncGetChapterTitle(a){try{for(var e=c.length,f=0;f<e;f++)if(c[f].id==a)return c[f].title}catch(d){}}
function fncToggleSearchOptions(){try{document.getElementById("id_search_options")&&("none"!=document.getElementById("id_search_options").style.display.toLowerCase()?(document.getElementById("id_search_options").style.display="None",document.getElementById("id_search_options_label").innerHTML='<a href="#" onclick="fncToggleSearchOptions();" title="'+fncGetResourceByResourceId("search_options_show")+'"><img src="'+frame_path+'images/srch_opt_show.gif" title="[+]" />'+fncGetResourceByResourceId("search_options_show")+
"</a>"):(document.getElementById("id_search_options").style.display="Block",document.getElementById("id_search_options_label").innerHTML='<a href="#" onclick="fncToggleSearchOptions();" title="'+fncGetResourceByResourceId("search_options_hide")+'"><img src="'+frame_path+'images/srch_opt_hide.gif" title="[-]" />'+fncGetResourceByResourceId("search_options_hide")+"</a>"),fncOnResize())}catch(a){}}
function fncGenerateChapterCheckbox(a,e){return'<div><input class="input_chapter" type="checkbox" id="id_'+a+'" onclick="fncSelectChaptersFromBelow();" /><label for="id_'+a+'" title="'+e+'">'+e+"</label></div>"}function fncSelectChaptersFromBelow(){try{document.getElementById("id_search_options_search_scope_chapter").checked=!0}catch(a){}}
function fncSelectChaptersFromAll(){try{for(var a=document.getElementById("id_search_chapters").getElementsByTagName("input"),e=a.length,f=0;f<e;f++)a[f].checked=!1}catch(d){}}function fncGetConstantByName(a){try{return eval(constant)[0][a]}catch(e){}}function fncGetWindowWidth(){try{var a=$(window).width();$(window).height();return a}catch(e){}}
function fncGetWindowHeight(){try{var a=window;if(window.opera)var e=a.innerHeight;else document.all?e=a.document.body.clientHeight:document.getElementById&&(e=a.innerHeight);return e}catch(f){}}function fncGetCookiePrefixName(){try{return"CANON-EMANUAL-"+fncGetResourceByResourceId("pub_number")+"-"}catch(a){}}function fncSetCookie(a,e){try{document.cookie=fncGetCookiePrefixName()+a+"="+encodeURIComponent(e)+";path=/;"}catch(f){}}
function fncGetCookie(a){try{for(var e=document.cookie.split("; "),f=e.length,d=0;d<f;d++){var b=e[d].split("=");if(fncGetCookiePrefixName()+a==b[0]&&b[1])return decodeURIComponent(b[1])}return""}catch(g){}}
function fncConvertSearchText(a,e){try{var f="",d=fncGetRegExpArray();a=a.replace(/&lt;/g,"<");a=a.replace(/&gt;/g,">");a=a.replace(/&amp;/g,"&");for(var b=a.length,g=0;g<b;g++){var h=a.substring(g,g+1),n="";if(h.match(/[\u005C]/)){var k=a.substring(g+1,g+2);h.match(/([$()\-^\\\|\[\]{},:+*.?])/)&&(n=fncGetRegExpString(h+k,d),g++)}else if(h.match(/[\uFF66-\uFF9F]/)){if(k=a.substring(g+1,g+2),k.match(/[\uFF9E-\uFF9F]/)){var p=h+k,n=fncGetRegExpString(p,d);n!=p&&(g+=k.length)}}else if(h.match(/[A-Za-z0-9]/))var l=
h.charCodeAt(0)+65248,w=String.fromCharCode(l),n="("+h+"|"+w+")";else if(h.match(/[\uFF21-\uFF3A\uFF41-\uFF5A\uFF10-\uFF19]/))var s=h.charCodeAt(0)-65248,p=String.fromCharCode(s),n="("+p+"|"+h+")";""==n&&(n=fncGetRegExpString(h,d));f+=n}e&&(f=f.replace(/&/g,"&amp;"),f=f.replace(/</g,"&lt;"),f=f.replace(/>/g,"&gt;"));return f}catch(v){}}
function fncGetRegExpString(a,e){for(var f=a,d=fncGetRegExpSeparator(),b=e.length,g=0;g<b;g++){for(var h=e[g],n=h.split(d),k=n.length,p=0;p<k;p++)if(n[p]==a){f=h.replace(d,"|");f="("+f+")";break}if(f!=a)break}return f}
function fncGetRegExpArray(){var a=fncGetRegExpSeparator();return["\uff71"+a+"\u30a2","\uff72"+a+"\u30a4","\uff73"+a+"\u30a6","\uff74"+a+"\u30a8","\uff75"+a+"\u30aa","\uff76"+a+"\u30ab","\uff77"+a+"\u30ad","\uff78"+a+"\u30af","\uff79"+a+"\u30b1","\uff7a"+a+"\u30b3","\uff7b"+a+"\u30b5","\uff7c"+a+"\u30b7","\uff7d"+a+"\u30b9","\uff7e"+a+"\u30bb","\uff7f"+a+"\u30bd","\uff80"+a+"\u30bf","\uff81"+a+"\u30c1","\uff82"+a+"\u30c4","\uff83"+a+"\u30c6","\uff84"+a+"\u30c8","\uff85"+a+"\u30ca","\uff86"+a+"\u30cb",
"\uff87"+a+"\u30cc","\uff88"+a+"\u30cd","\uff89"+a+"\u30ce","\uff8a"+a+"\u30cf","\uff8b"+a+"\u30d2","\uff8c"+a+"\u30d5","\uff8d"+a+"\u30d8","\uff8e"+a+"\u30db","\uff8f"+a+"\u30de","\uff90"+a+"\u30df","\uff91"+a+"\u30e0","\uff92"+a+"\u30e1","\uff93"+a+"\u30e2","\uff94"+a+"\u30e4","\uff95"+a+"\u30e6","\uff96"+a+"\u30e8","\uff97"+a+"\u30e9","\uff98"+a+"\u30ea","\uff99"+a+"\u30eb","\uff9a"+a+"\u30ec","\uff9b"+a+"\u30ed","\uff9c"+a+"\u30ef","\uff66"+a+"\u30f2","\uff9d"+a+"\u30f3","\uff67"+a+"\u30a1","\uff68"+
a+"\u30a3","\uff69"+a+"\u30a5","\uff6a"+a+"\u30a7","\uff6b"+a+"\u30a9","\uff6f"+a+"\u30c3","\uff6c"+a+"\u30e3","\uff6d"+a+"\u30e5","\uff6e"+a+"\u30e7","\uff73\uff9e"+a+"\u30f4","\uff76\uff9e"+a+"\u30ac","\uff77\uff9e"+a+"\u30ae","\uff78\uff9e"+a+"\u30b0","\uff79\uff9e"+a+"\u30b2","\uff7a\uff9e"+a+"\u30b4","\uff7b\uff9e"+a+"\u30b6","\uff7c\uff9e"+a+"\u30b8","\uff7d\uff9e"+a+"\u30ba","\uff7e\uff9e"+a+"\u30bc","\uff7f\uff9e"+a+"\u30be","\uff80\uff9e"+a+"\u30c0","\uff81\uff9e"+a+"\u30c2","\uff82\uff9e"+
a+"\u30c5","\uff83\uff9e"+a+"\u30c7","\uff84\uff9e"+a+"\u30c9","\uff8a\uff9e"+a+"\u30d0","\uff8b\uff9e"+a+"\u30d3","\uff8c\uff9e"+a+"\u30d6","\uff8d\uff9e"+a+"\u30d9","\uff8e\uff9e"+a+"\u30dc","\uff8a\uff9f"+a+"\u30d1","\uff8b\uff9f"+a+"\u30d4","\uff8c\uff9f"+a+"\u30d7","\uff8d\uff9f"+a+"\u30da","\uff8e\uff9f"+a+"\u30dd","!"+a+"\uff01",'"'+a+"\u201d","#"+a+"\uff03","\\$"+a+"\uff04","%"+a+"\uff05","&"+a+"\uff06","'"+a+"\u2019","\\("+a+"\uff08","\\)"+a+"\uff09","\\*"+a+"\uff0a","\\+"+a+"\uff0b","\\,"+
a+"\uff0c","\\-"+a+"\uff0d","\\."+a+"\uff0e","/"+a+"\uff0f","\\:"+a+"\uff1a",";"+a+"\uff1b","<"+a+"\uff1c","="+a+"\uff1d",">"+a+"\uff1e","\\?"+a+"\uff1f","@"+a+"\uff20","\\["+a+"\uff3b","\\\\"+a+"\uffe5","\\]"+a+"\uff3d","\\^"+a+"\uff3e","_"+a+"\uff3f","`"+a+"\u2018","\\{"+a+"\uff5b","\\|"+a+"\uff5c","\\}"+a+"\uff5d","~"+a+"\uff5e","\uff61"+a+"\u3002","\uff62"+a+"\u300c","\uff63"+a+"\u300d","\uff64"+a+"\u3001","\uff65"+a+"\u30fb","\uff70"+a+"\u30fc"]}
function fncGetRegExpSeparator(){return"###Separator###"}function fncResetSearchDisplay(){try{var a=fncGetConstantByName("search_help");a&&(search_help_node=fncGetTocNodeByLinkName(a))}catch(e){}}String.prototype.trim=function(){return this.replace(/(^\s+|\s+$)/g,"")};Array.indexOf||(Array.prototype.indexOf=function(a){for(var e=this.length,f=0;f<e;f++)if(this[f]===a)return f;return-1});
function fncGetSessionStorage(a){try{if(sessionStorage){var e=sessionStorage.getItem(a);null==e&&(e="");return e}return fncGetCookie(a)}catch(f){return fncGetCookie(a)}}function fncSetSessionStorage(a,e){try{sessionStorage?sessionStorage.setItem(a,e):fncSetCookie(a,e)}catch(f){fncSetCookie(a,e)}}
(function(){var a,e,f,d,b,g,h,n;window.device={};e=window.document.documentElement;n=window.navigator.userAgent.toLowerCase();device.ios=function(){return device.iphone()||device.ipod()||device.ipad()};device.iphone=function(){return f("iphone")};device.ipod=function(){return f("ipod")};device.ipad=function(){return f("ipad")};device.android=function(){return f("android")};device.androidPhone=function(){return device.android()&&f("mobile")};device.androidTablet=function(){return device.android()&&
!f("mobile")};device.blackberry=function(){return f("blackberry")||f("bb10")||f("rim")};device.blackberryPhone=function(){return device.blackberry()&&!f("tablet")};device.blackberryTablet=function(){return device.blackberry()&&f("tablet")};device.windows=function(){return f("windows")};device.windowsPhone=function(){return device.windows()&&f("phone")};device.windowsTablet=function(){return device.windows()&&f("donottouch")};device.fxos=function(){return f("(mobile; rv:")||f("(tablet; rv:")};device.fxosPhone=
function(){return device.fxos()&&f("mobile")};device.fxosTablet=function(){return device.fxos()&&f("tablet")};device.mobile=function(){return device.androidPhone()||device.iphone()||device.ipod()||device.windowsPhone()||device.blackberryPhone()||device.fxosPhone()};device.tablet=function(){return device.ipad()||device.androidTablet()||device.blackberryTablet()||device.windowsTablet()||device.fxosTablet()};device.portrait=function(){return 90!==Math.abs(window.orientation)};device.landscape=function(){return 90===
Math.abs(window.orientation)};f=function(a){return-1!==n.indexOf(a)};b=function(a){var b;return b=RegExp(a,"i"),e.className.match(b)};a=function(a){return b(a)?void 0:e.className+=" "+a};h=function(a){return b(a)?e.className=e.className.replace(a,""):void 0};device.ios()?device.ipad()?a("ios ipad tablet"):device.iphone()?a("ios iphone mobile"):device.ipod()&&a("ios ipod mobile"):device.android()?device.androidTablet()?a("android tablet"):a("android mobile"):device.blackberry()?device.blackberryTablet()?
a("blackberry tablet"):a("blackberry mobile"):device.windows()?device.windowsTablet()?a("windows tablet"):device.windowsPhone()?a("windows mobile"):a("desktop"):device.fxos()?device.fxosTablet()?a("fxos tablet"):a("fxos mobile"):a("desktop");d=function(){return device.landscape()?(h("portrait"),a("landscape")):(h("landscape"),a("portrait"))};g="onorientationchange"in window?"orientationchange":"resize";window.addEventListener?window.addEventListener(g,d,!1):window.attachEvent?window.attachEvent(g,
d):window[g]=d;d()}).call(this);
