var eventStr=[
'---'
,'Drag-End'
,'Drag-Start'
,'Drag'
,'Click'
,'Double-Click'
,'Mouse-Over'
,'Mouse-Out'
,'Mouse-Up'
,'Mouse-Down'
,'Info-Window-Open'
,'Info-Window-Close'
]

var optionsZoom=[]
var optionsZoomNode
var optionsMapTypes=[]
var optionsPreset
var optionsOverflow
var optionsPane
var optionsOffset
var optionsBorderType

var optionNoPreset={value:'',text:'No Preset'}


function setupSelectOptions()
{
	
	for(x=minZoom;x<=maxZoom;x++)
	{
		optionsZoom.push({value:x,text:String(x)})
	}
	optionsZoomNode=[{value:null,text:'n/a'}]
	
	for(x=minZoom;x<=maxZoom;x++)
	{
		optionsZoomNode.push({value:x,text:String(x)})
	}

	for(x in map.mapTypes)
	{
		optionsMapTypes.push({value:x,text:map.mapTypes[x].getName()})
	}

	optionsBorderType=[
		{value:'dashed',text:'dashed'}
		,{value:'dotted',text:'dotted'}
		,{value:'double',text:'double'}
		,{value:'groove',text:'groove'}
		,{value:'inset',text:'inset'}
		,{value:'outset',text:'outset'}
		,{value:'ridge',text:'ridge'}
		,{value:'solid',text:'solid'}
	]
	
	
	optionsPreset=[
	{value:NODES_CREATE_COPY,text:'Copy Preset'}
	,{value:NODES_CREATE_LOCK,text:'Lock Preset'}
	,{value:NODES_CREATE_LOCK | NODES_CREATE_COPY,text:'Copy & Lock'}
	,{value:0,text:'Individual'}
	]

	optionsOverflow=[
	{value:'auto',text:'auto'}
	,{value:'hidden',text:'hidden'}
	,{value:'scroll',text:'scroll'}
	,{value:'visible',text:'visible'}
	]


	optionsOverlayType=[
	{value:'html',text:'HTML'}
	,{value:'img',text:'Image'}
	]
	
	optionsPane=[
	{value:G_MAP_MAP_PANE,text:'Polygon'}
	,{value:G_MAP_MARKER_SHADOW_PANE,text:'Marker shadow'}
	,{value:G_MAP_MARKER_PANE,text:'Marker'}
	,{value:G_MAP_FLOAT_SHADOW_PANE,text:'Info Window shadow'}
	,{value:G_MAP_MARKER_MOUSE_TARGET_PANE,text:'below Info Window'}
	,{value:G_MAP_FLOAT_PANE,text:'Info Window'} 
	]

	optionsOffset=[
	{value:F_OFFSET_CUSTOM,text:'Custom'}
	,{value:F_OFFSET_LEFT | F_OFFSET_TOP,text:'Top-Left'}
	,{value:F_OFFSET_CENTERHORZ | F_OFFSET_TOP ,text:'Top-Center'} 
	,{value:F_OFFSET_RIGHT  | F_OFFSET_TOP,text:'Top-Right'} 
	,{value:F_OFFSET_LEFT | F_OFFSET_CENTERVERT,text:'Middle-Left'}
	,{value:F_OFFSET_CENTERMIDDLE,text:'Middle-Center'} 
	,{value:F_OFFSET_RIGHT  | F_OFFSET_CENTERVERT,text:'Middle-Right'} 
	,{value:F_OFFSET_LEFT | F_OFFSET_BOTTOM,text:'Bottom-Left'}
	,{value:F_OFFSET_CENTERHORZ | F_OFFSET_BOTTOM,text:'Bottom-Center'} 
	,{value:F_OFFSET_RIGHT  | F_OFFSET_BOTTOM,text:'Bottom-Right'} 
	]	
}

var blockFormats=
{
	p:'Paragraph'
	,h1:'Heading 1'
	,h2:'Heading 2'
	,h3:'Heading 3'
	,h4:'Heading 4'
	,h5:'Heading 5'
	,h6:'Heading 6'
	,normal:'Normal'
}

var geoErrStr=
{
	_500:'A geocoding request could not be successfully processed, yet the exact reason for the failure is not known.'
	,_601:'The HTTP q parameter was either missing or had no value.'
	,_602:'No corresponding geographic location could be found for the specified address. This may be due to the fact that the address is relatively new, or it may be incorrect.'
	,_603:'The geocode for the given address cannot be returned due to legal or contractual reasons.'
	,_610:'The given key is either invalid or does not match the domain for which it was given.'

}


