// functions to write the center and right side contents of the classified pages

function writeSubsectionscenter(classIndex)

	{
	var subsectionCount;

	for (subsectionCount=0; subsectionCount<(Math.floor((classiArray[classIndex].length)/2)); subsectionCount++)
	{
	document.write("<div class=\"cc_header\" style=\"background-image: url(headbgcenter30px.gif);\">"
	+"<h4 style=\"display:inline;\">"
	+classiArray[classIndex][subsectionCount+1]
	+"</h4>"
	+"</div>");

	getClassified(classiArray[classIndex][0],classiArray[classIndex][subsectionCount+1]);
	}
	return ;
	}

function writeSubsectionsright(classIndex)

	{
	var subsectionCount;

	for (subsectionCount=(Math.floor((classiArray[classIndex].length)/2)); subsectionCount<classiArray[classIndex].length-1; subsectionCount++)
	{
	document.write("<div class=\"cc_header\" style=\"background-image: url(headbgcenter30px.gif);\">"
	+"<h4 style=\"display:inline;\">"
	+classiArray[classIndex][subsectionCount+1]
	+"</h4>"
	+"</div>");

	getClassified(classiArray[classIndex][0],classiArray[classIndex][subsectionCount+1]);
	}
	return ;
	}
