// JavaScript Document
var sDiv="" 
var inEm = 10 
var mClick = 1 

function pndo(x, button) { 
	if(mClick==1) { 
	sDiv = x;
	if (document.getElementById(sDiv).style.height=="auto") { 
		document.getElementById(sDiv).style.height="28px"; 
		document.getElementById(sDiv).style.overflow="hidden"
		button.src = "/img/p_header_closed.gif"; 
		button.alt = "Expand"; } 
	else { 
		button.src = "/img/p_header_open.gif"; 
		button.alt = "Close";
		pndoAn(x);} 
	} 
} 

function pndoAn(){ 
	if (document.getElementById(sDiv).offsetHeight < (document.getElementById(sDiv).scrollHeight-25)) { 
	document.getElementById(sDiv).style.height=(inEm + "em") 
	inEm+=1.4; 
	setTimeout("pndoAn()","10") 
	} 
	else { 
	document.getElementById(sDiv).style.height="auto"; 
	document.getElementById(sDiv).style.overflow="visible"
	inEm = 10; } 
	} 

function test() { 
	alert("test"); 
	}
	
function myPopup(theURL) {
	window.open( theURL, "spotwave", "status = 1, height = 420, width = 450, resizable = 0, scrollbars=1" )
}
	
function myGallery(theURL) {
	window.open( theURL, "spotwave", "status = 1, height = 705, width = 650, resizable = 0, scrollbars=1" )
}
		
