- $('label[for='+SN.C.S.NoticeDataGeo+']').addClass('checked').attr('title', NoticeDataGeo_text.ShareDisable);
-
- var S = '<div id="'+SN.C.S.NoticeDataGeoSelected+'" class="'+SN.C.S.Success+'"/>';
- var NDGS = $('#'+SN.C.S.NoticeDataGeoSelected);
-
- if (NDGS.length > 0) {
- NDGS.replaceWith(S);
- }
- else {
- $('#'+SN.C.S.FormNotice).append(S);
- }
-
- NDGS = $('#'+SN.C.S.NoticeDataGeoSelected);
- NDGS.prepend('<span id="'+SN.C.S.NoticeGeoName+'">Geo</span> <button class="minimize" title="'+NoticeDataGeo_text.InfoMinimize+'">_</button> <button class="close" title="'+NoticeDataGeo_text.ShareDisable+'">×</button>');
-
- var NLN = $('#'+SN.C.S.NoticeGeoName);
- NLN.addClass('processing');
-
- $('#'+SN.C.S.NoticeDataGeoSelected+' button.close').click(function(){
- removeNoticeDataGeo();
-
- $('#'+SN.C.S.NoticeDataGeoSelected).remove();
-
- $('#'+SN.C.S.NoticeDataText).focus();
-
- return false;
- });
-
- $('#'+SN.C.S.NoticeDataGeoSelected+' button.minimize').click(function(){
- $('#'+SN.C.S.NoticeDataGeoSelected).hide();
-
- var cookieValue = {
- 'NLat': $('#'+SN.C.S.NoticeLat).val(),
- 'NLon': $('#'+SN.C.S.NoticeLat).val(),
- 'NLNS': $('#'+SN.C.S.NoticeLocationNs).val(),
- 'NLID': $('#'+SN.C.S.NoticeLocationId).val(),
- 'NLN': $('#'+SN.C.S.NoticeGeoName).text(),
- 'NLNU': $('#'+SN.C.S.NoticeGeoName).attr('href'),
- 'NDG': true,
- 'NDGSM': true
- };
- $.cookie(SN.C.S.NoticeDataGeoCookie, JSON.stringify(cookieValue));
-
- $('#'+SN.C.S.NoticeDataText).focus();
-
- return false;
- });