	function AddLineSpace(height)
	{
		//document.writeln('<tr><td class=BreakLine height=', (typeof(height)=='undefined' ? 1 : height), '></td></tr>');
	}

	function AddLevel1(Item, Link, TrId, Color)
				{
				document.writeln('<tr  bgcolor="'+ Color+'" Id="',(TrId),'">');		
				document.writeln('<td nowrap colspan=2  class=SubMenuLeft>');
				document.write('<a href="', Link, '" class=SubLinkMenuLeft>', Item, '</a>');
			//	document.write('<span class=SubLinkMenuLeft>', Item, '</span>');
				document.writeln('</td></tr>');
					}
					
		/// LEVEL 2
	function AddLevel2(Item, Link, Parent, Flag)
	{
	 

		document.writeln('<tr>');

		if (Flag==1)
		{			document.write('<td nowrap class=ChilDMenuLeftA>');}	
			else	{			document.write('<td height=16 nowrap colspan=2 class=ChilDMenuLeft>');	}
		if (Flag==1)
		{	document.write('<a href="', Link, '" class = ChilDLinkMenuLeftA>', Item, '</a>');}
		else
		{		document.write('<a href="', Link, '" class = ChilDLinkMenuLeft>', Item, '</a>');}
		document.write('</td>');		
		if (Flag==1)
		{		//document.write('<td align=right width=10 bgcolor="#EFEFEF"><img src="/images/mark.gif" align=right></td>');	
		}
		else
		{		document.write('<td align=right></td>');}
		document.writeln('</tr>');
		AddLineSpace();
	}
 
function callads(id,xd,delaytime,h,w)
{
// ID: Channel
// xd: Type
// delaytime:  Delay time
// h=
document.write('<iframe frameborder=0 src="http://mfo.mquiz.net/ads/pageads/pageads.asp?adChannel='+id+'&adType='+xd+'&adDelay='+delaytime+'" height='+h +' width='+w+'></iframe>');
}

function callads1(id,xd,delaytime,h,w)
{
// ID: Channel
// xd: Type
// delaytime:  Delay time
// h=
document.write('<iframe frameborder=0 src="/ads/pageads/pageads2.asp?adChannel='+id+'&adType='+xd+'&adDelay='+delaytime+'" height='+h +' width='+w+' scrolling=no ></iframe>');
}

function callchannel()
{
// ID: Channel
// xd: Type
// delaytime:  Delay time
// h=
document.write('<iframe frameborder=0 src="http://quangcaotructuyen.adonline.vn/" height=0 width=0 frameborder=0 style="display:none"></iframe>');
}

 
	
