	function SelectPic(Text){
		var ImgUrl;
		ImgUrl=OpenWindow('../Dialog/SelectPic.asp?ShowType=1&CurrPath=/product',550,350);
		if (ImgUrl!=''){
			if(ImgUrl!='undefined'){
				Text.value=ImgUrl;
			}
		}
	}
	function UploadFile(TheText){
		var url;
		url=OpenWindow('Upload.asp?Path='+frames["FolderList"].CurrPath,280,150,window);
		if (url!=''){
			if(url!='undefined'){
				TheText.value=url;
			}
		}
	}
	function OpenWindow(Url,Width,Height){
		var RVal;
		RVal=showModalDialog(Url,window,'dialogWidth:'+ Width +'pt;dialogHeight:'+ Height +'pt;status:no;help:no;scroll:no;');
		return RVal;
	}
	function ShowQuery(Obj,Infor){
		if(confirm(Infor)){
			Obj.document.inbox.submit();
			return true;
		}
		return false;
	}
	function Emphasize(TheTr){
		TheTr.className='ewTableEditRow';
	}
	function Comeback(TheTr){
		TheTr.className='';
	}
