/* Copyright © 1998, 2012, Oracle and/or its affiliates.  All rights reserved. */
/* Version 11.1.0.0 */

var h=true,l=null,m=false;function aa(b){this.name="ApplicationError";this.message=b;this.toString=function(){return this.message}}function ba(b,c,d){throw new aa(b+" "+("Failed: "+c+(d!=l?", "+d:"")));}function ca(b,c,d){if(e!==d){var e=b[c];o(e)||(b[c]=e={});for(var f in d){b=d[f];if(o(b))ca(e,f,b);else e[f]=b}}}function da(b,c){if(b==void 0||!o(b))b={};for(var d=0,e=c.length,f;d<e;++d)if(o(f=c[d])&&b!==f)for(var g in f)b[g]=f[g];return b}
function p(b){if(b!==!!b)return da(arguments[0],[].slice.call(arguments,1));if(b){var c=arguments[1],d=[].slice.call(arguments,2);if(c==void 0||!o(c))c={};for(var e=0,f=d.length,g;e<f;++e)if(o(g=d[e])&&c!==g)for(var j in g){var k=g[j];if(o(k))ca(c,j,k);else c[j]=k}return c}return da(arguments[1],[].slice.call(arguments,2))}function q(b){var c={oa:b},d;for(d in b)c[d]=b[d];d=1;for(var e=arguments.length;d<e;++d){var f=arguments[d],g;for(g in f)c[g]=f[g]}return c}
function ea(b){return typeof b=="string"||typeof b=="object"&&b.constructor===String}function fa(b){return(typeof b=="object"||typeof b=="function"||b!=l&&b.constructor===Function)&&b!=l}function o(b){return b!=l&&typeof b=="object"&&b.constructor!==String&&b.constructor!==Number&&b.constructor!==Boolean&&b.constructor!==Array&&b.constructor!==Date}function r(){return navigator.appName=="Microsoft Internet Explorer"}var ga=["<",">",'"',"'","%",";","(",")","&","+"];
function ha(b,c){for(var d="",e=0;e<b.length;e++){ss=b.substr(e,1);var f;if(c==0)f=ss>="0"&&ss<="9"||ss>="a"&&ss<="z"||ss>="A"&&ss<="Z";else{a:{f=ga.length;for(var g=0;g<f;g++)if(ss==ga[g]){f=h;break a}f=ss=="/"?h:m}f=!f}if(f)d+=ss;else{ss=b.charCodeAt(e);a="0000"+ss.toString(16).toUpperCase();d+=(c==0?"$":"/")+a.substr(a.length-4)}}return d}function s(b,c,d,e,f){return[b,c,d==void 0?h:d,e==void 0?h:e,f==void 0?m:f]}function ia(b){return["MC."+b,b,m,m,m]}
function ja(b){var c=[],d;for(d in b)c.push(d);return c}var ka=0,t=1,v=2;function la(b,c,d,e){for(var f={},g=[],j=1,k=c.length;j<k;++j){var n=ma[c[j][0]](b,c[j],void 0),u=f[n]===void 0;if(u)f[n]=h;u&&g.push(n)}if(g.length>1){b=g.join(d);return e?b:"("+b+")"}return g[0]}var ma=[function(b,c,d){return la(b,c,"-",d)},function(b,c,d){return la(b,c,"+",d)},function(b,c){return"'"+b+"$"+ha(c[1],0)+"'"},function(b,c){return"'"+b+"$"+ha(c[1],0)+"'"+(b.length+1+c[2])}];function w(b){this.h=[b!=l?b:ka]}
w.prototype={l:function(b){this.h.push([v,b])},D:function(b){this.h.push([v,b[0]+b[1]])},X:function(b){b[1]=="*"?this.D(b):this.h.push([3,b[0]+b[1],b[0].length])},F:function(b){if(b.length){for(var c=[t],d=0,e=b.length;d<e;++d)c.push([v,b[d][0]+b[d][1]]);this.h.push(c.length==2?c[1]:c)}},G:function(b){if(b.length){for(var c=[t],d=0,e=b.length;d<e;++d)c.push([v,b[d][1]]);this.h.push(c.length==2?c[1]:c)}},W:function(b){for(var c=0,d=b.length;c<d;++c)this.h.push([v,b[c][0]+b[c][1]])},s:function(){return this.h.length>
1?this.h:l}};function na(b,c,d,e,f){this.a=b;this.pa=c;this.ja=d;this.O=e;this.Da=f}function oa(b){return new na(b[0],b[1],b[2],b[3],b[4])}function pa(b){return b.replace(/^\s+|\s+$/g,"")}function qa(b,c){if(b.length==0)return{};var d=b.substring(1),e={};if(d.length>0){d=d.split("&");for(var f,g,j=0,k=d.length;j<k;++j){g=d[j];var n=g.indexOf("=");if(n==-1){f=decodeURIComponent(g);g=""}else{f=decodeURIComponent(g.substr(0,n));g=g.substr(n+1)}e[c?f.toLowerCase():f]=g}}return e}
function ra(b,c,d,e,f,g){this.a=b;this.ha=c;this.Fa=d;this.n=e;this.M=f;this.Ea=g}function sa(b){if(!b)return b;var c=b.indexOf(".");return c!=-1?b.substr(0,c):b}function ta(b,c){for(var d=b==l?[""]:b.split(";");d.length<3;)d.push(l);var e=pa(d[0]).toUpperCase(),f=sa(e);d.shift();var g=d[0]?pa(d[0]):l;if(!g||/^[0-9@]/.test(g))d.shift();else g=l;d=d[0]?pa(d[0]).replace("_","-").toLowerCase():l;return new ra(f,e,g,d,c||l,l)}function ua(b){if(b!=l)try{return JSON.parse(b)}catch(c){}}
function va(){var b=/[^",:\{\}\[\] \t\r\n]|"""|"[ \t\r\n]+"]|[\}\]][ \t\r\n]*[:\{\[]|[\{\[][ \t\r\n]*[,:]|[,:][ \t\r\n]*[,:\}\]]/,c=/"(?:[^"\\\x00-\x1F]|\\["\\\/bnfrt]|\\u[0-9a-fA-F]{4})*"|null|true|false|-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+\-]?[0-9]+)?/g;ua=function(d){try{if(d!=l&&!b.test(d.replace(c,'""')))return eval("("+d+")")}catch(e){}}}
(function(){if(typeof window.JSON!="undefined"&&typeof(JSON.stringify&&JSON.parse)!="undefined")try{var b=JSON.stringify({Ga:"",Ia:0.1,Ja:l,Ka:h,La:m,Ma:[[{},{Oa:function(){return 1},Pa:1},new Function("return 0;"),function(){return 1},1]]});if(b=='{"a":"","b":0.1,"c":null,"d":true,"e":false,"f":[[{},{"h":1},null,null,1]]}'&&b==JSON.stringify(JSON.parse('{"a":"","b":0.1,"c":null,"d":true,"e":false,"f":[[{},{"h":1},null,null,1]]}'))&&/2345-12-23T12:34:56(?:\.789[0]*)?Z/.test(JSON.stringify(new Date(Date.UTC(2345,
11,23,12,34,56,789)))))return}catch(c){}va()})();function x(){}
x.prototype={j:l,a:"$UNKNOWN",f:{IgnoreContext:0,ContentMapType:"",ContentMap:[],GatewayTitle:"Main Player",GatewayLinksTitle:"Linked Resources",GatewayLinks:[],GatewayPages:[],GatewayRememberTab:1},N:m,k:"X",$:1,Y:m,c:0,b:[s("C","Context ID")],Z:{MA:s("MA","Application Name")},z:l,J:function(b){var c=this.b,d=[];if(b){var e,f;e=0;for(f=b.length;e<f;++e){var g=b[e];if(g!=l)if(c[e][4]){if(g.length!=0)for(var j=0;j<g.length;++j)d.push([c[e][0],g[j]])}else g!=""&&d.push([c[e][0],g])}}return d},r:1,K:function(b){for(var c=
[],d=this.z,e=0,f=b.length;e<f;++e){var g=b[e];d[g[0]].O&&c.push(g)}return c},v:function(b){return(b=this.J(b))?this.p(b):l},p:function(b){b=this.K(b);var c=new w,d=this.r;if(d==1)c.F(b);else if(d==2)c.W(b);else if(d==3){c.F(b);c.G(b)}else d==4&&c.G(b);return c.s()},da:function(){if(!this.w)this.w=this.a;if(!this.j)this.j=this.a+":"+this.k;var b={},c,d,e,f=this.b;c=0;for(d=f.length;c<d;++c){e=f[c];b[e[0]]=oa(e)}c=this.Z;for(var g in c){e=c[g];b[e[0]]=oa(e)}this.z=b}};var wa=[],xa=[],ya={},za={};
function y(b){b.da();var c=b.j;ya[c]=b;wa.push(c);c=b.a;var d=za[c];if(d)d.push(b);else{xa.push(c);za[c]=[b]}}function Aa(b){return(b=za[b]||l)?b[0]:l}function Ba(b,c){var d=za[b]||l;if(!d)return l;if(!c)return d[0];for(var e=0;e<d.length;++e){var f=d[e],g,j=c.length;for(g=0;g<j;++g)if(f.k.indexOf(c[g])==-1)break;if(g==j)return f.j}return l}
function Ca(b,c,d){a:{c=encodeURIComponent(c);b=b.split("; ");for(var e=0,f=b.length;e<f;++e){var g=b[e];if(g==c){c="";break a}var j=g.indexOf("=");if(j>0&&j==c.length&&g.substr(0,j)==c){c=g.substr(j+1);break a}}c=l}if(c==l)return d;d={};if(c){c=c.split("&");b=0;for(e=c.length;b<e;++b){f=c[b].split(":");d[decodeURIComponent(f[0])]=f.length==2?decodeURIComponent(f[1]):""}}return d}
function Da(b,c){var d=Ca(document.cookie,"HemiCookie",{});d[b]=c;if(d){var e=[],f;for(f in d)e.push(encodeURIComponent(f)+":"+encodeURIComponent(d[f]));d=e.join("&")}else d="";d=encodeURIComponent("HemiCookie")+"="+d;e=(new Date).getTime();d+="; expires="+(new Date(e-e%864E5+316224E5)).toGMTString();d+="; path=/";document.cookie=d}function Ea(b){return Ca(document.cookie,"HemiCookie",{})[b]}function Fa(b,c){this.i=b;this.j=c}
function Ga(b,c){var d;if(c&&c.length)a:{d=b;var e=c.split(".");if(d)for(var f=0,g=e.length;f<g;++f){if((d=d[e[f]])===void 0){d=void 0;break a}}else d=void 0}else d=b;return d}
Fa.prototype={I:function(b){for(var c=this.i,d=b.split("."),e=0,f=d.length;e<f;++e){var g=c[d[e]];if(g===void 0){for(;e<f;){c=c[d[e]]=g={};++e}break}c=g}return new Fa(c,this.L(b))},P:function(b){var c=Ga(this.i,b);return c?new Fa(c,this.L(b)):l},ia:function(b,c){var d=Ga(this.i,b);return d===void 0?c:d},L:function(b){return this.j?this.j+(b?"."+b:""):b},m:function(b){if(this.i==l)this.i={};p(h,this.i,b)},aa:function(b){delete this.i[b]}};var Ha={};
function Ia(b,c){this.url=b;var d=c||{};this.options=d;this.method=d.method?d.method.toUpperCase():"GET";this.t=!!d.t;this.contentType=d.contentType||"application/x-www-form-urlencoded";var e=d.B||{},f={},g;for(g in e)f[g]=e[g];this.B=f;if(d.Na)this.B._=(new Date).getTime();this.id="AjaxRequest"+(Ha.AjaxRequest===void 0?Ha.AjaxRequest=1:++Ha.AjaxRequest);d=this.B;if(d==void 0)d={};e=[];for(var j in d){f=d[j];e.push(f==void 0?j:j+"="+encodeURIComponent(String(f)))}this.C=e.join("&");if(this.method!=
"POST"&&this.C.length>0)this.url+=(this.url.indexOf("?")>=0?"&":"?")+this.C;this.body=this.method=="POST"?this.C:l;this.e=l;this.u=this.Ha=m;if(window.XMLHttpRequest)this.e=new XMLHttpRequest;else if(window.ActiveXObject&&!(this.e=new ActiveXObject("Msxml2.XMLHTTP")))this.e=new ActiveXObject("Microsoft.XMLHTTP");if(!this.e)throw Error("AjaxRequest, no transport");Ja(this)}var Ka=["Unsent","Opened","HeadersReceived","Loading","Done"];
function La(b){if(!b.u){var c=b.e.readyState,d=Ka[c];if(c==4)b.u=h;try{var e=b.options["On"+d];e&&e(b)}catch(f){b.options.o?b.options.o(b,f):ba("AjaxRequest.$OnReadyStateChange",f)}if(b.u){b.e.onreadystatechange=function(){};try{var g=b.options["On"+(Ma(b)?"Success":"Failure")];g&&g(b)}catch(j){b.options.o?b.options.o(b,j):ba("AjaxRequest.$OnReadyStateChange","IE memory leak code",j)}}}}
function Ja(b){try{b.e.onreadystatechange=function(){La(b)};b.e.open(b.method,b.url,b.t);Na(b);b.e.send(b.body);b.t||La(b)}catch(c){b.options.o?b.options.o(b,c):ba("AjaxRequest.$DoRequest",c)}}
function Na(b){var c={Accept:"text/plain, text/javascript, text/html, text/xml, application/xml, */*"};if(b.method=="POST"){if(b.contentType)c["Content-type"]=b.contentType+"; charset=UTF-8";if(b.e.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005)c.Connection="close"}if(b.options.Q)for(var d in b.options.Q)c[d]=b.options.Q[d];for(d in c)b.e.setRequestHeader(d,c[d])}function Ma(b){var c;try{c=b.e.status||0}catch(d){c=0}return!c||c>=200&&c<300}
var Oa={SmartHelp:{HelpKey:"F9",ContentMap:[]}},Pa=l,z=l,Qa=m,Ra=m,Sa=l;function Ta(b){var c=Sa[b];if(c===void 0){c=Pa+b;var d={};d.t=m;c=new Ia(c,d);c=ua(Ma(c)?c.e.responseText:l);Sa[b]=c||l}return c}
function A(b){var c=z.ia(b);if(c===void 0){if(!(c=z.P(b)))a:{if(/^Applications\./.test(b)){var d=b.split(".")[1],e,f="Applications."+d;c=z.I(f);var g=Aa(d);c.m(g?g.f:x.prototype.f);e=e!=l?e+"configdata.json.js":d.toLowerCase()+"/hemi/configdata.json.js";if(e=Ta(e))(e=Ga(e,f))&&c.m(e)}else if(/^SmartHelp(?:\..+)?$/.test(b))Ua();else if(/^PublishData(?:\..+)?$/.test(b)){Ua();if(!Ra){Ra=h;(e=Ta("publishdata.json.js"))&&z.I("PublishData").m(e)}}else{c=l;break a}c=z.P(b)}return(b=c)?b.i:void 0}return c}
function Ua(){if(!Qa){Qa=h;var b=z;b.m(Oa);var c=Ta("stdhemi/configdata.json.js");if(c){Ra=h;b.m(c);b.aa("Info")}}}var B=[],C=[],Va=1,Wa="Linked Resources",Xa="Main Player",Ya=0,Za=0,$a=l,ab={"*":"../../"};B.push({Title:Xa,URL:"",Type:1});var D=l,E=l,F=m;function bb(b){var c=ab["*"];if(F)for(var d=0,e=E;d<e.length;d++){if(e[d].Application==D)if(e[d].Language==b)c=e[d].Url}else{d=0;for(e=E;d<e.length;d++)if(e[d].Language==b)c=e[d].Url}if(c.lastIndexOf("/")!=c.length-1)c+="/";return c}
function cb(){var b=0;if(window.innerWidth)b=window.innerWidth;else if(document.documentElement.clientWidth)b=document.documentElement.clientWidth;else if(document.body.clientWidth)b=document.body.clientWidth;return b}function db(){var b=0;if(window.innerHeight)b=window.innerHeight;else if(document.documentElement.clientHeight)b=document.documentElement.clientHeight;else if(document.body.clientHeight)b=document.body.clientHeight;return b}var eb={};
if(typeof window.Variables!="object")window.Variables={};var G="../../",fb="",gb="",hb="",H="",ib="",I="",jb="",J=-1,kb="",K,lb,mb;function nb(){var b=Ea("hemiparamtest");if(typeof b!="undefined"&&b!="undefined")Za=parseInt(b)}function ob(){nb();if(B.length>1||C.length>0||Za)return h;return m}function pb(){for(var b=0;b<B.length;b++)if(B[b].Type==1)return b;return-1}
function qb(){J=0;var b=Ea("lastactivetabindex");if(typeof b!="undefined"&&b!="undefined")J=parseInt(b);b=Ea("lastactivetabtitle");if(typeof b!="undefined"&&b!="undefined")kb=b;for(b=0;b<B.length-1;b++)B[b].global=h;for(b=0;b<C.length;b++)C[b].global=h}
function rb(b){var c=document.getElementById("eplayer");if(!c){c=document.createElement("iframe");c.className="eframe";c.setAttribute("style","height:0; width:0");c.setAttribute("frameBorder","0");c.setAttribute("id","eplayer");document.body.appendChild(c)}sb();document.getElementById("eplayer").setAttribute("src",b);gb=tb(location.href,b);nb();if(fb=="exactmatch")if(Za){K=window.open("context/context.html?exactmatch","_upktestpage_");if(!lb){lb=h;mb=setInterval(function(){if(ub(K)){clearInterval(mb);
K.ShowTestPage({GatewayUrl:window.location.href,CurrentApplication:I,Mode:fb,CurrentURL:gb,CurrentLanguage:jb,CurrentSearchExpression:H,CurrentSE:hb,HelpUrl:$a})}},10)}}}function ub(b){if(b.document.getElementById("dheader")&&b.document.getElementById("dcontent"))return h;return m}
function vb(b){qb();Va||(J=0);var c="<div id='tabEars' class='tabEars'><ul id='tabArea' class='tabArea'></ul></div>";c+="<div id='tabPages' class='tabPages'>";document.body.innerHTML=c;setTimeout(function(){for(var d=1;d<B.length;d++){var e=B[d].URL;if(B[d].Type==4){wb(d,l,e+location.search);$a=B[d].URL}else if(B[d].Type==2)wb(d,l,e+"index.html"+H);else if(B[d].Type==3)if(e.indexOf("/index.html")==-1){if(e.lastIndexOf("/")!=e.length-1)e+="/";e+="index.html";wb(d,l,e)}}if(Za==1&&pb()!=-1){d=G+"stdhemi/context/";
if(I&&Aa(I).N)d="context/";B.push({Title:"Test Data",URL:d+"context.html?exactmatch",Type:0})}C.length>0&&B.push({Title:Wa,URL:"",Type:7});d=pb();if(d>=0){wb(d,Xa,b);B[d].root=ib}if(r())if(d=document.getElementById("tabEars"))d.className="tabEars_IE";for(d=0;d<B.length;d++){xb(d);if(B[d].Type==7)yb();else{e=d;var f=document.getElementById("tab"+e);if(f==l){f=document.createElement("iframe");f.className="eframe";f.style.height=0;f.style.width=0;f.setAttribute("frameBorder","0");f.setAttribute("id",
"tab"+e);document.getElementById("tabPages").appendChild(f)}}}if(J<B.length){if(B[J].Title!=kb)J=0}else J=0;gb=tb(location.href,B[pb()].URL);zb(l,J)},100)}function Ab(b,c){for(var d=0;d<c.length;d++)if(b.toLowerCase()==c[d].toLowerCase())return d;return-1}
function sb(){if(J>-1){if(J>-1){Bb(J);if(document.getElementById("tabEars")){var b=Cb();if(typeof b!="undefined"&&b.length>1){b=b[b.length-1];b=b.offsetLeft+b.offsetWidth;document.getElementById("tabEars").style.width=b>cb()?b+"px":cb()+"px"}}}J==-1&&Db(document.getElementById("eplayer"))}else if(b=document.getElementById("eplayer")){var c=cb();b.style.height=db()+"px";b.style.width=c+"px"}return m}
function tb(b,c){if(c.indexOf("../")==-1)return c;var d="";for(d=b.substring(0,b.lastIndexOf("/"));/^\.\./.test(c);){d=d.substring(0,d.lastIndexOf("/"));c=c.substring(3)}return d+"/"+c}var Eb=sb,L=window;if(L===String(L))L=document.getElementById(L);if(L.addEventListener)L.addEventListener("resize",Eb,m);else L.attachEvent&&L.attachEvent("onresize",Eb);window.GatewayHelper={};window.GatewayHelper.SetTitleFromThePlayer=function(b){document.title=b;if(ob())if(J>-1)B[J].browsertitle=b};
var Fb=300,M=l;function Gb(b){if(r())b=event;var c=document.getElementById("tabMenu");if(c){M&&clearTimeout(M);c.style.width=Fb;var d=r()?b.srcElement.getBoundingClientRect():b.target.getBoundingClientRect();b=parseInt(d.left);d=parseInt(d.bottom);if(r()){d-=2;b-=2}c.style.top=d+"px";c.style.left=b-1+document.documentElement.scrollLeft+"px";c.style.visibility="visible"}}function Hb(){if(document.getElementById("tabMenu")!=l)document.getElementById("tabMenu").style.visibility="hidden"}
function yb(){if(document.getElementById("tabMenu")==l){var b=document.createElement("div");b.id="tabMenu";b.className="popupmenu";b.onmouseover=function(){M&&clearTimeout(M)};b.onmouseout=function(){M=setTimeout(Hb,1E3)};document.body.insertBefore(b,l);for(b=0;b<C.length;b++)Ib(b);for(var c=b=0,d=document.getElementById("tabMenu").childNodes;c<d.length;c++)if(d[c].tagName.toLowerCase()=="a"){var e=parseInt(d[c].getBoundingClientRect().left),f=parseInt(d[c].getBoundingClientRect().right);if(f-e>b)b=
f-e}Fb=b;Hb()}}
function Ib(b){var c=C[b].URL;if(C[b].Type==4){var d=location.search,e=d.indexOf("&_refresh_=1");if(e>0)d=d.substr(0,e);c+=d;$a=c}else if(C[b].Type==2)c+=H;else if(C[b].Type==3){d=c;if(d.indexOf("/index.html")==-1){if(d.lastIndexOf("/")!=d.length-1)d+="/";d+="index.html";c=d}}d=document.getElementById("tabMenu");e=document.createElement("a");e.onclick=function(){window.open(c)};e.className=C[b].global?"global":"local";e.href="javascript:void(null);";e.appendChild(document.createTextNode(C[b].Title));d.appendChild(e)}
function xb(b){var c=B[b].Type==7,d=document.getElementById("tabArea"),e=document.createElement("li");e.className="tab";document.createElement("nobr");var f=document.createElement("a");f.className=B[b].global?"global":"local";f.href="javascript:void(null);";if(!c)f.onclick=function(g){zb(g,b)};if(c){f.onmouseover=function(g){Gb(g)};f.onmouseout=function(){M=setTimeout(Hb,1E3)};f.onclick=function(g){Gb(g)}}f.appendChild(document.createTextNode(B[b].Title+(c?" \u25bc":"")));e.appendChild(f);d.appendChild(e)}
function wb(b,c,d){if(typeof c=="string")B[b].Title=c;if(typeof d=="string")B[b].URL=d}function Bb(b){(b=document.getElementById("tab"+b))&&Db(b)}function Db(b){var c=10;if(b.id&&b.id=="eplayer")c=0;else{var d=document.getElementById("tabEars");if(d){d=d.getBoundingClientRect();c+=d.bottom-d.top}}d=cb();b.style.height=db()-c+"px";b.style.width=d-0+"px"}
function zb(b,c){if(r())b=event;if(b&&b!=l){var d=r()?b.srcElement:b.target;d&&d.blur()}d=document.getElementById("tab"+c);if(d!=l){if(typeof B[c].url_is_set=="undefined"){d.setAttribute("src",B[c].URL);B[c].url_is_set=1}d.style.display="block"}Bb(c);if(J!=c)document.getElementById("tab"+J).style.display="none";if(B[c].Title=="Test Data"){K=document.getElementById("tab"+c).contentWindow;if(!lb){lb=h;mb=setInterval(function(){if(ub(K)){clearInterval(mb);K.ShowTestPage({GatewayUrl:window.location.href,
CurrentApplication:I,Mode:fb,CurrentURL:gb,CurrentLanguage:jb,CurrentSearchExpression:H,CurrentSE:hb,HelpUrl:$a});Jb(c)}},10)}}else Jb(c)}
function Jb(b){var c=Cb();c[J].className="tab";c[b].className="activeTab";J=b;if(B[b].Type<=3){ib=B[b].root;b=B[b].browsertitle;document.title=typeof b=="string"?b:""}else{document.title="";b=location.href.lastIndexOf("/");if(b>0){b=location.href.lastIndexOf("/",b-1);if(b>0){b=location.href.lastIndexOf("/",b-1);if(b>0)ib=location.href.substr(0,b+1)}}}Da("lastactivetabindex",J);Da("lastactivetabtitle",B[J].Title)}
function Cb(){for(var b=[],c=0,d=document.getElementById("tabArea").childNodes;c<d.length;c++)d[c].nodeName.toLowerCase()=="li"&&b.push(d[c]);return b}function Kb(){var b=G+"index.html";ob()?vb(b):rb(b)}function Lb(){r()&&window.open("","_parent","");window.close()}function Mb(){this.a="AGILE";this.c=1;this.b=[s("C","ContextID")]}Mb.prototype=q(x.prototype,{d:void 0});y(new Mb);function Nb(){this.a="AGILECNM";this.c=1;this.b=[s("H","Help")]}Nb.prototype=x.prototype;y(new Nb);
function Ob(){this.a="APP";this.c=1;this.b=[s("C","Context ID",h,h,h)]}Ob.prototype=q(x.prototype,{d:void 0});y(new Ob);function Pb(){this.a="CAUNISD";this.c=1;this.b=[s("H","Help File")]}Pb.prototype=q(x.prototype,{d:void 0});y(new Pb);function Qb(){this.a="CH005002";this.c=1;this.b=[s("C","Context ID",m)];this.r=4}
Qb.prototype=q(x.prototype,{Ba:function(b){return!!b.q.GetOndemandContextID},xa:function(b){var c;a:{b=b.q;try{if(b.GetOndemandContextID){c=b.GetOndemandContextID.call(b);break a}}catch(d){}c=void 0}return c&&c.length?[c]:l}});y(new Qb);function Rb(){this.a="CLARITY";this.c=3;this.b=[s("T","Topic")];this.r=3}Rb.prototype=q(x.prototype,{d:void 0});y(new Rb);function Sb(){this.a="FRONT";this.c=2;this.b=[s("P","ProgramName"),s("T","TransactionName"),s("S","ScreenName")]}
Sb.prototype=q(x.prototype,{p:function(b){b=this.K(b);for(var c=new w(t),d=0,e=b.length;d<e;++d){var f=b[d];if(f[1]!="*")f[0]=="S"?c.X(f):c.D(f)}return c.s()},d:void 0});y(new Sb);function N(){this.k="S"}N.prototype=q(x.prototype,{f:p({},x.prototype.f,{MaxSearch:80,MaxHit:200,Threshold:30,MinScore:10}),v:function(){return l},d:void 0});function Tb(){this.k="S";this.a="FUSION"}Tb.prototype=q(N.prototype,{f:p({},N.prototype.f,{Threshold:75,MinScore:50}),d:void 0});y(new Tb);
function Ub(){this.a="FUSION";this.b=[s("C","Context ID",h,h,h)]}Ub.prototype=q(x.prototype,{d:void 0});y(new Ub);function Vb(){this.a="HYPERION";this.c=2;this.b=[s("H","Help"),ia("M")];this.Ra=l}Vb.prototype=q(x.prototype,{d:void 0});y(new Vb);function Wb(){this.a="JDEWORLD"}Wb.prototype=x.prototype;y(new Wb);function Xb(){this.a="KPATH";this.c=1;this.b=[s("H","Help")]}Xb.prototype=x.prototype;y(new Xb);function Yb(){this.a="MSCRM3";this.c=1}Yb.prototype=q(x.prototype,{d:void 0});y(new Yb);
function Zb(){this.a="ORACLE";this.c=2;this.b=[s("C","ContextID")];this.r=3}Zb.prototype=q(x.prototype,{f:p({},x.prototype.f,{ORACLE_Version:"R12"}),d:void 0});y(new Zb);function $b(){this.a="ORACLETM";this.c=1;this.b=[s("H","Help"),s("S","Search"),s("A","ActiveTab")]}$b.prototype=q(x.prototype,{});y(new $b);function ac(){this.a="PSENTONE";this.c=2;this.b=[s("C","ContextID"),s("P","PreContextID"),s("W","WideContextID")]}ac.prototype=q(x.prototype,{d:void 0});y(new ac);
function bc(){this.a="PST8";this.c=4;this.b=[s("P","Page"),ia("M")]}bc.prototype=q(x.prototype,{p:function(b){var c=new w;if(b.length>=1){var d=b[0][1];b=b[0][0];var e=m,f=parseInt(d);if(!isNaN(f))if(f.toString()==d)e=h;if(d=="(search)")e=h;d!=""&&c.l(b+d);e&&c.l(b+"[SEARCH]")}return c.s()},d:void 0});y(new bc);function cc(){this.a="PRIMAP6";this.c=1;this.b=[s("H","Help")];this.$=2;this.Y=h}cc.prototype=q(x.prototype,{d:void 0});y(new cc);function dc(){this.k="S";this.a="SAPNWEP"}
dc.prototype=q(N.prototype,{f:p({},N.prototype.f,{}),d:void 0});y(new dc);function ec(){this.a="SAPNWEP";this.w="FRONT";this.c=1;this.b=[s("I","Iview Name"),ia("F")];this.language=this.na=this.U=l;this.H=["urRMStep urRMStepAct","urRMStep urRMStepStdSel","urRMStep urRMRoundTripSel"]}
ec.prototype=q(x.prototype,{ta:function(b){b=b.top;if(typeof b!="undefined"){if(typeof b.workArea!="undefined"&&b.workArea){var c=b.workArea;if(typeof c.iviewId!="undefined"&&c.iviewId){c=c.iviewId;var d=c.lastIndexOf("/");if(d>0){this.U=c.substr(d+1,c.length-d-1);return}}}for(var e=0;e<b.frames.length;e++){var f=b.frames[e];if(typeof f!="undefined"&&f)if(typeof f.document!="unknown")if(typeof f.pageSupport!="undefined"&&f.pageSupport){c=f.pageSupport;if(typeof c.workArea!="undefined"&&c.workArea){c=
c.workArea;if(typeof c.id!="undefined"&&c.id){c=c.id;d=c.lastIndexOf("/");if(d>0){this.U=c.substr(d+1,c.length-d-1);if(typeof f.frames!="undefined")for(c=0;c<f.frames.length;c++){var g;a:{d=f[c];try{if(fa(d)&&fa(d.location)&&ea(d.location.href)){g=h;break a}}catch(j){}g=m}if(g){d=f[c].document.getElementsByTagName("TD");for(var k=0;k<d.length;k++)for(var n=0,u=this.H.length;n<u;n++)if(d[k].className.length>0&&d[k].className==this.H[n]){this.na=eb.qa.va(d[k]);break}}}}}}}}}},wa:function(b){if(typeof b==
"object"&&b!=l){b=b.top;if(typeof b!="undefined"){if(typeof b.ur_language!="undefined"&&b.ur_language.length>0){var c=b.ur_language;if(c.length>0){if(c.length>2)c=c.substr(0,2);this.language=c.toUpperCase();return}}for(var d=0;d<b.frames.length;d++){c=b.frames[d];if(typeof c!="undefined"&&c!=l)if(typeof c.document!="unknown")if(typeof c.ur_language!="undefined"&&c.ur_language.length>0){c=c.ur_language;if(c.length>0){if(c.length>2)c=c.substr(0,2);this.language=c.toUpperCase();break}}}}}},d:void 0});
y(new ec);function fc(){this.a="SIEBEL7";this.c=1;this.b=[s("S","Screen"),s("V","View"),s("A","Applet"),s("T","Type")];this.N=h}
fc.prototype=q(x.prototype,{f:p({},x.prototype.f,{SIEBEL7_Direct:1}),p:function(b){function c(j,k){if(k.length==1)return[v,j+k[0]];for(var n=[t],u=0,S=k.length;u<S;++u)n.push([v,j+k[u]]);return n}for(var d={S:{},V:{},A:{},T:{}},e=0,f=b.length;e<f;++e){var g=b[e];d[g[0]][g[1]]=h}b=ja(d.S);e=ja(d.V);d=ja(d.A);f=[t];if(d.length)f.push(c("A",d));else if(b.length&&e.length==0)f.push(c("S",b));else e.length&&f.push(c("V",e));return f.length>1?f:l},ya:function(b){var c=b.q,d=Recognition.Aa(b);if(d.IsOpenUI&&
d.IsOpenUI())this.R=h;if(!this.R)if(d.SWEIsHighInteract)return this.la(b);if(this.R)return this.ma(c);b=this.ka(c,d);c=[];if(b){var e;d=0;for(e=b.g.length;d<e;++d)c.push(["V",b.g[d]]);d=0;for(e=b.applets.length;d<e;++d)c.push(["A",b.applets[d]])}return c.length?c:l},ua:function(){return this.ra},Ca:function(){return this.Qa},sa:function(){var b=win.location.href,c=b.indexOf("/scripts/SSCalJSWrapperUI.htm");if(c>-1){var d=b.lastIndexOf("/",c-2);if(d>-1){b=b.substr(d+1,c-d-1);if(b==parseInt(b))return b.toString()}}return"-1"},
ka:function(b,c){var d={applets:[],g:[]},e=l;if(c._sweclient&&c._sweclient._sweview)e=c._sweclient._sweview.document;else if(c._sweclient&&c._sweclient._swecontent&&c._sweclient._swecontent._sweview)e=c._sweclient._swecontent._sweview.document;else if(c.length==0)e=b.document;if(!e)return l;var f=e.forms;if(typeof f!="undefined"&&f.length>0){var g=e.getElementsByName("SWEApplet");if(typeof g!="undefined"&&g.length>0&&g.length<=f.length)for(var j=0;j<g.length;j++)d.applets.push(g[j].value);e=e.getElementsByName("SWEView");
if(typeof e!="undefined"&&e.length>0&&e.length<=f.length)for(var k=0;k<e.length;k++)d.g.push(e[k].value)}f={};for(e=0;e<d.applets.length;e++)if(d.applets[e].length>0)f[d.applets[e]]=d.applets[e];d.applets=[];for(j in f)d.applets.push(f[j]);f={};for(j=0;j<d.g.length;j++)if(d.g[j].length>0)f[d.g[j]]=d.g[j];d.g=[];for(k in f)d.g.push(f[k]);return d},ma:function(b){var c=[];c.push(["T","OpenUI"]);var d=l,e=l;if(b.SiebelApp&&b.SiebelApp.S_App&&b.SiebelApp.S_App.GetMainView){d=b.SiebelApp.S_App.GetMainView();
e=d.GetName()}var f=e.toUpperCase();f=f.replace(/ /g,"_");f=f.replace(/\/\//g,"_");if(this.ea(e)){c.push(["V",f]);return c}if(this.fa(b)){if(this.ga(b)){c.push(["S","[SITEMAP]"]);return c}c.push(["V",f]);return c}c.push(["V",f]);if(b.SWEApplets){b=b.SWEApplets;for(f=0;f<b.length;f++)if(b[f].ViewName==e){var g=b[f].Name,j=m;if(d&&d.GetAppletMap){var k=d.GetAppletMap(),n;for(n in k)if(n==g){j=h;break}}if(j){g=g.toUpperCase();g=g.replace(/ /g,"_");g=g.replace(/\/\//g,"");c.push(["A",g])}}}return c},
fa:function(b){b=b.document.getElementsByTagName("TD");for(var c=[],d=0;d<b.length;d++)if(b[d].className=="AppletMenu")for(var e=b[d].children,f=0;f<e.length;f++)if(e[f].className=="miniBtnUICTop")for(var g=e[f].children,j=0;j<g.length;j++)g[j].className=="miniBtnUIC"&&c.push(g[j]);return!(c.length>0)},ga:function(b){var c=m;b=b.document.getElementsByTagName("SPAN");for(var d=0;d<b.length;d++){var e=b[d].className;if(e=="screenName1"||e=="screenName2"||e=="viewName"){c=h;break}}return c},ea:function(b){if(b==
"HI Activity Calendar View")return h;return m},la:function(b){var c=(void 0)();if(!c)return l;var d=[],e=c.split("'");c=0;for(var f=e.length;c<f;++c){var g=e[c];g.length>9&&/^SIEBEL7\$/.test(g)&&d.push([g.substr(8,1),g.substr(9)])}try{var j=Recognition.ba(b)[0].q;e=l;if(j&&j._swe&&j._swe._sweapp&&j._swe._sweapp.S_App)if(j._swe._sweapp.S_App.GetMainView()){var k=j._swe._sweapp.S_App.GetMainView().GetName();if(k)if(k&&k.indexOf("Explorer View")!=-1)e=h}if(e){var n=this.ca(b);if(n.length>0)for(c=0;c<
n.length;c++)d.push(["A",n[c]])}}catch(u){Trace("App.SIEBEL7.GetPartsHighInteract exception",u)}return d.length?d:l},ca:function(b){var c=Recognition.ba(b);b=[];for(var d=0;d<c.length;++d){var e=c[d],f=e.q;if(f){var g=f.name;e=Recognition.za(e).name;g.indexOf("Applet")!=-1&&e.indexOf("_svf")!=-1&&b.push(f)}}c=[];if(b.length>0)for(d=0;d<b.length;d++){f=[];g=m;e=b[d].document.getElementsByTagName("DIV");for(var j=0;j<e.length;j++){var k=e[j],n=k.getAttribute("id");if(n.indexOf("s_S_A")!=-1){if(k=k.getAttribute("onclick").toString())if(k.indexOf("HandleAppletClick")!=
-1){n="";if(k.length!=0){var u=k.length,S=k.indexOf('HandleAppletClick("'),Z=0;if(S!=-1){Z=k.indexOf('")',S);if(Z==-1)Z=u;if(Z!=-1)n=k.substr(S+19,Z-S-19)}}k=n;k=k.toUpperCase();k=k.replace(/ /g,"_");k=k.replace(/\/\//g,"");f.push(k)}}else if(n.indexOf("axtreectrl")!=-1)g=h}if(g)for(g=0;g<f.length;g++)c.push(f[g])}return c},d:void 0});y(new fc);function gc(){this.a="SIEBELOD";this.c=1;this.b=[s("V","View")]}gc.prototype=q(x.prototype,{d:void 0});y(new gc);function hc(){this.a="STATESTR"}
hc.prototype=q(x.prototype,{v:function(b){b=b[0];var c=this.b[0][0],d=new w;d.l(b);d.l(c+b);d.l(c+c+b);return d.s()}});y(new hc);function ic(){this.k="S";this.a="STDHTML"}ic.prototype=q(N.prototype,{d:void 0});y(new ic);G="../";var jc;if(typeof window.Touch!="undefined"&&navigator.userAgent.indexOf("Safari")>=0)jc=h;
if(!jc)if(window.location.hash.substr(1)!="done"){var kc=window.open((ea(void 0)&&(void 0).length>0?void 0:window.location.href)+"#done","oraupk_gateway");kc&&kc.focus();window.setTimeout(Lb,100)}else{for(var lc=h,mc=window.location.search.split("&"),nc=0;nc<mc.length;nc++)if(mc[nc]=="_refresh_=1"){lc=m;break}if(lc)window.location.search+="&_refresh_=1";window.focus()}
var oc=qa(location.search,h).udv,O=function(b){function c(k,n,u){if(k)return k;if(n=="namespace")return u;if(n=="namespace-p")return decodeURIComponent(u);return l}function d(k,n,u){if(k)return k;if(n=="context")return u;if(n=="context-p")return decodeURIComponent(u);return l}var e=l,f=l,g,j;for(g in b)if(/^upk-/.test(g)){j=b[g];g=g.substr(4);e=c(e,g,j);f=d(f,g,j);if(e!=l&&f!=l)break}if(e==l||f==l)for(g in b){j=b[g];e=c(e,g,j);f=d(f,g,j);if(e!=l&&f!=l)break}return e||f?ta(e,f):l}(qa(location.search));
if(O==l)Kb();else{var pc=l;pc=O.ha;var qc=!O.n||!O.n.length?l:{};if(O.n&&O.n.length)qc.Language=O.n;var rc=l,sc=Ba(O.a,["X"]),tc=sc?ya[sc]||l:l;if(tc){if(O.M){var uc;var vc=O.M,wc;if(vc==l)wc=l;else{var xc;if(tc.b[0][4]){for(var yc=vc.split(";"),zc=[],Ac=0,Bc=yc.length;Ac<Bc;++Ac){var Cc=yc[Ac];Cc&&zc.push(decodeURIComponent(Cc))}zc.sort();xc=zc}else xc=decodeURIComponent(vc);wc=xc}uc=wc;rc=[uc]}var Dc=pc,Ec=rc,P=sa(Dc),Fc=Ba(P,["X"]),Gc=Fc?ya[Fc]||l:l;if(Gc){var Hc=Gc.w,Ic=l,Q=l;if(Ec){Ic=Gc.J(Ec);
Q=Gc.v(Ec);if(P=="APP"&&Dc!=P){Ic.push(["MA",Dc]);var R=Q;if(R){if(R.length==2&&(R[0]==t||R[0]==ka))R=R[1];var Jc=[v,"MA"+Dc];if(R[0]==t)R.push(Jc);else R=[t,R,Jc];Q=R}else Q=l}}var Kc=Q?ma[Q[0]](Hc,Q,h):l,Lc;var T=Ic;if(!T||!T.length)Lc=l;else{for(var Mc=Gc.z,Nc=[],Oc=0,Pc=T.length;Oc<Pc;++Oc){var Qc=Mc[T[Oc][0]];if(Qc.O)Nc.push([Qc.ja?T[Oc][0]:"",T[Oc][1]])}Lc=Nc.length?Nc:l}var Rc=Lc;try{window.focus();I=P;var Sc=qc&&qc.Language;jb=Sc;var Tc=G;Pa=l;z=new Fa({});Ra=Qa=m;Sa={};Pa=Tc;D=E=l;F=m;D=
P;E=(F=m)?A("SmartHelp.ContentMap"):A("Applications."+D+".ContentMap");if(!F){var Uc=A("Applications."+D+".GatewayPages");if(Uc)for(var Vc=0;Vc<Uc.length;Vc++){var U={};U.Title=Uc[Vc].Title;U.URL=Uc[Vc].Url;U.Type=Uc[Vc].Type;if(U.Type==1||U.Type==2||U.Type==6)if(U.URL.lastIndexOf("/")!=U.URL.length-1)U.URL+="/";U.root=U.URL;B.push(U)}var Wc=A("Applications."+D+".GatewayLinks");if(Wc)for(var Xc=0;Xc<Wc.length;Xc++){var V={};V.Title=Wc[Xc].Title;V.URL=Wc[Xc].Url;V.Type=Wc[Xc].Type;if(V.Type==1||V.Type==
2||V.Type==6)if(V.URL.lastIndexOf("/")!=V.URL.length-1)V.URL+="/";V.root=V.URL;C.push(V)}var Yc=A("Applications."+D+".GatewayTitle");if(Yc)Xa=Yc;var Zc=A("Applications."+D+".GatewayLinksTitle");if(Zc)Wa=Zc;var $c=A("Applications."+D+".GatewayRememberTab");if($c<2&&$c>-1)Va=$c;var ad=A("Applications."+D+".IgnoreContext");if(ad<2&&ad>-1)Ya=ad}var bd=[];!Sc||!Sc.length||bd.push(Sc);hb=Kc;fb="exactmatch";var cd="APP="+encodeURIComponent(Hc)+"&CTXEX="+Kc;if(Rc&&Rc.length){for(var dd=cd,ed=[],fd=0,gd=Rc.length;fd<
gd;++fd)ed.push(Rc[fd][0]+":"+encodeURIComponent(Rc[fd][1]));cd=dd+("&CTX="+ed.join(";"))}if(oc!=l)cd+="&UDV="+oc;H=Kc==l?"":"?SU="+ha(cd,1);var W=[];if(F)for(var hd=0,id=E;hd<id.length;hd++)id[hd].Application==D&&W.push(id[hd].Language);else for(var jd=0,kd=E;jd<kd.length;jd++)W.push(kd[jd].Language);for(var ld,md=[],nd=0;nd<W.length;nd++)W[nd].length==5?md.push(W[nd].substr(0,2)):md.push(W[nd]);for(var X=ab["*"],od=m,Y=-1,pd=0;pd<bd.length;pd++){var $=bd[pd];Y=Ab($,W);if(Y>-1){X=bb(W[Y]);od=h;break}if($.length==
5){$=$.substr(0,2);Y=Ab($,W);if(Y>-1){X=bb(W[Y]);od=h;break}}Y=Ab($,md);if(Y>-1){X=bb(W[Y]);od=h;break}}od||(X=bb("*"));if(G=="../"&&X&&X.substr(0,6)=="../../")X=X.substr(3);ib=ld=X;var qd=ld+"index.html"+(!Ya?H:"");ob()?vb(qd):rb(qd)}catch(rd){}}else Kb()}else Kb()};
