//ฮฤียาณ
var sPath = document.location.protocol + "//" + document.location.host + document.location.pathname;
if(sPath.indexOf("/article/")>=0)
{
	var sPath_tmp = sPath.split("/article/");
	var BasePath = sPath_tmp[0]+"/";
	document.write('<base href="'+BasePath+'" />');
}
if(sPath.indexOf("/article2/")>=0)
{
	var sPath_tmp = sPath.split("/article2/");
	var BasePath = sPath_tmp[0]+"/";
	document.write('<base href="'+BasePath+'" />');
}
if(sPath.indexOf("/article4/")>=0)
{
	var sPath_tmp = sPath.split("/article4/");
	var BasePath = sPath_tmp[0]+"/";
	document.write('<base href="'+BasePath+'" />');
}
//หตร๗าณ
if(sPath.indexOf("/about/")>=0)
{
	var sPath_tmp = sPath.split("/about/");
	var BasePath = sPath_tmp[0]+"/";
	document.write('<base href="'+BasePath+'" />');
}
if(sPath.indexOf("/about2/")>=0)
{
	var sPath_tmp = sPath.split("/about2/");
	var BasePath = sPath_tmp[0]+"/";
	document.write('<base href="'+BasePath+'" />');
}
if(sPath.indexOf("/about4/")>=0)
{
	var sPath_tmp = sPath.split("/about4/");
	var BasePath = sPath_tmp[0]+"/";
	document.write('<base href="'+BasePath+'" />');
}