function logohomeover(id){
	document.getElementById(id).src='images/'+id+'-sm.gif';
	document.getElementById(id).style.borderLeft="1px solid #ffffff";
}
function logohomeout(id){
	document.getElementById(id).src='images/1x1.gif';
	document.getElementById(id).style.borderLeft="1px none";
}

function ShowChooseBox(){    
    document.getElementById('box').style.display="block";    
}
function HideChooseBox(){    
    document.getElementById('box').style.display="none";
}

function init(){    
      
      imp = document.getElementById('img2');
      for(var i=0 ; i < imp.childNodes.length; i++){
          if (imp.childNodes[i].nodeType==1 && imp.childNodes[i].nodeName.toUpperCase()=='IMG'){
            imp=imp.childNodes[i];
            break;
          }
      }
      
      imp1 = document.getElementById('img2');
      
      for(var i=0 ; i < imp1.childNodes.length; i++){
          if (imp1.childNodes[i].nodeType==1 && imp1.childNodes[i].nodeName.toUpperCase()=='IMG'){
            x[i] = imp1.childNodes[i];      
            imgWidth[i] = imp1.childNodes[i].clientWidth;
            x[i].style.cssText= x[i].style.cssText +'; display:none;';            
          }
        } 
        
      imp.style.display='block';     
      startStyle = imp.style.cssText; 
      
      if(imgWidth.length!=0)
        setTimeout(function(){show_img(count,'hide')}, 2000);    
}