 ");
	} else {
		if (window.screen.availWidth > 1100) {
			if (document.forms[0].bannerwide.value != "") {
				$("#divBanner").html("
");
	} else {
		if (window.screen.availWidth > 1100) {
			if (document.forms[0].bannerwide.value != "") {
				$("#divBanner").html(" ");
			}
		} else {
			if (document.forms[0].banner1024_786.value != "") {
				$("#divBanner").html("
");
			}
		} else {
			if (document.forms[0].banner1024_786.value != "") {
				$("#divBanner").html(" ");
		}
	}
}
function Click_Field(ModalDialog_Name,Sour){
	var pathname = window.location.pathname.toUpperCase();
	var pathname=pathname.substring(0,pathname.lastIndexOf('NSF'))+'nsf/';
	var giatri = 	window.showModalDialog(pathname+ModalDialog_Name+'?OpenForm','Address','status:no;resizable=no;scrollbars:no;screenX:100;screenY:100;dialogWidth:300px;dialogHeight:300px');
	if (giatri!=null){  
		Sour.value=giatri;
		}
	}
function openDBRelativeURL( elemName ){
	pathName = location.pathname.split('.nsf');
	location.href = pathName[0] + '.nsf/' + elemName;
}
function doDelete( setSubmitVar) {
if ( confirm('B\u1EA1n c\u00F3 mu\u1ED1n xo\u00E1 b\u1EA3n ghi \u0111\u00F3 kh\u00F4ng?') ){
		isDocBeingSubmitted = true;
		location.search = "?DeleteDocument";
	}
}
function trim(aStr) {
	return aStr.replace(/^\s{1,}/, "").replace(/\s{1,}$/, "")
}
if (!String.prototype.trim) {
   String.prototype.trim=function(){return this.replace(/^\s\s*/, '').replace(/\s\s*$/, '');};
}
//Ham SelectOne(Sour,Dest,inUse)  dung de xu ly lua chon torng listbox 
//no chuyen mot selectedIndex trong truong Sour chuyen sang truong Dest
function SelectOne(Sour,Dest,inUse){
	var flag=true;
	var SLength = Sour.options.length;
	var DLength = 0;	
	DLength=(Dest.options.length);
	if(SLength > 0){
     	           if(Sour.options[Sour.selectedIndex].value != "" && Sour.options[Sour.selectedIndex].value != "-1" ){
		         if(DLength==0){
			      Dest.options.length = Dest.options.length + 1;
			      Dest.options[Dest.options.length - 1].value=Sour.options[Sour.selectedIndex].value;
			      Dest.options[Dest.options.length - 1].text=Sour.options[Sour.selectedIndex].text;}
                                          else{
			       for(i=0;i
");
		}
	}
}
function Click_Field(ModalDialog_Name,Sour){
	var pathname = window.location.pathname.toUpperCase();
	var pathname=pathname.substring(0,pathname.lastIndexOf('NSF'))+'nsf/';
	var giatri = 	window.showModalDialog(pathname+ModalDialog_Name+'?OpenForm','Address','status:no;resizable=no;scrollbars:no;screenX:100;screenY:100;dialogWidth:300px;dialogHeight:300px');
	if (giatri!=null){  
		Sour.value=giatri;
		}
	}
function openDBRelativeURL( elemName ){
	pathName = location.pathname.split('.nsf');
	location.href = pathName[0] + '.nsf/' + elemName;
}
function doDelete( setSubmitVar) {
if ( confirm('B\u1EA1n c\u00F3 mu\u1ED1n xo\u00E1 b\u1EA3n ghi \u0111\u00F3 kh\u00F4ng?') ){
		isDocBeingSubmitted = true;
		location.search = "?DeleteDocument";
	}
}
function trim(aStr) {
	return aStr.replace(/^\s{1,}/, "").replace(/\s{1,}$/, "")
}
if (!String.prototype.trim) {
   String.prototype.trim=function(){return this.replace(/^\s\s*/, '').replace(/\s\s*$/, '');};
}
//Ham SelectOne(Sour,Dest,inUse)  dung de xu ly lua chon torng listbox 
//no chuyen mot selectedIndex trong truong Sour chuyen sang truong Dest
function SelectOne(Sour,Dest,inUse){
	var flag=true;
	var SLength = Sour.options.length;
	var DLength = 0;	
	DLength=(Dest.options.length);
	if(SLength > 0){
     	           if(Sour.options[Sour.selectedIndex].value != "" && Sour.options[Sour.selectedIndex].value != "-1" ){
		         if(DLength==0){
			      Dest.options.length = Dest.options.length + 1;
			      Dest.options[Dest.options.length - 1].value=Sour.options[Sour.selectedIndex].value;
			      Dest.options[Dest.options.length - 1].text=Sour.options[Sour.selectedIndex].text;}
                                          else{
			       for(i=0;i