﻿// JScript 文件
function CheckAll(form)
{
	for (var i=0;i<aspnetForm.elements.length;i++)
	{
		var e = aspnetForm.elements[i];
		if (e.name != 'chkall')
		e.checked = aspnetForm.chkall.checked;
	}
}

function openwin(wW,wH,wHref,winname) 
{
		var xMax = screen.width, yMax = screen.height;
		var xOffset = (xMax - wW)/2, yOffset = (yMax - wH)/2;
		win = window.open(wHref,winname, 'width=' + wW + ',height=' + wH + ',top='+yOffset+',left='+xOffset+',toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=yes');
}

function Upload(path)
{
		openwin('500','420',path,'EditFolder')
}
