function drawCircle(center, radius, color, complexity,thickness,opacity) 
{ 
	center.y=center.y*1;
	center.x=center.x*1;
	var points = []; 
	var radians = Math.PI / 180; 
	var longitudeOffset = radius / (Math.cos(center.y * radians) * 111325); 
	var latitudeOffset = radius / 111325; 
	for (var i = 0; i < 360; i += complexity) 
	{ 
		var point = new GLatLng(center.y + (latitudeOffset * Math.sin(i * radians)),center.x + (longitudeOffset * Math.cos(i * radians))); 
		points.push(point);    
	} 
	points.push(points[0]);         // close the circle 
	var polygon = new GPolyline(points, color, thickness, opacity);
	return polygon;
}