﻿// JScript File

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Function:		onBeginLayout()
Description:	event handler to control the display of elements on the
				hardcopy output of the map.
Arguments:		pgSetup, info
Return:			none
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
function onBeginLayout(pgSetup, info){
// turn off all elements except the map
pgSetup.setInclude("mg_scalebar", true);
pgSetup.setInclude("mg_northarrow", true);
pgSetup.setInclude("mg_title", true);
pgSetup.setInclude("mg_timestamp", true);
pgSetup.setInclude("mg_legend", true);
}

