function changeImage(changer) {
  newImage = theImages[changer];
  document.getElementById('port_img').style.background='url(img/loadingAnimation.gif) center center no-repeat';
  document.getElementById('port_img').style.background= newImage+ ' top center no-repeat';    
  if (cur_img!=changer)
  {
	document.getElementById('thumb'+changer).className='active';
	if (cur_img!=-1) {document.getElementById('thumb'+cur_img).className='';}
 }
  cur_img=changer;
}
function changeRollover(rollstat) {
  newText = theRollover[rollstat];
  document.getElementById('status').innerHTML = newText;
}

function exitRollover() {
  document.getElementById('status').innerHTML = "&nbsp;";
}
function prod_show(id)
{
	var l,lc,a,ac;
	l=document.getElementById(id);	
	
	lc=document.getElementById(cur_l);
	
	a=document.getElementById('a'+id);
	
	ac=document.getElementById('a'+cur_l);
	if (cur_l != id) {
	if (a) {a.className='active';}
	
	if (ac) {ac.className='';}}
	
	if (lc) {lc.style.display='none';}
	if (l) {l.style.display='block';cur_l=id;}/**/	
}
cur_l='prod_descr';