//功能：替换图片功能
//文件:picture.asp
function img_show()
{
	if(arguments.length == 2)
	{
		document.getElementById('imgProduct').src = arguments[0];
		document.getElementById('imgPath').value = arguments[1];
	}
	else if(arguments.length == 1)
	{
		document.getElementById('imgProduct').src = arguments[0];
	}
}

function ShowBigImg(pid)
{
	var id=pid
	var imgPath=document.getElementById('imgPath').value;
	window.open('show_big_img.asp?id='+id+'&imgPath='+imgPath,'newwindow','height=650, width=700,top=0,left=0,toolbar=no,scorollbars,menubar=no,location=no,resizable=yes');
}

function ShowBigImg2(pid,imgPath)
{
	var id=pid
	window.open('show_big_img.asp?id='+id+'&imgPath='+imgPath,'newwindow','height=650, width=700,top=0,left=0,toolbar=no,scorollbars,menubar=no,location=no,resizable=yes');
}