var __AAI;if(typeof __AAI=="undefined"||!__AAI){__AAI={}}if(typeof __AAI.App=="undefined"||!__AAI.App){__AAI.App={};__AAI.App.protocol="http";__AAI.App.domain="amplifiedanalytics.com";__AAI.App.subdomain="svc2";__AAI.App.port="";__AAI.App.context="";__AAI.App.fullPath=__AAI.App.protocol+"://"+__AAI.App.subdomain+(__AAI.App.subdomain==""?"":".")+__AAI.App.domain+(__AAI.App.port==""?"":":"+__AAI.App.port)+"/"+__AAI.App.context}document.domain=__AAI.App.domain;if(typeof __AAI.Widgets=="undefined"||!__AAI.Widgets){__AAI.Widgets={}}if(!__AAI.Widgets.initialized){__AAI.Widgets.addCSS=function(c){var a=document.getElementsByTagName("head")[0];var b=document.createElement("style");b.type="text/css";if(b.styleSheet){b.styleSheet.cssText=c}else{rules=document.createTextNode(c);b.appendChild(rules)}a.appendChild(b)};__AAI.Widgets.gId=function(a){return document.getElementById(a)};__AAI.Widgets.getWindowWidth=function(b){var a;if(typeof(b.innerWidth)=="number"){a=b.innerWidth}else{if(b.document.documentElement&&(b.document.documentElement.clientWidth||b.document.documentElement.clientHeight)){a=b.document.documentElement.clientWidth}else{if(b.document.body&&(b.document.body.clientWidth||b.document.body.clientHeight)){a=b.document.body.clientWidth}}}return a};__AAI.Widgets.getWindowHeight=function(b){var a;if(typeof(b.innerWidth)=="number"){a=b.innerHeight}else{if(b.document.documentElement&&(b.document.documentElement.clientWidth||b.document.documentElement.clientHeight)){a=b.document.documentElement.clientHeight}else{if(b.document.body&&(b.document.body.clientWidth||b.document.body.clientHeight)){a=b.document.body.clientHeight}}}return a};__AAI.Widgets.initialized=true};
