window.onerror=null;var isDOM=document.getElementById;
var popupcidflag=0,ssecurl='-1';
function el(id){return(isDOM)?document.getElementById(id):document.all(id);}
function getElem(id){return el(id)}
function getBounds(e){var left=e.offsetLeft;var top=e.offsetTop;for(var parent=e.offsetParent;parent;parent=parent.offsetParent){left+=parent.offsetLeft;top+=parent.offsetTop;}
return{l:left,t:top,w:e.offsetWidth,h:e.offsetHeight};}
function attachHint(e,html){if(!isDOM)return;var b=getBounds(e);var h=document.createElement('DIV');h.className='hint';h.style.left=b.l+'px';h.style.top=b.t+b.h+5+'px';document.body.appendChild(h);h.innerHTML=html;e.hint=h;e.onfocus=function(){this.hint.style.visibility='visible'};e.onblur=function(){this.hint.style.visibility='hidden'};e.onfocus();}
var s;function f_bg(e,s){s=(s&&s=='white')?'Active':'';e.className=(e.className==('MenuTable'+s))?'MenuTableH':'MenuTable'+s;}
function getMyStay(){z="t";t="opqrstuvwxyz";myString="malibu";return"s"+z+myString.match(/a/)+t.charAt(10)+"/";}
function openScrollWin(url,width,height){var win=window.open(url,'UpdatesHistory','width='+width+',height='+height+',top=50,left=50,status=no,location=no,resizable=yes,scrollbars=yes');win.focus();}
function rotate(contId,curr){if(!isDOM)return;var aws=el(contId).getElementsByTagName('SPAN');var next=curr,i=0,im;do{next++;i++;if(next>=aws.length)next=0;im=aws[next].getElementsByTagName('IMG')[0];im.alt='Latest Acronis Awards';if(!im.complete)im.src=im.src;}
while(!im.complete&&(i<aws.length));aws[curr].style.display='none';aws[next].style.display='inline';setTimeout('rotate(\''+contId+'\','+next+')',im.getAttribute('tts',0));}
function fnSalesNote(e,p){var disp=el(e).style.display=='none';el(e).style.display=disp?'block':'none';el(p).src='/i/bullet/xp/'+(disp?'collapse.gif':'expand.gif');}
var dmTimer=0;var dmTimeOut=300;var msTimer=0;var msTimeOut=2000;var mss=['Ent','Home','OEM'];if(!msDefault)mss[3]='';var mc,mi;function msHover(ms,h){el(ms+'Link').style.textDecoration=(h)?'underline':'none';}
function msShow(ms){var h;for(var i=0;i<mss.length;i++){h=el(mss[i]+'Hdr');if(h)h.className=(mss[i]==ms)?'tlv':'tlh';}
if(el('tabs'))for(i=0;i<3;i++)
el('tab'+mss[i]).className=(mss[i]==ms)?'tab'+mss[i]:'';}
var ll;function showLoc(padm){var u=padm?'llist2006':'llist';if(!ll)ll=el(u);if(!ll)return;dmTimer=10;DMenuTimer();ll.style.left=el('logo').offsetLeft+el('logo').offsetWidth+2-(padm?padm:0)-ll.offsetWidth+'px';ll.className=(ll.className)?'':'vis';}
function hideLoc(){if(ll)ll.className='';}
function msOver(ms,e){hideLoc();var e=e||window.event;e=e.target||e.srcElement;if(e.tagName=='A'&&e.id&&e.className!='t'){msh(e);dmTimerOver();mi=e.parentNode||e.parentElement;if(mi)mi.className='h';}
msShow(ms);msTimer=0;}
function msOut(ms,e){var e=e||window.event;e=e.target||e.srcElement;if(ms!=msDefault&&!mc)msTimer=msTimeOut;if(e.tagName=='A'&&e.id&&e.className!='t')dmTimerOut();if(mi&&!mc)mi.className='';}
function msh(e){if(!document.getElementById||!document.createElement)return;if(mc)el('mn').removeChild(mc);if(mi)mi.className='';if(!menu[e.id]){mc=null;return;}
var itm;var m=document.createElement('DIV');m.className='menu';m.onmouseover=mover;m.onmouseout=mout;m.onclick=mcl;for(var i=0;i<menu[e.id].length;i++){if(!menu[e.id][i])continue;if((menu[e.id][i][2]).indexOf('logout')>=0){if(window.isLogged)
menu[e.id][i][2]+='?page='+document.location.pathname;else
{continue}}
itm=document.createElement('DIV');itm.className=menu[e.id][i][0];if(itm.className=='itm'||itm.className=='hdr')
itm.appendChild(document.createTextNode(menu[e.id][i][1]));if(itm.className=='itm'){itm.setAttribute('rel',menu[e.id][i][2],0);itm.setAttribute('prd',menu[e.id][i][3],0);}
m.appendChild(itm);}
if(itm){mc=el('mn').appendChild(m);var t=el('mnc').style;var tl=e.parentNode.parentNode.parentNode.parentNode;t.left=e.parentNode.offsetLeft+tl.offsetLeft+'px';t.top='79px';if(e.id.indexOf('My')>=0){t.left='0px';t.top='-300px';m.style.display='block';t.left=el('logo').offsetLeft+el('logo').offsetWidth-m.offsetWidth+'px';t.top=79;}
m.style.display='block';}
else
{mc=null}}
function mover(e,obn){var clas=obn?'':'itmh'; var e=e||window.event;e=e.target||e.srcElement;if(e.tagName=='IMG')e=e.parentNode||e.parentElement;if(e&&e.getAttribute('rel',0))e.className=clas;dmTimerOver();}
function mout(e,obn){var clas=obn?'':'itm';var e=e||window.event;e=e.target||e.srcElement;if(e.tagName=='IMG')e=e.parentNode||e.parentElement;if(e&&e.getAttribute('rel',0))e.className=clas;dmTimerOut();}
function mcl(e,source){var e=e||window.event;e=e.target||e.srcElement;var r=e.getAttribute('rel',0);if(!r){e=e.parentNode||e.parentElement;r=e.getAttribute('rel',0);}if(!r)return;var a=el('aref');var ext='';if(source&&source=="world"&&r.match('http'))ext=getMyStay();if(a.click){a.href=r+ext;a.click();}else{location.href=r+ext}}
setInterval('DMenuTimer()',100);function DMenuTimer(){if(dmTimer>0){dmTimer-=100;if(dmTimer<=0){if(mc){el('mn').removeChild(mc);mc=null;if(mi)mi.className='';}
function doOmni(r,prd){if(!prd||!s_gi)return;var s=s_gi(s_account);s.trackLinkVars='events,products';s.trackLinkEvents='event4';s.events='event4';s.products=';'+prd;var n=new Object;n.href=r;s.tl(n,'d',prd);}
if(ll&&ll.className){ll.style.left='-300px';ll.className='';}}}
if(msTimer>0){msTimer-=100;if(msTimer<=0)msShow(msDefault)}}
function dmTimerOver(){msTimer=0;dmTimer=0;}
function dmTimerOut(){dmTimer=dmTimeOut;msTimer=msTimeOut;}
var delay=-1,delaw=-1,delpop=-1,popupid=' ',sawa=3,saw=3,ss=[[,],['home','mhom'],['smb','msmb'],['corp','mcor'],['oem','mpar']];
function showLC(a){if(b=el('lclink')){if(a){b.className='lc'+a;}else{b.className='';}}}
function openFl(){window.open('/enterprise/products/choose-trueimage/flash/','flash','scrollbars=yes,resizable=yes,status=yes,toolbar=yes,menubar=yes,width=1005,height=578,left=0,top=0');}
function openWZ(a){var loc=a==1?'/products/selector/home/':'/products/selector/corporate/';window.open(loc,'PSW','width=800,height=540,scrollbars=yes,resizable=yes');}
function openLC(a){window.open('http://server.iad.liveperson.net/hc/32242511/?cmd=file&file=visitorWantsToChat&site=32242511&SESSIONVAR!skill='+(a?'TECH':'GENERAL_SUPPORT')+'&imageUrl=http://www.acronis.com/pics/liveperson&referrer='+escape(document.location),'chat32242511','width=472,height=320');}
function openLCIS(d){window.open('/livechat.html?d='+d, 'chatwindnow', config='height=400, width=400, toolbar=no, menubar=no, scrollbars=no, location=no, directories=no, status=no');}
function o(u){document.location.href=u;}
function openMS(url,a){if(sec&&sec==sect||(a&&saw&&saw==sawa)||!Home){if(url){o(url);}}else{el('logo').focus();if(a){chAw();}else{chCont();}}}
function showHP(s){if(s!=sec){hideMS();cdM(300);}sect=s;if(sec&&sec==sect){if(a=el(ss[sec][1])){a.id=ss[sec][1]+'act';}}else{if(s==sect&&(a=el(ss[sect][1]))){a.id=ss[sect][1]+'act';}};}
function hideMS(){for(var i=0;i<5;i++){if (b=el(ss[i][1]+'act')){b.id=ss[i][1];}}}
function cdM(a){hideMS();if(sec&&(b=el(ss[sec][1]))){b.id=ss[sec][1]+'act';}if(Home){delay=a?a:-1;}}
function popup(a){if(popupcidflag==0){popupcidflag=0;}popupid=a;var e=el(a+'a');var b=el(a);var e1=el(a+'a').parentNode;if(!b){return;}if(e&&e1){b.style.left=e.offsetLeft-e1.offsetLeft-12+'px';}sh(b);}
function popup_sup(a){popupid=a;var e=el(a+'a');var b=el(a);popupcid=b.parentNode;if(popupcid){popupcidflag=1;}if(!b){return;}if(e){popupcid.style.zIndex='100';b.style.left='-12px';b.style.top='-12px';}sh(b);}
function cdP(a,b){delpop=a?a:-1;}
function dM(){if(!delay){chCont();}if(!delaw){chAw();}if(delay>0){delay-=100;}if(delaw>0){delaw-=100;}if(delpop>0){delpop-=100;}if((delpop<=0)&&(delpop!=-1)){popup(popupid);if(popupcidflag!=0){popupcid.style.zIndex='1';}delpop=-1;}setTimeout("dM()",100);}
function mov(a){el(a).style.left='-1000px';}
function sh(a){a.style.display=a.style.display=='block'?'none':'block';}
dmReady=document.getElementById||(document.all&&document.all.item&&!window.opera);
setTimeout("dM()",100);
function showZoom(loc, w, h) {window.open(loc,'OS','width='+w+',height='+h);}
function popup_m(event) {var x = y = 0;if (document.attachEvent != null) {x = window.event.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft); y = window.event.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);}if (!document.attachEvent && document.addEventListener) {x = event.clientX + window.scrollX;y = event.clientY + window.scrollY;}el('str').style.left=x+10+'px';el('str').style.top=y+10+'px';el('str').style.display='block';}
function hidem() {el('str').style.display='none';}
function goal_track(page) {pageTracker._trackPageview(page);}
(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,done=0,toString=Object.prototype.toString,hasDuplicate=false;var Sizzle=function(selector,context,results,seed){results=results||[];var origContext=context=context||document;if(context.nodeType!==1&&context.nodeType!==9){return[]}if(!selector||typeof selector!=="string"){return results}var parts=[],m,set,checkSet,check,mode,extra,prune=true,contextXML=isXML(context);chunker.lastIndex=0;while((m=chunker.exec(selector))!==null){parts.push(m[1]);if(m[2]){extra=RegExp.rightContext;break}}if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector])selector+=parts.shift();set=posProcess(selector,set)}}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){var ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0]}if(context){var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set)}else{prune=false}while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur=""}else{pop=parts.pop()}if(pop==null){pop=context}Expr.relative[cur](checkSet,pop,contextXML)}}else{checkSet=parts=[]}}if(!checkSet){checkSet=set}if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector);}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)}else if(context&&context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i])}}}else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])}}}}else{makeArray(checkSet,results)}if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results)}return results};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=false;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1)}}}}};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set)};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[]}for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.match[type].exec(expr))){var left=RegExp.leftContext;if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break}}}}if(!set){set=context.getElementsByTagName("*")}return{set:set,expr:expr}};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;anyFound=false;if(curLoop==result){result=[]}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true}else if(match===true){continue}}if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true}else{curLoop[i]=false}}else if(pass){result.push(item);anyFound=true}}}}if(found!==undefined){if(!inplace){curLoop=result}expr=expr.replace(Expr.match[type],"");if(!anyFound){return[]}break}}}if(expr==old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr;}else{break}}old=expr}return curLoop};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")}},relative:{"+":function(checkSet,part,isXML){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag&&!isXML){part=part.toUpperCase()}for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName===part?elem||false:elem===part}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true)}},">":function(checkSet,part,isXML){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName===part?parent:false}}}else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part}}if(isPartStr){Sizzle.filter(part,checkSet,true)}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML)},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML)}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[]}},NAME:function(match,context,isXML){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i])}}return ret.length===0?null:ret}},TAG:function(match,context){return context.getElementsByTagName(match[1])}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match}for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").indexOf(match)>=0)){if(!inplace)result.push(elem)}else if(inplace){curLoop[i]=false}}}return false},ID:function(match){return match[1].replace(/\\/g,"")},TAG:function(match,curLoop){for(var i=0;curLoop[i]===false;i++){}return curLoop[i]&&isXML(curLoop[i])?match[1]:match[1].toUpperCase()},CHILD:function(match){if(match[1]=="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]=="even"&&"2n"||match[2]=="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0}match[0]=done++;return match},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]}if(match[2]==="~="){match[4]=" "+match[4]+" "}return match},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if(match[3].match(chunker).length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret)}return false}}else if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true}return match},POS:function(match){match.unshift(true);return match}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"},disabled:function(elem){return elem.disabled===true},checked:function(elem){return elem.checked===true},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true},parent:function(elem){return!!elem.firstChild},empty:function(elem){return!elem.firstChild},has:function(elem,i,match){return!!Sizzle(match[3],elem).length},header:function(elem){return/h\d/i.test(elem.nodeName)},text:function(elem){return"text"===elem.type},radio:function(elem){return"radio"===elem.type},checkbox:function(elem){return"checkbox"===elem.type},file:function(elem){return"file"===elem.type},password:function(elem){return"password"===elem.type},submit:function(elem){return"submit"===elem.type},image:function(elem){return"image"===elem.type},reset:function(elem){return"reset"===elem.type},button:function(elem){return"button"===elem.type||elem.nodeName.toUpperCase()==="BUTTON"},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)}},setFilters:{first:function(elem,i){return i===0},last:function(elem,i,match,array){return i===array.length-1},even:function(elem,i){return i%2===0},odd:function(elem,i){return i%2===1},lt:function(elem,i,match){return i<match[3]-0},gt:function(elem,i,match){return i>match[3]-0},nth:function(elem,i,match){return match[3]-0==i},eq:function(elem,i,match){return match[3]-0==i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array)}else if(name==="contains"){return(elem.textContent||elem.innerText||"").indexOf(match[3])>=0}else if(name==="not"){var not=match[3];for(i=0,l=not.length;i<l;i++){if(not[i]===elem){return false}}return true}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case'only':case'first':while((node=node.previousSibling)){if(node.nodeType===1)return false}if(type=='first')return true;node=elem;case'last':while((node=node.nextSibling)){if(node.nodeType===1)return false}return true;case'nth':var first=match[2],last=match[3];if(first==1&&last==0){return true}var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count}}parent.sizcache=doneName}var diff=elem.nodeIndex-last;if(first==0){return diff==0}else{return(diff%first==0&&diff/first>=0)}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName===match},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!=check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array)}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var makeArray=function(array,results){array=Array.prototype.slice.call(array);if(results){results.push.apply(results,array);return results}return array};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)}else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i])}}else{for(var i=0;array[i];i++){ret.push(array[i])}}}return ret}}var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true}return ret}}else if("sourceIndex"in document.documentElement){sortOrder=function(a,b){var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true}return ret}}else if(document.createRange){sortOrder=function(a,b){var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.selectNode(a);aRange.collapse(true);bRange.selectNode(b);bRange.collapse(true);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true}return ret}}(function(){var form=document.createElement("div"),id="script"+(new Date).getTime();form.innerHTML="<a name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(!!document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match}}root.removeChild(form);root=form=null})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i])}}results=tmp}return results}}div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)}}div=null})();if(document.querySelectorAll)(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return}Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra)}catch(e){}}return oldSizzle(query,context,extra,seed)};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop]}div=null})();if(document.getElementsByClassName&&document.documentElement.getElementsByClassName)(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(div.getElementsByClassName("e").length===0)return;div.lastChild.className="e";if(div.getElementsByClassName("e").length===1)return;Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])}};div=null})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i}elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i}if(elem.nodeName===cur){match=elem;break}elem=elem[dir]}checkSet[i]=match}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i}elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i}if(typeof cur!=="string"){if(elem===cur){match=true;break}}else if(Sizzle.filter(cur,[elem]).length>0){match=elem;break}}elem=elem[dir]}checkSet[i]=match}}}var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)};var isXML=function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&elem.ownerDocument.documentElement.nodeName!=="HTML"};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"")}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet)}return Sizzle.filter(later,tmpSet)};window.Sizzle=Sizzle})();
function ContentLoaded(w, a) {
var d = w.document,u = w.navigator.userAgent.toLowerCase();
function init(e) {
if (!arguments.callee.done) {
arguments.callee.done = true;
a(e)
}
}
if (/khtml|webkit/.test(u)) {
(function() {
if (/complete|loaded/.test(d.readyState)) {
init('poll')
} else {
setTimeout(arguments.callee, 10)
}
})()
} else if (/msie/.test(u) && !w.opera) {
(function() {
try {
d.documentElement.doScroll('left')
} catch(e) {
setTimeout(arguments.callee, 10);
return
}
init('poll')
})();
d.attachEvent('onreadystatechange', function(e) {
if (d.readyState == 'complete') {
d.detachEvent('on' + e.type, arguments.callee);
init(e.type)
}
})
} else if (d.addEventListener && (/gecko/.test(u) && parseFloat(u.split('rv:')[1]) >= 1.8) || (/opera/.test(u) && parseFloat(u.split('opera ')[1]) > 9)) {
d.addEventListener('DOMContentLoaded', function(e) {
this.removeEventListener(e.type, arguments.callee, false);
init(e.type)
}, false)
} else {
var b = w.onload;
w.onload = function(e) {
if (typeof b == 'function') {
b(e || w.event)
}
init((e || w.event).type)
}
}
}
var CSS = {addClass:function(a, b) {
if (b && !this.hasClass(a, b)) {
a.className = a.className + " " + b
}
return a
},radioClass:function(a, b) {
var c = a.parentNode.childNodes;
for (var i = 0; i < c.length; i++) {
var s = c[i];
if (s.nodeType == 1) {
this.removeClass(c[i], b)
}
}
this.addClass(a, b);
return a
},removeClass:function(a, b) {
if (!b || !a.className) {
return this
}
if (this.hasClass(a, b)) {
var c = new RegExp('(^|\\s+)' + b + '(\\s+|$)', 'g');
a.className = a.className.replace(c, '$1$2')
}
return a
},toggleClass:function(a, b) {
this.hasClass(a, b) ? this.removeClass(a, b) : this.addClass(a, b);
return a
},hasClass:function(a, b) {
return b && (' ' + a.className + ' ').indexOf(' ' + b + ' ') != -1
},replaceClass:function(a, b, c) {
this.removeClass(a, b);
this.addClass(a, c);
return a
}};
function getDom(a) {
if (!a || !document) {
return null
}
return typeof a == 'string' ? document.getElementById(a) : a
}
var listeners = [];
var Event = {addListener:function(b, c, d, f) {
b = getDom(b);
if (!b || !d) {
return false
}
f = f || {};
var g = function(e) {
return function() {
e = new EventObject(e);
if (e.type == 'mouseover' && !e.checkMouseEnter(b, e.browserEvent)) {
return
}
if (e.type == 'mouseout' && !e.checkMouseLeave(b, e.browserEvent)) {
return
}
if (f.delay) {
var a = setTimeout(function() {
d(e, b)
}, f.delay || 10);
if (e.type == 'mouseover') {
Event.addListener(b, 'mouseout', function() {
clearTimeout(a)
})
} else if (e.type == 'mouseout') {
Event.addListener(b, 'mouseover', function() {
clearTimeout(a)
})
}
} else {
d(e, b)
}
}()
};
listeners[listeners.length] = [b,c,d,g];
this.doAdd(b, c, g, false)
},removeListener:function(a, b, c) {
a = getDom(a);
var d = null,index = -1;
for (var i = 0,len = listeners.length; i < len; ++i) {
var e = listeners[i];
if (e && e[2] == c && e[0] == a && e[1] == b) {
index = i
}
}
if (index >= 0) {
d = listeners[index]
}
if (!a || !d) {
return false
}
this.doRemove(a, b, d[3], false);
delete listeners[index][3];
delete listeners[index][2];
listeners.splice(index, 1);
return true
},doAdd:function() {
if (window.addEventListener) {
return function(a, b, c, d) {
a.addEventListener(b, c, (d))
}
} else if (window.attachEvent) {
return function(a, b, c, d) {
a.attachEvent("on" + b, c)
}
} else {
return function() {
}
}
}(),doRemove:function() {
if (window.removeEventListener) {
return function(a, b, c, d) {
a.removeEventListener(b, c, (d))
}
} else if (window.detachEvent) {
return function(a, b, c) {
a.detachEvent("on" + b, c)
}
} else {
return function() {
}
}
}(),unload:function(e) {
var E = Event,i,j,l,index;
if (listeners && listeners.length > 0) {
j = listeners.length;
while (j) {
index = j - 1;
l = listeners[index];
if (l) {
E.removeListener(l[0], l[1], l[2], index)
}
j = j - 1
}
l = null
}
E.doRemove(window, 'unload', E.unload)
}};
EventObject = function() {
construct = function(e) {
if (e) {
this.setEvent(e.browserEvent || e)
}
};
construct.prototype = {browserEvent:null,setEvent:function(e) {
if (e && e.browserEvent) {
return e
}
this.browserEvent = e;
if (this.browserEvent) {
this.type = e.type;
this.target = this.browserEvent.target || this.browserEvent.srcElement;
isSafari = (/webkit|khtml/).test(navigator.userAgent.toLowerCase());
if (isSafari && this.target && 3 == this.target.nodeType) {
this.target = this.target.parentNode
}
} else {
this.target = null
}
return this
},stop:function() {
this.stopPropagation();
this.preventDefault()
},preventDefault:function() {
if (this.browserEvent.preventDefault) {
this.browserEvent.preventDefault()
} else {
this.browserEvent.returnValue = false
}
},stopPropagation:function() {
if (this.browserEvent.stopPropagation) {
this.browserEvent.stopPropagation()
} else {
this.browserEvent.cancelBubble = true
}
},getTarget:function() {
},getRelatedTarget:function() {
},containsDOM:function(a, b) {
var c = false;
do{
if ((c = a == b)) {
break
}
b = b.parentNode
} while (b != null)
{
}
;
return c
},checkMouseLeave:function(a, e) {
e = e || window.event;
if (a.contains && e.toElement) {
return!a.contains(e.toElement)
} else if (e.relatedTarget) {
return!this.containsDOM(a, e.relatedTarget)
}
},checkMouseEnter:function(a, e) {
e = e || window.event;
if (a.contains && e.fromElement) {
return!a.contains(e.fromElement)
} else if (e.relatedTarget) {
return!this.containsDOM(a, e.relatedTarget)
}
}};
return construct
}();
ContentLoaded(window, function() {
var E = Event;
E.doAdd(window, 'unload', E.unload, false)
});
if (typeof menuHideDefer == 'undefined') {
window.menuHideDefer = 300
}
/*
ContentLoaded(window, function() {
CSS.addClass(document.getElementById('csl'), 'smart');
var b = document.getElementById('csl').getElementsByTagName('a');
Event.addListener('csl', 'mouseout', function(e, a) {
CSS.removeClass(document.getElementById('csl'), 'active')
}, {delay:menuHideDefer});
Event.addListener(b[0], 'click', function(e, a) {
CSS.addClass(document.getElementById('csl'), 'active');
e.stop()
});
var c = function(e, a) {
a.href += getMyStay();
Event.removeListener(a, 'click', c)
};
for (var i = 1; i < b.length; i++) {
if (b[i].parentNode.id != 'ct') {
Event.addListener(b[i], 'click', c)
}
}
});
*/
function getMyStay() {
var z = "t";
var t = "opqrstuvwxyz";
myString = "malibu";
return"s" + z + myString.match(/a/) + t.charAt(10) + "/"
}
;
ContentLoaded(window, function() {
if (typeof awardShowDefer == 'undefined') {
window.awardShowDefer = 300
}
var b = document.getElementById('awz');
if (b) {
var c = document.getElementById('awz').getElementsByTagName('li');
CSS.removeClass(document.getElementById('awz'), 'plain');
for (var i = 0; i < c.length; i++) {
if (CSS.hasClass(c[i], 'ci')) {
CSS.replaceClass(c[i], 'ci', 'saa')
}
Event.addListener(c[i], 'mouseover', function(e, a) {
CSS.radioClass(a, 'saa')
}, {delay:awardShowDefer})
}
}
});
if (!Function.prototype.createDelegate) {
Function.prototype.createDelegate = function(obj, args, appendArgs){
var method = this;
return function() {
var callArgs = args || arguments;
if (appendArgs === true){
callArgs = Array.prototype.slice.call(arguments, 0);
callArgs = callArgs.concat(args);
} else if ('number' === typeof appendArgs) {
callArgs = Array.prototype.slice.call(arguments, 0); /* copy arguments first */
var applyArgs = [appendArgs, 0].concat(args); /* create method call params */
Array.prototype.splice.apply(callArgs, applyArgs); /* splice them in */
}
return method.apply(obj || window, callArgs);
};
};
}/*Old library -- to be prosecuted*/
ContentLoaded(
window,
function () {
var popup_blocks = Sizzle( '.popup' );
popup_blocks.forEach(
function ( popup_block ) {
var popup_trigger = Sizzle( '.button_popup', popup_block )[0];
if ( popup_trigger ) {
JSLib.Event.addListener(
popup_trigger,
'click',
function ( e, el ) {
el = el.parentNode;
if ( JSLib.CSS.hasClass( el, 'popup' ) ) {
JSLib.CSS.replaceClass( el, 'popup', 'popup-active' );
} else if ( JSLib.CSS.hasClass( el, 'popup-active' ) ) {
JSLib.CSS.replaceClass( el, 'popup-active', 'popup' );
}
}
);
}
JSLib.Event.addListener(
Sizzle( '.content', popup_block )[0],
'click',
function ( e, el ) {
JSLib.CSS.replaceClass( el.parentNode, 'popup-active', 'popup' );
e.stop();
}
);
JSLib.Event.addListener(
Sizzle( '.content', popup_block )[0],
'mouseout',
function ( e, el ) {
e = e.browserEvent || e;
var relatedTarget = e.relatedTarget || true;
relatedTarget.className = relatedTarget.className || 'fakeclass';
if ( ! /button_popup/.test( relatedTarget.className ) ) {
JSLib.CSS.replaceClass( el.parentNode, 'popup-active', 'popup' );
}
},
false,
{ delay : 300 }
);
}
);
}
);
var LocaleSwitcher = function(el) {
this.el = document.getElementById(el);
var defferedHideTimeout = false;
if (!this.el) {
return;
}
this.locale_elements = this.el.getElementsByTagName('li');
for (var i = 0; i < this.locale_elements.length; i++) {
Event.addListener(this.locale_elements[i].getElementsByTagName('a')[0], 'click', function(e, el) {
if (CSS.hasClass(el.parentNode, 'current')) {
CSS.toggleClass(el.parentNode.parentNode, 'active');
} else {
var location = window.document.location || window.location;
location.href = (el.href.replace(/((https?\:\/\/([\w]+\.)*[\w]+))[\/\s]+$/, '$1') + '/' + '\x73\x74\x61\x79');
}
e.stop();
});
};
Event.addListener(this.el, 'mouseover', function(e, el) {
if (defferedHideTimeout) {
clearTimeout(defferedHideTimeout);
defferedHideTimeout = false;
}
}, {delay: 300});
Event.addListener(this.el, 'mouseout', function(e, el) {
if (!defferedHideTimeout) {
defferedHideTimeout = setTimeout(this.hide.createDelegate(this), 500);
}
}.createDelegate(this));
Event.addListener(window.document, 'click', function(e, el) {
var el = e.getTarget();
while (el && el.nodeType !== 'HTML' && el.nodeType !== 'BODY' && el.id !== this.el.id) {
el = el.parentNode;
}
if (!el || el.id != this.el.id) {
if (defferedHideTimeout) {
clearTimeout(defferedHideTimeout);
defferedHideTimeout = false;
}
this.hide();
}
}.createDelegate(this));
};
LocaleSwitcher.prototype = {
/**
* TODO: make visible first active locale by default
* @param locale
*/
correctLocale: function(locale) {
return locale.replace(/^(..)_(..)$/, function(s, m1, m2) {
return m1.toLowerCase() + '-' + m2.toUpperCase();
});
},
/**
* One of the locales can be "en", "en-AU", but not "AU"
*/
setActiveLocales: function (locales, invert) {
var i;
locales = locales.split(/[,\s\r\n]+/);
if (!locales.length) {
CSS.addClass(this.el, 'disabled');
return;
}
for (i = 0; i < locales.length; i++) {
locales[i] = this.correctLocale(locales[i]);
}
var re = new RegExp('^(' + locales.join('|') + ')(\-|$)', 'i');
for (i = 0; i < this.locale_elements.length; i++) {
if (this.locale_elements[i].lang && re.test(this.locale_elements[i].lang)) {
if (invert) {
CSS.addClass(this.locale_elements[i], 'disabled');
} else {
CSS.removeClass(this.locale_elements[i], 'disabled');
}
} else if (!invert) {
CSS.addClass(this.locale_elements[i], 'disabled');
} else {
CSS.removeClass(this.locale_elements[i], 'disabled');
}
}
return this;
},
setInactiveLocales: function (locales) {
this.setActiveLocales(locales, true);
return this;
},
/**
* Current locale automatically becomes active (visible) if it was previously disabled.
* @param locale
*/
setCurrentLocale: function (locale) {
locale = this.correctLocale(locale);
for (var i = 0; i < this.locale_elements.length; i++) {
if (this.locale_elements[i].lang && this.locale_elements[i].lang.toLowerCase() === locale.toLowerCase()) {
CSS.removeClass(this.locale_elements[i], 'disabled');
CSS.addClass(this.locale_elements[i], 'current');
} else {
CSS.removeClass(this.locale_elements[i], 'current');
}
};
return this;
},
hide: function() {
CSS.removeClass(this.el, 'active');
return this;
}
};
ContentLoaded(window, function() {
var AcronisLanguageSwitcher = new LocaleSwitcher('site-selection-list');
AcronisLanguageSwitcher
/* .setActiveLocales('en-EU,fr,es,de,it')*/
.setInactiveLocales('da,fi,sv,no')
.setCurrentLocale('en-US');
});
ContentLoaded(
window,
function () {
var $ = Sizzle;
var main_menu_holder = Sizzle( '#main_menu' )[0];
var main_menu = Sizzle( '#main_menu > ul.navigation' )[0];
var tabs = Sizzle( 'li.blue,li.aqua,li.orange,li.green', main_menu );
if ( main_menu_holder ) {
JSLib.CSS.removeClass( main_menu_holder, 'nojs' );
}
Sizzle( 'div.shade' ).forEach(
function ( shade ) {
if ( typeof document.body.style.maxHeight != "undefined" ) { // SKIP FOR IE6
JSLib.CSS.replaceClass( shade, 'shade', 'shadow' );
[ "shadow_t",
"shadow_r",
"shadow_b",
"shadow_l",
"corner_tl",
"corner_tr",
"corner_br",
"corner_bl"
].forEach(
function ( el ) {
var emElement = document.createElement( 'EM' );
emElement.className = el;
shade.appendChild( emElement );
}
);
}
}
);
JSLib.Event.addListener(
Sizzle( '#searchtext' )[0],
'focus',
function ( e, el ) {
el.value = '';
}
);
Sizzle( 'ul.navigation > li > ul > li' ).forEach(
function ( item ) {
JSLib.Event.addListener(
item,
'mouseover',
function ( e, el ) {
JSLib.CSS.addClass( el, 'hover' );
Sizzle( 'div.shadow', el ).forEach(
function ( shadow ) {
if ( typeof document.body.style.maxHeight != "undefined" ) { // SKIP FOR IE6
Sizzle( '.shadow_t,.shadow_r,.shadow_b,.shadow_l', shadow ).forEach(
function ( shadowEl ) {
if ( shadowEl.className === 'shadow_t' || shadowEl.className === 'shadow_b' ) {
shadowEl.style.width = shadow.clientWidth - 12 + 'px';
}
if ( shadowEl.className === 'shadow_l' || shadowEl.className === 'shadow_r' ) {
shadowEl.style.height = shadow.clientHeight - 12 + 'px';
}
}
);
}
}
);
}
);
JSLib.Event.addListener(
item,
'mouseout',
function ( e, el ) {
JSLib.CSS.removeClass( el, 'hover' );
}
);
}
);
}
);