window.onerror=null;
var isDOM=document.getElementById;
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 popUp_650(pPage) {
  window.open(pPage,'popWin','resizable=yes,scrollbars=yes,width=630,height=600,toolbar=no');
}
function popUp_850(pPage) {
  window.open(pPage,'popWin','resizable=yes,scrollbars=yes,width=850,height=600,toolbar=no');
}
function expand(thistag, tag) {
   styleObj=document.getElementById(thistag).style;
   var myImage = tag;
   if (styleObj.display=='none')
   {
   	styleObj.display='';
    if (myImage){
      myImage.src = 'images/arrless_gr.gif';
      myImage.alt = 'on';
    }
   }
   else {
   	styleObj.display='none';
    if (myImage){
      myImage.src = 'images/arrmore_gr.gif';
      myImage.alt = 'off';
   }
   }
}

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]:'';
}
function msOver(ms,e){
	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='+location.href;
		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('lnk',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='205px';
		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=200;
		}
	m.style.display='block';}else
		mc=null;
	}
function mover(e){var e=e||window.event;e=e.target||e.srcElement;if(e.tagName=='IMG')e=e.parentNode||e.parentElement;if(e&&e.getAttribute('lnk',0))e.className='itmh';dmTimerOver();}
function mout(e){var e=e||window.event;e=e.target||e.srcElement;if(e.tagName=='IMG')e=e.parentNode||e.parentElement;if(e&&e.getAttribute('lnk',0))e.className='itm';dmTimerOut();}
function mcl(e,source){
	var e=e||window.event;
	e=e.target||e.srcElement;
	var r=e.getAttribute('lnk',0);
	if(!r)return;
 	var dest = '';
	if(r.match('http')){dest = r;}else dest=r;
	location.href=dest;
}
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='';}
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 ll;function showLoc(){if(!ll)ll=el('llist');if(!ll)return;dmTimer=10;DMenuTimer();ll.style.left=el('logo').offsetLeft+el('logo').offsetWidth+2-ll.offsetWidth+'px';ll.className=(ll.className)?'':'vis';}
dmReady=document.getElementById||(document.all&&document.all.item&&!window.opera);