
var currentIndex=1;
var resizeTimer;
function resizeDesc(d)
{
	clearTimeout(resizeTimer);
	d.style.pixelHeight=descHeight-74;
	//resizeTimer=setTimeout("resize()",30);
}
function resize()
{
	clearTimeout(resizeTimer);
	var add=descHeight-d.style.pixelHeight;
	if(add>15)add=15;
	if(add>14)
	{
		d.style.pixelHeight=addItem.style.pixelHeight+add;
		resizeTimer=setTimeout("resize()",30);
	}
	else
	{
		d.style.pixelHeight=descHeight;
	}
}
function pv(n)
{
	//if(currentIndex==n)return;

	listgroup1.style.display="none";
	listgroup1a.setAttribute("src","/images/2009shqw/images/k1.gif");
	
	listgroup2.style.display="none";
	listgroup2a.setAttribute("src","/images/2009shqw/images/k2.gif");

if(n==1){
	listgroup1.style.display="block";
	
	listgroup1a.setAttribute("src","/images/2009shqw/images/kk1.gif");
}
if(n==2){
	listgroup2.style.display="block";
	
	listgroup2a.setAttribute("src","/images/2009shqw/images/kk2.gif");
}

	//if(n==1)resizeDesc("listgroup1");
	//if(n==2)resizeDesc("listgroup2");

	//currentIndex=n;
}