﻿//	AdCom.Javascript
//	Developer: Nguyen Xuan Hoang
//	Mobile: 0983251124
//	Email: hoangnx.fpt@gmail.com 
//	Company: FPT Telecom 
//	48 Van Bao - Ngoc Khanh - Ba Dinh - Ha Noi
//	Website: http://www.fpt.vn

//----------------------------
if (location.host=='www.fpt.vn' ||location.host=='fpt.vn'||location.host=='adfpt.net'||location.host=='www.hieulc.com'||location.host=='hieulc.com')
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
	try
	{
		if (typeof vForex1 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex1 + '</td><td>&nbsp;' + vCost1 + '</td></tr>');
	    if (typeof vForex2 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex2 + '</td><td>&nbsp;' + vCost2 + '</td></tr>');
	    if (typeof vForex3 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex3 + '</td><td>&nbsp;' + vCost3 + '</td></tr>');
	    if (typeof vForex4 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex4 + '</td><td>&nbsp;' + vCost4 + '</td></tr>');
	    if (typeof vForex5 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex5 + '</td><td>&nbsp;' + vCost5 + '</td></tr>');
		if (typeof vForex6 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex6 + '</td><td>&nbsp;' + vCost6 + '</td></tr>');
		if (typeof vForex7 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex7 + '</td><td>&nbsp;' + vCost7 + '</td></tr>');
		if (typeof vForex8 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex8 + '</td><td>&nbsp;' + vCost8 + '</td></tr>');
		if (typeof vForex9 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex9 + '</td><td>&nbsp;' + vCost9 + '</td></tr>');
		if (typeof vForex10 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex10 + '</td><td>&nbsp;' + vCost10 + '</td></tr>');
		if (typeof vForex11 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex11 + '</td><td>&nbsp;' + vCost11 + '</td></tr>');
		if (typeof vForex12 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex12 + '</td><td>&nbsp;' + vCost12 + '</td></tr>');
		if (typeof vForex13 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex13 + '</td><td>&nbsp;' + vCost13 + '</td></tr>');
		if (typeof vForex14 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex14 + '</td><td>&nbsp;' + vCost14 + '</td></tr>');
	}
	catch (error)
	{
	    document.write('<tr><td colspan="2" class="source"><a href="http://www.fpt.vn">http://www.fpt.vn</a></td></tr>');
	}

	document.write('</table>');
}
else
	{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
	try
	{
		if (typeof vForex1 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex1 + '</td><td>&nbsp;' + vCost1 + '</td></tr>');
	    if (typeof vForex2 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex2 + '</td><td>&nbsp;' + vCost2 + '</td></tr>');
	    if (typeof vForex3 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex3 + '</td><td>&nbsp;' + vCost3 + '</td></tr>');
	    if (typeof vForex4 != "undefined")
	    	document.write('<tr><td>&nbsp;&nbsp;' + vForex4 + '</td><td>&nbsp;' + vCost4 + '</td></tr>');
	    if (typeof vForex5 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex5 + '</td><td>&nbsp;' + vCost5 + '</td></tr>');
		if (typeof vForex6 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex6 + '</td><td>&nbsp;' + vCost6 + '</td></tr>');
		if (typeof vForex7 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex7 + '</td><td>&nbsp;' + vCost7 + '</td></tr>');
		if (typeof vForex8 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex8 + '</td><td>&nbsp;' + vCost8 + '</td></tr>');
		if (typeof vForex9 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex9 + '</td><td>&nbsp;' + vCost9 + '</td></tr>');
		if (typeof vForex10 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex10 + '</td><td>&nbsp;' + vCost10 + '</td></tr>');
		if (typeof vForex11 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex11 + '</td><td>&nbsp;' + vCost11 + '</td></tr>');
		if (typeof vForex12 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex12 + '</td><td>&nbsp;' + vCost12 + '</td></tr>');
		if (typeof vForex13 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex13 + '</td><td>&nbsp;' + vCost13 + '</td></tr>');
		if (typeof vForex14 != "undefined")
		    document.write('<tr><td>&nbsp;&nbsp;' + vForex14 + '</td><td>&nbsp;' + vCost14 + '</td></tr>');
	}
	catch (error)
	{
	    document.write('<tr><td colspan="2" class="source"><a href="http://www.vnn.vn">http://www.vnn.vn</a></td></tr>');
	}

	document.write('</table>');
};