var nrx='c00';

function hide_pic()
{
			document.getElementById("container").style.display = 'none';
}

function show_pic()
{
			document.getElementById("container").style.display = 'block';
}

function show_content(nr,srx) 
{
		document.getElementById(nrx).style.display = 'none';
		document.getElementById(srx).style.display = 'none';
		vista = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
		document.getElementById(nr).style.display = vista;
nrx=nr;
srx=nr;
}

/* popup windows  START */
var winheight=260
var winwidth=470
var pop=null
step=1;

function popswindows(url,name,width,height) 
{
if (!document.all)
 {
  if (!document.layers)
   {
    paramstp="height="+height+",width="+width+",top=10"+
    ",left=10,scrollbars=yes,location=no"+
    ",directories=no,status=no,menubar=no,toolbar=no,resizable=yes"
    pop=window.open(url,name,paramstp);
	if (pop.focus)
		{
			pop.focus();
		}
	return;
    }
   else
   {
	LeftPosition=(screen.width)?(screen.width-width)/4:100;
    TopPosition=(screen.height)?(screen.height-height)/2.3:100;
    paramstp="height="+height+",width="+width+",top="+TopPosition+
    ",left="+LeftPosition+",scrollbars=yes,location=no"+
    ",directories=no,status=no,menubar=no,toolbar=no,resizable=yes"
    pop=window.open(url,name,paramstp);
	loadpos=height/2-40
        if(pop.focus){pop.focus();} 
    return;
   } 
 } 
	LeftPosition=(screen.width)?(screen.width-width)/4:100;
	TopPosition=(screen.height)?(screen.height-height)/2.3:100;
	paramstp="height="+winheight+",width="+winwidth+",top="+TopPosition+",left="+LeftPosition+
	",scrollbars=yes,location=no"+",directories=no,status=no,menubar=no,toolbar=no,resizable=yes"
	pop=window.open(url,name,paramstp);
 x = y = step
var z = 1

while (z < 250) {
pop.resizeBy (x, y)
z ++;
}
 if(pop.focus){pop.focus();} 
}
/* popup windows  END */
