function tabswitch(t1, t2, t3, b1, b2, b3)
{
  t1.style.display = "block";
  t2.style.display = "none"; 
  t3.style.display = "none"; 
  b1.className="transoff";
  b2.className="transon"; 
  b3.className="transon"; 
}

function popupopen(){
if( document.body && ( document.body.scrollWidth || document.body.scrollHeight ) ) {      
  document.getElementById("PopUp").style.width = document.body.scrollWidth+'px';      
  document.getElementById("PopUp").style.height = document.body.scrollHeight+'px';    } 
  else if( document.body.offsetWidth ) {      
  	document.getElementById("PopUp").style.width = document.body.offsetWidth+'px';     
  	document.getElementById("PopUp").style.height = document.body.offsetHeight+'px';    } 
  	else {       
  		document.getElementById("PopUp").style.width='100%';       
  		document.getElementById("PopUp").style.height='100%';    }
document.getElementById('PopUp').style.display = 'block'; 
document.getElementById('picture').style.display = 'block';
window.scrollTo(0,0);
}

function popupclose(){
document.getElementById('PopUp').style.display = 'none';
document.getElementById('picture').style.display = 'none';
}

