var rocketon=null,links=null;var Rocketon={version:"A00.15.0029",mode:"minimized",baseURL:"http://cds.rocketon.com/flash/client/",rocketonURL:"http://www.rocketon.com/a/",teleportURL:"launch.html?",minWidth:50,minHeight:50,webpage:null,defaultInstanceID:"ROCKETON",_instance:null,modifyURLs:true,forceDemo:0,forceActive:0,swf:"RocketonLite.swf",embedSrc:null,flashVars:null,onFlashOnlyPage:false,partnerID:null,referrerID:null,language:null,suspend:false};var userAgent=navigator.userAgent.toLowerCase();Rocketon.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:(/msie/.test(userAgent)&&!/opera/.test(userAgent)),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent),windows:/win/.test(userAgent),type:"no",shortVersion:0,getShortVersion:function(){var b=0;var a=Rocketon.browser.version;if(Rocketon.browser.msie){b+=(/^6/.test(a))?6:(/^7/.test(a))?7:(/^8/.test(a))?8:0}else{if(Rocketon.browser.mozilla){b+=(/^2/.test(a))?2:(/^3/.test(a))?3:0}}return b},detectErrorPage:function(){var d=false,a,b=0;if(Rocketon.browser.msie&&Rocketon.browser.windows){try{a=document.getElementsByTag("LINK");for(;b<a.length&&!d;b++){d=((a[b].getAttribute("href")=="ErrorPageTemplate.css"))}}catch(c){}}return(d)},width:null,height:null,getDimensions:function(){var c={left:0,top:0,width:800,height:600},b=document,a=document.documentElement;if(a&&a.scrollLeft){c.left=a.scrollLeft;c.top=a.scrollTop;c.width=a.clientWidth;c.height=a.clientHeight}else{c.left=b.body.scrollLeft;c.top=b.body.scrollTop;if(Rocketon.browser.width!=null){c.width=Rocketon.browser.width;c.height=Rocketon.browser.height}else{if(self.innerWidth){c.width=self.innerWidth;c.height=self.innerHeight}else{if(b.body){c.width=b.body.clientWidth;c.height=b.body.clientHeight}}}}return c},getLeft:function(){return this.getDimensions().left},getTop:function(){return this.getDimensions().top},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height}};Rocketon.browser.type=(Rocketon.browser.msie)?"ie":(Rocketon.browser.mozilla)?"ff":"no";Rocketon.browser.shortVersion=Rocketon.browser.getShortVersion();Rocketon.util={toXML:function(d){var b,a,e,c;if(typeof DOMParser!="undefined"){e=new DOMParser();b=e.parseFromString(d,"text/xml")}else{if(typeof ActiveXObject!="undefined"){b=new ActiveXObject("MSXML2.DOMDocument");b.async="false";b.loadXML(d)}else{a="data:text/xml;charset=utf-8,"+encodeURIComponent(d);c=new XMLHttpRequest();c.open("GET",a,false);c.send(null);b=c.responseXML}}return b},createXML:function(a,d,c){var b=document.createElement(a),e=0;c=Rocketon.util.makeArray(c);b=Rocketon.util.setAttrs(b,d);for(e=0;e<c.length;e++){pMXL.appendChild(c[e])}return b},findByID:function(a){return document.getElementById(a)},findByTag:function(a){return document.getElementsByTagName(a)},findByTags:function(b){var c=[],e=0,a,d;b=Rocketon.util.makeArray(b);for(;e<b.length;e++){a=b[e];d=Rocketon.util.findByTag(a);c=c.concat(d)}return c},isMouseEnabled:function(a){return Rocketon.util.exec(Rocketon.util,"isMouseEnabled",[a])},getBox:function(b){var c={x:0,y:0,width:0,height:0},a=null;if(b.getBoundingClientRect){a=b.getBoundingClientRect();c.x=a.left;c.y=a.top;c.width=Math.abs(a.right-a.left);c.height=Math.abs(a.bottom-a.top)}else{if(document.getBoxObjectFor){a=document.getBoxObjectFor(b);c.x=a.x;c.y=a.y;c.width=a.width;c.height=a.height}else{c.width=b.offsetWidth;c.height=b.offsetHeight;c.x=0;c.y=0;a=b;while(a!=null){c.x+=a.offsetLeft;c.y+=a.offsetTop;a=a.offsetParent}}}return c},getStyle:function(c,d){var b=null,a;if(window.getComputedStyle){a=window.getComputedStyle(c,null);if(a){b=a.getPropertyValue(d)}}else{if(c.currentStyle){d=(d=="z-index")?"zIndex":d;b=c.currentStyle[d]}}return b},setStyle:function(a,c,b){if(c=="z-index"){a.style.zIndex=b}else{if(c=="position"){a.style.position=b}}},getWebpage:function(){var a=Rocketon.util.findByTags(["body","frameset"])[0][0];return(a!=null)?a:document.body},makeArray:function(b){var a=[];if(b!=null){if(Rocketon.util.isArray(b)){a=a.concat(b)}else{a=[b]}}return a},isArray:function(a){return !(a==null||a.length==null||a.split||a.setInterval)},setAttrs:function(a,c){for(attrName in c){var b=c[attrName];if((typeof b!="object")&&(typeof a=="xml")){a.setAttribute(attrName,b)}else{if((typeof b!="object")&&(typeof a=="object")){a[attrName]=b}else{if(typeof b=="object"){Rocketon.util.setAttrs(a[attrName],b)}}}}return a},submitForm:function(e){var h=Rocketon.util.toXML(e),b=h.getElementsByTagName("form"),i="w00t",c=b[0].getAttribute("method"),k=b[0].getAttribute("action"),j=b[0].getElementsByTagName("input"),d=Rocketon.util.createXML("form",{name:i,method:c,action:k}),g=0,a,f;for(;g<j.length;g++){a=j[g];f=Rocketon.util.createXML("input",{type:"hidden",name:a.getAttribute("name"),value:a.getAttribute("value")});d.appendChild(f)}document.body.appendChild(d);d.submit()},exec:function(e,c,b){var d=Rocketon.browser.type,a="_v"+Rocketon.browser.shortVersion,h=null,g=(e[d])&&(e[d][a])&&(e[d][a][c])?e[d][a]:(e[d])&&(e[d][c])?e[d]:(e.std)&&(e.std[c])?e.std:null;if(g!=null){var f=g[c];b=Rocketon.util.makeArray(b);h=f.apply(f,b)}return h}};Rocketon.util.ie={};Rocketon.util.ie._v8={isMouseEnabled:function(c){var a=c.tagName,b=(a=="A"||a=="INPUT"||a=="TEXTAREA"||a=="SELECT"||a=="BUTTON");b=(b)?true:(!Rocketon.onFlashOnlyPage)?(a=="OBJECT"||a=="EMBED"):false;return b}};Rocketon.util.std={isMouseEnabled:function(d){var c=d.parentNode,a=d.tagName;mouseEnabled=Rocketon.util.ie._v8.isMouseEnabled(d),parentIsAnchor=(c!=null)?c.tagName=="A":false;mouseEnabled=(mouseEnabled)?true:(!Rocketon.forceDemo)?(parentIsAnchor||d.onclick||d.ondblclick||d.onmousedown||d.onmouseup||d.onmouseover):false;if(!mouseEnabled&&parentIsAnchor&&a=="IMG"){var b=Rocketon.util.getBox(d);mouseEnabled=(b.width<300||b.height<300)}return mouseEnabled}};Rocketon.flash={exec:function(b,a){return Rocketon.util.exec(Rocketon.flash,b,a)},detectFlashVersion:function(h,e,c){var f=false,d=this.getVersion();if(d!=null&&d.length>=3){var g=parseInt(d[0]),a=parseInt(d[1]),b=parseInt(d[2]);if(g>parseInt(h)){f=true}else{if(g==parseInt(h)){if(a>parseInt(e)){f=true}else{if(a==parseInt(e)){if(b>=parseInt(c)){f=true}}}}else{f=false}}}return f},getVersion:function(){return this.exec("getVersion")},makeCompatible:function(){try{var l=Rocketon.util.findByTag("object"),q,s,g,d,r,b,f,c,p,t=false,a,o=document.getElementsByTagName("embed"),n,k=0,h=0;for(;k<l.length;k++){q=l[k].parentNode;if(l[k].id!="ROCKETON_OBJECT"){g=l[k];t=false;d=g.getAttribute("width");r=g.getAttribute("height");if(d=="100%"&&r=="100%"){Rocketon.onFlashOnlyPage=true}f=g.getElementsByTagName("param");for(;h<f.length&&!t;h++){c=f[h];if(c.getAttribute("name")=="wmode"){p=c.getAttribute("value");if(p==null||p==""||p=="window"){c.setAttribute("opaque")}else{t=true}}}b=Rocketon.util.getStyle(g,"position");if(b=="static"||b==""||b==null){g.style.position="relative";g.style.offsetLeft="0px";g.style.offsetTop="0px";g.style.zIndex="1000"}if(!t){g=l[k].cloneNode(true);s=l[k].nextSibling;q.removeChild(l[k]);a=Rocketon.util.createXML("param",{name:"wmode",value:"opaque"});g.appendChild(a);q.insertBefore(g,s)}}}for(k=0;k<o.length;k++){if(o[k].id!="ROCKETON_EMBED"){t=false;n=o[k];d=n.getAttribute("width");r=n.getAttribute("height");if(d=="100%"&&r=="100%"){Rocketon.onFlashOnlyPage=true}a=n.getAttribute("wmode");if(a==null||a==""||a=="window"){n.setAttribute("wmode","opaque")}else{t=true}b=Rocketon.util.getStyle(n,"position");if(b=="static"||b==""||b==null){n.style.position="relative";n.style.offsetLeft="0px";n.style.offsetTop="0px";n.style.zIndex="1000"}if(!t){n=o[k].cloneNode(true);s=o[k].nextSibling;q=o[k].parentNode;q.removeChild(o[k]);q.insertBefore(n,s)}}}}catch(m){}}};Rocketon.flash.std={getVersion:function(){var c=[];if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var b=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"",a=navigator.plugins["Shockwave Flash"+b].description;descArray=a.split(" "),tempArray=descArray[2].split("."),versionMajor=tempArray[0],versionMinor=tempArray[1],versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4]}if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1)}else{if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"))}}}c=[versionMajor,versionMinor,versionRevision]}}return c}};Rocketon.flash.ie={getVersion:function(){var c=[],a,b;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),a=b.GetVariable("$version");c=a.split(" ")[1].split(",")}catch(d){}return c}};Rocketon.getInstance=function(g,b,a,d){var e="",f="",c=window.location.href;if(Rocketon.partnerID==null){Rocketon.partnerID=readCookie("partnerid")}if(Rocketon.partnerID!=null){e+="&PartnerID="+Rocketon.partnerID}if(Rocketon.referrerID==null){Rocketon.referrerID=readCookie("referrerid")}if(Rocketon.referrerID!=null){e+="&ReferrerID="+Rocketon.referrerID}if(Rocketon.language==null){if(Rocketon.browser.mozilla){Rocketon.language=navigator.language}else{Rocketon.language=navigator.userLanguage}}if(Rocketon.language!=null){e+="&Language="+Rocketon.language}if(Rocketon.flashVars==null){if(c.indexOf("?")!=-1){f=c.substring(c.indexOf("?")+1)}Rocketon.flashVars="Version="+Rocketon.version+"&CurrentURL="+encodeURIComponent(window.location.href)+"&BaseURL="+Rocketon.baseURL+"&"+f}Rocketon.flashVars+=e;if(Rocketon.embedSrc==null){Rocketon.embedSrc=Rocketon.baseURL+Rocketon.version+"."+Rocketon.swf}Rocketon.webpage=Rocketon.util.getWebpage();if(Rocketon._instance==null&&Rocketon.isRunnable()){Rocketon._instance=new Rocketon.fn.init(g,b)}return Rocketon._instance};Rocketon.isRunnable=function(){return(!Rocketon.flash.detectFlashVersion(9,0,28))?false:(!Rocketon.browser.detectErrorPage())};Rocketon.events={exec:function(b,a){return Rocketon.util.exec(this,b,a)},addListeners:function(){this.exec("addListeners")},removeListeners:function(){this.exec("removeListeners")},createMouseEvent:function(d,c){var a=null,b=Rocketon.browser.getDimensions();if(document.createEvent){a=document.createEvent("MouseEvents");a.initMouseEvent(d,true,true,window,0,c.x,c.y,c.x,c.y,false,false,false,false,0,null)}else{if(document.createEventObject){a=document.createEventObject();a.srcElement=c;a.type=d;a.screenX=c.x;a.screenY=c.y;a.clientX=c.x-b.left;a.clientY=c.y-b.top;a.x=c.x;a.y=c.y}}return a},dispatch:function(a,b){if(b.dispatchEvent){b.dispatchEvent(a)}else{if(b.fireEvent){b.fireEvent("on"+a.type,a)}}}};Rocketon.events.std={addListeners:function(){if(document.addEventListener){document.addEventListener("unload",rocketon.clean,false);document.addEventListener("keydown",rocketon.handleKeyDown,false);document.addEventListener("keyup",rocketon.handleKeyUp,false)}if((document.implementation.hasFeature("MutationEvents","2.0"))||(window.MutationEvent)){document.addEventListener("DOMNodeInserted",rocketon.handleDOMChange,false);document.addEventListener("DOMNodeRemoved",rocketon.handleDOMChange,false);document.addEventListener("DOMAttrModified",rocketon.handleDOMChange,false)}},removeListeners:function(){if(document.removeEventListener){document.removeEventListener("unload",rocketon.clean,false);document.removeEventListener("keydown",rocketon.handleKeyDown,false);document.removeEventListener("keyup",rocketon.handleKeyUp,false);document.removeEventListener("DOMNodeInserted",rocketon.handleDOMChange,false);document.removeEventListener("DOMNodeRemoved",rocketon.handleDOMChange,false);document.removeEventListener("DOMAttrModified",rocketon.handleDOMChange,false)}}};Rocketon.events.ie={addListeners:function(){if(document.attachEvent){document.attachEvent("onunload",rocketon.clean);document.attachEvent("onkeydown",rocketon.handleKeyDown);document.attachEvent("onkeyup",rocketon.handleKeyUp)}},removeListeners:function(){if(document.detachEvent){document.detachEvent("onunload",rocketon.clean);document.detachEvent("onkeydown",rocketon.handleKeyDown);document.detachEvent("onkeyup",rocketon.handleKeyUp)}}};Rocketon.fn=Rocketon.prototype={isClickTarget:false,init:function(b,a){rocketon=this;this.isDemo=false;this.instanceID=b;this.div=this.util.findByID("rocketonAppDiv");if(!this.div){this.div=this.createDiv(Rocketon.minWidth,Rocketon.minHeight);this.embed=this.createEmbed();this.resize(Rocketon.minWidth,Rocketon.minHeight)}else{this.embed=this.getEmbed();if(this.embed&&this.embed.enableDemoMode){this.isDemo=true;this.embed.enableDemoMode(false);this.embed.setInstanceID(this.instanceID)}}},clean:function(a){this.exec("removeListeners")},exec:function(b,a){return this.util.exec(this,b,a)},setup:function(){if(!this.isDemo){this.events.addListeners();links=new LinkCache.fn.init()}},handleScroll:function(a){rocketon.embed.mouseScroll()},createDiv:function(a,c){c=(c)?c+"px":Rocketon.minHeight+"px";a=(a)?a+"px":Rocketon.minWidth+"px";var b=this.exec("getPosition"),d=this.util.createXML("div",{id:"rocketonAppDiv",style:{position:b,left:"0px",zIndex:"500000",height:c,width:a}});if(d.style.position=="fixed"){d.style.bottom="0px"}else{d.style.top="0px"}Rocketon.webpage.appendChild(d);return d},createEmbed:function(){rocketon.flash.makeCompatible();var b=Rocketon.flashVars+"&InstanceID="+this.instanceID,a="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='ROCKETON_OBJECT' width='100%' height='100%' >";a+="<param name='AutoStart' value='true' />";a+="<param name='allowScriptAccess' value='always' />";a+="<param name='wmode' value='transparent' />";a+="<param name='quality' value='autohigh' />";a+="<param name='scale' value='noscale' />";a+="<param name='allowFullScreen' value='false' />";a+="<param name='bgcolor' value='#ffffff' />";a+="<param name='flashVars' value='"+b+"' />";a+="<param name='movie' value='"+Rocketon.embedSrc+"' />";a+="<embed src='"+Rocketon.embedSrc+"' flashVars='"+b+"' quality='autohigh' wmode='transparent' scale='noscale' bgcolor='#ffffff' width='100%' height='100%' id='ROCKETON_EMBED' name='ROCKETON_EMBED' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";a+="</object>";rocketon.div.innerHTML=a;return rocketon.getEmbed()},getEmbed:function(){var a=rocketon.util.findByID("ROCKETON_EMBED");return(a!=null)?a:rocketon.util.findByID("ROCKETON_OBJECT")},resize:function(a,b){if(a==-1){rocketon.exec("setDivFullScreen")}else{rocketon.exec("setDivSize",[a,b])}},handleKeyDown:function(a){a=(!a)?window.event:a;if((Rocketon.mode=="maximized")&&(a.ctrlKey||a.altKey)&&(a.keyCode!="17")&&(a.keyCode!="18")){if(!Rocketon.suspend){window.focus();links.cache[0].focus()}}},handleKeyUp:function(a){a=(!a)?window.event:a;if((Rocketon.mode=="maximized")&&(a.keyCode=="17"||a.keyCode=="18")){if(!Rocketon.suspend){rocketon.embed.focus()}}},handleDOMChange:function(a){a=(!a)?window.event:a;var c=false,b=/(visibility|display)/;if(a.type=="DOMAttrModified"){if(a.attrName=="style"){if(b.test(a.newValue)){c=true}}}else{c=true}if(c&&rocketon!=null){links.scheduleUpdate()}},browser:Rocketon.browser,flash:Rocketon.flash,util:Rocketon.util,events:Rocketon.events};Rocketon.fn.ff={getPosition:function(){return"fixed"}};Rocketon.fn.ie={addResizeHandler:function(){window.onresize=(Rocketon.browser.height==null)?rocketon.ie.handleResize:null},getPosition:function(){var a="absolute";if(document.compatMode&&document.compatMode!="BackCompat"&&Rocketon.browser.shortVersion>=7){a="fixed"}else{if(Rocketon.browser.height==null){window.onscroll=rocketon.ie.handleScroll}}return a},handleScroll:function(){if(rocketon){if(rocketon.div.style.position=="absolute"){var b=Rocketon.browser.getTop();if(rocketon.div.style.height=="100%"){rocketon.div.style.top=b+"px"}else{var a=Rocketon.browser.getHeight();rocketon.div.style.top=(a-parseInt(rocketon.div.style.height))+b+"px"}rocketon.div.style.left=Rocketon.browser.getLeft()+"px"}}},handleResize:function(a,b){if(a!=undefined&&b!=undefined){Rocketon.browser.width=a;Rocketon.browser.height=(b!=null)?b-4:null}if(rocketon.div){if(rocketon.div.style.height!="100%"&&parseInt(rocketon.div.style.height)!=Rocketon.minHeight){rocketon.exec("setDivSize",[Rocketon.minWidth,Rocketon.minHeight])}rocketon.ie.handleScroll()}},setDivFullScreen:function(){rocketon.std.setDivFullScreen();var a=Rocketon.browser.getTop();if(rocketon.div.style.position=="absolute"){rocketon.div.style.top=a+"px";rocketon.ie.addResizeHandler()}},setDivSize:function(b,c){rocketon.std.setDivSize(b,c);var d=Rocketon.browser.getTop();if(rocketon.div.style.position=="absolute"){var a=Rocketon.browser.getHeight();rocketon.div.style.top=(a-c)+d+"px";rocketon.ie.addResizeHandler()}}};Rocketon.fn.ie._v6={setDivFullScreen:function(){rocketon.div.style.height=Rocketon.browser.getHeight()+"px";rocketon.div.style.width=Rocketon.browser.getWidth()+"px";var a=Rocketon.browser.getTop();if(rocketon.div.style.position=="absolute"){rocketon.div.style.top=a+"px"}}};Rocketon.fn.std={getPosition:function(){return"fixed"},setDivFullScreen:function(){rocketon.div.style.height="100%";rocketon.div.style.width="100%"},setDivSize:function(a,b){rocketon.div.style.width=a+"px";rocketon.div.style.height=b+"px"},setFocus:function(){window.focus();rocketon.embed.focus()}};Rocketon.fn.init.prototype=Rocketon.fn;function getElement(c,a){var b=links.cache[a];return(b!=null&&b.getAttribute("rID")==c)?b:null}function flashFocus(c,a){var b=getElement(c,a);if(b!=null){b.focus();if(((b.tagName=="INPUT")&&(b.type.toUpperCase()=="TEXT"||b.type.toUpperCase()=="PASSWORD"))||(b.tagName=="TEXTAREA")){b.selectionStart=b.textLength;b.selectionEnd=b.textLength}}return true}function flashOnClick(f,a){var e=getElement(f,a),c=true,d=true,b=Rocketon.events;if(e!=null){var g=(e.onmousedown||e.onmouseup||e.onclick||e.onsubmit);if(g){c=g()}else{if(Rocketon.browser.msie&&e.click){e.click()}}if((e.href)&&((e.href.toLowerCase().indexOf("javascript:")<0)&&(e.href.indexOf("#")!=0))){c=false}else{if(e.href){}}b.dispatch(b.createMouseEvent("mousedown",e),e);b.dispatch(b.createMouseEvent("mouseup",e),e);b.dispatch(b.createMouseEvent("click",e),e)}return c}function flashOnMouseOver(d,a){var c=getElement(d,a),b=Rocketon.events;if(c!=null){if(c.onmouseover){c.onmouseover();return true}else{b.dispatch(b.createMouseEvent("mouseover",c),c)}}return false}function flashOnMouseOut(d,a){var c=getElement(d,a),b=Rocketon.events;if(c!=null){if(c.onmouseout){c.onmouseout();return true}else{b.dispatch(b.createMouseEvent("mouseout",c),c)}}return false}function flashToggle(c,a){var b=getElement(c,a);if(b!=null){b.checked=!b.checked;return true}return false}function flashGetBounds(d,a){var c=getElement(d,a);var b={x:0,y:0,width:0,height:0};if(c!=null){b=links.util.getBox(c)}return b}function flashFindLinks(){links.findLinks(Rocketon.webpage)}function flashGetURL(c,a){var b=getElement(c,a);return(b!=null)?b.href:null}function flashGetStyle(d,a,b){var c=getElement(d,a);return(c!=null)?Rocketon.util.getStyle(c,b):null}function flashSetStyle(e,a,c,b){var d=getElement(e,a);if(d!=null){Rocketon.util.setStyle(d,c,b)}}function getScrollTop(){return Rocketon.browser.getTop()}function getScrollLeft(){return Rocketon.browser.getLeft()}function rocketonSetMode(a){Rocketon.mode=a;if(a=="maximized"){links.scheduleUpdate()}}function getDemoMode(){return Rocketon.forceDemo}function getInstanceID(){return(rocketon)?rocketon.instanceID:Rocketon.defaultInstanceID}function setFocus(){if(rocketon){rocketon.exec("setFocus")}}function resizeDiv(a,b){if(rocketon){rocketon.resize(a,b)}}function submitForm(a){Rocketon.util.submitForm(a)}function initializeRocketonApp(d,b,a,c){rocketon=Rocketon.getInstance(d,b,a,c);rocketon.setup()}function loadRocketon(a){Rocketon.forceActive=(a==undefined||!a)?0:1;localRocketonApp(null,null,false,true)}function openRocketon(){if(!rocketon){loadRocketon(true)}else{if(rocketon.embed&&Rocketon.mode!="maximized"){rocketon.embed.setMode(true)}}}function closeRocketon(){if(rocketon&&rocketon.embed&&Rocketon.mode!="minimized"){rocketon.embed.setMode(false)}}function localRocketonApp(d,b,a,c){if(Rocketon){if(Rocketon.partnerID==null){Rocketon.partnerID=window.location.hostname+"/"+window.location.pathname}if(Rocketon.language==null){Rocketon.language=d}if(!rocketon){Rocketon.forceDemo=1;Rocketon.flashVars="Version="+Rocketon.version+"&BaseURL="+Rocketon.baseURL+"&PostRegistrationURL=http://www.Rocketon.com/a/launchpad.php&ForceActive="+Rocketon.forceActive+"&ForceDemo="+Rocketon.forceDemo+"&CurrentURL="+encodeURIComponent(window.location.href);initializeRocketonApp("ROCKETON","9.0.28");rocketon.embed=rocketon.getEmbed();if(rocketon.div&&(!rocketon.embed||rocketon.embed==null)){rocketon.embed=rocketon.createEmbed();rocketon.setup()}}}}function readCookie(b){var e=null;var f=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var g=a[d];while(g.charAt(0)==" "){g=g.substring(1,g.length)}if(g.indexOf(f)==0){e=g.substring(f.length,g.length);break}}return e}var LinkCache={updateTimer:null,checkLinkTimer:null};LinkCache.fn=LinkCache.prototype={init:function(){links=this;this.cache=new Array();this.elemCount=0},findLinks:function(o){var k=o.childNodes;var e=new Array();var h=0;do{var n=k.length;var m=[];for(var d=0;d<n;d++){var c=k[d];if((c.nodeType==1)&&(c.id!="rocketonAppDiv")){var f=c.getAttribute("rID");if((f!=null&&f!=undefined)||(links.util.isMouseEnabled(c))){var b=(links.util.getStyle(c,"display")=="none"||links.util.getStyle(c,"visibility")=="hidden");if(!b){var i=links.util.getBox(c);if(i.width!=0&&i.height!=0){if(f==null||f==undefined){f="r"+links.elemCount++;c.setAttribute("rID",f)}e.push(c);var g=null;if(c.parentNode!=null){g=c.parentNode.getAttribute("rID");g=(g!=undefined)?g:null}var q=(c.onclick||c.onmouseover||c.onmouseout)?true:false;var l=(c.tagName=="INPUT")?c.type.toUpperCase():c.tagName.toUpperCase();rocketon.embed.addWebElem(f,h++,l,g,q,i)}}}var a=c.childNodes;var j=a.length;for(var r=0;r<j;r++){var p=a[r];if(p.nodeType==1){m.push(p)}}}}k=m}while(k.length>0);links.cache.splice(0,links.cache.length);links.cache=e;rocketon.embed.commitWebElems()},scheduleUpdate:function(){if(LinkCache.updateTimer!=null){clearTimeout(LinkCache.updateTimer)}LinkCache.updateTimer=setTimeout(links.update,1000)},update:function(){LinkCache.updateTimer=null;links.findLinks(Rocketon.webpage)},exec:function(b,a){return links.util.exec(links,b,a)},util:Rocketon.util};LinkCache.fn.init.prototype=LinkCache.prototype;
