var arcotMovieLoadCheckCnt=0;var arcotIsInitDone=0;var arcotFlashCookieValue;var arcotMaxRetries=1000;var ARCOT_RETRY_PERIOD_MSEC=10;function getBrowserCookie(name){if(typeof(localStorage)!="undefined"){var Myvalue="";try{Myvalue=unescape(localStorage.getItem(name));if(Myvalue!=""){if(!Myvalue.match(/Undefined/i)){return Myvalue}}}catch(e){}}var dcookie=document.cookie;var cname=name+"=";var clen=dcookie.length;var cbegin=0;var hasempty=0;while(cbegin0){return""}else{return null}}function setBrowserCookie(name,value){if(typeof(localStorage)!="undefined"){try{localStorage.setItem(name,escape(value));return}catch(e){}}var today=new Date();today.setTime(today.getTime());var expires=1000*60*60*24*1000;var expires_date=new Date(today.getTime()+(expires));document.cookie=name+"="+escape(value)+";expires="+expires_date.toGMTString()+"; path=/"}function setVariable(myVar){arcotIsInitDone=myVar;return}function getFlashMovieObject(movieName){if(window.document[movieName]){return window.document[movieName]}if(navigator.appName.indexOf("Microsoft Internet")==-1){if(document.embeds&&document.embeds[movieName]){return document.embeds[movieName]}}else{return document.getElementById(movieName)}}function setFlashCookie(cookieName,cookieValue){try{var cookiemanager=getFlashMovieObject("flashObj");cookiemanager.SetVariable("/_level0:CookieName",cookieName);cookiemanager.SetVariable("/_level0:CookieValue",cookieValue);cookiemanager.SetVariable("/_level0:call","SetCookie");var scRes=cookiemanager.GetVariable("/_level0:setCookieRes");if(scRes=="false"){return false}else{if(scRes=="pending"){return false}else{if(scRes=="true"){return true}else{return false}}}}catch(e){return false}}function getFlashCookie(cookieName){try{var cookiemanager=getFlashMovieObject("flashObj");cookiemanager.SetVariable("/_level0:CookieName",cookieName);cookiemanager.SetVariable("/_level0:call","GetCookie");arcotFlashCookieValue=cookiemanager.GetVariable("/_level0:CookieValue");return arcotFlashCookieValue}catch(e){return null}};