var popupWins = new Array();

function openWin(url, size_x, size_y, scroll, name, resizable)
{
	if(name == "undefined") {
		name = "win";
	}
	
	if(scroll == undefined) {
		scroll = "no";
	}
	
	if(resizable == undefined) {
		resizable = "no";
	}
	
	if ( typeof( popupWins[name] ) == "object" ){
		if (!popupWins[name].closed) {
			popupWins[name].close();
		}
	}

	if(size_x==0 && size_y==0) { size_1=600, size_2=500 } else { size_1=size_x, size_2=size_y }
	LeftPosition = (screen.width) ? (screen.width-size_x)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-size_y)/2 : 0;

	//name = 'A'+name+"_win";
	
	msgWindow = window.open(url, name, "width="+size_1+",height="+size_2+", top="+TopPosition+", left="+LeftPosition+",  resizable="+resizable+", status='no', toolbar='no', menubar='no', scrollbars="+scroll+" ");
	if(window.focus) {
		msgWindow.focus();
	}

	
	popupWins[name] = msgWindow;
	return msgWindow;
}

function check_for_delete()
{
	var ok = confirm("Are you sure you wish to continue?");
	if(ok == true)
	{
		return true;
	}
	else
	{
		return false;
	}
}

function confirm_button_action(sms)
{
	var ok = confirm(sms);
	if(ok == true)
	{
		return true;
	}
	else
	{
		return false;
	}
}

function check_for_entered_data(datafield_id, sms)
{
	if(document.getElementById(datafield_id).value != "")
	{
//		opener.location.reload(true); 
//		self.close();
		return true;
	}
	else
	{
		alert(sms);
		return false;
	}
}

//--------- < ------- friend navigation menu -------------------------------
var t = new Array();
var t2 = new Array();

function hide_menu_div(id)
{
	clearTimeout(t[id]);
	clearTimeout(t2[id]);
	t[id] = setTimeout("hide_menu_div_act('"+id+"')", 400);
}

function hide_menu_div_act(id)
{
	document.getElementById(id).style.display='none';
}

function show_menu_div(id)
{
	clearTimeout(t[id]);
	clearTimeout(t2[id]);
	t2[id] = setTimeout("show_menu_div_act('"+id+"')", 400);
}

function show_menu_div_act(id)
{
	document.getElementById(id).style.display='inline';
}

function change_bg_on(id)
{
	document.getElementById(id).style.background='#67bfd3';
	document.getElementById(id).style.color='#FFFFFF';
}

function change_bg_off(id)
{
	document.getElementById(id).style.background='#515151';
	document.getElementById(id).style.color='#b1b1b1';
}


//onmouseout="hide_menu_div('{friend_id}')"
//onmouseover="show_menu_div('{friend_id}')"
//--------- > ------------------------------------------------------------

//var newwindow;
//
//function popdetails(url)
//{
//	newwindow=window.open(url,'popdetails','height=500,width=600,resizable=yes,scrollbars=yes,status=yes');
//	if(window.focus) {newwindow.focus()}
//}

function poppeer(url)
{
	newwindow=window.open(url,'poppeers','height=400,width=700,resizable=yes,scrollbars=yes');
	if(window.focus) {newwindow.focus()}
}

function checkAll(form, what)
{
	//alert(what);
	//alert(form.elements.length);
	for(var i = 0; i < form.elements.length; i++)
	{
		//alert(form.elements[i]);
		var e = form.elements[i];
		if(e.type == 'checkbox') 
		{
			e.checked = !e.checked;
			what.checked = !what.checked;
		}
		//e.checked = form[what.name].checked;
	}
}

function add_flash(url, params, vars, w, h, version, id) 
{		
	document.write('<object id="'+id+'" type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" width="'+w+'" height="'+h+'" >\n');
	document.write('<param name="movie" value="'+url+'"/>\n');
	
	var a = new Array();
	a = params;
	var emb = "";
	for(var i = 0; i < a.length; i++) {
		document.write('<param name="'+a[i][0]+'" value="'+a[i][1]+'"/>\n');
		emb += a[i][0]+'="'+a[i][1]+'" '; 
	}
	
	document.write('<embed name="'+id+'" src="'+url+'" flashvars="'+vars+'" '+emb+' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed>\n');
	document.write('</object>\n');	
}

function getFlashMovieObject(movieName) {
  if (window.document[movieName]) {  	
      return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1) {
    if (document.embeds && document.embeds[movieName]) {    	
      return document.embeds[movieName]; 
    }
  } else {  	
    return document.getElementById(movieName);
  }
}


//-----------< ----- message functions ----------------------------
function storeCaret(text)
{
    // Only bother if it will be useful.
    if(typeof(text.createTextRange) != 'undefined') text.caretPos = document.selection.createRange().duplicate();
}

function SmileIT(smile,textarea)
{
	textarea = document.getElementById(textarea);
    if(typeof(textarea.caretPos) != 'undefined' && textarea.createTextRange) // Attempt to create a text range (IE).
    {
        var caretPos = textarea.caretPos;
        caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? smile + ' ' : smile
        caretPos.select();
    }
    else if(typeof(textarea.selectionStart) != 'undefined') // Mozilla text range replace.
    {
        var begin = textarea.value.substr(0, textarea.selectionStart);
        var end = textarea.value.substr(textarea.selectionEnd);
        var scrollPos = textarea.scrollTop;

        textarea.value = begin + smile + end;

        if(textarea.setSelectionRange)
        {
            textarea.focus();
            textarea.setSelectionRange(begin.length + smile.length, begin.length + smile.length);
        }
        textarea.scrollTop = scrollPos;
    }
    // Just put it on the end.
    else
    {
        textarea.value += smile;
        textarea.focus(textarea.value.length - 1);
    }
}

function PopMoreSmiles(name) 
{
	link='moresmiles.php?text='+name
	newWin=window.open(link,'moresmile','height=600,width=350,resizable=yes,scrollbars=yes');
	if(window.focus) {newWin.focus()}
}

function BBTag(opentag, closetag, textarea)
{
	textarea = document.getElementById(textarea);
	
    // Can a text range be created?
    if(typeof(textarea.caretPos) != 'undefined' && textarea.createTextRange)
    {
        var caretPos = textarea.caretPos, temp_length = caretPos.text.length;

        caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? opentag + caretPos.text + closetag + ' ' : opentag + caretPos.text + closetag;

        if (temp_length == 0)
        {
            caretPos.moveStart('character', -closetag.length);
            caretPos.moveEnd('character', -closetag.length);
            caretPos.select();
        }
        else
            textarea.focus(caretPos);
    }
    else if (typeof(textarea.selectionStart) != 'undefined') // Mozilla text range wrap.
    {
        var begin = textarea.value.substr(0, textarea.selectionStart);
        var selection = textarea.value.substr(textarea.selectionStart, textarea.selectionEnd - textarea.selectionStart);
        var end = textarea.value.substr(textarea.selectionEnd);
        var newCursorPos = textarea.selectionStart;
        var scrollPos = textarea.scrollTop;

        textarea.value = begin + opentag + selection + closetag + end;

        if (textarea.setSelectionRange)
        {
            if (selection.length == 0)
                textarea.setSelectionRange(newCursorPos + opentag.length, newCursorPos + opentag.length);
            else
                textarea.setSelectionRange(newCursorPos, newCursorPos + opentag.length + selection.length + closetag.length);
            textarea.focus();
        }
        textarea.scrollTop = scrollPos;
    }
    else // Just put them on the end, then.
    {
        textarea.value += opentag + closetag;
        textarea.focus(textarea.value.length - 1);
    }
}
//---------- > ----------------------------------------------------


//---------- < ---- rating ----------------------------------------
function fill_rating_stars(star_num, img_root)
{
	for(i=1; i<=star_num; i++)
	{
		document.getElementById('star'+i+'_id').src= img_root+'rating/full_star.gif';
	}
}

function reset_stars(img_root)
{
	for(i=1; i<=5; i++)
	{
		document.getElementById('star'+i+'_id').src= img_root+'rating/empty_star.gif';
	}
}
function fill_rating_slots(slot_num, img_root, fill_mark)
{
 	var img_name = '';
 	var str = '';
 	slot_num=slot_num;
 	//alert(slot_num);
	for(i=0; i<=slot_num; i++)
	{
		if(i<=9) 
		{
			img_name = '1_'+i+'.gif';
			if(!fill_mark) document.getElementById('mark_on_screen_id').value = '1.'+i;	
		}
		else 
		{
			str=''+(i+10);
			img_name = str.substring(0, 1)+'_'+str.substring(1, 2)+'.gif';
			if(!fill_mark) document.getElementById('mark_on_screen_id').value = str.substring(0, 1)+'.'+str.substring(1, 2);
		}
		
		document.getElementById('slot_'+i+'_id').src= img_root+'rating/slots/'+img_name;
	}
}

function reset_slots(img_root, reset_sk)
{
	for(i=(reset_sk-1); i<=40; i++)
	{
		document.getElementById('slot_'+i+'_id').src= img_root+'rating/slots/empty_slot.gif';
		if(i==0) document.getElementById('slot_'+i+'_id').src= img_root+'rating/slots/empty_1.gif';
		if(i==10) document.getElementById('slot_'+i+'_id').src= img_root+'rating/slots/empty_2.gif';
		if(i==20) document.getElementById('slot_'+i+'_id').src= img_root+'rating/slots/empty_3.gif'; 
		if(i==30) document.getElementById('slot_'+i+'_id').src= img_root+'rating/slots/empty_4.gif';
		if(i==40) document.getElementById('slot_'+i+'_id').src= img_root+'rating/slots/empty_5.gif';
		document.getElementById('mark_on_screen_id').value = '0.0';
	}
}
//---------- > ----------------------------------------------------


function check_comment_for_length(elem_id, maxsize)
{
	elem = document.getElementById(elem_id);
	str = elem.value;
	
	if(str.length > maxsize)
	{
		elem.value = str.slice(0, maxsize)	
	}
		
	return maxsize-(str.length);
}

function jsround(number)
{
	number =  Math.round(number*100)/100;
	return number
}


function confirm_button_action_del_cli(sms, id, double_check, sms2)
{
	var ok = confirm(sms);
	if(ok == true)
	{
		if(double_check == "yes")
		{
			var ok2 = confirm(sms2);
			if(ok2 == true)
			{
				document.getElementById('hidden_delete_row_id').value=id;
				return true;
			}
			else
			{
				return false;
			}
		}
		else
		{
			document.getElementById('hidden_delete_row_id').value=id;
			return true;
		}
	}
	else
	{
		return false;
	}
}


function toggle_block(_this, id, eff) {
	if (_this.className.indexOf('click-active') == -1) {
		$(_this).addClass('click-active');
		switch (eff) {
			case 'slide':
				$('#' + id).slideDown('slow');
				break;
			default:
				$('#' + id).fadeIn('slow');
		}
	} else {
		$(_this).removeClass('click-active');
		switch (eff) {
			case 'slide':
				$('#' + id).slideUp('slow');
				break;
			default:
				$('#' + id).fadeOut('slow');
		}
	}
	
	_this.blur();
}


function check_for_number(input_id)
{
	var check_value = document.getElementById(input_id).value;
	
	if(isNaN(check_value))
	{
		document.getElementById(input_id).value = 0;
	}
	else
	{
		// do nothing
	}
}

function blinker(object_id)
{
	if (document.all)
	{
		if(document.getElementById(object_id).style.visibility=="visible" || document.getElementById(object_id).style.visibility=="")
		{
			document.getElementById(object_id).style.visibility="hidden";
		}
		else
		{
			document.getElementById(object_id).style.visibility="visible";
		}
		
		var func_name = "blinker('"+object_id+"')";
		setTimeout(func_name, 650);
	}
}



// ---- debug functions 
function isObject(obj) 
{
	return obj.constructor == Object;
}

function print_object(object, level)
{
    var tab = '';
    if(level > 0)
    {
        for(i = 0; i < level; i++) tab += '\t';
    }
    var str = '';
    for(prop in object) 
    {
        if(!isObject(object[prop])) str += tab + prop + ' value :' + object[prop] + '\n';
        else str += tab + prop + '\n' + print_object(object[prop], level + 1);
    }
    return str;
}

//example
//alert(print_object(U.menu['CRM'], 0));


// For FireFox
//console.log(U.menu['CRM']);
				

function mark_map(map)
{
    var polygon = new GPolygon([
        new GLatLng(56.061865199062765, 21.194000244140625),
        new GLatLng(56.14458044098705, 21.243438720703125),
        new GLatLng(56.19045659000779, 21.342315673828125),
        new GLatLng(56.227118062159406, 21.452178955078125),
        new GLatLng(56.30033589296911, 21.595001220703125),
        new GLatLng(56.29728794673825, 21.704864501953125),
        new GLatLng(56.349069977929794, 21.842193603515625),
        new GLatLng(56.34602592005983, 21.897125244140625),
        new GLatLng(56.36428662353233, 21.974029541015625),
        new GLatLng(56.40686093291053, 22.017974853515625),
        new GLatLng(56.40990013421662, 22.138824462890625),
        new GLatLng(56.382538583437736, 22.237701416015625),
        new GLatLng(56.382538583437736, 22.320098876953125),
        new GLatLng(56.37645556816595, 22.380523681640625),
        new GLatLng(56.39166128528245, 22.446441650390625),
        new GLatLng(56.3612437802088, 22.726593017578125),
        new GLatLng(56.35211379286886, 22.902374267578125),
        new GLatLng(56.39774187259653, 22.951812744140625),
        new GLatLng(56.39470170032386, 23.001251220703125),
        new GLatLng(56.35515736488785, 23.188018798828125),
        new GLatLng(56.36428662353233, 23.330841064453125),
        new GLatLng(56.33384725905542, 23.479156494140625),
        new GLatLng(56.31557197778815, 23.550567626953125),
        new GLatLng(56.3612437802088, 23.764801025390625),
        new GLatLng(56.30643105613149, 23.775787353515625),
        new GLatLng(56.33080198636921, 23.847198486328125),
        new GLatLng(56.31557197778815, 23.962554931640625),
        new GLatLng(56.309478273084515, 24.001007080078125),
        new GLatLng(56.26069362598759, 24.083404541015625),
        new GLatLng(56.26374449029816, 24.270172119140625),
        new GLatLng(56.288142649317706, 24.303131103515625),
        new GLatLng(56.26069362598759, 24.374542236328125),
        new GLatLng(56.2484877362061, 24.445953369140625),
        new GLatLng(56.2728956238782, 24.572296142578125),
        new GLatLng(56.31557197778815, 24.610748291015625),
        new GLatLng(56.3612437802088, 24.643707275390625),
        new GLatLng(56.39166128528245, 24.709625244140625),
        new GLatLng(56.40686093291053, 24.841461181640625),
        new GLatLng(56.4402787997645, 24.874420166015625),
        new GLatLng(56.43116774795813, 24.912872314453125),
        new GLatLng(56.36428662353233, 24.951324462890625),
        new GLatLng(56.24238333164152, 25.066680908203125),
        new GLatLng(56.17822830853256, 25.220489501953125),
        new GLatLng(56.13539863378642, 25.467681884765625),
        new GLatLng(56.15376005533786, 25.528106689453125),
        new GLatLng(56.12009074800363, 25.610504150390625),
        new GLatLng(56.13539863378642, 25.692901611328125),
        new GLatLng(56.074130525042165, 25.709381103515625),
        new GLatLng(56.01890581757506, 25.857696533203125),
        new GLatLng(55.972824819422456, 25.923614501953125),
        new GLatLng(55.94822581886017, 26.033477783203125),
        new GLatLng(55.868171045780194, 26.132354736328125),
        new GLatLng(55.824996152646925, 26.225738525390625),
        new GLatLng(55.658014807476356, 26.615753173828125),
        new GLatLng(55.695183533893335, 26.665191650390625),
        new GLatLng(55.667310300080544, 26.753082275390625),
        new GLatLng(55.806477943756704, 27.011260986328125),
        new GLatLng(55.834251952839914, 27.137603759765625),
        new GLatLng(55.79412757506861, 27.362823486328125),
        new GLatLng(55.778684104926604, 27.610015869140625),
        new GLatLng(55.902060541848876, 27.659454345703125),
        new GLatLng(55.96667653495931, 27.741851806640625),
        new GLatLng(55.96975079931836, 27.818756103515625),
        new GLatLng(56.04039148660295, 27.879180908203125),
        new GLatLng(56.05573107249155, 27.945098876953125),
        new GLatLng(56.113965887618235, 27.989044189453125),
        new GLatLng(56.147640556073064, 28.153839111328125),
        new GLatLng(56.3612437802088, 28.192291259765625),
        new GLatLng(56.519149817642074, 28.098907470703125),
        new GLatLng(56.62506369661023, 28.027496337890625),
        new GLatLng(56.71862561214842, 27.945098876953125),
        new GLatLng(56.74273291985898, 27.928619384765625),
        new GLatLng(56.80894833421227, 27.978057861328125),
        new GLatLng(56.81796865870008, 27.967071533203125),
        new GLatLng(56.81195535029527, 27.906646728515625),
        new GLatLng(56.86303772036309, 27.879180908203125),
        new GLatLng(56.82097495104403, 27.681427001953125),
        new GLatLng(56.89305362554995, 27.686920166015625),
        new GLatLng(56.89905391473856, 27.736358642578125),
        new GLatLng(56.98594985253244, 27.785797119140625),
        new GLatLng(56.991935213738905, 27.736358642578125),
        new GLatLng(57.06368450982515, 27.758331298828125),
        new GLatLng(57.108457516186355, 27.758331298828125),
        new GLatLng(57.123369842147596, 27.802276611328125),
        new GLatLng(57.19188925238291, 27.846221923828125),
        new GLatLng(57.24245248169096, 27.857208251953125),
        new GLatLng(57.28107174694989, 27.873687744140625),
        new GLatLng(57.30481732929584, 27.829742431640625),
        new GLatLng(57.2959145317763, 27.818756103515625),
        new GLatLng(57.340406975866664, 27.774810791015625),
        new GLatLng(57.384845584218525, 27.664947509765625),
        new GLatLng(57.42331552736993, 27.527618408203125),
        new GLatLng(57.52078869270506, 27.571563720703125),
        new GLatLng(57.523738367169805, 27.445220947265625),
        new GLatLng(57.523738367169805, 27.379302978515625),
        new GLatLng(57.52078869270506, 27.335357666015625),
        new GLatLng(57.53848316130156, 27.187042236328125),
        new GLatLng(57.57090072206024, 27.060699462890625),
        new GLatLng(57.597402726191966, 26.983795166015625),
        new GLatLng(57.62388543013238, 26.928863525390625),
        new GLatLng(57.5826817738403, 26.846466064453125),
        new GLatLng(57.559115856238975, 26.747589111328125),
        new GLatLng(57.52078869270506, 26.637725830078125),
        new GLatLng(57.52078869270506, 26.560821533203125),
        new GLatLng(57.52963700042645, 26.527862548828125),
        new GLatLng(57.56500876595076, 26.461944580078125),
        new GLatLng(57.5826817738403, 26.308135986328125),
        new GLatLng(57.67385568653034, 26.231231689453125),
        new GLatLng(57.75014777652104, 26.132354736328125),
        new GLatLng(57.75894036734471, 26.038970947265625),
        new GLatLng(57.83505326515172, 26.060943603515625),
        new GLatLng(57.84674869646558, 26.006011962890625),
        new GLatLng(57.84382519460018, 25.885162353515625),
        new GLatLng(57.9080874397656, 25.758819580078125),
        new GLatLng(57.896411932427206, 25.698394775390625),
        new GLatLng(57.948921852776415, 25.588531494140625),
        new GLatLng(58.0042657287749, 25.451202392578125),
        new GLatLng(58.06824138407589, 25.313873291015625),
        new GLatLng(58.03335976405814, 25.319366455078125),
        new GLatLng(57.97806086309798, 25.313873291015625),
        new GLatLng(58.01881570390777, 25.236968994140625),
        new GLatLng(58.07114664886682, 25.225982666015625),
        new GLatLng(58.06824138407589, 25.121612548828125),
        new GLatLng(58.012996423734684, 25.033721923828125),
        new GLatLng(57.97514802769488, 24.879913330078125),
        new GLatLng(57.9634943182131, 24.764556884765625),
        new GLatLng(57.94017553104074, 24.682159423828125),
        new GLatLng(57.93725961664636, 24.599761962890625),
        new GLatLng(57.91684158126333, 24.484405517578125),
        new GLatLng(57.87597066613131, 24.489898681640625),
        new GLatLng(57.85844033115075, 24.352569580078125),
        new GLatLng(74.29229057777178, 19.3798828125),
        new GLatLng(74.43442758424936, 110.7861328125),
        new GLatLng(27.945239363189444, 111.1376953125),
        new GLatLng(31.155781789528227, -60.9521484375),
        new GLatLng(55.447295536522404, 18.8525390625),
        new GLatLng(56.061865199062765, 21.194000244140625),
        new GLatLng(56.061865199062765, 21.194000244140625),
        new GLatLng(56.1588333996023, 21.031265258789062),
        new GLatLng(56.22302084470967, 20.984573364257812),
        new GLatLng(56.28710096120611, 20.992813110351562),
        new GLatLng(56.355639239967495, 20.976333618164062),
        new GLatLng(56.42101647605906, 20.995559692382812),
        new GLatLng(56.49386322081587, 20.981826782226562),
        new GLatLng(56.55294838011098, 21.003799438476562),
        new GLatLng(56.633095990300674, 21.042251586914062),
        new GLatLng(56.72211710507558, 21.072463989257812),
        new GLatLng(56.8289655037317, 21.055984497070312),
        new GLatLng(56.86501450708444, 21.135635375976562),
        new GLatLng(56.91602451139281, 21.245498657226562),
        new GLatLng(56.98941648999335, 21.366348266601562),
        new GLatLng(57.05220894778783, 21.413040161132812),
        new GLatLng(57.19831263834139, 21.410293579101562),
        new GLatLng(57.280057269943086, 21.418533325195312),
        new GLatLng(57.3882749927324, 21.528396606445312),
        new GLatLng(57.48436514709673, 21.643753051757812),
        new GLatLng(57.51830586362833, 21.679458618164062),
        new GLatLng(57.56989424559446, 21.709671020507812),
        new GLatLng(57.5772580534721, 21.775588989257812),
        new GLatLng(57.590509153717, 21.868972778320312),
        new GLatLng(57.59639698258512, 21.981582641601562),
        new GLatLng(57.65081422818586, 22.201309204101562),
        new GLatLng(57.73302050859174, 22.500686645507812),
        new GLatLng(57.7520774434258, 22.607803344726562),
        new GLatLng(57.71542057662014, 22.594070434570312),
        new GLatLng(57.65522286533925, 22.574844360351562),
        new GLatLng(57.58903704756549, 22.627029418945312),
        new GLatLng(57.522730587057865, 22.736892700195312),
        new GLatLng(57.49322228996412, 22.841262817382812),
        new GLatLng(57.42822000485925, 22.923660278320312),
        new GLatLng(57.37198860825352, 23.041763305664062),
        new GLatLng(57.35125001955201, 23.135147094726562),
        new GLatLng(57.33198226255476, 23.129653930664062),
        new GLatLng(57.29490046386602, 23.157119750976562),
        new GLatLng(57.17152047208555, 23.234024047851562),
        new GLatLng(57.08804275351735, 23.247756958007812),
        new GLatLng(57.02830051604572, 23.401565551757812),
        new GLatLng(57.0253108801541, 23.472976684570312),
        new GLatLng(56.97295331683573, 23.560867309570312),
        new GLatLng(56.9549851887181, 23.678970336914062),
        new GLatLng(56.9759471624781, 23.838272094726562),
        new GLatLng(57.01334993182698, 23.975601196289062),
        new GLatLng(57.059677177659964, 24.030532836914062),
        new GLatLng(57.07013017599273, 24.085464477539062),
        new GLatLng(57.12235102277432, 24.225540161132812),
        new GLatLng(57.18491898382872, 24.335403442382812),
        new GLatLng(57.3971554267088, 24.401321411132812),
        new GLatLng(57.519780831081896, 24.373855590820312),
        new GLatLng(57.565475245734845, 24.368362426757812),
        new GLatLng(57.60964111286433, 24.401321411132812),
        new GLatLng(57.697812083482866, 24.349136352539062),
        new GLatLng(57.757939095379704, 24.354629516601562),
        new GLatLng(57.85159631254457, 24.354629516601562),
        new GLatLng(74.29229057777178, 19.3798828125),
        new GLatLng(73.54666477777747, -66.357421875),
        new GLatLng(33.59129193816705, -59.677734375),
        new GLatLng(56.074130525042165, 21.199493408203125)
    ], "#817f7f", 5, 1, "#464646", 0.9);
    map.addOverlay(polygon);
}
