function DisplayLinks()
{
	IncludeFile('UserControls/MatriUserTopBar.htm', 'divUserTop');
	DisplayUserToppart();
	DisplayUserBottomTab();
	DisplayUserBottomLinks();
}
function DisplayUserToppart()
{
	IncludeFile('UserControls/MatriUserTopLinks.htm', 'divUserTopLink');
	IncludeFile('UserControls/MatriUserTopLogoBanner.htm', 'divUserTopLogoBanner');
	IncludeFile('UserControls/MatriUserTopNationality.htm', 'divUserTopNationality');
	IncludeFile('UserControls/MatriUserTopNationality.htm', 'divUserTopNationality');
}
function DisplaySubPageTopBottom()
{
	IncludeFile('UserControls/MatriUserTopBar.htm', 'divUserTop');
	DisplayUserToppart();
	DisplayUserBottomLinks();
}
function DisplayHoneyMoonTopBottom()
{
	IncludeFile('../UserControls/MatriUserTopBar.htm', 'divUserTop');
	IncludeFile('../UserControls/HoneyMoonTopLinks.htm', 'divUserTopLink');
	IncludeFile('../UserControls/HoneyMoonTopLogoBanner.htm', 'divUserTopLogoBanner');
	IncludeFile('../UserControls/HoneyMoonTopNationality.htm', 'divUserTopNationality');
	IncludeFile('../UserControls/HoneyMoonBottomLinks.htm', 'divUserBottomLinks');
	IncludeFile('../UserControls/HoneyMoonServices.htm', 'divUserServices');
}
function DisplayUserBottomTab()
{
	IncludeFile('UserControls/MatriUserBottomTab.htm', 'divUserBottomTab');
}
function DisplayUserBottomLinks()
{
	IncludeFile('UserControls/MatriUserBottomLinks.htm', 'divUserBottomLinks');
}
function IncludeFile(url,loc)			
{
	if ('undefined' == typeof(url)) 
		return false;
			
	var p,rnd;
	if (document.all)
	{
		// For IE, create an ActiveX Object instance 
		p = new ActiveXObject("Microsoft.XMLHTTP");
	} 
	else 
	{
		// For mozilla, create an instance of XMLHttpRequest.
		p = new XMLHttpRequest();
	}
 
	// Prevent browsers from caching the included page by appending a random  number
	rnd = Math.random().toString().substring(2);
	url = url.indexOf('?')>-1 ? url+'&rnd='+rnd : url+'?rnd='+rnd;
	// Open the url and write out the response
	p.open("GET",url,false);
	p.send(null);						
	document.getElementById(loc).innerHTML = p.responseText;				
}

