vLayout="Yes"
// This is currently being done through body parameter passing
var layoutAttribute= new Array()
function getLayoutAttribute(vAttribute)
{
return(layoutAttribute[vAttribute])
}
function GetCurrentInfo()
{
	var vCurrentInfo= new theCurrent()
	document.write(vCurrentInfo.ID)
}
function theCurrent()
{
     var f=document.forms[0];
	this.ID=vDocument["DocumentId"]
	this.Category=vDocument["Category"]
	this.Subject=vDocument["Subject"]	
	this.Type=vDocument["Type"]		
}
function getCustomStyleNames()
{
var vCustomStyleName = new Array();
vCustomStyleName ['CustomText'] = '';
vCustomStyleName ['Custom1Text'] = 'Text 12px  Black';
vCustomStyleName ['Custom2Text'] = 'Text High Lite Red 14px';
vCustomStyleName ['Custom3Text'] = 'Text High Lite Black 14px';
vCustomStyleName ['Custom4Text'] = 'Text 12px Blue';
vCustomStyleName ['Custom5Text'] = 'Text High Black 20px';
vCustomStyleName ['Custom6Text'] = 'Text 12px red';
return vCustomStyleName
}
function getTableStyleNames()
{
var vTableStyleName = new Array();
vTableStyleName ['CustomTable1'] = '';
vTableStyleName ['CustomTable2'] = '';
vTableStyleName ['CustomRow1'] = '';
vTableStyleName ['CustomRow2'] = '';
vTableStyleName ['CustomCell1'] = '';
vTableStyleName ['CustomCell2'] = '';
return vTableStyleName
}
function clearIt(obj) {
  eval("document.all." + obj + ".style.display='none'");
}

function loadLayoutMenu(vActionList)
{
var vActionTemp= new theActionList()
vActionTemp=vActionList
/*
<h2>No documents found</h2>
*/
//alert('xxx')
return vActionTemp
}
