var agt=navigator.userAgent.toLowerCase();var atl_vei_is_safari=agt.indexOf("safari")!=-1;var atl_vei_is_ie=agt.indexOf("msie")!=-1;var atl_vei_is_ie6under=false;if(atl_vei_is_ie){atl_vei_is_ie6under=(agt.indexOf("msie 6")!=-1||agt.indexOf("msie 5")!=-1||agt.indexOf("msie 4")!=-1)}var atl_vei_targetDiv;var atl_vei_siteUrl;var atl_vei_cachedFlag;var atl_vei_styles_id="atlInsertStyles";var atl_vei_script_id="atlViewExtensionsInsert";var atl_vei_querystring="";function atlVeiShowElement(a){for(i=0;i<document.getElementsByTagName(a).length;i++){obj=document.getElementsByTagName(a)[i];if(!obj||!obj.offsetParent){continue}if(atl_vei_is_ie&&(obj.readyState==4)&&(obj.tagName.toUpperCase()=="OBJECT")){continue}obj.style.visibility=""}}function atlVeiHideElement(elmID,overDiv){for(i=0;i<document.getElementsByTagName(elmID).length;i++){obj=document.getElementsByTagName(elmID)[i];if(!obj||!obj.offsetParent){continue}objLeft=obj.offsetLeft-overDiv.offsetParent.offsetLeft;objTop=obj.offsetTop;objParent=obj.offsetParent;while((objParent.tagName.toUpperCase()!="BODY")&&(objParent.tagName.toUpperCase()!="HTML")){objLeft+=objParent.offsetLeft;objTop+=objParent.offsetTop;objParent=objParent.offsetParent}objHeight=obj.offsetHeight;objWidth=obj.offsetWidth;if((overDiv.offsetLeft+overDiv.offsetWidth)<=objLeft){}else{if((overDiv.offsetParent.offsetTop+overDiv.offsetHeight+20)<=objTop){}else{if(overDiv.offsetParent.offsetTop>=eval(objTop+objHeight)){}else{if(overDiv.offsetLeft>=eval(objLeft+objWidth)){}else{obj.style.visibility="hidden"}}}}}}function atlVeiInitialize(a,b){atl_vei_siteUrl=b;atl_vei_targetDiv=a;atl_vei_cachedFlag=false}function atlVeiInitializeEx(b,c,a){atl_vei_querystring=a;atlVeiInitialize(b,c)}function atlVeiFindChildNode(c,d){var b=null;if(c.hasChildNodes){var a=c.firstChild;while(a!=null){if(a.id==d){b=a;break}a=a.nextSibling}}return b}function atlVeiClearCache(){atl_vei_cachedFlag=false}function atlVeiShowInt(){if(atl_vei_targetDiv!=null){atl_vei_targetDiv.style.display="block";if(atl_vei_is_ie6under){atlVeiHideElement("SELECT",atl_vei_targetDiv)}}}function atlVeiShow(){if(atl_vei_cachedFlag==true){atlVeiShowInt()}else{atlVeiCallForContent()}}function atlVeiCallForContent(){var d=atl_vei_siteUrl+"ViewExtensions/ViewExtensionsInsert.aspx?callback=atlVeiFillDiv";if(atl_vei_querystring.length>0){d=d+"&"+atl_vei_querystring}var b=document.getElementsByTagName("head").item(0);var c=atlVeiFindChildNode(b,atl_vei_script_id);var a=document.createElement("script");a.setAttribute("id","atlViewExtensionsInsert");a.setAttribute("type","text/javascript");a.setAttribute("language","javascript");a.setAttribute("src",d);if(c!=null){b.replaceChild(a,c)}else{b.appendChild(a)}}function atlVeiFillDiv(a){if((a!=null)&&(atl_vei_targetDiv!=null)){if(a.StyleSheet.length>0){var b=document.getElementsByTagName("head").item(0);var d=atlVeiFindChildNode(b,atl_vei_styles_id);if(d==null){var c=document.createElement("link");c.setAttribute("id",atl_vei_styles_id);c.setAttribute("type","text/css");c.setAttribute("rel","stylesheet");c.setAttribute("href",a.StyleSheet);c.setAttribute("media","screen");b.appendChild(c)}}atl_vei_targetDiv.innerHTML=a.Html;atl_vei_cachedFlag=true;atlVeiShowInt()}}function atlVeiClose(){if(atl_vei_targetDiv!=null){atl_vei_targetDiv.style.display="none";if(atl_vei_is_ie6under){atlVeiShowElement("SELECT")}}}function atlVeiGoToUrl(a){window.location=a}function atlVeiToggle(){var f,e;var d="veiGeneral";var c="veiCountry";var b="veiTabOne";var a="veiTabTwo";if(document.getElementById){f=document.getElementById(d);e=f.style;e.display=(e.display==""||e.display=="block")?"none":"block";f=document.getElementById(b);e=f.style;e.fontWeight=(e.fontWeight==""||e.fontWeight=="normal")?"bold":"normal";f=document.getElementById(c);e=f.style;e.display=(e.display==""||e.display=="block")?"none":"block";f=document.getElementById(a);e=f.style;e.fontWeight=(e.fontWeight==""||e.fontWeight=="normal")?"bold":"normal"}};