function openWindow(strData)
{
	window.open(strData, "", "width=800, height=710, toolbar=no, scrollbars=yes, resizable=yes"); 
	return;
}

function scrollWindow(num,height)
{
	n = num;
	h = height;
	f = 1;
	y = 0;
	t = 40;
	setTimeout("scrollTimer()",t);
}

function scrollTimer()
{
	var b = n * (150 + 2 + 28) + 14;

	if(f > 0){
		if(y >= b - h){
			f = f * (-1);
		}
		else{
			y = y + f;
		}
	}
	else{
		if(y <= 0){
			f = f * (-1);
		}
		else{
			y = y + f;
		}
	}

	window.scroll(0,y);
//	window.status = y;
	setTimeout("scrollTimer()",t);
}
