var ColumnLeftWidthForMenu; 
var ColumnRightWidthForAdv;

ColumnLeftWidthForMenu = 125;
ColumnRightWidthForAdv = 200


//*************************************************
function writeLeftColumnWidth()
{
	document.write("width=" + ColumnLeftWidthForMenu);
}


//*************************************************
function writeRightColumnWidth()
{
	document.write("width=" + ColumnRightWidthForAdv);
}


//*************************************************
function openSurvey(vLink, vHeight, vWidth)
{
	var winDef;
	winDef = 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(vHeight).concat(',').concat('width=').concat(vWidth).concat(',');
	winDef = winDef.concat('top=').concat((screen.height - vHeight)/2).concat(',');
	winDef = winDef.concat('left=').concat((screen.width - vWidth)/2);
	window.open(vLink, '_blank', winDef);
}


//*************************************************
function EnlargePicture(vLink, vHeight, vWidth)
{
	var winDef;
	winDef = 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(vHeight).concat(',').concat('width=').concat(vWidth).concat(',');
	winDef = winDef.concat('top=').concat((screen.height - vHeight)/2).concat(',');
	winDef = winDef.concat('left=').concat((screen.width - vWidth)/2);
	newwin = window.open('', '_blank', winDef);
	newwin.document.writeln('<html>');
	newwin.document.writeln('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">');
	newwin.document.writeln('<img src="' + vLink + '" onclick="window.close();" style="cursor:hand;">');
	newwin.document.writeln('</body>');
	newwin.document.writeln('</html>');

}


//*************************************************
function OpenFilterWindow(vLink, vHeight, vWidth)
{
	var winDef;
	winDef = 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(vHeight).concat(',').concat('width=').concat(vWidth).concat(',');
	winDef = winDef.concat('top=').concat((screen.height - vHeight)/2).concat(',');
	winDef = winDef.concat('left=').concat((screen.width - vWidth)/2);
	window.open(vLink, '_blank', winDef);
}

function writeMucLuc()
{

}

function writeMiddleColTitle()
{

}

function writeRightColTitle()
{

}


//*************************************************
function writeSearchForm()
{

var checkURL;
checkURL = window.location.href;
checkURL = checkURL.toString();
checkURL = checkURL.toLowerCase();


//*************************************************
if (checkURL.search('dang-quang-cao') == -1)
	{
		document.write('<table border="0" width="100%" bgcolor="#1B67A0">');
		document.write('  <tr>');
		document.write('    <td width="100%">');
		document.write('<form method="POST" name="Search" action="/Search/Search.asp">');
		document.write('<img src="/Images/icon_search.gif"><font class="LeftmenuSupport">T&#236;m ki&#7871;m </font><br>');
		document.write('<input type="text" name="T1" size="17" style="font-family: Verdana; font-size: 8pt" onkeyup="initTyper(this)"><br><input type="submit" onclick="return checkSeacrhValue(document.Search.T1.value);" value="Search" name="B1" style="font-family: Verdana; font-size: 7pt; color: #FFFF00; font-weight: bold; background-color: #1B67A0">');
		document.write('</form>');
		document.write('	</td>');
		document.write('  </tr>');
		document.write('</table>');
	}
}



//*************************************************
function openAdWindow(vLink)
{
	var sLink = (typeof(vLink.href) == 'undefined') ? vLink : vLink.href;

	open(sLink, '_blank');

	if (typeof(vLink.href) != 'undefined')
	{
		return false;
	}
}


//*************************************************
function checkSeacrhValue(myval)
{
	if (myval == '')
	{
		return false;	
	}

	else
	{
		myval = escape(UnicodeSet(myval));
		document.Search.submit();
	}
}


//*************************************************
function ReplaceAll(iStr, v1, v2)
{
	var i = 0, oStr = '', j = v1.length;

	while (i < iStr.length)
	{
		if (iStr.substr(i, j) == v1)
		{
			oStr+=v2;
			i+=j
		}
		else
		{
			oStr+=iStr.charAt(i);
			i++;
		}
	}

	return oStr;
}


//*************************************************
function UnicodeSet(iStr)
{
	for (i=0, oStr=''; i < iStr.length; i++)
	{
		switch ((j=iStr.charCodeAt(i)))
		{
		case 34:
			oStr=oStr.concat('&quot;');
			break;
		case 38:
			oStr=oStr.concat('&amp;');
			break;
		case 39:
			oStr = oStr.concat('&#39;');
			break;
		case 60:
			oStr = oStr.concat('&lt;');
			break;
		case 62:
			oStr = oStr.concat('&gt;');
			break;
		default:
			if (j < 32 || j > 127 || j==34 || j==39)
			{
				oStr=oStr.concat('&#').concat(j).concat(';');
			}
			else
			{
				oStr=oStr.concat(iStr.charAt(i)); 
			}
			break;
		}
	}
	
	return oStr;
}


//*************************************************
function UnicodeSet_Editor(iStr)
{
	for (i=0, oStr=''; i < iStr.length; i++)
	{
		switch ((j=iStr.charCodeAt(i)))
		{
		case 34:
			oStr=oStr.concat('&quot;');
			break;
		case 38:
			oStr=oStr.concat('&amp;');
			break;
		case 39:
			oStr = oStr.concat('&#39;');
			break;
		case 60:
			oStr = oStr.concat('<');
			break;
		case 62:
			oStr = oStr.concat('>');
			break;
		default:
			if (j < 32 || j > 127 || j==34 || j==39)
			{
				oStr=oStr.concat('&#').concat(j).concat(';');
			}
			else
			{
				oStr=oStr.concat(iStr.charAt(i)); 
			}
			break;
		}
	}
	
	return oStr;
}


//*************************************************
//The Section of TOPIC
function writeTOPGoods()
{
var currURL;
currURL = window.location.href;
currURL = currURL.toString();
currURL = currURL.toLowerCase();
CatFolder = CatFolder.toString();
CatFolder = CatFolder.toLowerCase();

//<!-- Begin of function-->
if (CatFolder == '/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=4>');
document.write('<font face=Arial size=2><b>B&#225;n nhi&#7873;u xe m&#225;y, c&#225;c lo&#7841;i - c&#225;c ki&#7875;u</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=2>');
document.write('<font face=Arial size=2><b>HN - M&#7897;t s&#7889; nh&#224; chung c&#432; b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=6>');
document.write('<font face=Arial size=2><b>Nhi&#7873;u &#273;i&#7879;n tho&#7841;i Samsung b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=3>');
document.write('<font face=Arial size=2><b>Tuy&#7875;n nh&#226;n s&#7921; cho c&#225;c v&#7883; tr&#237; CNTT</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=1>');
document.write('<font face=Arial size=2><b>M&#7897;t s&#7889; &#272;i&#7879;n tho&#7841;i NOKIA &#273;ang c&#7847;n b&#225;n, nhi&#7873;u l&#7921;a ch&#7885;n cho b&#7841;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=5>');
document.write('<font face=Arial size=2><b>Danh s&#225;ch xe du l&#7883;ch h&#7841;ng sang &#273;ang b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/dich-vu-van-phong/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=5>');
document.write('<font face=Arial size=2><b>Danh s&#225;ch xe du l&#7883;ch h&#7841;ng sang &#273;ang b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/thiet-bi-van-phong/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=1>');
document.write('<font face=Arial size=2><b>M&#7897;t s&#7889; &#272;i&#7879;n tho&#7841;i NOKIA &#273;ang c&#7847;n b&#225;n, nhi&#7873;u l&#7921;a ch&#7885;n cho b&#7841;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/thiet-bi-van-phong/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=4>');
document.write('<font face=Arial size=2><b>B&#225;n nhi&#7873;u xe m&#225;y, c&#225;c lo&#7841;i - c&#225;c ki&#7875;u</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/dien-thoai/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=6>');
document.write('<font face=Arial size=2><b>Nhi&#7873;u &#273;i&#7879;n tho&#7841;i Samsung b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/dien-thoai/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=1>');
document.write('<font face=Arial size=2><b>M&#7897;t s&#7889; &#272;i&#7879;n tho&#7841;i NOKIA &#273;ang c&#7847;n b&#225;n, nhi&#7873;u l&#7921;a ch&#7885;n cho b&#7841;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/dien-thoai/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=4>');
document.write('<font face=Arial size=2><b>B&#225;n nhi&#7873;u xe m&#225;y, c&#225;c lo&#7841;i - c&#225;c ki&#7875;u</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/o-to-xe-may/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=4>');
document.write('<font face=Arial size=2><b>B&#225;n nhi&#7873;u xe m&#225;y, c&#225;c lo&#7841;i - c&#225;c ki&#7875;u</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/o-to-xe-may/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=1>');
document.write('<font face=Arial size=2><b>M&#7897;t s&#7889; &#272;i&#7879;n tho&#7841;i NOKIA &#273;ang c&#7847;n b&#225;n, nhi&#7873;u l&#7921;a ch&#7885;n cho b&#7841;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/o-to-xe-may/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=5>');
document.write('<font face=Arial size=2><b>Danh s&#225;ch xe du l&#7883;ch h&#7841;ng sang &#273;ang b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/tim-viec-lam/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=3>');
document.write('<font face=Arial size=2><b>Tuy&#7875;n nh&#226;n s&#7921; cho c&#225;c v&#7883; tr&#237; CNTT</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/tuyen-dung/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=3>');
document.write('<font face=Arial size=2><b>Tuy&#7875;n nh&#226;n s&#7921; cho c&#225;c v&#7883; tr&#237; CNTT</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/nha-dat/can-ban/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=2>');
document.write('<font face=Arial size=2><b>HN - M&#7897;t s&#7889; nh&#224; chung c&#432; b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/nha-dat/can-thue/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=5>');
document.write('<font face=Arial size=2><b>Danh s&#225;ch xe du l&#7883;ch h&#7841;ng sang &#273;ang b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/phanmem-web/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=4>');
document.write('<font face=Arial size=2><b>B&#225;n nhi&#7873;u xe m&#225;y, c&#225;c lo&#7841;i - c&#225;c ki&#7875;u</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/phanmem-web/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=3>');
document.write('<font face=Arial size=2><b>Tuy&#7875;n nh&#226;n s&#7921; cho c&#225;c v&#7883; tr&#237; CNTT</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/phanmem-web/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=6>');
document.write('<font face=Arial size=2><b>Nhi&#7873;u &#273;i&#7879;n tho&#7841;i Samsung b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/thiet-bi-van-phong/can-ban/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=6>');
document.write('<font face=Arial size=2><b>Nhi&#7873;u &#273;i&#7879;n tho&#7841;i Samsung b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/thiet-bi-van-phong/can-ban/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=5>');
document.write('<font face=Arial size=2><b>Danh s&#225;ch xe du l&#7883;ch h&#7841;ng sang &#273;ang b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/nha-dat/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=2>');
document.write('<font face=Arial size=2><b>HN - M&#7897;t s&#7889; nh&#224; chung c&#432; b&#225;n</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}
if (CatFolder == '/quang-cao/nha-dat/')
{
document.write('<br>');
document.write('<table width=100% border=0 cellspacing=2 cellpadding=5 bgcolor=#8DC4E0><tr><td bgcolor=#FFFFFF>');
document.write('<a class=topic href=/Topic/Groups.Asp?g=4>');
document.write('<font face=Arial size=2><b>B&#225;n nhi&#7873;u xe m&#225;y, c&#225;c lo&#7841;i - c&#225;c ki&#7875;u</b></font>');
document.write('</a>');
document.write('</td></tr></table>');
}

//<!-- Ending of function-->
}
//End Section of TOPIC


//*************************************************
//The Section of Menu tin Tiep thi
function AddMenuNews()
{
	
	//document.write('<font face="Arial" size="2" color="#000080">&nbsp;<a class="topmenulink" href="/">Trang Home</a>&nbsp;');
	//document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/San-Pham-Moi/">S&#7843;n ph&#7849;m m&#7899;i</a>&nbsp;');
	//document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Vui-Choi-Giai-Tri/">Vui ch&#417;i - gi&#7843;i tr&#237;</a>&nbsp;');
	//document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Thoi-Trang/">Th&#7901;i trang tr&#7867</a>&nbsp;<br>');
	//document.write('&nbsp;<a class="topmenulink" href="/Quang-Cao/Gioi-Thieu-Xe/">Gi&#7899;i thi&#7879;u xe</a>&nbsp;');
	//document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Tu-Van-Tieu-Dung/">T&#432; v&#7845;n ti&#234;u d&#249;ng</a>&nbsp;');
	//document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-CaoLam-Dep/">L&#224;m &#273;&#7865;p</a>&nbsp;');
	//document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Dien-Thoai-Hay/">&#272;i&#7879;n tho&#7841;i hay</a>&nbsp;');
	//document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Suc-Khoe/">S&#7913;c kh&#7887;e</a></font>');

	document.write('<font face="Arial" size="2" color="#000080">&nbsp;<a class="topmenulink" href="/">Trang Home</a>&nbsp;');
	document.write('<img border="0" src="/Images/black_point.gif">&nbsp;S&#7843;n ph&#7849;m m&#7899;i&nbsp;');
	document.write('<img border="0" src="/Images/black_point.gif">&nbsp;Vui ch&#417;i - gi&#7843;i tr&#237;&nbsp;');
	document.write('<img border="0" src="/Images/black_point.gif">&nbsp;Th&#7901;i trang tr&#7867&nbsp;<br>');
	document.write('&nbsp;Gi&#7899;i thi&#7879;u xe&nbsp;');
	document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Tu-Van-Tieu-Dung/">T&#432; v&#7845;n ti&#234;u d&#249;ng</a>&nbsp;');
	document.write('<img border="0" src="/Images/black_point.gif">&nbsp;L&#224;m &#273;&#7865;p</a>&nbsp;');
	document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Dien-Thoai-Hay/">&#272;i&#7879;n tho&#7841;i hay</a>&nbsp;');
	document.write('<img border="0" src="/Images/black_point.gif">&nbsp;<a class="topmenulink" href="/Quang-Cao/Suc-Khoe/">S&#7913;c kh&#7887;e</a></font>');
}

//End The Section of Menu tin Tiep thi


//*************************************************
//Add Break Line
function AddBreakLine()
{

	document.write('<table border="0" width="778" cellspacing="0" cellpadding="0" height="1">');    
	document.write('    <tr>');    
	document.write('      <td width="100%" valign="bottom" bgcolor="#BFBFBF">');    
	document.write('        <table border="0" height="1" cellspacing="0" cellpadding="0">');    
	document.write('          <tr>');    
	document.write('            <td width="100%"></td>');    
	document.write('          </tr>');    
	document.write('        </table>');    
	document.write('      </td>');    
	document.write('    </tr>');    
	document.write('  </table>');    
	document.write('  <center>');
}
//End Add break line

//*************************************************
function SubmitPopUp()
{
	WinHeight = 220;
	WinWidth = 500;
	vWN = 'OpenPopUp';
	winDef = 'status=no,resizable=no,scrollbars=yes,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(WinHeight).concat(',').concat('width=').concat(WinWidth).concat(',');
	winDef = winDef.concat('top=').concat((screen.height - WinHeight)/2).concat(',');
	winDef = winDef.concat('left=').concat((screen.width - WinWidth)/2);
	newwin = open('', vWN, winDef);
	newwin.focus();

	document.RegForm.action = '/Quang-Cao/Mua-Cuoi-2003/RegisterSubmit.asp';
	document.RegForm.target = vWN;
}
