From: <Сохранено Windows Internet Explorer 7>
Subject: =?windows-1251?B?zO7pIOzo8EBNYWlsLlJ1OiDR7ufk4O3o5SDx7u7h+eXx8uLg?=
Date: Thu, 25 Feb 2010 19:04:42 +0300
MIME-Version: 1.0
Content-Type: multipart/related;
	type="multipart/alternative";
	boundary="----=_NextPart_000_0000_01CAB64D.6346ECD0"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579

This is a multi-part message in MIME format.

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Location: http://www.tns-counter.ru/V13a****mail_ru/ru/CP1251/tmsec=mail_my-other/

R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAICTAEAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img.mail.ru/0.gif

R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAQAICRAEAO///////////////////
/////yH+FkdJRiBTbWFydFNhdmVyIFZlcjEuMWEALAAAAAABAAEAAAQCEAAAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img.mail.ru/r/blogs/wait.gif

R0lGODlhHQAdAPcAAHeRxcXFxdfc5lx6s+3t7dvb29TV2svLy/yzcPOsaP61cqe417q6uoGUuEZp
sICTuKSxysHBwaWyyoybulFyuff399ja3u/v71FxssnKzv20ca+vr7zDztHR0dTU1NDQ0LW1tcDA
wKWuvaStvOLi4o2hyOPj4/b29ubm5sTExDthr/ixbZeku/WuakttsbC1vtTX2pOhunOKt/63ck5x
udLS0sbHyTpgr+qiYOvr6/j4+LW5voabx7S0tMfIypWmyKi418PHz7O8zW6Gtb+/v2iCtPPz89XV
1f3UrdKUW9LFu9jY2Pa4fMu1ouyucuafXfy4ebyafvHfztisgaSrtf349M6vkfevbMbHyv+3c9S0
l9m7nvS0et+ZV6mKdoSSrbi4uOqjYPWtavezdZCbsfava/nVsvSsaefn57e3t7GxseegXq6xuMHD
xYSSrry8vPy0cN3e44WTrc6je5WfsL29v/Hx8fz8/LO0t8CafN+5kfDw8NfX18q+sp2ltdrc4fPG
mt7f5fbt5OOte9vSyuTJr9rb39HS1fPPrPzz6uze07WTeeiiX8vNz9/f38/Q0dPDs9TX28+jea2t
rdHJwfCoZsrKyoaTrbu4s9HJxMjJzaWrtMPDw+uoabu7u/n5+cigfMPExuvaydzc3MvNzsjJy/qz
b86heLOzs9XX2+ukYcDAwcbGxsTFxv3Lm+Tk5P7EjL25tP39/ca9tZubpdi9o9qharKyst3d3f21
cePl6wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAdAB0A
AAj/AHUJHEiwoEABNAAYXMiw4IIbLko0nGgwg5wBQyRQ3Ghh0gY6DWJw2DixDqo0IDaJ2BGEJEM1
RAJwYoDnxQghLgsaAHOgRocDIdiwmAAh58BDbzw4MoGrRgoqD2T8MKrLR4QCOS4QQLEkgJ8iA3gY
tWHJxJ4KOoygOUKEDAYHCl2u4kPgxB1ZnwgUCNDjiwoKOWclQKBghoYVCXB0SaIEiACXhmqZUgDn
SiVGtk41sUC1zxgmerZAymQgFVVdfyhxERXndKRSjXy0CuABkCKqBtqAYBCB1YcCKAQhCuRSwAIb
GzylOHBk1KsLJ5AQyknjxqVbIToUIJHDjo4qUB7lfgTgYgCtWB9IEDBSIRGsFqSMlhjSIMqUQlLM
uMqiwUkGqhLEIMIca5yBwAwKrDCIJqdxsMMLoOBQRi4IJGAFDKfpEsQILOShihgtdIJJhgIJMcED
izwRhhahkCgQBDIU4YUkPWDooi4/DICBG1jcOBAPDqgAhI8DAUDBY0YFBAA7

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://img0.imgsmail.ru/r/blogs/ico_del.png

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
bWFnZVJlYWR5ccllPAAAAYtJREFUeNqkk89Kw0AQxr9VFLGV5uDFg8/QvoBS9OZVPFvRi16sIL6E
h/QBhAb1LbzkLCj4Bn2DJi3mT9N0nNnVJJviqQsDy+x8v9nZmVVEhJVWHbB4hrt4QrseN7tGK73C
bV27ZjleMESGPiXw88cSMrtBi3L4NMMgPuOYylJCUUppMWXoUcwgNsQIGNSlECP2+7zvIDFnbN72
Gy60Vpfwqlyac2YRlkFiAUUMEHFs+cG+QeOd7kwJC3iUIkCqD6rmsM9kFkuNQWJzeCLVAHWOL8h1
E85YBmmjqiWFuNv8ZM0fQNZ6nx2pgSBZuokuTYvn6DY+jNgC6EqmGHGto2pW6yYC+7bbWwCye7Rg
WtWpZiW7fkdaPNkrW6wB2UPR585/9aMEOtwFP9wyEA3gFvZEjOWsQfEmNtDh+J41SOklD1JSDpLM
gDwYTfTeZ3N+B0wAnpObQbL+QnyKYXQCio4wjg7KOqf7aIe7GIdNULBRjvISQFZ0DDc6XP5M4Q7a
wSbc+mdSq37nHwEGAI/zRy1QOsYUAAAAAElFTkSuQmCC

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img.mail.ru/mail/ru/images/my/wait.gif

R0lGODlhHQAdAPcAAHeRxcXFxdfc5lx6s+3t7dvb29TV2svLy/yzcPOsaP61cqe417q6uoGUuEZp
sICTuKSxysHBwaWyyoybulFyuff399ja3u/v71FxssnKzv20ca+vr7zDztHR0dTU1NDQ0LW1tcDA
wKWuvaStvOLi4o2hyOPj4/b29ubm5sTExDthr/ixbZeku/WuakttsbC1vtTX2pOhunOKt/63ck5x
udLS0sbHyTpgr+qiYOvr6/j4+LW5voabx7S0tMfIypWmyKi418PHz7O8zW6Gtb+/v2iCtPPz89XV
1f3UrdKUW9LFu9jY2Pa4fMu1ouyucuafXfy4ebyafvHfztisgaSrtf349M6vkfevbMbHyv+3c9S0
l9m7nvS0et+ZV6mKdoSSrbi4uOqjYPWtavezdZCbsfava/nVsvSsaefn57e3t7GxseegXq6xuMHD
xYSSrry8vPy0cN3e44WTrc6je5WfsL29v/Hx8fz8/LO0t8CafN+5kfDw8NfX18q+sp2ltdrc4fPG
mt7f5fbt5OOte9vSyuTJr9rb39HS1fPPrPzz6uze07WTeeiiX8vNz9/f38/Q0dPDs9TX28+jea2t
rdHJwfCoZsrKyoaTrbu4s9HJxMjJzaWrtMPDw+uoabu7u/n5+cigfMPExuvaydzc3MvNzsjJy/qz
b86heLOzs9XX2+ukYcDAwcbGxsTFxv3Lm+Tk5P7EjL25tP39/ca9tZubpdi9o9qharKyst3d3f21
cePl6wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAdAB0A
AAj/AHUJHEiwoEABNAAYXMiw4IIbLko0nGgwg5wBQyRQ3Ghh0gY6DWJw2DixDqo0IDaJ2BGEJEM1
RAJwYoDnxQghLgsaAHOgRocDIdiwmAAh58BDbzw4MoGrRgoqD2T8MKrLR4QCOS4QQLEkgJ8iA3gY
tWHJxJ4KOoygOUKEDAYHCl2u4kPgxB1ZnwgUCNDjiwoKOWclQKBghoYVCXB0SaIEiACXhmqZUgDn
SiVGtk41sUC1zxgmerZAymQgFVVdfyhxERXndKRSjXy0CuABkCKqBtqAYBCB1YcCKAQhCuRSwAIb
GzylOHBk1KsLJ5AQyknjxqVbIToUIJHDjo4qUB7lfgTgYgCtWB9IEDBSIRGsFqSMlhjSIMqUQlLM
uMqiwUkGqhLEIMIca5yBwAwKrDCIJqdxsMMLoOBQRi4IJGAFDKfpEsQILOShihgtdIJJhgIJMcED
izwRhhahkCgQBDIU4YUkPWDooi4/DICBG1jcOBAPDqgAhI8DAUDBY0YFBAA7

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img1.imgsmail.ru/0.gif

R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAQAICRAEAO///////////////////
/////yH+FkdJRiBTbWFydFNhdmVyIFZlcjEuMWEALAAAAAABAAEAAAQCEAAAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Location: http://top3.mail.ru/counter?js=na;id=1243438

R0lGODlhAQABAIAAAMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Location: http://rs.mail.ru/d242284.gif?rnd=848943056

R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAICTAEAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img2.imgsmail.ru/r/my/ico_pen_1.gif

R0lGODlhEAAQAMQWAPu6UL+pjvvFcPyiKK7V8jBrogpbnLDF2P/gqcnm+s/e7P6UHvuYOiB9xB0e
H5/S/gFeuQhXpgV35p+82QOI+gZry////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA
ABYALAAAAAAQABAAAAU8oCWOZGmeqPlQSTquUqW4cAUZaQ1FE6rzPkps1zsRhDYgStBIFk8IAKCg
RAEGDMDBFRgsBC6RIxAum1EhADs=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img3.imgsmail.ru/r/jim/delete.gif

R0lGODlhEAAQALMJAP+PAP+LAN5CAPRqAP+SAOlWANMvAP+FAP17AP///wAAAAAAAAAAAAAAAAAA
AAAAACH5BAEAAAkALAAAAAAQABAAAAQtMMlJq704W0J2twBAhVkQSKaWHOyhSgjyJkM9qEUh5Zkg
UL6LwWAZzo7IZCYCADs=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img0.imgsmail.ru/0.gif

R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAQAICRAEAO///////////////////
/////yH+FkdJRiBTbWFydFNhdmVyIFZlcjEuMWEALAAAAAABAAEAAAQCEAAAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img2.imgsmail.ru/0.gif

R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAQAICRAEAO///////////////////
/////yH+FkdJRiBTbWFydFNhdmVyIFZlcjEuMWEALAAAAAABAAEAAAQCEAAAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img3.imgsmail.ru/0.gif

R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAQAICRAEAO///////////////////
/////yH+FkdJRiBTbWFydFNhdmVyIFZlcjEuMWEALAAAAAABAAEAAAQCEAAAOw==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img1.imgsmail.ru/r/jim/close.gif

R0lGODlhCQAJAIAAAHt7e////yH5BAEAAAEALAAAAAAJAAkAAAIPjI+Aoda81EvLQWrzmbUAADs=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://img2.imgsmail.ru/r/foto2/ico_my.gif

R0lGODlhEAAQAPeVAP+uJP+aFv+GCP/CMxXrAP/SPn+p6p++75i57opIKHY0HXcyF/zHcP3JcX/q
/yOq/xjlACOY/xrhAEGg/yJs4BfoAKxxSP7JYruDVijDDxXsAFSe7x/WAK91S+7l1Xmq+VC79R3a
AILBbjOyf5Xr/jKidv7KYj/MZfzDY0OB4yTfL6RjMR/Lj6/J8pJcStmUNm0mDqPM9fCDECTEDv/N
WU2q8WGV5vuyN0qN+f7bYzq0ypbk/65yPqluRc6cT/2+UbyCPmDg/1Ga6yPM/7PPze2sd/2/VEGz
H992MU2L7SHSAJ1fOj/H+zDWTyuA5YjNtv29UI9OLZpcOGvBtu7dwf/CWtLn+iOV/yPlHRzLf/7V
Y0y1aECU/0qV//+PF4XPtf/oniPKn2/B///sq/BsAJFXPl6b2P57AMyyqfS+WFHT72q28lHW/5TV
/U299yO7/yOm/x7RT/ahOJ9sVo1MLP3DXeC6V/y0O3o2Giu+ACl24kKf77aTh//lktK8tC26AEnD
/ydv4T/H/P6MIP7KYf2/VX88ICTNAIxLKv3WkxzcAKja+dO+tqx6XRzCfz+P53C9ypxeOf/vt3Yx
FxXtAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAJUALAAAAAAQABAA
AAjYACsJRNNICp05jAQqXMgnAYYOSxJM8rNwoYIoFnpEQoTHRUWFMIDY8cFjxQIFHwUaSpNDywUj
L8qkrMTgByETdRpQOWDAQIuPd6AUSoTAzBRIH5KkqCjnBgoEJyhJpdRECAWBg86QKeJhxFSpKjbg
sOFFgFkkB7B8jbOHS5dAAeIGkPGFgIapjiJcmaCnCoC/AJ4okgChAoEsD+CIcVKJxoDHRGYcUsIh
BIs3gNo8EtinQAEwW/7kyRBmCJsdNWIslDTGSokjaoI4IAFizcxKInQIYuJmkcCAADs=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img2.imgsmail.ru/mail/ru/css/mf_css_xhtml.css?30

.mf_wbr {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-SIZE: 0px; PADDING-BOTTOM: =
1px; MARGIN: -1px; WORD-SPACING: 0px; PADDING-TOP: 1px; LETTER-SPACING: =
0px
}
.inPut {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 12px; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 98%; COLOR: #999999; BORDER-BOTTOM: #9ba3a9 1px solid; =
FONT-FAMILY: tahoma,Arial,Sans-Serif
}
.mf_w100 {
	WIDTH: 100%
}
.mf_ohd {
	DISPLAY: inline-block; OVERFLOW: hidden
}
.mf_ohd2 {
	DISPLAY: inline-block! important; OVERFLOW: hidden! important
}
.mf_oH {
	OVERFLOW: hidden! important
}
.mf_oH2 {
	OVERFLOW: hidden
}
.mf_dB {
	DISPLAY: block! important
}
.mf_dB2 {
	DISPLAY: block
}
.mf_dI {
	DISPLAY: inline! important
}
.mf_dI2 {
	DISPLAY: inline
}
.mf_dIB {
	DISPLAY: inline-block! important
}
.mf_dIB2 {
	DISPLAY: inline-block
}
.mf_border0 {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: =
0px
}
.mf_borderDashed {
	BORDER-BOTTOM: 1px dashed; TEXT-DECORATION: none! important
}
A.mf_borderDashed:hover {
	BORDER-BOTTOM: 0px
}
.mf_noHeight {
	FONT-SIZE: 0px; LINE-HEIGHT: 0; HEIGHT: 0px
}
.mf_arial {
	FONT-FAMILY: arial! important
}
.mf_tah {
	FONT-FAMILY: Tahoma! important
}
.mf_t0 {
	FONT-SIZE: 0px! important
}
.mf_t10 {
	FONT-SIZE: 10px! important; FONT-FAMILY: Tahoma! important
}
.mf_t11 {
	FONT-SIZE: 11px! important; FONT-FAMILY: Tahoma! important
}
.mf_t12 {
	FONT-SIZE: 12px! important
}
.mf_t13 {
	FONT-SIZE: 13px! important
}
.mf_t14 {
	FONT-SIZE: 14px! important
}
.mf_t16 {
	FONT-SIZE: 16px! important
}
.mf_t18 {
	FONT-SIZE: 18px! important
}
.mf_red {
	COLOR: #e9221f
}
.mf_green {
	COLOR: #018e1e
}
.mf_orange {
	COLOR: #fd7500
}
.mf_w {
	COLOR: #ffffff
}
.mf_grey {
	COLOR: #999999! important
}
.mf_grey2 {
	COLOR: #656972! important
}
.mf_black {
	COLOR: #000000! important
}
.mf_maroon {
	COLOR: #920000! important
}
.mf_blue {
	COLOR: #0857a6! important
}
.mf_cp {
	CURSOR: pointer! important
}
.mf_cpno {
	CURSOR: default! important
}
.mf_flr {
	FLOAT: right
}
.mf_fll {
	FLOAT: left
}
.mf_vti {
	VERTICAL-ALIGN: top! important
}
.mf_vmi {
	VERTICAL-ALIGN: middle! important
}
.mf_vbi {
	VERTICAL-ALIGN: bottom! important
}
.mf_lh16 {
	LINE-HEIGHT: 16px
}
.mf_lh18 {
	LINE-HEIGHT: 18px
}
.mf_tac {
	TEXT-ALIGN: center
}
.mf_tal {
	TEXT-ALIGN: left! important
}
.mf_tar {
	TEXT-ALIGN: right! important
}
.mf_tdn {
	TEXT-DECORATION: none! important
}
.mf_tdu {
	TEXT-DECORATION: underline! important
}
.mf_nobr {
	WHITE-SPACE: nowrap
}
.mf_bold {
	FONT-WEIGHT: bold
}
.mf_tdn {
	TEXT-DECORATION: none
}
.mf_pAbs {
	POSITION: absolute
}
.mf_pRel {
	POSITION: relative
}
.mf_top0 {
	TOP: 0px
}
.mf_right0 {
	RIGHT: 0px
}
.mf_bottom0 {
	BOTTOM: 0px
}
.mf_left0 {
	LEFT: 0px
}
.mf_cLeft {
	CLEAR: left
}
.mf_cRight {
	CLEAR: right
}
.mf_cBoth {
	CLEAR: both
}
.mf_pl50 {
	PADDING-LEFT: 50px! important
}
.mf_pl55 {
	PADDING-LEFT: 55px! important
}
.mf_pl95 {
	PADDING-LEFT: 95px! important
}
.mf_pl100 {
	PADDING-LEFT: 100px! important
}
.mf_m0 {
	MARGIN: 0px
}
.mf_mr5 {
	MARGIN-RIGHT: 5px
}
.mf_mr13 {
	MARGIN-RIGHT: 13px
}
.mf_mr25 {
	MARGIN-RIGHT: 25px
}
.mf_mt5 {
	MARGIN-TOP: 5px
}
.mf_mb5 {
	MARGIN-BOTTOM: 5px
}
.mf_mt10 {
	MARGIN-TOP: 10px
}
.mf_mt1 {
	MARGIN-TOP: 1px! important
}
.mf_mt2 {
	MARGIN-TOP: 2px! important
}
.mf_mt3 {
	MARGIN-TOP: 3px! important
}
.mf_mb0 {
	MARGIN-BOTTOM: 0px! important
}
.mf_mb1 {
	MARGIN-BOTTOM: 1px! important
}
.mf_mb2 {
	MARGIN-BOTTOM: 2px! important
}
.mf_mb3 {
	MARGIN-BOTTOM: 3px! important
}
.mf_ml0 {
	MARGIN-LEFT: 0px! important
}
.mf_spIco {
	PADDING-RIGHT: 0px; DISPLAY: inline-block; PADDING-LEFT: 20px; =
BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/_sprite_ico.png?4); =
PADDING-BOTTOM: 4px; PADDING-TOP: 0px; BACKGROUND-REPEAT: no-repeat
}
.mf_noIco {
	DISPLAY: inline; PADDING-BOTTOM: 4px
}
.mf_iOnes {
	DISPLAY: inline-block; PADDING-BOTTOM: 0px; VERTICAL-ALIGN: middle; =
HEIGHT: 16px
}
.mf_i9 {
	PADDING-LEFT: 18px! important; MARGIN-LEFT: 3px
}
A.mf_i9:hover {
	PADDING-LEFT: 18px! important; MARGIN-LEFT: 3px
}
.mf_i13 {
	PADDING-LEFT: 19px! important; MARGIN-LEFT: 3px
}
A.mf_i13:hover {
	PADDING-LEFT: 19px! important; MARGIN-LEFT: 3px
}
.spr-mrim-9 {
	PADDING-RIGHT: 0px! important; BACKGROUND-POSITION: 0px -2140px; =
DISPLAY: inline-block; PADDING-LEFT: 12px! important; FONT-SIZE: 0px; =
PADDING-BOTTOM: 0px! important; VERTICAL-ALIGN: middle; LINE-HEIGHT: 0; =
PADDING-TOP: 0px! important; HEIGHT: 16px
}
.spr-mrim-13 {
	PADDING-RIGHT: 0px! important; BACKGROUND-POSITION: 0px -2122px; =
DISPLAY: inline-block; PADDING-LEFT: 16px! important; FONT-SIZE: 0px; =
PADDING-BOTTOM: 0px! important; VERTICAL-ALIGN: middle; LINE-HEIGHT: 0; =
PADDING-TOP: 0px! important; HEIGHT: 16px
}
.mrim-offline_9 {
	BACKGROUND-POSITION: 0px -2140px
}
.mrim-online_9 {
	BACKGROUND-POSITION: -20px -2140px
}
.mrim-away_9 {
	BACKGROUND-POSITION: -40px -2140px
}
.mrim-none_9 {
	BACKGROUND-POSITION: -60px -2140px
}
.mrim-offline_13 {
	BACKGROUND-POSITION: 0px -2122px
}
.mrim-online_13 {
	BACKGROUND-POSITION: -20px -2122px
}
.mrim-away_13 {
	BACKGROUND-POSITION: -40px -2122px
}
.mrim-none_13 {
	BACKGROUND-POSITION: -60px -2122px
}
.mf_spr-mrim-status13 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat center =
50%; VERTICAL-ALIGN: middle; WIDTH: 13px; CURSOR: pointer; LINE-HEIGHT: =
0; MARGIN-RIGHT: 4px; HEIGHT: 13px
}
.mf_spr-mrim-status9 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat center =
50%; VERTICAL-ALIGN: middle; WIDTH: 9px; CURSOR: pointer; LINE-HEIGHT: =
0; MARGIN-RIGHT: 4px; HEIGHT: 9px
}
.mf_a90 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
MARGIN-BOTTOM: 3px; WIDTH: 90px; LINE-HEIGHT: 0; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 90px; BACKGROUND-COLOR: #efefef
}
.mf_a90no {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/avatars/00noavatar.jpg) no-repeat center =
50%; MARGIN-BOTTOM: 3px; WIDTH: 90px; LINE-HEIGHT: 0; HEIGHT: 90px
}
.mf_a45 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
MARGIN-BOTTOM: 3px; WIDTH: 45px; LINE-HEIGHT: 0; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 45px; BACKGROUND-COLOR: #efefef
}
.mf_a45c {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/community_45.jpg) no-repeat center 50%; =
MARGIN-BOTTOM: 3px; WIDTH: 45px; LINE-HEIGHT: 0; HEIGHT: 45px
}
.mf_aApp {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/application_90_90.png) =
no-repeat left top; MARGIN-BOTTOM: 3px; WIDTH: 90px; LINE-HEIGHT: 0; =
HEIGHT: 75px
}
.mf_aComm {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/community.jpg) no-repeat left top; =
MARGIN-BOTTOM: 3px; WIDTH: 90px; LINE-HEIGHT: 0; HEIGHT: 90px
}
.mf_o90 {
	DISPLAY: inline-block; FONT-SIZE: 85%; PADDING-BOTTOM: 2px; MARGIN: 0px =
0px 4px; WIDTH: 90px; COLOR: #fff; FONT-FAMILY: Tahoma,Arial,Helvetica; =
BACKGROUND-COLOR: #1ec926; TEXT-ALIGN: center; TEXT-DECORATION: none
}
A.mf_o90:hover {
	COLOR: #fff
}
.mf_o45Ones {
	PADDING-RIGHT: 2px; DISPLAY: inline-block; PADDING-LEFT: 2px; =
FONT-SIZE: 85%; PADDING-BOTTOM: 2px; COLOR: #fff; PADDING-TOP: 0px; =
FONT-FAMILY: Tahoma,Arial,Helvetica; BACKGROUND-COLOR: #1ec926; =
TEXT-ALIGN: center; TEXT-DECORATION: none
}
A.mf_o45Ones:hover {
	COLOR: #fff
}
.mf_o45 {
	DISPLAY: inline-block; FONT-SIZE: 85%; PADDING-BOTTOM: 2px; MARGIN: 0px =
0px 4px; WIDTH: 45px; COLOR: #fff; FONT-FAMILY: Tahoma,Arial,Helvetica; =
BACKGROUND-COLOR: #1ec926; TEXT-ALIGN: center; TEXT-DECORATION: none
}
A.mf_o45:hover {
	COLOR: #fff
}
.mf_borderGrey {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 10px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 10px; BORDER-LEFT: #d9d9d9 1px solid; PADDING-TOP: 7px; =
BORDER-BOTTOM: #d9d9d9 1px solid
}
.mf_borderBlue {
	BORDER-RIGHT: #9bbad9 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: =
#9bbad9 1px solid; PADDING-LEFT: 0px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 0px; BORDER-LEFT: #9bbad9 1px solid; PADDING-TOP: 0px; =
BORDER-BOTTOM: #9bbad9 1px solid
}
.mf_menuFieldM {
	PADDING-RIGHT: 5px; PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 0px; TEXT-ALIGN: right
}
.mf_menuField {
	PADDING-RIGHT: 5px; BACKGROUND-POSITION: -20px -1360px; PADDING-LEFT: =
15px; PADDING-BOTTOM: 5px; PADDING-TOP: 0px; BACKGROUND-REPEAT: =
no-repeat; TEXT-ALIGN: right
}
.mf_menuFieldG {
	MARGIN-RIGHT: -9px
}
.mf_menuFieldP {
	PADDING-RIGHT: 5px; BACKGROUND-POSITION: 0px -1380px; PADDING-LEFT: =
15px; PADDING-BOTTOM: 5px; PADDING-TOP: 0px; BACKGROUND-REPEAT: =
no-repeat; TEXT-ALIGN: right
}
.mf_menu1 {
	FLOAT: left; WIDTH: 118px; TEXT-ALIGN: left
}
.mf_menu2 {
	FONT-WEIGHT: bold; FLOAT: left; WIDTH: 40px! important; COLOR: #000; =
TEXT-ALIGN: right; TEXT-DECORATION: none
}
.mf_menu2a {
	FLOAT: left; WIDTH: 40px! important; COLOR: #fff
}
.mf_menuTh {
	FLOAT: left; WIDTH: 118px; TEXT-ALIGN: left
}
.mf_menuH {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #0857a6; BORDER-BOTTOM: =
#0857a6 1px solid; TEXT-DECORATION: none
}
A.mf_menuH:hover {
	BORDER-BOTTOM: 0px; TEXT-DECORATION: none
}
.mf_menuTd {
	FONT-SIZE: 95%; FLOAT: left; WIDTH: 40px! important; COLOR: #999999! =
important; TEXT-ALIGN: right; TEXT-DECORATION: none
}
.mf_menuProject {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 10px
}
.mf_new {
	PADDING-RIGHT: 25px; DISPLAY: block; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/supnew2.gif) no-repeat =
right top; FLOAT: left; HEIGHT: 16px
}
.mf_iFoto {
	BACKGROUND-POSITION: -80px -700px
}
.mf_iFoto2 {
	BACKGROUND-POSITION: -80px -696px
}
.mf_iVideo {
	BACKGROUND-POSITION: -60px -720px
}
.mf_iHome {
	BACKGROUND-POSITION: -80px -600px
}
.mf_myfoto {
	PADDING-RIGHT: 2px; PADDING-LEFT: 20px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/my/ico_myfoto.gif) no-repeat left 50%; =
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.mf_iFindMen {
	BACKGROUND-POSITION: -40px -40px
}
.mf_iPenMen {
	BACKGROUND-POSITION: -20px -60px
}
.mf_iComms {
	BACKGROUND-POSITION: -80px -1600px
}
.mf_iPlus10 {
	BACKGROUND-POSITION: 0px -1380px
}
.mf_iVote {
	BACKGROUND-POSITION: -80px -1400px
}
.mf_iWantTalk {
	BACKGROUND-POSITION: -60px -1420px
}
.mf_iPost {
	BACKGROUND-POSITION: -80px -1680px
}
.mf_iMusic {
	BACKGROUND-POSITION: -80px -1200px
}
.mf_iStars {
	BACKGROUND-POSITION: -40px -1240px
}
.mf_iAppCatalog {
	BACKGROUND-POSITION: -60px -1900px
}
.mf_iAddMen {
	BACKGROUND-POSITION: -80px -100px
}
.mf_iAppInfo {
	BACKGROUND-POSITION: -20px -1940px
}
.mf_iAppWarning {
	BACKGROUND-POSITION: -40px -1920px
}
.mf_iApp {
	BACKGROUND-POSITION: 0px -1180px
}
.mf_iFriendsFriends {
	BACKGROUND-POSITION: 0px -80px
}
.mf_iAppBig {
	BACKGROUND-POSITION: -40px -1820px
}
.mf_iOpros {
	BACKGROUND-POSITION: -60px -2340px
}
.mf_iCommsEnter {
	BACKGROUND-POSITION: -60px -1520px
}
.mf_iDel {
	BACKGROUND-POSITION: -20px -360px; PADDING-LEFT: 17px! important
}
.mf_iDelAlert {
	DISPLAY: inline-block; RIGHT: -10px; FLOAT: right; CURSOR: pointer; =
POSITION: relative; TOP: -5px; HEIGHT: 16px
}
.mf_iDel3 {
	BACKGROUND-POSITION: -75px -1980px; PADDING-LEFT: 17px! important
}
.mf_iDelAlert3 {
	DISPLAY: inline-block; FLOAT: right; CURSOR: pointer; POSITION: =
relative; HEIGHT: 16px
}
.mf_aBlockWhite {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 5px
}
.mf_aBlockBlue {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; FONT-SIZE: =
11px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; FONT-FAMILY: Tahoma! =
important; BACKGROUND-COLOR: #e6effe
}
H5 {
	PADDING-RIGHT: 0px! important; DISPLAY: inline-block! important; =
PADDING-LEFT: 22px! important; FONT-SIZE: 16px; PADDING-BOTTOM: 0px! =
important; MARGIN: 0px 0px 7px; COLOR: #666c6e; LINE-HEIGHT: 20px; =
PADDING-TOP: 0px! important
}
.mf_zWorld {
	BACKGROUND-POSITION: -20px -2260px
}
.mf_zLetter {
	BACKGROUND-POSITION: 0px -2300px
}
.mf_zConf {
	BACKGROUND-POSITION: -40px -2220px
}
.mf_zGift {
	BACKGROUND-POSITION: -60px -2180px
}
.mf_iPostInvite {
	BACKGROUND-POSITION: -40px -2380px
}
.mf_supnew {
	MARGIN-TOP: -5px; PADDING-LEFT: 3px; FONT: bold 10px Tahoma; COLOR: =
#ff0000! important; POSITION: absolute
}
.mf_smsTop {
	BORDER-RIGHT: #d9d9d9 1px solid; BORDER-TOP: #d9d9d9 1px solid; =
PADDING-LEFT: 6px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/_sprite_smstop.png) =
no-repeat left top; MARGIN-BOTTOM: 10px; BORDER-LEFT: #d9d9d9 1px solid; =
BORDER-BOTTOM: #d9d9d9 1px solid
}
.mf_smsTopHide {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: =
4px; WIDTH: 66px; PADDING-TOP: 0px; BACKGROUND-COLOR: #cdd0d9; =
TEXT-ALIGN: center
}
.mf_smsTopHideA {
	FONT-SIZE: 11px; CURSOR: pointer; COLOR: #646663; BORDER-BOTTOM: =
#646663 1px dashed; FONT-FAMILY: Tahoma; TEXT-DECORATION: none
}
.mf_h1aOrange {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #fd7500; BORDER-BOTTOM: =
#fd7500 1px solid; TEXT-DECORATION: none
}
A.h1aOrange:hover {
	BORDER-BOTTOM: 0px; TEXT-DECORATION: none
}
.mf_smsTop1 {
	BORDER-RIGHT: #bed3fe 1px solid; PADDING-RIGHT: 5px; =
BACKGROUND-POSITION: -36px -237px; BORDER-TOP: #bed3fe 1px solid; =
PADDING-LEFT: 20px; PADDING-BOTTOM: 5px; MARGIN: 0px -1px -1px -7px; =
BORDER-LEFT: #bed3fe 1px solid; COLOR: #0a59a8; PADDING-TOP: 5px; =
BORDER-BOTTOM: #bed3fe 1px solid; BACKGROUND-REPEAT: no-repeat; =
POSITION: relative; BACKGROUND-COLOR: #e5eeff
}
.mf_smsTop1 SPAN {
	MARGIN-LEFT: -1px
}
.mf_hh_az {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_az.gif) no-repeat right 50%
}
.mf_hh_am {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_am.gif) no-repeat right 50%
}
.mf_hh_de {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_de.gif) no-repeat right 50%
}
.mf_hh_ge {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_ge.gif) no-repeat right 50%
}
.mf_hh_il {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_il.gif) no-repeat right 50%
}
.mf_hh_kz {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_kz.gif) no-repeat right 50%
}
.mf_hh_lv {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_lv.gif) no-repeat right 50%
}
.mf_hh_lt {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_lt.gif) no-repeat right 50%
}
.mf_hh_ru {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_ru.gif) no-repeat right 50%
}
.mf_hh_tj {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_tj.gif) no-repeat right 50%
}
.mf_hh_uz {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_uz.gif) no-repeat right 50%
}
.mf_hh_ua {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_ua.gif) no-repeat right 50%
}
.mf_hh_ee {
	PADDING-RIGHT: 20px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/sms_ee.gif) no-repeat right 50%
}
.mf_blockOne {
	DISPLAY: inline-block; MARGIN-BOTTOM: 20px; WORD-SPACING: normal; =
VERTICAL-ALIGN: top; POSITION: relative; TEXT-ALIGN: center
}
.mf_blockOneMain {
	WIDTH: 92px; TEXT-ALIGN: left
}
OL.mf_nav {
	PADDING-RIGHT: 0px; LIST-STYLE: none none outside; PADDING-LEFT: 0px; =
PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
.mf_navElN {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 15px; PADDING-BOTTOM: =
5px; MARGIN-RIGHT: -5px; PADDING-TOP: 0px
}
.mf_navElN2 {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 15px; PADDING-BOTTOM: =
5px; MARGIN-RIGHT: -5px; PADDING-TOP: 0px
}
.mf_navElN3 {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 15px; PADDING-BOTTOM: =
5px; MARGIN-RIGHT: -5px; PADDING-TOP: 0px
}
.mf_navEl {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 15px; PADDING-BOTTOM: =
5px; MARGIN-RIGHT: -5px; PADDING-TOP: 0px
}
.mf_navElA {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 15px; PADDING-BOTTOM: =
5px; MARGIN-RIGHT: -5px; PADDING-TOP: 0px
}
.mf_navEl {
	BACKGROUND-POSITION: -20px -1360px
}
.mf_navElA {
	BACKGROUND-POSITION: -40px -1340px
}
.mf_navElN2 {
	PADDING-LEFT: 0px
}
.mf_navElN3 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 25px; PADDING-BOTTOM: 8px; =
LINE-HEIGHT: 17px; PADDING-TOP: 0px
}
.mf_navMy {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #0857a6; BORDER-BOTTOM: =
#0857a6 1px solid; TEXT-DECORATION: none
}
A.mf_navMy:hover {
	BORDER-BOTTOM: 0px; TEXT-DECORATION: none
}
.mf_navInf {
	COLOR: #999999; TEXT-DECORATION: none
}
A.mf_navInf:hover {
	TEXT-DECORATION: underline
}
.mf_otherHide {
	BORDER-RIGHT: #fff 0px solid; BORDER-TOP: #fff 4px solid; DISPLAY: =
inline-block; FONT-SIZE: 1px; VERTICAL-ALIGN: middle; BORDER-LEFT: =
#2370bd 4px solid; WIDTH: 0px; LINE-HEIGHT: 0; BORDER-BOTTOM: #fff 4px =
solid; HEIGHT: 0px
}
.mf_otherShow {
	BORDER-RIGHT: #fff 4px solid; BORDER-TOP: #2370bd 4px solid; DISPLAY: =
inline-block; FONT-SIZE: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: #fff =
4px solid; WIDTH: 0px; LINE-HEIGHT: 0; BORDER-BOTTOM: #fff 0px solid; =
HEIGHT: 0px
}
.mf_otherHide_nav {
	MARGIN: 0px 8px 0px 2px
}
.mf_otherShow_nav {
	MARGIN: 0px 6px 0px 0px
}
.mf_tbl {
	MARGIN-BOTTOM: -10000px; PADDING-BOTTOM: 10000px; ZOOM: 1; haslayout: 1
}

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img2.imgsmail.ru/mail/ru/css/my_new.css?32

.mf_errorPageContainer {
	Z-INDEX: 100; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 40%; =
TEXT-ALIGN: center
}
.mf_errorPage {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/_error_page.png) #fff =
no-repeat left top; MARGIN: 0px auto; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 700px; BORDER-BOTTOM: #9ba3a9 1px solid
}
.mf_errorPageDiv {
	MARGIN: 30px 20px 30px 140px; TEXT-ALIGN: left
}
.mf_errorPageH1 {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; PADDING-BOTTOM: 10px
}
.mf_iDel2 {
	BACKGROUND-POSITION: -60px -2000px; PADDING-LEFT: 11px! important; =
FONT-SIZE: 11px; COLOR: #999; FONT-FAMILY: Tahoma
}
.mf_iSpam {
	BACKGROUND-POSITION: 0px -280px; PADDING-LEFT: 15px! important; =
FONT-SIZE: 11px; COLOR: #999; FONT-FAMILY: Tahoma
}
BODY {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 12px; =
PADDING-BOTTOM: 20px; MARGIN: 0px; PADDING-TOP: 0px; FONT-FAMILY: arial; =
BACKGROUND-COLOR: #ffffff
}
TABLE {
	BORDER-COLLAPSE: collapse
}
TD {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 75%; PADDING-BOTTOM: =
0px; MARGIN: 0px; VERTICAL-ALIGN: top; PADDING-TOP: 0px; FONT-FAMILY: =
arial
}
WBR:unknown {
	content: "?"
}
P {
	MARGIN: 0px
}
FORM {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0px; PADDING-TOP: 0px
}
A {
	COLOR: #0857a6; TEXT-DECORATION: underline
}
A:hover {
	COLOR: #f26d00; TEXT-DECORATION: none
}
A IMG {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: =
0px
}
UL {
	PADDING-RIGHT: 0px; MARGIN-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: =
0px; MARGIN-LEFT: 17px; MARGIN-RIGHT: 0px; PADDING-TOP: 0px
}
UL LI {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 3px =
0px 0px; LINE-HEIGHT: 120%; PADDING-TOP: 0px
}
.noTopMenuHeight {
	WIDTH: 1px; HEIGHT: 36px
}
.right_container {
	FLOAT: right; WIDTH: 33%
}
.left_container {
	FLOAT: left; WIDTH: 200px; MARGIN-RIGHT: -200px; POSITION: relative
}
.center_container {
	FLOAT: left; OVERFLOW: hidden; WIDTH: 65%
}
DIV.inParentDiv {
	MIN-HEIGHT: 600px; MARGIN-LEFT: 218px; OVERFLOW: visible; WIDTH: 100%
}
.center_container_conference {
	FLOAT: left; OVERFLOW: hidden; WIDTH: 72%
}
.right_container_conference {
	FLOAT: right; WIDTH: 26%
}
.m_f .person {
	PADDING-LEFT: 3px; FLOAT: left; MARGIN-LEFT: 0px; WIDTH: 90px; HEIGHT: =
162px
}
.m_f H2 {
	PADDING-LEFT: 10px
}
.m_f .hrr {
	BORDER-TOP: #d9d9d9 1px solid; MARGIN: 12px 10px 24px
}
.m_f .pld {
	PADDING-LEFT: 10px
}
.m_f .pld P {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 0px
}
.m_f .over {
	PADDING-LEFT: 7px; VERTICAL-ALIGN: top; OVERFLOW: hidden; WIDTH: 100%
}
.m_f .person P {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 5px
}
.m_f .person DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; MARGIN: 3px =
0px 0px; WIDTH: 90px; PADDING-TOP: 0px; BACKGROUND-COLOR: #1ec926; =
TEXT-ALIGN: center
}
.m_f .person DIV SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica
}
.m_f .person DIV A {
	PADDING-RIGHT: 24px; PADDING-LEFT: 24px; FONT-WEIGHT: normal; =
FONT-SIZE: 85%; PADDING-BOTTOM: 0px; COLOR: white; PADDING-TOP: 0px; =
FONT-FAMILY: Tahoma, Arial, Helvetica; TEXT-DECORATION: none
}
.m_f .person DIV A:hover {
	COLOR: white
}
.m_f DIV.flr21 {
	FLOAT: right; MARGIN-RIGHT: 11px
}
.m_f DIV.flr21 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 120%; MARGIN-LEFT: 5px; COLOR: #606060; =
FONT-STYLE: italic
}
.m_f .person DIV.inv {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; MARGIN: 3px =
0px 0px; WIDTH: 90px; PADDING-TOP: 0px; BACKGROUND-COLOR: #000000; =
TEXT-ALIGN: center
}
.m_f .person DIV.inv A {
	PADDING-RIGHT: 18px; PADDING-LEFT: 18px; FONT-WEIGHT: normal; =
FONT-SIZE: 85%; PADDING-BOTTOM: 0px; COLOR: white; PADDING-TOP: 0px; =
FONT-FAMILY: Tahoma, Arial, Helvetica
}
.m_f .person DIV.inv A:hover {
	COLOR: white
}
.flr {
	FLOAT: right
}
.fll {
	FLOAT: left
}
.border_grey {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 10px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 10px; BORDER-LEFT: #d9d9d9 1px solid; PADDING-TOP: 7px; =
BORDER-BOTTOM: #d9d9d9 1px solid
}
.border_no {
	BORDER-RIGHT: #ffffff 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#ffffff 1px solid; PADDING-LEFT: 10px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 10px; BORDER-LEFT: #ffffff 1px solid; PADDING-TOP: 7px; =
BORDER-BOTTOM: #ffffff 1px solid
}
.border_grey_table {
	MARGIN-BOTTOM: 10px; WIDTH: 100%
}
.border_grey_slot {
	WIDTH: 100%
}
.border_grey_hb {
	BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/hb.gif); MARGIN-BOTTOM: =
10px; WIDTH: 100%; BACKGROUND-REPEAT: repeat-x
}
.border_grey_hb .stih {
	MARGIN: 20px -5px -5px
}
#edit_audio {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 10px; Z-INDEX: 32; LEFT: 751px; =
VISIBILITY: hidden; PADDING-BOTTOM: 10px; BORDER-LEFT: #d9d9d9 1px =
solid; WIDTH: 190px; PADDING-TOP: 10px; BORDER-BOTTOM: #d9d9d9 1px =
solid; POSITION: absolute; TOP: 0px; BACKGROUND-COLOR: #ffffff
}
DIV.name_pt {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 5px
}
DIV.on_45 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; MARGIN: 3px =
0px 0px; WIDTH: 45px; PADDING-TOP: 0px; WHITE-SPACE: nowrap; =
BACKGROUND-COLOR: #1ec926; TEXT-ALIGN: center
}
DIV.on_45 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica
}
DIV.on_45 A {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica; TEXT-DECORATION: none
}
DIV.on_45 A:hover {
	COLOR: white
}
DIV.on_90 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; MARGIN: 3px =
0px 0px; WIDTH: 90px; PADDING-TOP: 0px; BACKGROUND-COLOR: #1ec926; =
TEXT-ALIGN: center
}
DIV.on_90 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica
}
DIV.on_90 A {
	PADDING-RIGHT: 23px; PADDING-LEFT: 23px; FONT-WEIGHT: normal; =
FONT-SIZE: 85%; PADDING-BOTTOM: 0px; COLOR: white; PADDING-TOP: 0px; =
FONT-FAMILY: Tahoma, Arial, Helvetica; TEXT-DECORATION: none
}
DIV.on_90 A:hover {
	COLOR: white
}
DIV.on_120 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; MARGIN: 3px =
0px 0px; WIDTH: 120px; PADDING-TOP: 0px; BACKGROUND-COLOR: #1ec926; =
TEXT-ALIGN: center
}
DIV.on_120 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica
}
DIV.on_120 A {
	PADDING-RIGHT: 39px; PADDING-LEFT: 39px; FONT-WEIGHT: normal; =
FONT-SIZE: 85%; PADDING-BOTTOM: 0px; COLOR: white; PADDING-TOP: 0px; =
FONT-FAMILY: Tahoma, Arial, Helvetica; TEXT-DECORATION: none
}
DIV.on_120 A:hover {
	COLOR: white
}
.online {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: normal; FONT-SIZE: =
85%; PADDING-BOTTOM: 1px; WIDTH: 45px; COLOR: white; PADDING-TOP: 0px; =
FONT-FAMILY: Tahoma, Arial, Helvetica; WHITE-SPACE: nowrap; HEIGHT: =
11px; BACKGROUND-COLOR: #1ec926; TEXT-DECORATION: none
}
A.online:hover {
	COLOR: white
}
.inv {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: normal; FONT-SIZE: =
85%; PADDING-BOTTOM: 1px; COLOR: white; PADDING-TOP: 1px; FONT-FAMILY: =
Tahoma,Arial,Helvetica; BACKGROUND-COLOR: #000000; TEXT-DECORATION: none
}
A.inv:hover {
	COLOR: white
}
.divAuto {
	MARGIN-LEFT: auto! important; MARGIN-RIGHT: auto! important
}
.shapka_top {
	BORDER-RIGHT: #ffffff 1px solid; FONT-SIZE: 0px; BORDER-LEFT: #ffffff =
1px solid; LINE-HEIGHT: 0; HEIGHT: 1px; BACKGROUND-COLOR: #033e84
}
.shapka_main {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/new_bg_menu.gif) #00468c =
repeat-x 50% top; WIDTH: 100%; POSITION: relative
}
.shapka_center {
	MARGIN: 0px 1px; POSITION: relative
}
.shapka_bottom {
	BORDER-RIGHT: #ffffff 1px solid; FONT-SIZE: 0px; BORDER-LEFT: #ffffff =
1px solid; LINE-HEIGHT: 0; POSITION: relative; TOP: -1px; HEIGHT: 1px
}
.shapka_logo {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/logo_new.gif) =
no-repeat 50% top; FLOAT: left; MARGIN: 11px 0px 0px 10px; POSITION: =
relative
}
.shapka_form {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: =
0px; COLOR: #ffffff; PADDING-TOP: 10px; POSITION: relative
}
.shapka_parent {
	MARGIN-LEFT: 270px; POSITION: relative
}
.sns {
	PADDING-RIGHT: 0px; PADDING-LEFT: 10px; FONT-SIZE: 95%; PADDING-BOTTOM: =
10px; WIDTH: 70%; COLOR: #ffffff; PADDING-TOP: 10px; FONT-FAMILY: =
Tahoma; WHITE-SPACE: nowrap; POSITION: relative; TEXT-ALIGN: center
}
.sns2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 10px; FONT-SIZE: 95%; PADDING-BOTTOM: =
0px; WIDTH: 70%; COLOR: #ffffff; PADDING-TOP: 20px; FONT-FAMILY: Tahoma; =
WHITE-SPACE: nowrap; POSITION: relative; TEXT-ALIGN: center
}
.sns A {
	COLOR: #ffffff
}
.sns2 A {
	COLOR: #ffffff
}
.sns A:hover {
	COLOR: #ffffff
}
.sns2 A:hover {
	COLOR: #ffffff
}
.shapka_center I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat; =
LINE-HEIGHT: 0
}
.shapka_center I.my {
	WIDTH: 100px; CURSOR: pointer; HEIGHT: 21px
}
.shapka_center I.mail {
	WIDTH: 104px; CURSOR: pointer; HEIGHT: 21px
}
.shapka_center I.nat {
	WIDTH: 204px; HEIGHT: 11px
}
.main_alls {
	PADDING-RIGHT: 0px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; MARGIN: =
0px; PADDING-TOP: 0px; POSITION: relative; HEIGHT: 20px
}
DIV.main {
	FLOAT: left; MARGIN-LEFT: -11px
}
DIV.main DIV.txt {
	PADDING-RIGHT: 6px; BACKGROUND-POSITION: left top; DISPLAY: inline; =
PADDING-LEFT: 14px; FONT-SIZE: 100%; Z-INDEX: 1; FLOAT: left; =
BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/123.gif); PADDING-BOTTOM: =
0px; MARGIN: 0px 0px -1px; PADDING-TOP: 2px; BACKGROUND-REPEAT: =
no-repeat; FONT-FAMILY: Arial; POSITION: relative; HEIGHT: 18px; =
BACKGROUND-COLOR: #5977b3; TEXT-ALIGN: center
}
DIV.main DIV.txt SPAN {
	DISPLAY: inline; HEIGHT: 18px
}
DIV.main DIV.txt A {
	COLOR: #ffffff; TEXT-DECORATION: none
}
DIV.main DIV.txt A:hover {
	TEXT-DECORATION: underline
}
DIV.main SPAN.ugol {
	BACKGROUND-POSITION: right 50%; Z-INDEX: 3; FLOAT: left; =
BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ug_main.gif); MARGIN: 0px; =
WIDTH: 22px; BACKGROUND-REPEAT: no-repeat; POSITION: relative; HEIGHT: =
20px
}
DIV.main_act {
	FLOAT: left; MARGIN-LEFT: -11px
}
DIV.main_act DIV.txt {
	PADDING-RIGHT: 6px; BACKGROUND-POSITION: left top; DISPLAY: inline; =
PADDING-LEFT: 21px; FONT-SIZE: 100%; Z-INDEX: 5; FLOAT: left; =
BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/123.gif); PADDING-BOTTOM: =
0px; MARGIN: 0px 0px -1px; BORDER-LEFT: #00468c 1px solid; PADDING-TOP: =
2px; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial; POSITION: =
relative; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center
}
DIV.main_act DIV.txt SPAN {
	DISPLAY: inline; HEIGHT: 18px
}
DIV.main_act DIV.txt A {
	FONT-WEIGHT: bold; COLOR: #013572; TEXT-DECORATION: none
}
DIV.main_act DIV.txt A:hover {
	TEXT-DECORATION: underline
}
DIV.main_act SPAN.ugol {
	BACKGROUND-POSITION: right 50%; Z-INDEX: 5; FLOAT: left; =
BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/ug_main_act.gif); MARGIN: =
0px; WIDTH: 22px; BACKGROUND-REPEAT: no-repeat; POSITION: relative; =
HEIGHT: 20px
}
.mainAll DIV.mainS_burn {
	BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/sh2_burn.gif)
}
.mainAll DIV.mainS_burn DIV {
	BACKGROUND-COLOR: #ee1c25
}
.mainAll DIV.mainS_burn SPAN {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/sh3_burn.gif)
}
.footer1 {
	BORDER-RIGHT: #ffffff 1px solid; FONT-SIZE: 0px; BORDER-LEFT: #ffffff =
1px solid; LINE-HEIGHT: 0; HEIGHT: 1px; BACKGROUND-COLOR: #00468c
}
.footer2 {
	PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-SIZE: 95%; =
PADDING-BOTTOM: 7px; COLOR: #ffffff; PADDING-TOP: 5px; FONT-FAMILY: =
Tahoma; BACKGROUND-COLOR: #00468c
}
.footer2 A {
	COLOR: #ffffff
}
.footer2 A:hover {
	COLOR: #cce8ff
}
.footer3 {
	BORDER-RIGHT: #ffffff 1px solid; FONT-SIZE: 0px; BORDER-LEFT: #ffffff =
1px solid; LINE-HEIGHT: 0; HEIGHT: 1px; BACKGROUND-COLOR: #00468c
}
.rasp_top {
	FONT-SIZE: 0px; WIDTH: 972px; LINE-HEIGHT: 0; HEIGHT: 0px
}
.menu_l .black {
	PADDING-RIGHT: 0px! important; PADDING-LEFT: 4px; COLOR: #000000
}
.ulpad LI {
=09
}
.menu_l TD {
	PADDING-RIGHT: 3px; PADDING-TOP: 5px
}
.menu_l UL {
	MARGIN: 0px 0px 0px 15px
}
.menu_l LI {
	MARGIN-TOP: 0px! important; COLOR: #dadfe5; LIST-STYLE-TYPE: disc
}
.menu_l LI.active {
	COLOR: #000000
}
.bg_avatar_1 {
	BACKGROUND-COLOR: #466a6b! important
}
.bg_avatar_2 {
	BACKGROUND-COLOR: #b1084e! important
}
.bg_avatar_4 {
	BACKGROUND-COLOR: #919999! important
}
.bg_avatar_5 {
	BACKGROUND-COLOR: #646def! important
}
.bg_avatar_6 {
	BACKGROUND-COLOR: #000000! important
}
.bg_avatar_7 {
	BACKGROUND-COLOR: #819fa0! important
}
.bg_avatar_8 {
	BACKGROUND-COLOR: #b3230b! important
}
.bg_avatar_9 {
	BACKGROUND-COLOR: #7d1371! important
}
.bg_avatar_10 {
	BACKGROUND-COLOR: #90c057! important
}
.bg_avatar_11 {
	BACKGROUND-COLOR: #a02c06! important
}
.bg_avatar_12 {
	BACKGROUND-COLOR: #4978d6! important
}
.bg_avatar_13 {
	BACKGROUND-COLOR: #000000! important
}
.bg_avatar_14 {
	BACKGROUND-COLOR: #ffffff! important
}
.bg_avatar_15 {
	BACKGROUND-COLOR: #1f5694! important
}
.bg_avatar_16 {
	BACKGROUND-COLOR: #ffc4a2! important
}
.bg_avatar_17 {
	BACKGROUND-COLOR: #ffa0a0! important
}
#ut {
	BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 7px; BORDER-TOP: #999 1px =
solid; DISPLAY: none; PADDING-LEFT: 7px; Z-INDEX: 1000; BACKGROUND: =
#fff; LEFT: 300px; PADDING-BOTTOM: 7px; BORDER-LEFT: #999 1px solid; =
PADDING-TOP: 7px; BORDER-BOTTOM: #999 1px solid; POSITION: absolute; =
TOP: 250px; TEXT-ALIGN: center
}
DIV.paidGifts {
	Z-INDEX: 100; LEFT: 253px; OVERFLOW: hidden; WIDTH: 70px; POSITION: =
absolute; TOP: 203px; HEIGHT: 70px
}
DIV#podarki {
	POSITION: relative
}
DIV#podarki DIV {
	WIDTH: 70px; HEIGHT: 70px
}
.supnew {
	PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 80%; COLOR: #ff0000! =
important; FONT-FAMILY: tahoma; POSITION: relative; TOP: -5px
}
.supnew2 {
	PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 95%; COLOR: #ff0000! =
important; FONT-FAMILY: tahoma; POSITION: relative; TOP: -5px
}
.new {
	FONT-WEIGHT: bold; FONT-SIZE: 80%; MARGIN-LEFT: 2px; COLOR: #ff0000! =
important; FONT-FAMILY: tahoma; POSITION: relative; TOP: -5px
}
.new2 {
	FONT-WEIGHT: bold; FONT-SIZE: 95%; MARGIN-LEFT: 3px; COLOR: #ff0000! =
important; FONT-FAMILY: tahoma; POSITION: relative; TOP: -5px
}
INPUT[type=3D'submit'] {
	FONT-SIZE: 100%; FONT-FAMILY: tahoma
}
INPUT[type=3D'button'] {
	FONT-SIZE: 100%; FONT-FAMILY: tahoma
}
INPUT {
	FONT-SIZE: 100%; VERTICAL-ALIGN: middle; FONT-FAMILY: tahoma
}
INPUT.inp {
	HEIGHT: 19px
}
INPUT.but_min_out {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 95%! important; =
PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT-FAMILY: tahoma
}
P {
	MARGIN: 0px
}
FORM {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0px; PADDING-TOP: 0px
}
A {
	COLOR: #0857a6; TEXT-DECORATION: underline
}
A:hover {
	COLOR: #f26d00; TEXT-DECORATION: none
}
A IMG {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: =
0px
}
IMG.at {
	MARGIN: 0px 4px 0px 0px; VERTICAL-ALIGN: middle
}
IMG.ico {
	MARGIN: 0px 3px 0px 0px; VERTICAL-ALIGN: middle
}
IMG.ico2 {
	MARGIN: 0px 0px 0px 3px; VERTICAL-ALIGN: middle
}
UL {
	PADDING-RIGHT: 0px; MARGIN-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: =
0px; MARGIN-LEFT: 17px; MARGIN-RIGHT: 0px; PADDING-TOP: 0px
}
UL LI {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 3px =
0px 0px; LINE-HEIGHT: 120%; PADDING-TOP: 0px
}
H1 {
	FONT-SIZE: 135%; MARGIN: 0px; COLOR: #0857a6; FONT-FAMILY: =
Arial,Sans-Serif
}
H1 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 92%; MARGIN-LEFT: 5px; COLOR: #606060; =
FONT-STYLE: italic
}
.arrow {
	FONT-WEIGHT: bold; FONT-SIZE: 130%; MARGIN: 0px 5px; COLOR: #9a9a9a
}
.inline H1 {
	DISPLAY: inline; FONT-SIZE: 135%; MARGIN: 0px; COLOR: #0857a6; =
FONT-FAMILY: Arial,Sans-Serif
}
.inline H1 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 92%; MARGIN-LEFT: 5px; COLOR: #606060; =
FONT-STYLE: italic
}
.inline .arrow {
	FONT-WEIGHT: bold; FONT-SIZE: 130%; MARGIN: 0px 5px; COLOR: #9a9a9a
}
.inline H2 {
	DISPLAY: inline
}
.inline H3 {
	DISPLAY: inline
}
H1.info {
	PADDING-RIGHT: 0px; PADDING-LEFT: 30px; MARGIN-BOTTOM: 20px; =
PADDING-BOTTOM: 15px; BORDER-LEFT: #19af00 4px solid; COLOR: #19af00; =
PADDING-TOP: 15px
}
H1.info DIV {
	FONT-WEIGHT: normal; FONT-SIZE: 70%; COLOR: #000000
}
H1.info P {
	FONT-WEIGHT: normal; FONT-SIZE: 75%; COLOR: #000000
}
H1.info P.agentCall I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/my/agentcall.gif) no-repeat left top; =
VERTICAL-ALIGN: middle; WIDTH: 24px; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; =
HEIGHT: 24px
}
.info_bad {
	PADDING-RIGHT: 0px; PADDING-LEFT: 8px; FONT-SIZE: 120%; MARGIN-BOTTOM: =
20px; PADDING-BOTTOM: 5px; BORDER-LEFT: #f67901 7px solid; PADDING-TOP: =
5px
}
.info_grey {
	PADDING-RIGHT: 0px; PADDING-LEFT: 7px; FONT-SIZE: 95%; PADDING-BOTTOM: =
3px; MARGIN: 5px 0px 15px; BORDER-LEFT: #999999 2px solid; COLOR: =
#999999; PADDING-TOP: 3px
}
H1.alert {
	PADDING-RIGHT: 0px; PADDING-LEFT: 25px; FONT-SIZE: 130%; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/alert_mes.gif) no-repeat =
left top; PADDING-BOTTOM: 6px; COLOR: #666c6e; PADDING-TOP: 3px; HEIGHT: =
20px
}
H1.friend {
	PADDING-RIGHT: 0px; PADDING-LEFT: 25px; FONT-SIZE: 130%; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-items.png) no-repeat =
-6px -102px; PADDING-BOTTOM: 6px; COLOR: #666c6e; PADDING-TOP: 3px; =
HEIGHT: 20px
}
H1.gift {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: left 2px; PADDING-LEFT: 25px; =
FONT-SIZE: 130%; BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/alert_gift.gif); =
PADDING-BOTTOM: 9px; COLOR: #666c6e; PADDING-TOP: 3px; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 20px
}
.int {
	FONT-SIZE: 100%; MARGIN: 0px; FONT-FAMILY: Arial
}
H1.conf {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: left top; PADDING-LEFT: 25px; =
FONT-SIZE: 130%; BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/alert_conf.gif); =
PADDING-BOTTOM: 6px; COLOR: #666c6e; PADDING-TOP: 3px; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 20px
}
H2 {
	FONT-SIZE: 130%; MARGIN: 0px 0px 7px; COLOR: #0857a6; FONT-FAMILY: =
Arial,Sans-Serif
}
H2 A.none {
	BORDER-BOTTOM: #0857a6 1px solid; TEXT-DECORATION: none
}
H2 A.none:hover {
	BORDER-BOTTOM: 0px; TEXT-DECORATION: none
}
H2 A.sm {
	FONT-WEIGHT: normal; FONT-SIZE: 80%
}
H2 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 92%; MARGIN-LEFT: 5px; COLOR: #606060; =
FONT-STYLE: italic
}
H3 {
	FONT-SIZE: 120%; MARGIN: 0px; COLOR: #0857a6; FONT-FAMILY: =
Arial,Sans-Serif
}
H4 {
	FONT-SIZE: 110%; MARGIN: 0px; COLOR: #0857a6; FONT-FAMILY: =
Arial,Sans-Serif
}
A.none {
	BORDER-BOTTOM: #0857a6 1px solid; TEXT-DECORATION: none
}
A.none:hover {
	BORDER-BOTTOM: 0px; TEXT-DECORATION: none
}
A.noneBorder {
	BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium =
none; BORDER-BOTTOM: medium none
}
.hrm12 {
	BORDER-TOP: #d9d9d9 1px solid; MARGIN: 16px 0px 13px
}
.hrm7 {
	BORDER-TOP: #d9d9d9 1px solid; MARGIN: 11px 0px 13px
}
.hrm2 {
	BORDER-TOP: #d9d9d9 1px solid; MARGIN: 6px 0px 13px
}
.capchaNewLeft {
	BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BACKGROUND-POSITION: =
left 10px; BORDER-TOP: #ccc 1px solid; MARGIN-TOP: -120px; PADDING-LEFT: =
5px; FONT-SIZE: 95%; Z-INDEX: 10; FLOAT: left; PADDING-BOTTOM: 5px; =
BORDER-LEFT: #ccc 1px solid; WIDTH: 180px; COLOR: #999999! important; =
PADDING-TOP: 65px; BORDER-BOTTOM: #ccc 1px solid; BACKGROUND-REPEAT: =
no-repeat; FONT-FAMILY: tahoma; POSITION: relative; BACKGROUND-COLOR: =
#fff
}
.capchaNewLeft I {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 0px; RIGHT: 3px; =
BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/_sprite_ico.png) no-repeat =
0px -380px; PADDING-BOTTOM: 2px; VERTICAL-ALIGN: middle; WIDTH: 13px; =
CURSOR: pointer; LINE-HEIGHT: 0; PADDING-TOP: 0px; POSITION: absolute; =
TOP: 0px; HEIGHT: 16px
}
.capchaNewInp {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
BORDER-LEFT: #9ba3a9 1px solid; WIDTH: 135px; BORDER-BOTTOM: #9ba3a9 1px =
solid
}
.capchaNew_left {
	BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px =
solid; MARGIN-TOP: -126px; DISPLAY: none; PADDING-LEFT: 5px; Z-INDEX: =
10; FLOAT: left; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; =
WIDTH: 180px; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; POSITION: =
relative; HEIGHT: 115px; BACKGROUND-COLOR: #fff
}
.capchaNew_left .inp {
	WIDTH: 135px
}
.capchaNew_left P {
	MARGIN-TOP: 5px; FONT-SIZE: 95%
}
.capchaNew_left I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_del_grey.gif) no-repeat =
left center; VERTICAL-ALIGN: middle; WIDTH: 10px; CURSOR: pointer; =
LINE-HEIGHT: 0; HEIGHT: 16px
}
.capchaNew_left DIV {
	FLOAT: right
}
.capchaNew_right {
	BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px =
solid; MARGIN-TOP: -126px; DISPLAY: none; PADDING-LEFT: 5px; Z-INDEX: =
10; RIGHT: 5px; FLOAT: right; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px =
solid; WIDTH: 180px; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; =
POSITION: relative; HEIGHT: 115px; BACKGROUND-COLOR: #fff
}
.capchaNew_right .inp {
	WIDTH: 135px
}
.capchaNew_right P {
	MARGIN-TOP: 5px; FONT-SIZE: 95%
}
.capchaNew_right I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/i_del_grey.gif) no-repeat =
left center; VERTICAL-ALIGN: middle; WIDTH: 10px; CURSOR: pointer; =
LINE-HEIGHT: 0; HEIGHT: 16px
}
.capchaNew_right DIV {
	FLOAT: right
}
.spam_form_tmp {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 10px; Z-INDEX: 100; PADDING-BOTTOM: =
10px; BORDER-LEFT: #d9d9d9 1px solid; COLOR: #9a9a9a; PADDING-TOP: 10px; =
BORDER-BOTTOM: #d9d9d9 1px solid; POSITION: absolute; BACKGROUND-COLOR: =
#ffffff
}
.spam_form .st1 {
	FONT-SIZE: 90%; FONT-FAMILY: Arial,Sans-Serif
}
.spam_form DIV {
	PADDING-BOTTOM: 10px; WHITE-SPACE: nowrap
}
.comcom {
	MARGIN-BOTTOM: 10px; OVERFLOW: hidden; WIDTH: 100%; HEIGHT: 120px
}
.cc_2 DIV {
	FLOAT: left; WIDTH: 50%
}
.cc_3 DIV {
	FLOAT: left; WIDTH: 33%
}
.cc_4 DIV {
	FLOAT: left; WIDTH: 25%
}
.cc_5 DIV {
	FLOAT: left; WIDTH: 20%
}
.cc_6 DIV {
	FLOAT: left; WIDTH: 16%
}
.cc_7 DIV {
	FLOAT: left; WIDTH: 14%
}
.bgwt {
	BACKGROUND-COLOR: #ffffff
}
.bggr {
	BACKGROUND-COLOR: #f0f0f0
}
.text_audio {
	DISPLAY: none
}
.div_dashed {
	BORDER-BOTTOM: #999999 1px dashed
}
.div_dashed_act {
	BORDER-BOTTOM: medium none
}
.time {
	PADDING-RIGHT: 6px; COLOR: #999; TEXT-ALIGN: right
}
.td_div_dashed {
	VERTICAL-ALIGN: middle! important; WIDTH: 100%; HEIGHT: 10px
}
.myPhoto {
	DISPLAY: inline-block; OVERFLOW: hidden; MARGIN-RIGHT: -51px; POSITION: =
relative; HEIGHT: 45px
}
.myPhoto_rr A {
	DISPLAY: block; BACKGROUND: =
url(http://img0.imgsmail.ru/r/foto2/next_image_off_s.png) #efefef =
no-repeat center center; WIDTH: 20px; HEIGHT: 45px
}
.myPhoto_rr A:hover {
	BACKGROUND: url(http://img1.imgsmail.ru/r/foto2/next_image_on_s.png) =
#dfdfdf no-repeat center center
}
.myPhoto_rr {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #efefef 0% 50%; =
PADDING-BOTTOM: 0px; BORDER-LEFT: #ffffff 3px solid; WIDTH: 20px; =
PADDING-TOP: 0px; POSITION: relative; HEIGHT: 45px
}
.myPhotoBlank {
	BACKGROUND-IMAGE: url(http://img0.imgsmail.ru/0.gif); BACKGROUND-COLOR: =
transparent! important
}
.cells {
	WIDTH: 90%
}
.cells TD {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; PADDING-BOTTOM: 20px; =
PADDING-TOP: 0px
}
TABLE.cell {
	WIDTH: 650px
}
TABLE.cell TD {
	PADDING-RIGHT: 5px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 0px
}
TABLE.pad5 TD {
	PADDING-RIGHT: 5px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 0px
}
TABLE.pl5pb10 TD {
	PADDING-RIGHT: 5px; PADDING-LEFT: 0px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 0px
}
TABLE.cell2 {
	WIDTH: 99%
}
TABLE.cell2 TD {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; =
PADDING-TOP: 3px
}
.inp {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 100%; BORDER-BOTTOM: #9ba3a9 1px solid; FONT-FAMILY: =
tahoma,Arial,Sans-Serif; HEIGHT: 20px
}
.inp_area {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 100%; BORDER-BOTTOM: #9ba3a9 1px solid; FONT-FAMILY: =
tahoma,Arial,Sans-Serif; HEIGHT: 100px
}
.inp_area_com {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 120px; BORDER-BOTTOM: #9ba3a9 1px solid; FONT-FAMILY: =
tahoma,Arial,Sans-Serif; HEIGHT: 50px
}
.but {
	FONT-FAMILY: arial; HEIGHT: 20px
}
.vot_krug {
	PADDING-RIGHT: 20px; BACKGROUND-POSITION: center 50%; DISPLAY: =
inline-block; PADDING-LEFT: 20px; FONT-WEIGHT: normal; FONT-SIZE: 250%; =
BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/votes.gif); =
PADDING-BOTTOM: 20px; VERTICAL-ALIGN: top; COLOR: #ffffff; PADDING-TOP: =
20px; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; TEXT-ALIGN: =
center
}
.vot_krug2 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/votes10.jpg); =
VERTICAL-ALIGN: top! important; WIDTH: 66px; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 66px
}
.spam {
	PADDING-LEFT: 16px; FONT-SIZE: 11px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -2px -65px; FONT-FAMILY: tahoma
}
DIV.helpDiv {
	FONT-SIZE: 11px; Z-INDEX: 10; LEFT: 0px; MARGIN: 11px 0px 0px; WIDTH: =
347px; FONT-FAMILY: tahoma; POSITION: absolute; TOP: 0px
}
DIV.helpDiv DIV.bg {
	BORDER-RIGHT: #135eaa 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#135eaa 1px solid; PADDING-LEFT: 10px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/blogs/cont_help_angle.gif) =
#f5f5f5 no-repeat left top; PADDING-BOTTOM: 8px; BORDER-LEFT: #135eaa =
1px solid; COLOR: #666; PADDING-TOP: 3px; BORDER-BOTTOM: #135eaa 1px =
solid
}
DIV.helpDiv I.break {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/i_del.gif) =
no-repeat -16px -4px; FLOAT: right! important; WIDTH: 9px! important; =
CURSOR: pointer! important; HEIGHT: 11px! important
}
.helpI {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img0.imgsmail.ru/r/help_foto2.gif) no-repeat center top; =
MARGIN: 0px 0px 4px 3px; VERTICAL-ALIGN: middle; WIDTH: 11px; CURSOR: =
pointer; HEIGHT: 11px
}
#for_voting_block {
	BORDER-RIGHT: #ffdea3 1px solid; PADDING-RIGHT: 20px; BORDER-TOP: =
#ffdea3 1px solid; PADDING-LEFT: 20px; Z-INDEX: 100; PADDING-BOTTOM: =
15px; BORDER-LEFT: #ffdea3 1px solid; WIDTH: 130px; PADDING-TOP: 10px; =
BORDER-BOTTOM: #ffdea3 1px solid; POSITION: absolute; BACKGROUND-COLOR: =
#ffffff
}
#for_voting_block_close {
	MARGIN-BOTTOM: 5px; TEXT-ALIGN: right
}
#for_voting_block_text {
	FONT-SIZE: 95%; FONT-FAMILY: Arial
}
.code_counties TD {
	PADDING-LEFT: 10px; FONT-SIZE: 11px! important; COLOR: #000000; =
FONT-FAMILY: Tahoma! important
}
.code_counties UL LI {
	PADDING-RIGHT: 0px; PADDING-LEFT: 10px; LIST-STYLE-POSITION: outside; =
PADDING-BOTTOM: 2px; MARGIN: 0px; CURSOR: pointer; PADDING-TOP: 2px; =
LIST-STYLE-TYPE: none
}
.code_counties UL {
	MARGIN: 0px 0px 0px -10px; POSITION: relative
}
.code_counties TD.code_bord {
	BORDER-LEFT: #999999 1px solid
}
.code_counties DIV.code_bord {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 0px; PADDING-BOTTOM: =
0px; MARGIN-LEFT: -11px; BORDER-LEFT: #999999 7px solid; LINE-HEIGHT: 0; =
PADDING-TOP: 0px; HEIGHT: 1px
}
.code_counties TD.bb {
	FONT-WEIGHT: bold; VERTICAL-ALIGN: middle; COLOR: #fd7500
}
.helpDiv .code {
	FLOAT: left; WIDTH: 50px; PADDING-TOP: 3px
}
.helpDiv .right_code {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 2px; BACKGROUND: #ffffff 0% 50%; =
PADDING-BOTTOM: 2px; MARGIN: 0px 0px 3px 50px; BORDER-LEFT: #d9d9d9 1px =
solid; PADDING-TOP: 2px; BORDER-BOTTOM: #d9d9d9 1px solid
}
DIV.help_div {
	BORDER-RIGHT: #135eaa 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#135eaa 1px solid; DISPLAY: none; PADDING-LEFT: 10px; FONT-SIZE: 11px; =
Z-INDEX: 10000; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/blogs/cont_help_angle.gif) =
#f5f5f5 no-repeat left top; PADDING-BOTTOM: 8px; BORDER-LEFT: #135eaa =
1px solid; WIDTH: 347px! important; COLOR: #666; PADDING-TOP: 3px; =
BORDER-BOTTOM: #135eaa 1px solid; FONT-FAMILY: tahoma; POSITION: =
absolute
}
DIV.help_div I.break {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_del.gif) no-repeat -16px =
-4px; FLOAT: right; WIDTH: 9px; CURSOR: pointer; HEIGHT: 16px
}
.ico_help {
	BACKGROUND: url(http://img3.imgsmail.ru/r/help_foto2.gif) no-repeat; =
MARGIN-LEFT: 10px; VERTICAL-ALIGN: middle; WIDTH: 11px; HEIGHT: 11px
}
.wer {
	DISPLAY: block; PADDING-LEFT: 208px; BACKGROUND: =
url(http://mail.ru/mail/ru/images/my/help_career.gif) #f5f5f5 no-repeat =
left top; HEIGHT: 250px
}
DIV.newShowHelp {
	BORDER-RIGHT: #135eaa 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#135eaa 1px solid; DISPLAY: none; PADDING-LEFT: 10px; FONT-SIZE: 11px; =
Z-INDEX: 10000; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/blogs/cont_help_angle.gif) =
#f5f5f5 no-repeat left top; PADDING-BOTTOM: 8px; BORDER-LEFT: #135eaa =
1px solid; COLOR: #666; PADDING-TOP: 3px; BORDER-BOTTOM: #135eaa 1px =
solid; FONT-FAMILY: tahoma; POSITION: absolute
}
.icoHelp {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/blogs/context_help.gif) =
no-repeat left top; VERTICAL-ALIGN: middle; WIDTH: 11px; CURSOR: =
pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; HEIGHT: 16px
}
.mf_red {
	COLOR: #e9221f
}
.mf_green {
	COLOR: #018e1e
}
.mf_orange {
	COLOR: #fd7500
}
.w {
	COLOR: #ffffff
}
.grey {
	COLOR: #999999! important
}
.grey2 {
	COLOR: #656972! important
}
.red {
	COLOR: #e15a00! important
}
.red2 {
	COLOR: #e15a00! important
}
.tah {
	FONT-FAMILY: tahoma
}
.mf_t0 {
	FONT-SIZE: 0px! important
}
.mf_t9 {
	FONT-SIZE: 9px! important
}
.mf_t11 {
	FONT-SIZE: 11px! important
}
.mf_t12 {
	FONT-SIZE: 12px! important
}
.mf_t13 {
	FONT-SIZE: 13px! important
}
.mf_t14 {
	FONT-SIZE: 14px! important
}
.mf_t16 {
	FONT-SIZE: 16px! important
}
.mf_t18 {
	FONT-SIZE: 18px! important
}
.t70 {
	FONT-SIZE: 70%! important
}
.t95 {
	FONT-SIZE: 95%! important
}
.vti {
	VERTICAL-ALIGN: top! important
}
.vmi {
	VERTICAL-ALIGN: middle! important
}
.vbi {
	VERTICAL-ALIGN: bottom! important
}
.p0 {
	PADDING-RIGHT: 0px! important; PADDING-LEFT: 0px! important; =
PADDING-BOTTOM: 0px! important; PADDING-TOP: 0px! important
}
.p1 {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; =
PADDING-TOP: 1px
}
.p2 {
	PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; =
PADDING-TOP: 2px
}
.p3 {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; =
PADDING-TOP: 3px
}
.p4 {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; =
PADDING-TOP: 4px
}
.p5 {
	PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 5px
}
.p10 {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 10px
}
.p15 {
	PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-BOTTOM: 15px; =
PADDING-TOP: 15px
}
.p20 {
	PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 20px; =
PADDING-TOP: 20px
}
.p25 {
	PADDING-RIGHT: 25px; PADDING-LEFT: 25px; PADDING-BOTTOM: 25px; =
PADDING-TOP: 25px
}
.p30 {
	PADDING-RIGHT: 30px; PADDING-LEFT: 30px; PADDING-BOTTOM: 30px; =
PADDING-TOP: 30px
}
.pl0 {
	PADDING-LEFT: 0px! important
}
.pl1 {
	PADDING-LEFT: 1px! important
}
.pl2 {
	PADDING-LEFT: 2px! important
}
.pl3 {
	PADDING-LEFT: 3px! important
}
.pl4 {
	PADDING-LEFT: 4px! important
}
.pl5 {
	PADDING-LEFT: 5px! important
}
.pl7 {
	PADDING-LEFT: 7px! important
}
.pl10 {
	PADDING-LEFT: 10px! important
}
.pl15 {
	PADDING-LEFT: 15px! important
}
.pl20 {
	PADDING-LEFT: 20px! important
}
.pl25 {
	PADDING-LEFT: 25px! important
}
.pl30 {
	PADDING-LEFT: 30px! important
}
.pr0 {
	PADDING-RIGHT: 0px! important
}
.pr1 {
	PADDING-RIGHT: 1px! important
}
.pr2 {
	PADDING-RIGHT: 2px! important
}
.pr3 {
	PADDING-RIGHT: 3px! important
}
.pr4 {
	PADDING-RIGHT: 4px! important
}
.pr5 {
	PADDING-RIGHT: 5px! important
}
.pr10 {
	PADDING-RIGHT: 10px! important
}
.pr15 {
	PADDING-RIGHT: 15px! important
}
.pr20 {
	PADDING-RIGHT: 20px! important
}
.pr25 {
	PADDING-RIGHT: 25px! important
}
.pr30 {
	PADDING-RIGHT: 30px! important
}
.pr45 {
	PADDING-RIGHT: 45px! important
}
.pr55 {
	PADDING-RIGHT: 55px! important
}
.pr75 {
	PADDING-RIGHT: 75px! important
}
.pr85 {
	PADDING-RIGHT: 85px! important
}
.pt0 {
	PADDING-TOP: 0px! important
}
.pt1 {
	PADDING-TOP: 1px! important
}
.pt2 {
	PADDING-TOP: 2px! important
}
.pt3 {
	PADDING-TOP: 3px! important
}
.pt4 {
	PADDING-TOP: 4px! important
}
.pt5 {
	PADDING-TOP: 5px! important
}
.pt10 {
	PADDING-TOP: 10px! important
}
.pt11 {
	PADDING-TOP: 11px! important
}
.pt15 {
	PADDING-TOP: 15px! important
}
.pt20 {
	PADDING-TOP: 20px! important
}
.pt25 {
	PADDING-TOP: 25px! important
}
.pt30 {
	PADDING-TOP: 30px! important
}
.pb0 {
	PADDING-BOTTOM: 0px! important
}
.pb1 {
	PADDING-BOTTOM: 1px! important
}
.pb2 {
	PADDING-BOTTOM: 2px! important
}
.pb3 {
	PADDING-BOTTOM: 3px! important
}
.pb4 {
	PADDING-BOTTOM: 4px! important
}
.pb5 {
	PADDING-BOTTOM: 5px! important
}
.pb10 {
	PADDING-BOTTOM: 10px! important
}
.pb15 {
	PADDING-BOTTOM: 15px! important
}
.pb20 {
	PADDING-BOTTOM: 20px! important
}
.pb25 {
	PADDING-BOTTOM: 25px! important
}
.pb30 {
	PADDING-BOTTOM: 30px! important
}
.m0 {
	MARGIN: 0px
}
.m1 {
	MARGIN: 1px
}
.m2 {
	MARGIN: 2px
}
.m3 {
	MARGIN: 3px
}
.m4 {
	MARGIN: 4px
}
.m5 {
	MARGIN: 5px
}
.m10 {
	MARGIN: 10px
}
.m15 {
	MARGIN: 15px
}
.m20 {
	MARGIN: 20px
}
.m25 {
	MARGIN: 25px
}
.m30 {
	MARGIN: 30px
}
.ml0 {
	MARGIN-LEFT: 0px! important
}
.ml1 {
	MARGIN-LEFT: 1px! important
}
.ml2 {
	MARGIN-LEFT: 2px! important
}
.ml3 {
	MARGIN-LEFT: 3px! important
}
.ml4 {
	MARGIN-LEFT: 4px! important
}
.ml5 {
	MARGIN-LEFT: 5px! important
}
.ml10 {
	MARGIN-LEFT: 10px! important
}
.ml15 {
	MARGIN-LEFT: 15px! important
}
.ml20 {
	MARGIN-LEFT: 20px! important
}
.ml25 {
	MARGIN-LEFT: 25px! important
}
.ml30 {
	MARGIN-LEFT: 30px! important
}
.ml50 {
	MARGIN-LEFT: 50px! important
}
.ml70 {
	MARGIN-LEFT: 70px! important
}
.ml100 {
	MARGIN-LEFT: 100px! important
}
.mr0 {
	MARGIN-RIGHT: 0px! important
}
.mr1 {
	MARGIN-RIGHT: 1px! important
}
.mr2 {
	MARGIN-RIGHT: 2px! important
}
.mr3 {
	MARGIN-RIGHT: 3px! important
}
.mr4 {
	MARGIN-RIGHT: 4px! important
}
.mr5 {
	MARGIN-RIGHT: 5px! important
}
.mr10 {
	MARGIN-RIGHT: 10px! important
}
.mr15 {
	MARGIN-RIGHT: 15px! important
}
.mr20 {
	MARGIN-RIGHT: 20px! important
}
.mr25 {
	MARGIN-RIGHT: 25px! important
}
.mr30 {
	MARGIN-RIGHT: 30px! important
}
.mt0 {
	MARGIN-TOP: 0px! important
}
.mt1 {
	MARGIN-TOP: 1px! important
}
.mt2 {
	MARGIN-TOP: 2px! important
}
.mt3 {
	MARGIN-TOP: 3px! important
}
.mt4 {
	MARGIN-TOP: 4px! important
}
.mt5 {
	MARGIN-TOP: 5px! important
}
.mt10 {
	MARGIN-TOP: 10px! important
}
.mt15 {
	MARGIN-TOP: 15px! important
}
.mt20 {
	MARGIN-TOP: 20px! important
}
.mt25 {
	MARGIN-TOP: 25px! important
}
.mt30 {
	MARGIN-TOP: 30px! important
}
.mb0 {
	MARGIN-BOTTOM: 0px! important
}
.mb1 {
	MARGIN-BOTTOM: 1px! important
}
.mb2 {
	MARGIN-BOTTOM: 2px! important
}
.mb3 {
	MARGIN-BOTTOM: 3px! important
}
.mb4 {
	MARGIN-BOTTOM: 4px! important
}
.mb5 {
	MARGIN-BOTTOM: 5px! important
}
.mb7 {
	MARGIN-BOTTOM: 7px! important
}
.mb10 {
	MARGIN-BOTTOM: 10px! important
}
.mb15 {
	MARGIN-BOTTOM: 15px! important
}
.mb20 {
	MARGIN-BOTTOM: 20px! important
}
.mb25 {
	MARGIN-BOTTOM: 25px! important
}
.mb30 {
	MARGIN-BOTTOM: 30px! important
}
.w25 {
	WIDTH: 24%! important
}
.w33 {
	WIDTH: 33%! important
}
.w50 {
	WIDTH: 50%! important
}
.w60 {
	WIDTH: 60%! important
}
.w75 {
	WIDTH: 75%! important
}
.w80 {
	WIDTH: 80%! important
}
.w100 {
	WIDTH: 100%! important
}
.w-40 {
	WIDTH: 40px! important
}
.w-50 {
	WIDTH: 50px! important
}
.w-80 {
	WIDTH: 80px! important
}
.w-120 {
	WIDTH: 120px! important
}
.w-170 {
	WIDTH: 170px! important
}
.w-200 {
	WIDTH: 200px! important
}
.w-250 {
	WIDTH: 250px! important
}
.w-300 {
	WIDTH: 300px! important
}
.w-700 {
	WIDTH: 700px! important
}
.w_100 {
	WIDTH: 100%; FONT-FAMILY: tahoma
}
.noHeight {
	FONT-SIZE: 0px; LINE-HEIGHT: 0; HEIGHT: 0px
}
.h-105 {
	HEIGHT: 105px! important
}
.h-115 {
	HEIGHT: 115px! important
}
.h-130 {
	HEIGHT: 130px! important
}
.h-143 {
	HEIGHT: 143px! important
}
.h-155 {
	HEIGHT: 155px! important
}
.h-170 {
	HEIGHT: 170px! important
}
.h-180 {
	HEIGHT: 180px! important
}
.h-200 {
	HEIGHT: 200px! important
}
.h-230 {
	HEIGHT: 230px! important
}
.borderTop {
	BORDER-TOP: #d9d9d9 1px solid; PADDING-TOP: 4px
}
.tac {
	TEXT-ALIGN: center
}
.tal {
	TEXT-ALIGN: left! important
}
.tar {
	TEXT-ALIGN: right! important
}
.tdn {
	TEXT-DECORATION: none! important
}
.tdu {
	TEXT-DECORATION: underline! important
}
.nobr {
	WHITE-SPACE: nowrap
}
.orange {
	COLOR: #fd7500
}
.black {
	COLOR: #000000
}
.green {
	COLOR: #018e1e! important
}
.maroon {
	COLOR: #920000! important
}
.blue {
	COLOR: #0857a6! important
}
.arial {
	FONT-FAMILY: arial! important
}
.blue {
	COLOR: #0857a6! important
}
.cp {
	CURSOR: pointer! important
}
.cpno {
	CURSOR: default! important
}
.inviz {
	DISPLAY: none
}
.apps_main {
	FLOAT: left; MARGIN: 3px 0px; OVERFLOW: hidden; WIDTH: 49%; HEIGHT: =
17px
}
.clear {
	CLEAR: both
}
.menu_items DIV {
	PADDING-RIGHT: 11px; FLOAT: left; WIDTH: 100px
}
.menu_items P {
	PADDING-TOP: 5px
}
.menu_gifts DIV.inDiv {
	FLOAT: left; WIDTH: 20%; MARGIN-RIGHT: 20px
}
.filtr_all_big {
	MARGIN-BOTTOM: 20px
}
.filtr_all {
	MARGIN-BOTTOM: 10px
}
.filtr {
	PADDING-RIGHT: 10px
}
.filtr A {
	MARGIN-RIGHT: 1px; BORDER-BOTTOM: blue 1px dashed; TEXT-DECORATION: =
none
}
.filtr A:hover {
	BORDER-BOTTOM: #f26d00 1px solid
}
.filtr SPAN.spancount {
=09
}
.filtr_act {
	PADDING-RIGHT: 10px
}
.filtr_act A {
	FONT-WEIGHT: bold; COLOR: black; MARGIN-RIGHT: 1px; TEXT-DECORATION: =
none
}
.filtr_act SPAN.spancount {
	DISPLAY: none
}
.todayBlock {
	PADDING-LEFT: 23px; MARGIN-BOTTOM: 2px; TEXT-INDENT: -23px
}
.right_edit {
	FLOAT: right; MARGIN-RIGHT: 6px
}
.right_edit A {
	COLOR: #f26d00
}
.right_edit IMG {
	MARGIN: 0px 3px 0px 0px; VERTICAL-ALIGN: middle
}
.ubmeta {
	MARGIN-BOTTOM: 3px
}
.pad_ub {
	PADDING-RIGHT: 12px
}
.ubmet {
	MARGIN-BOTTOM: 7px
}
.ubmet2 {
	MARGIN-BOTTOM: 5px
}
.bg_avatar_1 {
	BACKGROUND-COLOR: #466a6b! important
}
.bg_avatar_2 {
	BACKGROUND-COLOR: #b1084e! important
}
.bg_avatar_4 {
	BACKGROUND-COLOR: #919999! important
}
.bg_avatar_5 {
	BACKGROUND-COLOR: #646def! important
}
.bg_avatar_6 {
	BACKGROUND-COLOR: #000000! important
}
.bg_avatar_7 {
	BACKGROUND-COLOR: #819fa0! important
}
.bg_avatar_8 {
	BACKGROUND-COLOR: #b3230b! important
}
.bg_avatar_9 {
	BACKGROUND-COLOR: #7d1371! important
}
.bg_avatar_10 {
	BACKGROUND-COLOR: #90c057! important
}
.bg_avatar_11 {
	BACKGROUND-COLOR: #a02c06! important
}
.ava180 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 180px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 180px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.star180 {
	PADDING-RIGHT: 6px; DISPLAY: inline-block; PADDING-LEFT: 6px; =
FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/r/my/avatar_star_big.gif) no-repeat center =
50%; PADDING-BOTTOM: 6px; VERTICAL-ALIGN: middle; CURSOR: pointer; =
LINE-HEIGHT: 0; PADDING-TOP: 6px; TEXT-ALIGN: center
}
.ava120 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 120px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 120px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.ava120_sms {
	PADDING-RIGHT: 4px; BACKGROUND-POSITION: center 50%; DISPLAY: =
inline-block; PADDING-LEFT: 4px; FONT-SIZE: 0px; PADDING-BOTTOM: 4px; =
VERTICAL-ALIGN: middle; WIDTH: 120px; CURSOR: pointer; LINE-HEIGHT: 0; =
PADDING-TOP: 4px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 120px; =
BACKGROUND-COLOR: #efefef; TEXT-ALIGN: center
}
.ava90 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 90px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 90px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.ava90_no {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/guests_no.gif) #efefef =
no-repeat center 50%; VERTICAL-ALIGN: middle; WIDTH: 92px; CURSOR: =
pointer; LINE-HEIGHT: 0; HEIGHT: 92px; TEXT-ALIGN: center
}
.ava90_best {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 90px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 90px; BACKGROUND-COLOR: #96e894; =
TEXT-ALIGN: center
}
.ava70_nobg {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 70px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 70px; TEXT-ALIGN: center
}
.ava45 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 45px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 45px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.ava45_no {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/nophoto.gif) #efefef =
no-repeat center 50%; VERTICAL-ALIGN: middle; WIDTH: 45px; CURSOR: =
pointer; LINE-HEIGHT: 0; HEIGHT: 45px; TEXT-ALIGN: center
}
.star45 {
	PADDING-RIGHT: 6px; DISPLAY: inline-block; PADDING-LEFT: 6px; =
FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/my/avatar_star_sm.gif) no-repeat center =
50%; PADDING-BOTTOM: 6px; VERTICAL-ALIGN: middle; WIDTH: 45px; CURSOR: =
pointer; LINE-HEIGHT: 0; PADDING-TOP: 6px; HEIGHT: 45px; TEXT-ALIGN: =
center
}
.avaVideo {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 120px; LINE-HEIGHT: 0; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 90px
}
.avaVideoPer {
	BACKGROUND-POSITION: 50% top; DISPLAY: inline-block; FONT-SIZE: 0px; =
BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/per.gif); VERTICAL-ALIGN: =
middle; WIDTH: 12px; LINE-HEIGHT: 0; BACKGROUND-REPEAT: repeat-y; =
HEIGHT: 90px
}
.ava120x60 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 120px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 60px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.divWantTalk {
	WIDTH: 100%
}
.divWantTalkIn {
	FLOAT: left; WIDTH: 50%
}
.spr-mrim-9 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/ico-mrim-status9.gif) =
no-repeat; VERTICAL-ALIGN: middle; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 2px; HEIGHT: 11px
}
.spr-mrim-13 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ico-mrim-status13.gif) =
no-repeat; VERTICAL-ALIGN: middle; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 2px; HEIGHT: 15px
}
.mrim-online {
	BACKGROUND-POSITION: -15px 50%
}
.mrim-away {
	BACKGROUND-POSITION: -30px 50%
}
.mrim-ofline {
	BACKGROUND-POSITION: 0px 50%
}
.action_find {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -64px; HEIGHT: 16px
}
.action_find A {
	PADDING-LEFT: 19px; COLOR: #fd7500
}
.link_alert {
	BORDER-RIGHT: red 0px solid; BORDER-TOP: red 0px solid; RIGHT: -5px; =
FLOAT: right; BORDER-LEFT: red 0px solid; BORDER-BOTTOM: red 0px solid; =
POSITION: relative; TOP: -3px; HEIGHT: 18px
}
.link_alert I {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_del_grey.gif) no-repeat =
left top; WIDTH: 10px; CURSOR: pointer; HEIGHT: 10px
}
.link A {
	PADDING-RIGHT: 12px; FONT-SIZE: 11px; COLOR: #999999; FONT-STYLE: =
normal; FONT-FAMILY: tahoma
}
.link I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat -16px 50%; =
VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 4px; HEIGHT: 16px
}
.link A.adds I {
	BACKGROUND-POSITION: -19px -304px
}
.link A.adds:hover I {
	BACKGROUND-POSITION: -3px -304px
}
.link A:hover {
	COLOR: #5f5f5f
}
.link A:hover I {
	BACKGROUND-POSITION: 0px 50%
}
.link A.dels {
	COLOR: #f4b37f
}
.link A.dels:hover {
	COLOR: #f26d00
}
.link A.dells {
	COLOR: #f4b37f
}
.link A.dells:hover {
	COLOR: #f26d00
}
.links A {
	PADDING-RIGHT: 20px; FONT-SIZE: 12px; VERTICAL-ALIGN: middle; COLOR: =
#fd7500; FONT-STYLE: normal; FONT-FAMILY: tahoma
}
A.links {
	PADDING-RIGHT: 20px; FONT-SIZE: 12px; VERTICAL-ALIGN: middle; COLOR: =
#fd7500; FONT-STYLE: normal; FONT-FAMILY: tahoma
}
.links A.nolink {
	COLOR: #0857a6
}
.links A.nolink:hover {
	COLOR: #fd7500
}
.links I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat; =
VERTICAL-ALIGN: middle; CURSOR: pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: =
4px; HEIGHT: 16px
}
.link_ico A {
	PADDING-LEFT: 6px
}
.link_ico I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat -16px 50%; =
VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; LINE-HEIGHT: 0; =
HEIGHT: 16px
}
.link_ico A:hover I {
	BACKGROUND-POSITION: 0px 50%
}
.finds I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -64px; WIDTH: 16px
}
.searchs I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat -1px -144px; WIDTH: 13px
}
.addfriends {
	WHITE-SPACE: nowrap
}
.addfriends I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -48px; WIDTH: 16px
}
.link A.addfriends I {
	BACKGROUND-POSITION: -16px -48px
}
.link A.addfriends:hover I {
	BACKGROUND-POSITION: 0px -48px
}
.requests I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -80px; WIDTH: 16px
}
.requestsmy I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -96px; WIDTH: 16px
}
.edits I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat -3px -287px; WIDTH: 9px
}
.link A.edits I {
	BACKGROUND-POSITION: -19px -287px
}
.link A.edits:hover I {
	BACKGROUND-POSITION: -3px -287px
}
.dels I {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -3px -143px; WIDTH: 9px
}
.link A.dels I {
	BACKGROUND-POSITION: -19px -143px
}
.link A.dels:hover I {
	BACKGROUND-POSITION: -3px -143px
}
.dells I {
	BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_dell.gif); WIDTH: 13px
}
.adds I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat -3px -304px; WIDTH: 9px
}
.favorites I {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -1px -96px; WIDTH: 13px
}
.archives I {
	BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/i_archive.gif); WIDTH: =
13px
}
.sendout I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -224px; WIDTH: 16px
}
.link A.sendout I {
	BACKGROUND-POSITION: -16px -224px
}
.link A.sendout:hover I {
	BACKGROUND-POSITION: 0px -224px
}
.gifts I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -192px; WIDTH: 16px
}
.link A.gifts I {
	BACKGROUND-POSITION: -16px -192px
}
.link A.gifts:hover I {
	BACKGROUND-POSITION: 0px -192px
}
.blacks I {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/i_black.gif); WIDTH: 16px
}
.spams I {
	BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/i_spam.gif); WIDTH: 16px
}
.waps I {
	BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_wap.gif); WIDTH: 16px
}
.shows I {
	BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/ico_comment_show.gif); =
WIDTH: 16px
}
.hides I {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ico_comment_hidden.gif); =
WIDTH: 16px
}
.folds I {
	BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/i_folder.gif); WIDTH: 16px
}
.closes I {
	BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_folder_close.gif); =
WIDTH: 16px
}
.shows I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -257px; WIDTH: 16px
}
.hides I {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ico_comment_hidden.gif); =
WIDTH: 16px
}
.locks I {
	BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/i_lock.gif); WIDTH: 16px
}
.unlocks I {
	BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_unlock.gif); WIDTH: 16px
}
.photos I {
	BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/i_photo.gif); WIDTH: 16px
}
.comms I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -352px; WIDTH: 16px
}
.icoAddVideos I {
	BACKGROUND: url(http://img2.imgsmail.ru/r/insert_video.gif); WIDTH: =
16px
}
.horos I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -400px; WIDTH: 16px
}
.apps I {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/app/app_new_inst.gif); WIDTH: =
16px
}
.icomap {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) no-repeat =
0px -16px; VERTICAL-ALIGN: middle; WIDTH: 16px; LINE-HEIGHT: 0; HEIGHT: =
16px
}
.icoDown {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -2px -178px; FLOAT: left; VERTICAL-ALIGN: middle; WIDTH: 11px; =
CURSOR: pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 8px; HEIGHT: 12px
}
.icoUp {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -2px -162px; FLOAT: right; VERTICAL-ALIGN: middle; WIDTH: =
11px; CURSOR: pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 8px; HEIGHT: 12px
}
.icoDell {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 0px -128px
}
.comms I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) no-repeat =
0px -352px; VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; =
LINE-HEIGHT: 0; MARGIN-RIGHT: 3px; HEIGHT: 16px
}
.comms_enter {
	COLOR: #fd7500
}
.comms_enter I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/blogs/icon_enter_community.gif) no-repeat; =
VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 3px; HEIGHT: 16px
}
.comms_no {
	COLOR: #999999
}
.comms_no I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -3px -144px; VERTICAL-ALIGN: middle; WIDTH: 9px; CURSOR: =
pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 3px; HEIGHT: 16px
}
.link13 I {
	MARGIN: 0px 4px 0px 3px
}
.link9 I {
	MARGIN: 0px 7px 0px 4px
}
.imgProjects I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png); =
VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 4px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 16px
}
.imgProjects I.foto {
	BACKGROUND-POSITION: 0px -64px
}
.imgProjects I.video {
	BACKGROUND-POSITION: 0px -80px
}
.imgProjects I.blogs {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -16px
}
.imgProjects I.otvet {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -32px
}
.imgProjects I.my {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px 0px
}
I.imgPencil {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) no-repeat =
0px -272px; MARGIN-LEFT: 4px; VERTICAL-ALIGN: middle; WIDTH: 16px; =
LINE-HEIGHT: 0; HEIGHT: 16px
}
I.valbum {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/r/my/valbum_small.jpg) no-repeat left top; =
MARGIN-LEFT: 4px; VERTICAL-ALIGN: middle; WIDTH: 47px; LINE-HEIGHT: 0; =
HEIGHT: 45px
}
.icoContextHelp {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/blogs/context_help.gif) =
no-repeat left top; WIDTH: 11px! important
}
.giftPreview {
	BACKGROUND-POSITION: left top; WIDTH: 70px; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 70px
}
.icoJobCreate {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/job_create.gif) no-repeat =
left center
}
.icoJobSubscribe {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/job_subscribe.gif) =
no-repeat left top
}
.icoAppNew {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
-3px -147px; WIDTH: 10px! important
}
.icoFindPeople {
	BACKGROUND: url(http://img2.imgsmail.ru/r/my/ico_findpeople.gif) =
no-repeat left top
}
I.img {
	DISPLAY: inline-block; FONT-SIZE: 0px; VERTICAL-ALIGN: middle; WIDTH: =
16px; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; HEIGHT: 16px
}
I.imgp {
	DISPLAY: inline-block; FONT-SIZE: 0px; VERTICAL-ALIGN: middle; WIDTH: =
16px; CURSOR: pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; HEIGHT: 16px
}
I.img_noIco {
	DISPLAY: inline-block; FONT-SIZE: 0px; VERTICAL-ALIGN: middle; =
LINE-HEIGHT: 0
}
.icoAddFoto {
	BACKGROUND: url(http://img3.imgsmail.ru/r/blogs/addpictoblog.gif) =
no-repeat left top
}
.icoAddVideo {
	BACKGROUND: url(http://img0.imgsmail.ru/r/insert_video.gif) no-repeat =
left top
}
.icoAddFiles {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/insert_file.gif) no-repeat =
left top
}
.icoAddPaint {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-tools.png) no-repeat =
0px 0px
}
.novelty {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/supnew2.gif) =
no-repeat right top
}
.icoFoto {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -64px
}
.icoVideo {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -80px
}
.icoAudio {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -160px
}
.icoBlog {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -16px
}
.icoEnterCommunity {
	BACKGROUND: =
url(http://img2.imgsmail.ru/r/blogs/icon_enter_community.gif) no-repeat =
left top
}
.icoQuitCommunity {
	BACKGROUND: =
url(http://img3.imgsmail.ru/r/blogs/icon_quit_community.gif) no-repeat =
left top
}
.icoInfo {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -32px
}
.icoCommunity {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -352px
}
.icoAnswers {
	BACKGROUND: url(http://img2.imgsmail.ru/r/my/ico_answers.gif) no-repeat =
left top
}
.icoSend {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -224px
}
.icoMess {
	BACKGROUND: url(http://img0.imgsmail.ru/r/my/mess.gif) no-repeat left =
top
}
.icoMyfriends {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -112px
}
.icoAlaverdi {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -176px
}
.icoApp {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -16px
}
.icoTreug {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/treug.gif) =
no-repeat left top
}
.icoAddBlogsPost {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -240px
}
.icoCreateBlog {
	BACKGROUND: url(http://img2.imgsmail.ru/r/my/create_blog_ico.gif) =
no-repeat left top
}
.icoHome {
	BACKGROUND: url(http://img3.imgsmail.ru/r/my/ico_home.gif) no-repeat =
left top
}
.icoOnceALeader {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/blogs/once_a_leader.gif) =
no-repeat left top; WIDTH: 18px! important; HEIGHT: 17px! important
}
.icoShowFoto {
	BACKGROUND: url(http://img1.imgsmail.ru/r/foto2/ico_show_foto.gif) =
no-repeat left top
}
.icoBest {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/ico_best.gif) =
no-repeat left top
}
.icoInstititeRating {
	BACKGROUND: url(http://img3.imgsmail.ru/r/my/institute_rating.gif) =
no-repeat left top
}
.imgCommunity {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/community.jpg) no-repeat left =
top; VERTICAL-ALIGN: middle; WIDTH: 90px; LINE-HEIGHT: 0; HEIGHT: 90px
}
.icoInComm {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/in_comm.gif) =
no-repeat left center
}
.imgEnterCommunities {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/enter_communities.gif) =
no-repeat left top; WIDTH: 81px; HEIGHT: 24px
}
.icoPeople {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/ico_people.gif) no-repeat =
left top
}
.icoPrefFav {
	BACKGROUND: url(http://img0.imgsmail.ru/r/preferences_fav.gif) =
no-repeat left top
}
.icoBlogInfo {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/blogs/bloginfo.gif) no-repeat =
left top
}
.icoHoro {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -400px
}
.icoAppNewInst {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/app/app_new_inst.gif) =
no-repeat left top
}
.ratingLeftQuestion {
	FLOAT: left; WIDTH: 68%
}
.ratingRightQuestion {
	FLOAT: right; WIDTH: 32%
}
.mr20 {
	MARGIN-RIGHT: 20px
}
.mr10 {
	MARGIN-RIGHT: 10px
}
.votespage_1 {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/sde_2.gif) =
no-repeat left top; HEIGHT: 55px
}
.votespage_2 {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/sde_4.gif) =
no-repeat right top
}
.votespage_4 {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/sde_3.gif) =
repeat-x left top; MARGIN: 0px 5px 0px 10px; HEIGHT: 55px
}
.votespage_4 A {
	PADDING-RIGHT: 0pt; DISPLAY: block; PADDING-LEFT: 70px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/sde_1.gif) no-repeat left =
top; PADDING-BOTTOM: 15pt; PADDING-TOP: 20px; TEXT-DECORATION: none
}
.votespage_4 SPAN {
	COLOR: #474732; TEXT-DECORATION: underline
}
.votespage_1_orange {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/ghost_13.gif) =
no-repeat left top; HEIGHT: 55px
}
.votespage_1_orange .votespage_2 {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/ghost_9.gif) =
no-repeat right top
}
.votespage_1_orange .votespage_4 {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/ghost_10.gif) =
repeat-x left top; MARGIN: 0px 5px; HEIGHT: 55px
}
.votespage_1_orange .votespage_4 A {
	PADDING-RIGHT: 0pt; DISPLAY: block; PADDING-LEFT: 60px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/sde_1_orange.png) =
no-repeat left top; PADDING-BOTTOM: 15pt; PADDING-TOP: 20px; =
TEXT-DECORATION: none
}
.votespage_1_orange .votespage_4 SPAN {
	COLOR: #474732; TEXT-DECORATION: underline
}
.ghostpage_1 {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/ghost_13.gif) =
no-repeat left top; HEIGHT: 55px
}
.ghostpage_2 {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/ghost_9.gif) =
no-repeat right top
}
.ghostpage_4 {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/ghost_10.gif) =
repeat-x left top; MARGIN: 0px 5px; HEIGHT: 55px
}
.ghostpage_4 A {
	PADDING-RIGHT: 0pt; DISPLAY: block; PADDING-LEFT: 50px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/ghost_5.gif) no-repeat =
left top; PADDING-BOTTOM: 10pt; COLOR: #474732; PADDING-TOP: 12px; =
HEIGHT: 55px; TEXT-DECORATION: underline
}
.ghostpage_4 A.big {
	FONT-SIZE: 140%
}
.g_mbs {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 95%; PADDING-BOTTOM: =
5px; COLOR: #999999; PADDING-TOP: 0px; FONT-FAMILY: tahoma
}
.g_mbs B {
	FONT-WEIGHT: normal; COLOR: #000000
}
.g_mbs2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 5px
}
.smsTop1 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 23px; PADDING-BOTTOM: 7px; WIDTH: =
238px; COLOR: #0a59a8; LINE-HEIGHT: 20px; PADDING-TOP: 4px; POSITION: =
absolute
}
.smsTop11 {
	BORDER-RIGHT: #bed3fe 1px solid; BORDER-TOP: #bed3fe 1px solid; =
BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/info.gif) =
#e5eeff no-repeat -6px 0px; MARGIN: 0px -1px -11px; BORDER-LEFT: #bed3fe =
1px solid; BORDER-BOTTOM: #bed3fe 1px solid; POSITION: relative; HEIGHT: =
52px
}
.smsTop1 IMG {
	MARGIN-LEFT: 2px
}
.smstopbg {
	OVERFLOW: hidden
}
.divWantTalk {
	OVERFLOW: hidden
}
DIV.plus10 {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; =
PADDING-TOP: 3px; BORDER-BOTTOM: #d9d9d9 1px solid; BACKGROUND-COLOR: =
#efefef; TEXT-ALIGN: center
}
.icoPlus10top {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/i_plus10.gif) no-repeat =
left top
}
.icoPlus10sm {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-items.png) no-repeat =
2px -335px; MARGIN-BOTTOM: 2px; WIDTH: 19px! important; HEIGHT: 16px! =
important
}
.icoSumsm {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-items.png) no-repeat =
2px -320px; MARGIN-BOTTOM: 2px; WIDTH: 19px! important; HEIGHT: 16px! =
important
}
.utMega {
	BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 7px; BORDER-TOP: #999 1px =
solid; PADDING-LEFT: 7px; Z-INDEX: 1000; BACKGROUND: #fff; LEFT: 300px; =
PADDING-BOTTOM: 7px; BORDER-LEFT: #999 1px solid; PADDING-TOP: 7px; =
BORDER-BOTTOM: #999 1px solid; POSITION: absolute; TOP: 250px; =
TEXT-ALIGN: center
}
.utMega10 {
	BORDER-RIGHT: 0px; PADDING-RIGHT: 7px; BORDER-TOP: 0px; PADDING-LEFT: =
7px; FONT-SIZE: 95%; Z-INDEX: 1000; PADDING-BOTTOM: 7px; BORDER-LEFT: =
0px; PADDING-TOP: 7px; BORDER-BOTTOM: #b99000 1px solid; FONT-FAMILY: =
tahoma; POSITION: absolute; BACKGROUND-COLOR: #fffbea! important; =
TEXT-ALIGN: left! important
}
.utMega10photo {
	RIGHT: 38px; TOP: 62px
}
.utMega10main {
	LEFT: 300px; TOP: 250px
}
.utMega10 SPAN {
	COLOR: #999999! important
}
.utMega10 B {
	FONT-SIZE: 120%; COLOR: #e20000! important
}
.utMega10_bg {
	MARGIN-BOTTOM: 4px; PADDING-BOTTOM: 4px; OVERFLOW: hidden; =
BORDER-BOTTOM: #e3d08c 1px solid
}
SPAN.newRat A {
	BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: =
#cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 95%; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/v_bg.gif) no-repeat left =
bottom; PADDING-BOTTOM: 2px; BORDER-LEFT: #cccccc 1px solid; =
PADDING-TOP: 3px; BORDER-BOTTOM: #cccccc 1px solid
}
I.newRat {
	DISPLAY: inline-block; FONT-SIZE: 0px; RIGHT: -8px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -160px; VERTICAL-ALIGN: bottom; WIDTH: 8px; BOTTOM: -5px; =
LINE-HEIGHT: 0; POSITION: relative; HEIGHT: 6px
}
.photoPlus10 {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: center 50%; DISPLAY: =
inline-block; PADDING-LEFT: 1px; FONT-SIZE: 0px; PADDING-BOTTOM: 0px; =
MARGIN: 9px -29px 0pt 0px; VERTICAL-ALIGN: top! important; WIDTH: 30px! =
important; CURSOR: pointer; LINE-HEIGHT: 0; PADDING-TOP: 0px; =
BACKGROUND-REPEAT: no-repeat; POSITION: relative; HEIGHT: 30px! =
important; TEXT-ALIGN: center
}
.reds {
	COLOR: #e9221f
}
.h-90 {
	HEIGHT: 90px! important
}
.h-20 {
	HEIGHT: 20px! important
}
.h-50 {
	HEIGHT: 50px! important
}
#prob_friends H1.info {
	PADDING-RIGHT: 0px; PADDING-LEFT: 15px; FONT-SIZE: 100%; MARGIN-BOTTOM: =
10px; PADDING-BOTTOM: 5px; BORDER-LEFT: #19af00 2px solid; COLOR: =
#19af00; PADDING-TOP: 5px
}
.addfriends2 I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) 0px =
-112px; WIDTH: 16px
}
TEXTAREA.inPut {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 100%; COLOR: #999999; BORDER-BOTTOM: #9ba3a9 1px solid; =
FONT-FAMILY: tahoma,Arial,Sans-Serif; HEIGHT: 100px
}
.inPut {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 100%; COLOR: #999999; BORDER-BOTTOM: #9ba3a9 1px solid; =
FONT-FAMILY: tahoma,Arial,Sans-Serif; HEIGHT: 20px
}
.black {
	COLOR: #000000! important
}
.smstopbg {
	BORDER-RIGHT: #d9d9d9 1px solid; BACKGROUND-POSITION: center top; =
BORDER-TOP: #d9d9d9 1px solid; BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/top_my_2.gif); =
MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: #d9d9d9 1px =
solid; BORDER-BOTTOM: #d9d9d9 1px solid; BACKGROUND-REPEAT: repeat-x
}
.smstop {
	BACKGROUND-POSITION: left top; BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/top_my_1.gif); =
BACKGROUND-REPEAT: no-repeat
}
.none_orange {
	COLOR: #fd7500; BORDER-BOTTOM: #fd7500 1px solid; TEXT-DECORATION: none
}
.capcha_all {
	BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px =
solid; MARGIN-TOP: -133px; DISPLAY: none; PADDING-LEFT: 5px; =
PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; WIDTH: 190px; =
PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid; POSITION: relative; =
BACKGROUND-COLOR: #fff
}
.inpr_all {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 120px; BORDER-BOTTOM: #9ba3a9 1px solid; FONT-FAMILY: tahoma, =
Arial, Sans-Serif; HEIGHT: 20px
}
I.dialogImage {
	WIDTH: 120px; CURSOR: pointer; HEIGHT: 120px
}
.ava90x90 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; WIDTH: 90px; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 90px; BACKGROUND-COLOR: #efefef
}
.ava90x90 A {
	DISPLAY: inline-block; WIDTH: 90px; HEIGHT: 90px
}
.ava90x90 .deleteUser {
	MARGIN: 2px 0px 0px 100px; POSITION: absolute
}
.deleteUser {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/i_dell.gif) no-repeat =
right center; WIDTH: 16px! important; HEIGHT: 16px! important
}
A.deleteUser:hover {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/i_dell.gif) =
no-repeat left center
}
.deleteUser2 {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/i_dell2.gif) no-repeat =
right center; WIDTH: 16px! important; HEIGHT: 16px! important
}
A.deleteUser2:hover {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/i_dell2.gif) =
no-repeat left center
}
.spr-mrim-status13 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat center =
50%; VERTICAL-ALIGN: middle; WIDTH: 13px; CURSOR: pointer; LINE-HEIGHT: =
0; MARGIN-RIGHT: 4px; HEIGHT: 13px
}
.spr-mrim-status9 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat center =
50%; VERTICAL-ALIGN: middle; WIDTH: 9px; CURSOR: pointer; LINE-HEIGHT: =
0; MARGIN-RIGHT: 2px; HEIGHT: 9px
}
.bablyasTopleNo {
	FLOAT: left; WIDTH: 100%; POSITION: relative
}
.bablyasTopleNo B {
	DISPLAY: inline-block; FONT-SIZE: 0px; Z-INDEX: 10; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/bablyas5no.gif) no-repeat =
left top; MARGIN: 10px 0px 0px -10px; WIDTH: 11px; LINE-HEIGHT: 0; =
POSITION: absolute; HEIGHT: 13px
}
.bablyasTopleNo DIV {
	Z-INDEX: 5; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/bablyas2no.gif) no-repeat =
right top; WIDTH: 100%; POSITION: absolute; HEIGHT: 5px
}
.bablyasTopleNo DIV I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/bablyas1no.gif) no-repeat =
left bottom; WIDTH: 5px; LINE-HEIGHT: 0; HEIGHT: 5px
}
.bablyasTopleNo DL {
	BORDER-RIGHT: #eeefef 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#eeefef 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; MARGIN: 0px; =
BORDER-LEFT: #eeefef 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #eeefef =
1px solid; POSITION: relative; BACKGROUND-COLOR: #f2f5f8
}
.bablyasTopleNo DT {
	COLOR: #999999
}
.bablyasTopleNo DD {
	COLOR: #999999
}
.bablyasTopleNo P {
	MARGIN-TOP: -5px; Z-INDEX: 5; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/bablyas4no.gif) no-repeat =
right top; WIDTH: 100%; POSITION: absolute; HEIGHT: 5px
}
.bablyasTopleNo P I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/bablyas3no.gif) no-repeat =
left bottom; WIDTH: 5px; LINE-HEIGHT: 0; HEIGHT: 5px
}
.bablyasTopleS {
	FLOAT: left; WIDTH: 100%; POSITION: relative
}
.bablyasTopleS B {
	DISPLAY: inline-block; FONT-SIZE: 0px; Z-INDEX: 10; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -112px; MARGIN: 10px 0px 0px -10px; WIDTH: 11px; =
LINE-HEIGHT: 0; POSITION: absolute; HEIGHT: 13px
}
.bablyasTopleS DIV {
	Z-INDEX: 5; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 100% -64px; WIDTH: 100%; POSITION: absolute; HEIGHT: 5px
}
.bablyasTopleS DIV I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -48px; WIDTH: 5px; LINE-HEIGHT: 0; HEIGHT: 5px
}
.bablyasTopleS DL {
	BORDER-RIGHT: #e0e1e2 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#e0e1e2 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; MARGIN: 0px; =
BORDER-LEFT: #e0e1e2 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #e0e1e2 =
1px solid; POSITION: relative; BACKGROUND-COLOR: #eef2f6
}
.bablyasTopleS DT {
	COLOR: #444444
}
.bablyasTopleS DD {
	FONT-SIZE: 95%; MARGIN: 0px; COLOR: #999999; FONT-FAMILY: Tahoma
}
.bablyasTopleS DD A {
	COLOR: #999999
}
.bablyasTopleS P {
	MARGIN-TOP: -5px; Z-INDEX: 5; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 100% -96px; WIDTH: 100%; POSITION: absolute; HEIGHT: 5px
}
.bablyasTopleS P I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -80px; WIDTH: 5px; LINE-HEIGHT: 0; HEIGHT: 5px
}
.bablyasTopleS SMALL {
	FONT-SIZE: 95%; RIGHT: 4px; BOTTOM: -12px; FONT-FAMILY: tahoma; =
POSITION: absolute
}
.bablyasTopleS EM {
	DISPLAY: inline-block; FONT-SIZE: 0px; Z-INDEX: 20; RIGHT: 3px; =
BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/i_del_grey.gif) no-repeat =
left bottom; WIDTH: 10px; CURSOR: pointer; LINE-HEIGHT: 0; POSITION: =
absolute; TOP: 3px; HEIGHT: 10px
}
#my_history_container {
	MARGIN: 2px 0px 22px
}
.todayDLpost {
	MARGIN: 0px 0px 7px
}
.todayDLpost DT {
	PADDING-RIGHT: 5px; PADDING-LEFT: 20px; FLOAT: left; PADDING-BOTTOM: =
0px; COLOR: #999999! important; PADDING-TOP: 0px; WHITE-SPACE: nowrap; =
HEIGHT: 16px
}
.todayDLpost DT I {
	DISPLAY: inline-block; MARGIN-LEFT: -20px; VERTICAL-ALIGN: middle; =
WIDTH: 16px; MARGIN-RIGHT: 4px; HEIGHT: 16px
}
.todayDLpost DD {
	DISPLAY: inline-block; MARGIN-LEFT: 0px! important; OVERFLOW: hidden
}
.todayDL {
	DISPLAY: inline-block; MARGIN: 15px 0px 0px; OVERFLOW: hidden
}
.todayDL .dt {
	PADDING-RIGHT: 5px; DISPLAY: inline-block; PADDING-LEFT: 20px; =
MIN-HEIGHT: 16px; FLOAT: left; PADDING-BOTTOM: 0px; OVERFLOW: hidden; =
COLOR: #999999! important; PADDING-TOP: 0px; FONT-FAMILY: Tahoma; =
WHITE-SPACE: nowrap
}
.todayDL .dt I {
	DISPLAY: inline-block; MARGIN-LEFT: -20px; VERTICAL-ALIGN: middle; =
WIDTH: 16px; MARGIN-RIGHT: 4px; HEIGHT: 16px
}
.todayDL .ddP {
	DISPLAY: inline-block; FLOAT: left; MARGIN-LEFT: 0px! important; =
OVERFLOW: hidden; PADDING-TOP: 5px
}
.todayDL .ddI {
	CLEAR: left
}
.todayDL .dd {
	PADDING-RIGHT: 150px; DISPLAY: inline-block; PADDING-LEFT: 15px; =
PADDING-BOTTOM: 0px; MARGIN-LEFT: 0px! important; OVERFLOW: hidden; =
PADDING-TOP: 0px; POSITION: relative
}
.answerMain .dd {
	PADDING-RIGHT: 0px; PADDING-LEFT: 15px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.answerHistory .dd {
	PADDING-RIGHT: 146px; PADDING-LEFT: 15px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.bablyasBodyBuildingM {
	DISPLAY: inline-block; PADDING-LEFT: 15px; FLOAT: left; MARGIN-LEFT: =
-15px; OVERFLOW: hidden; POSITION: relative; BACKGROUND-COLOR: #ffffff
}
.bablyasBodyBuilding {
	FLOAT: left; POSITION: relative
}
.bablyasBodyBuilding B {
	DISPLAY: inline-block; FONT-SIZE: 0px; Z-INDEX: 10; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -128px; MARGIN: 6px 0px 0px -10px; WIDTH: 11px; =
LINE-HEIGHT: 0; POSITION: absolute; HEIGHT: 13px
}
.bablyasBodyBuilding DIV {
	Z-INDEX: 5; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 100% -64px; WIDTH: 100%; POSITION: absolute; HEIGHT: 5px
}
.bablyasBodyBuilding DIV I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -48px; WIDTH: 5px; LINE-HEIGHT: 0; HEIGHT: 5px
}
.bablyasBodyBuilding DL {
	BORDER-RIGHT: #e0e1e2 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#e0e1e2 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; MARGIN: 0px; =
BORDER-LEFT: #e0e1e2 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #e0e1e2 =
1px solid; POSITION: relative; BACKGROUND-COLOR: #eef2f6
}
.bablyasBodyBuilding DT {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; COLOR: =
#444444; PADDING-TOP: 0px
}
.bablyasBodyBuilding DT A {
	COLOR: #444444
}
.bablyasBodyBuilding DD {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; FONT-SIZE: 95%; PADDING-BOTTOM: =
0px; MARGIN: 0px; COLOR: #919191; PADDING-TOP: 0px; FONT-FAMILY: tahoma
}
.bablyasBodyBuilding DD A {
	COLOR: #919191
}
.bablyasBodyBuilding P {
	MARGIN-TOP: -5px; Z-INDEX: 5; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 100% -96px; LEFT: 0px; WIDTH: 100%; POSITION: absolute; =
HEIGHT: 5px
}
.bablyasBodyBuilding P I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -80px; WIDTH: 5px; LINE-HEIGHT: 0; HEIGHT: 5px
}
.bablyasBodyBuilding SMALL {
	MARGIN-TOP: -21px; FONT-SIZE: 95%; RIGHT: -75px; FONT-FAMILY: tahoma; =
POSITION: absolute
}
.bablyasBodyBuilding SMALL.answerRight {
	MARGIN-TOP: -18px; FONT-SIZE: 95%; RIGHT: 0px; LEFT: 100%; FONT-FAMILY: =
tahoma; WHITE-SPACE: nowrap; POSITION: absolute
}
.bablyasBodyBuilding SMALL.answerBottom {
	MARGIN-TOP: 2px; DISPLAY: block; FONT-SIZE: 95%; RIGHT: 0px; =
FONT-FAMILY: tahoma; POSITION: static; TEXT-ALIGN: right
}
.bablyasBodyBuilding SMALL A {
	DISPLAY: inline-block; MARGIN-LEFT: 11px
}
.bablyasBodyBuilding EM {
	DISPLAY: inline-block; FONT-SIZE: 0px; Z-INDEX: 20; RIGHT: 3px; =
BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/i_del_grey.gif) no-repeat =
left bottom; WIDTH: 10px; CURSOR: pointer; LINE-HEIGHT: 0; POSITION: =
absolute; TOP: 3px; HEIGHT: 10px
}
.todayDLnews .dt {
	PADDING-RIGHT: 0px! important; PADDING-LEFT: 0px! important; =
PADDING-BOTTOM: 0px! important; PADDING-TOP: 0px! important
}
.todayDLnews .bablyasBodyBuilding {
	MARGIN-TOP: 3px
}
.todayDLnews .dd {
	PADDING-LEFT: 10px
}
.i45 {
	DISPLAY: inline-block; WIDTH: 45px; HEIGHT: 45px
}
.i75 {
	DISPLAY: inline-block; WIDTH: 75px; HEIGHT: 75px
}
.informer .i45 {
	VERTICAL-ALIGN: middle
}
.informer .i75 {
	VERTICAL-ALIGN: middle
}
.informerText {
	DISPLAY: inline-block; VERTICAL-ALIGN: middle; WHITE-SPACE: normal
}
.shapkaYong {
	PADDING-RIGHT: 0px; PADDING-LEFT: 45px; FONT-WEIGHT: bold; FONT-SIZE: =
190%; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/2009_2.gif) no-repeat left =
center; PADDING-BOTTOM: 9px; MARGIN: 0px 0px 0px -14px; WIDTH: 70%; =
COLOR: #ffffff; PADDING-TOP: 13px; WHITE-SPACE: nowrap
}
.yearUl LI {
	MARGIN-TOP: 10px! important; COLOR: #dadfe5; LIST-STYLE-TYPE: disc
}
.yearUl {
	MARGIN: 0px 0px 0px 15px
}
BODY {
	PADDING-RIGHT: 0px! important; PADDING-LEFT: 0px! important; =
PADDING-BOTTOM: 0px! important; PADDING-TOP: 0px! important; TEXT-ALIGN: =
center
}
BODY DIV {
	TEXT-ALIGN: left
}
.WWW {
	MARGIN: 0px auto; WIDTH: 996px
}
DIV.mainDivS {
	OVERFLOW: visible
}
DIV.paidGifts {
	Z-INDEX: 100; LEFT: 240px; OVERFLOW: hidden; WIDTH: 70px; POSITION: =
absolute; TOP: 105px; HEIGHT: 70px
}
.mens .person DIV {
	TEXT-ALIGN: center! important
}
.mens .person_swf DIV {
	TEXT-ALIGN: center
}
.mens2 .person DIV {
	TEXT-ALIGN: center! important
}
.mens2 .person_swf DIV {
	TEXT-ALIGN: center
}
.center_container {
	FLOAT: left; OVERFLOW: hidden; WIDTH: 484px
}
.right_container {
	FLOAT: right; WIDTH: 286px
}
.mr9 {
	MARGIN-RIGHT: 9px! important
}
.shapkaKZ {
	MARGIN-TOP: 1px; Z-INDEX: 10; BACKGROUND: =
url(http://img2.imgsmail.ru/r/my/kz/kz.png) no-repeat right top; FLOAT: =
right; WIDTH: 213px; MARGIN-RIGHT: 175px; POSITION: relative; HEIGHT: =
32px
}
.mf_shapkaKZ {
	BACKGROUND-POSITION: 0px -120px; MARGIN-TOP: 1px; Z-INDEX: 10; FLOAT: =
right; WIDTH: 213px; MARGIN-RIGHT: 175px; BACKGROUND-REPEAT: no-repeat; =
POSITION: relative; HEIGHT: 32px
}
.shapkaTop {
	BORDER-RIGHT: #ffffff 1px solid; DISPLAY: inline-block; FONT-SIZE: 0px; =
OVERFLOW: hidden; BORDER-LEFT: #ffffff 1px solid; LINE-HEIGHT: 0; =
HEIGHT: 1px; BACKGROUND-COLOR: #033e84
}
.shapkaMain {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/sh.png) =
#00468c repeat-x 0px -154px; WIDTH: 100%; POSITION: relative
}
.shapkaCenter {
	WIDTH: 100%; POSITION: relative; HEIGHT: 54px
}
.shapkaCenter I {
	DISPLAY: inline-block; FONT-SIZE: 0px; WIDTH: 98px; CURSOR: pointer; =
LINE-HEIGHT: 0; HEIGHT: 21px
}
.shapkaLogo {
	PADDING-RIGHT: 0px; PADDING-LEFT: 13px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/sh.png) no-repeat 0px 0px; =
FLOAT: left; PADDING-BOTTOM: 20px; WIDTH: 212px; PADDING-TOP: 11px; =
HEIGHT: 21px
}
.shapkaBottom {
	BORDER-RIGHT: #ffffff 1px solid; DISPLAY: inline-block; FONT-SIZE: 0px; =
Z-INDEX: 10; OVERFLOW: hidden; BORDER-LEFT: #ffffff 1px solid; =
LINE-HEIGHT: 0; POSITION: relative; TOP: -1px; HEIGHT: 1px
}
.shapkaForm {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: =
0px; COLOR: #ffffff; PADDING-TOP: 10px; POSITION: relative
}
.shapkaParent {
	MARGIN-LEFT: 270px; POSITION: relative; HEIGHT: 54px
}
.shapkaSns {
	PADDING-RIGHT: 0px; PADDING-LEFT: 10px; FONT-SIZE: 95%; PADDING-BOTTOM: =
11px; WIDTH: 100%; COLOR: #ffffff; PADDING-TOP: 10px; FONT-FAMILY: =
Tahoma; WHITE-SPACE: nowrap; POSITION: relative; TEXT-ALIGN: center
}
.shapkaSns2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 10px; FONT-SIZE: 95%; PADDING-BOTTOM: =
0px; WIDTH: 70%; COLOR: #ffffff; PADDING-TOP: 20px; FONT-FAMILY: Tahoma; =
WHITE-SPACE: nowrap; POSITION: relative; TEXT-ALIGN: center
}
.shapkaSns A {
	COLOR: #ffffff
}
.shapkaSns2 A {
	COLOR: #ffffff
}
.shapkaSns A:hover {
	COLOR: #ffffff
}
.shapkaSns2 A:hover {
	COLOR: #ffffff
}
.mainAll2 {
	MARGIN-BOTTOM: -1px; POSITION: relative; HEIGHT: 20px
}
.mainAll {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/sh.png) =
no-repeat 0px -54px; LEFT: 0px; BOTTOM: 0px; POSITION: absolute; HEIGHT: =
20px
}
.mainAll DIV.mainS {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/sh.png) =
no-repeat 0px -74px; FLOAT: left; MARGIN-RIGHT: -11px; POSITION: =
relative
}
.mainAll DIV.mainS DIV {
	PADDING-RIGHT: 6px; DISPLAY: inline; PADDING-LEFT: 4px; FONT-SIZE: =
100%; Z-INDEX: 1; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px 0px -1px =
10px; PADDING-TOP: 2px; FONT-FAMILY: Arial; POSITION: relative; HEIGHT: =
20px; BACKGROUND-COLOR: #5977b3; TEXT-ALIGN: center
}
.mainAll DIV.mainS DIV A {
	COLOR: #ffffff; TEXT-DECORATION: none
}
.mainAll DIV.mainS DIV A:hover {
	TEXT-DECORATION: underline
}
.mainAll DIV.mainS SPAN.ugol {
	BACKGROUND-POSITION: right 50%; Z-INDEX: 3; FLOAT: left; =
BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/sh3.gif); MARGIN: 0px; =
WIDTH: 22px; BACKGROUND-REPEAT: no-repeat; POSITION: relative; HEIGHT: =
20px
}
.mainAll DIV.mainS SPAN {
	Z-INDEX: 3; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/sh.png) no-repeat 0px =
-94px; FLOAT: left; MARGIN: 0px 0px 0px -1px; WIDTH: 22px; POSITION: =
relative; HEIGHT: 20px
}
.needMarket .shapkaTop {
	BACKGROUND-COLOR: #262626
}
.needMarket .shapkaMain {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/ban1.gif) =
repeat-x 50% top
}
.needMarket .shapkaCenter {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/ban1.jpg) =
no-repeat 180px top
}
.needMarket .shapkaParent {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/ban1.jpg) =
no-repeat 85% top
}
.needMarket .mainAll {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/sh4_ban.gif) =
no-repeat left bottom
}
.needMarket .mainAll DIV.mainS {
	BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/sh2_ban2.gif)
}
.needMarket .mainAll DIV.mainS DIV {
	BACKGROUND-COLOR: #566990
}
.needMarket .mainAll DIV.mainS SPAN {
	BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/sh3_ban2.gif)
}
.mainAll DIV.mainSmarket {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/sh-maroon-l.png) no-repeat =
left top
}
.mainAll DIV.mainSmarket DIV {
	COLOR: #fff; BACKGROUND-COLOR: #bc0000! important
}
.mainAll DIV.mainSmarket DIV A {
	COLOR: #fff! important
}
.mainAll DIV.mainSmarket SPAN {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/sh-maroon-r.png) no-repeat =
0px 0px
}
.mainAll DIV.mainSmarket-yellow {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/sh2sp.gif) =
no-repeat left top
}
.mainAll DIV.mainSmarket-yellow DIV {
	COLOR: #00a151; BACKGROUND-COLOR: #ffff00! important
}
.mainAll DIV.mainSmarket-yellow DIV A {
	COLOR: #00a151! important
}
.mainAll DIV.mainSmarket-yellow SPAN {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/sh3sp.gif) =
no-repeat 0px 0px
}
.mainAll DIV.mainSIE8 {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/sh_ie8.gif) =
no-repeat left top
}
.mainAll DIV.mainSIE8 SPAN {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/sh_ie8.gif) =
no-repeat left -20px
}
.mainAll DIV.mainSIE8 DIV {
	BACKGROUND-COLOR: #45acfa! important
}
.needMarket .needMarketLink {
	DISPLAY: inline-block; Z-INDEX: 100; LEFT: -53px; WIDTH: 150px! =
important; POSITION: absolute; HEIGHT: 33px! important
}
.mainAll DIV.mainS_act {
	Z-INDEX: 10; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/sh.png) no-repeat 0px =
-114px; POSITION: relative
}
.mainAll DIV.mainS_act DIV {
	PADDING-RIGHT: 8px; PADDING-LEFT: 8px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 2px; BACKGROUND-COLOR: #ffffff! important
}
.mainAll DIV.mainS_act DIV A {
	FONT-WEIGHT: bold; COLOR: #013572! important
}
.mainAll DIV.mainS_act SPAN {
	Z-INDEX: 4; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/sh.png) no-repeat 0px =
-134px
}
.mainAll DIV.mainS_act DIV I {
	DISPLAY: inline-block; FONT-SIZE: 0px; MARGIN: 8px 0px 0px -19px; =
VERTICAL-ALIGN: bottom; WIDTH: 1px; LINE-HEIGHT: 0; POSITION: absolute; =
HEIGHT: 10px; BACKGROUND-COLOR: #1e9ad6
}
.mf_spTop {
	BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/_sprite_top.png)
}
.mf_shapkaTL {
	DISPLAY: block; FONT-SIZE: 0px; Z-INDEX: 10; LEFT: 0px; OVERFLOW: =
hidden; WIDTH: 1px; LINE-HEIGHT: 0; POSITION: absolute; TOP: 0px; =
HEIGHT: 1px; BACKGROUND-COLOR: #fff
}
.mf_shapkaTR {
	DISPLAY: block; FONT-SIZE: 0px; Z-INDEX: 10; RIGHT: 0px; OVERFLOW: =
hidden; WIDTH: 1px; LINE-HEIGHT: 0; POSITION: absolute; TOP: 0px; =
HEIGHT: 1px; BACKGROUND-COLOR: #fff
}
.mf_shapkaBL {
	MARGIN-TOP: 0px; DISPLAY: block; FONT-SIZE: 0px; Z-INDEX: 10; LEFT: =
0px; OVERFLOW: hidden; WIDTH: 1px; LINE-HEIGHT: 0; POSITION: absolute; =
TOP: 100%; HEIGHT: 1px; BACKGROUND-COLOR: #fff
}
.mf_shapkaBR {
	MARGIN-TOP: 0px; DISPLAY: block; FONT-SIZE: 0px; Z-INDEX: 10; RIGHT: =
0px; OVERFLOW: hidden; WIDTH: 1px; LINE-HEIGHT: 0; POSITION: absolute; =
TOP: 100%; HEIGHT: 1px; BACKGROUND-COLOR: #fff
}
.mf_shapkaMain {
	BACKGROUND-POSITION: 0px -220px; WIDTH: 996px; BACKGROUND-REPEAT: =
repeat-x; POSITION: relative; HEIGHT: 54px; BACKGROUND-COLOR: #00468c
}
.mf_shapkaLogo {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: 0px 0px; PADDING-LEFT: 13px; =
PADDING-BOTTOM: 20px; WIDTH: 212px; PADDING-TOP: 11px; =
BACKGROUND-REPEAT: no-repeat; POSITION: relative; HEIGHT: 21px
}
.mf_shapkaLogoA {
	FLOAT: left; WIDTH: 98px; HEIGHT: 21px
}
.mf_shapkaForm {
	RIGHT: 10px; COLOR: #fff; POSITION: absolute; TOP: 10px
}
.mf_shapkaSns {
	BORDER-TOP: #033e84 1px solid; FONT-SIZE: 11px; LEFT: 510px; WIDTH: =
auto; PADDING-TOP: 0px; POSITION: absolute; TOP: 8px; TEXT-ALIGN: left
}
.mf_shapkaSns2 {
	BORDER-TOP: #033e84 1px solid; FONT-SIZE: 11px; WIDTH: 100%; =
PADDING-TOP: 12px; POSITION: absolute; TOP: 0px; TEXT-ALIGN: center
}
.mf_shapkaSnsA {
	FONT-SIZE: 11px; FONT-FAMILY: Tahoma
}
.MailUnreadMessages {
	FONT-SIZE: 11px; LEFT: 320px; FLOAT: none; COLOR: white; POSITION: =
absolute; TOP: 8px
}
.MailUnreadMessages A:link {
	COLOR: white
}
.MailUnreadMessages A:visited {
	COLOR: white
}
.MailUnreadMessages A:hover {
	COLOR: white
}
.MailUnreadMessages A:active {
	COLOR: white
}
.mf_shapkaBookmars {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: -150px -55px; PADDING-LEFT: =
10px; LEFT: 260px; PADDING-BOTTOM: 0px; BOTTOM: 0px; PADDING-TOP: 0px; =
BACKGROUND-REPEAT: no-repeat; POSITION: absolute
}
.mf_mm {
	PADDING-RIGHT: 24px; BACKGROUND-POSITION: 100% -60px; PADDING-LEFT: =
0px; FLOAT: left; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; =
BACKGROUND-REPEAT: no-repeat; POSITION: relative
}
.mf_mmA {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: 0% -60px; PADDING-LEFT: 12px; =
FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px -10px; COLOR: =
#fff; LINE-HEIGHT: 20px; PADDING-TOP: 0px; BACKGROUND-REPEAT: no-repeat; =
POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none
}
A.mf_mmA:hover {
	COLOR: #fff
}
.mf_mmAct {
	PADDING-RIGHT: 24px; BACKGROUND-POSITION: 100% -80px; PADDING-LEFT: =
0px; FLOAT: left; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; =
BACKGROUND-REPEAT: no-repeat; POSITION: relative
}
.mf_mmActA {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: 0% -80px; PADDING-LEFT: 12px; =
FONT-WEIGHT: bold; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px =
-10px; COLOR: #013572! important; LINE-HEIGHT: 20px; PADDING-TOP: 0px; =
BACKGROUND-REPEAT: no-repeat; POSITION: relative; HEIGHT: 20px; =
TEXT-DECORATION: none
}
.mf_mm_market {
	BACKGROUND-POSITION: 100% -100px; BACKGROUND-REPEAT: no-repeat
}
.mf_mm_marketA {
	BACKGROUND-POSITION: 0% -100px; BACKGROUND-REPEAT: no-repeat
}
.mf_fixSizeTop {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px =
auto; OVERFLOW: hidden; WIDTH: 996px; PADDING-TOP: 0px; TEXT-ALIGN: left
}
.mf_footerTop {
	BORDER-RIGHT: #fff 1px solid; MARGIN-TOP: 20px; FONT-SIZE: 0px; =
MARGIN-BOTTOM: -1px; BORDER-LEFT: #fff 1px solid; LINE-HEIGHT: 0; =
POSITION: relative; HEIGHT: 1px
}
.mf_footerBottom {
	BORDER-RIGHT: #fff 1px solid; MARGIN-TOP: -1px; FONT-SIZE: 0px; =
MARGIN-BOTTOM: 10px; BORDER-LEFT: #fff 1px solid; LINE-HEIGHT: 0; =
POSITION: relative; HEIGHT: 1px
}
.mf_footerMain {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 95%; PADDING-BOTTOM: =
7px; OVERFLOW: visible; COLOR: #fff; PADDING-TOP: 5px; FONT-FAMILY: =
Tahoma; POSITION: relative; BACKGROUND-COLOR: #00468c; TEXT-ALIGN: left
}
.mf_footerMain A {
	COLOR: #fff
}
.mf_footerMain A:hover {
	COLOR: #cce8ff
}
.foot1 {
	BORDER-RIGHT: #ffffff 1px solid; MARGIN-TOP: 20px; FONT-SIZE: 0px; =
MARGIN-BOTTOM: -1px; BORDER-LEFT: #ffffff 1px solid; LINE-HEIGHT: 0; =
POSITION: relative; HEIGHT: 1px
}
.foot2 {
	PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-SIZE: 95%; =
PADDING-BOTTOM: 7px; OVERFLOW: visible; COLOR: #ffffff; PADDING-TOP: =
5px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #00468c
}
.foot2 A {
	COLOR: #ffffff
}
.foot2 A:hover {
	COLOR: #cce8ff
}
.foot3 {
	BORDER-RIGHT: #ffffff 1px solid; MARGIN-TOP: -1px; FONT-SIZE: 0px; =
MARGIN-BOTTOM: 10px; BORDER-LEFT: #ffffff 1px solid; LINE-HEIGHT: 0; =
POSITION: relative; HEIGHT: 1px
}
.loginForm {
	PADDING-RIGHT: 325px; BACKGROUND-POSITION: center 50%; PADDING-LEFT: =
275px; BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/newLogin2.jpg); =
PADDING-BOTTOM: 150px; PADDING-TOP: 130px; BACKGROUND-REPEAT: no-repeat; =
TEXT-ALIGN: center
}
.loginForm_kz {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/newLogin_kz2.jpg)
}
.loginTable TD {
	PADDING-BOTTOM: 8px; VERTICAL-ALIGN: middle
}
.staticMain {
	BORDER-RIGHT: #93bf22 4px solid; PADDING-RIGHT: 30px; BORDER-TOP: =
#93bf22 4px solid; PADDING-LEFT: 145px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/static.jpg) #f9ffe6 =
no-repeat left top; PADDING-BOTTOM: 0px; MARGIN: 5px 0px 0px; =
BORDER-LEFT: #93bf22 4px solid; PADDING-TOP: 20px; BORDER-BOTTOM: =
#93bf22 4px solid
}
.staticMain H1 {
	FONT-SIZE: 175%; MARGIN: 0px 0px 15px 35px; COLOR: #689100
}
.staticMain DIV.st {
	PADDING-RIGHT: 0px; PADDING-LEFT: 35px; PADDING-BOTTOM: 30px; =
PADDING-TOP: 0px
}
.staticMain DIV.s1 {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/static_1.gif) =
no-repeat left top
}
.staticMain DIV.s2 {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/static_2.gif) =
no-repeat left top
}
.staticMain DIV.s3 {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/static_3.gif) =
no-repeat left top
}
.staticMain DIV.s4 {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/static_4.gif) =
no-repeat left top
}
.staticMain DIV.s5 {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/static_5.gif) =
no-repeat left top
}
.staticMain DIV.s6 {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/static_6.gif) =
no-repeat left top
}
.staticMain DIV.s7 {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/static_7.gif) =
no-repeat left top
}
.staticMain DIV.s8 {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/static_8.gif) =
no-repeat left top
}
.staticMain DIV.s9 {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/static_9.gif) =
no-repeat left top
}
.staticMain DIV.s10 {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/static_10.gif) no-repeat =
left top
}
.staticMain DIV.s11 {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/static_11.gif) no-repeat =
left top
}
.editGroups {
	BORDER-RIGHT: #999999 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: =
#999999 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; OVERFLOW: =
auto; BORDER-LEFT: #999999 1px solid; MAX-HEIGHT: 400px; PADDING-TOP: =
10px; BORDER-BOTTOM: #999999 1px solid; HEIGHT: 400px
}
.starTopFll {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/stars/starworld.gif) =
no-repeat center 50%; FLOAT: left
}
.starTopFll I {
	WIDTH: 143px; HEIGHT: 67px
}
.starTopFlr {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/stars/stars.gif) no-repeat =
center 50%; MARGIN-LEFT: 143px; HEIGHT: 67px
}
.w53 {
	WIDTH: 59%
}
.w44 {
	WIDTH: 38%
}
.starTop {
	BACKGROUND-COLOR: #bcdaf6
}
.starTop DIV {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/starUgTop.gif) no-repeat =
right top; FLOAT: right; WIDTH: 6px; HEIGHT: 5px
}
.starTop I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/starUgTop.gif) no-repeat =
left top; WIDTH: 6px; LINE-HEIGHT: 0; HEIGHT: 5px
}
.starCenter {
	BORDER-RIGHT: #ececec 1px solid; PADDING-RIGHT: 10px; PADDING-LEFT: =
12px; PADDING-BOTTOM: 15px; OVERFLOW: hidden; BORDER-LEFT: #ececec 1px =
solid; PADDING-TOP: 15px; BACKGROUND-COLOR: #ffffff
}
.starBot {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/starUgBot2.gif) repeat-x =
50% top; MARGIN-BOTTOM: 15px; HEIGHT: 21px; TEXT-ALIGN: center
}
.starBot DIV {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/starUgBot.gif) no-repeat =
right top; FLOAT: right; WIDTH: 6px; HEIGHT: 21px
}
.starBot I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/starUgBot.gif) no-repeat =
left top; FLOAT: left; WIDTH: 6px; LINE-HEIGHT: 0; HEIGHT: 21px
}
.starBot A {
	FONT-WEIGHT: bold; COLOR: #ffffff; TEXT-DECORATION: none
}
.starBot A.under {
	FONT-WEIGHT: bold; COLOR: #ffffff; TEXT-DECORATION: none
}
.starBot A:hover {
	FONT-WEIGHT: bold; COLOR: #ffffff; TEXT-DECORATION: underline
}
.starNew {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/stars/new.gif) no-repeat =
left top; MARGIN-BOTTOM: 30px; HEIGHT: 30px
}
.starHappy {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/stars/random.gif) =
no-repeat left top; MARGIN-BOTTOM: 30px; HEIGHT: 30px
}
.mensStar {
	OVERFLOW: hidden; WIDTH: 100%
}
.mensStar2 {
	OVERFLOW: hidden; WIDTH: 100%
}
.mensStar3 {
	OVERFLOW: hidden; WIDTH: 100%
}
.mensStar .person {
	FLOAT: left; WIDTH: 32%; HEIGHT: 140px
}
.mensStar .person2 {
	FLOAT: left; WIDTH: 49%; HEIGHT: 140px
}
.mensStar .personMore {
	FLOAT: left; MARGIN-BOTTOM: 20px; WIDTH: 48%
}
.mensStar2 .person {
	FLOAT: left; WIDTH: 20%; HEIGHT: 180px
}
.mensStar3 .person {
	FLOAT: left; WIDTH: 20%; HEIGHT: 180px
}
.starAva90 {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/avatarStar90.gif) =
no-repeat left top; MARGIN-BOTTOM: 3px; WIDTH: 102px
}
.starAva90 I {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
MARGIN: 6px; WIDTH: 90px; LINE-HEIGHT: 0; BACKGROUND-REPEAT: no-repeat; =
HEIGHT: 90px
}
.mensStar A {
	FONT-WEIGHT: bold
}
.mensStar2 A {
	FONT-WEIGHT: bold
}
.mensStar3 A {
	FONT-WEIGHT: bold
}
.starMainMenu {
	MARGIN: 10px 0px; OVERFLOW: visible
}
.starMainMenu DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: =
0px; MARGIN: 0px 20px 0px 0px; PADDING-TOP: 4px
}
.starMainMenu .starActive {
	PADDING-RIGHT: 0px; BACKGROUND-POSITION: left center; PADDING-LEFT: =
15px; FLOAT: left; BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/stars/b_bg.gif); =
PADDING-BOTTOM: 0px; COLOR: #ffffff; MARGIN-RIGHT: 20px; PADDING-TOP: =
2px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 22px
}
.starMainMenu .starActive A {
	COLOR: #ffffff; TEXT-DECORATION: none
}
.starMainMenu .starActive A:hover {
	TEXT-DECORATION: underline
}
.starMainMenu .starActive I {
	BACKGROUND-POSITION: right center; BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/stars/b_bg2.gif); MARGIN: =
-1px 0px 0px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 22px
}
.starMainMenu A {
	COLOR: #5f5f5f
}
.starMenuA {
	PADDING-BOTTOM: 7px; MARGIN: 5px 5px 15px 0px; BORDER-BOTTOM: #eaeaea =
1px solid; WHITE-SPACE: nowrap
}
.starMenuA A {
	MARGIN-RIGHT: 5px; WHITE-SPACE: nowrap
}
.starMenuA B {
	MARGIN-RIGHT: 5px; WHITE-SPACE: nowrap
}
.starMenuA I {
	DISPLAY: inline-block; FONT-SIZE: 0px; VERTICAL-ALIGN: middle; WIDTH: =
16px; CURSOR: pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 3px; HEIGHT: 16px
}
.starMenuAl {
	PADDING-BOTTOM: 7px; MARGIN: 5px 5px 15px 0px; BORDER-BOTTOM: #eaeaea =
1px solid; WHITE-SPACE: nowrap
}
.starMenuAl SPAN {
	MARGIN-RIGHT: 13px
}
.starName {
	DISPLAY: inline-block; PADDING-LEFT: 2px; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/blogs/star.gif) no-repeat =
right top; VERTICAL-ALIGN: top; WIDTH: 11px; LINE-HEIGHT: 0; HEIGHT: =
16px
}
.icostar_music {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/blogs/star_music.gif) =
no-repeat left top
}
.icostar_dj {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/blogs/star_dj.gif) no-repeat =
left top
}
.icostar_writer {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/blogs/star_writer.gif) =
no-repeat left top
}
.icostar_tv {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/blogs/star_tv.gif) no-repeat =
left top
}
.icostar_cinema {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/blogs/star_cinema.gif) =
no-repeat left top
}
.icostar_theatre {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/i_theater.gif) no-repeat =
left top
}
.icostar_sport {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/search_8.gif) =
no-repeat left top
}
.icostar_politics {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/search_6.gif) =
no-repeat left top
}
.icostar_radio {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/blogs/star_radio.gif) =
no-repeat left top
}
.icostar_import {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/blogs/star_import.gif) =
no-repeat left top
}
.icoLupa {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -4px -356px; WIDTH: 7px! important; HEIGHT: 7px! important
}
.starUserTop {
	BACKGROUND-COLOR: #fff2d8
}
.starUserTop DIV {
	FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/starUgUser.gif) no-repeat =
right top; FLOAT: right; WIDTH: 6px; LINE-HEIGHT: 0; HEIGHT: 6px
}
.starUserTop I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/starUgUser.gif) no-repeat =
left top; WIDTH: 6px; LINE-HEIGHT: 0; HEIGHT: 6px
}
.starUserCenter {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 10px; BACKGROUND-COLOR: #fff2d8
}
.starUserBot {
	BACKGROUND-COLOR: #fff2d8
}
.starUserBot DIV {
	FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/starUgUser.gif) no-repeat =
right bottom; FLOAT: right; WIDTH: 6px; LINE-HEIGHT: 0; HEIGHT: 6px
}
.starUserBot I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/starUgUser.gif) no-repeat =
left bottom; WIDTH: 6px; LINE-HEIGHT: 0; HEIGHT: 6px
}
.pagesNew {
	MARGIN: 20px 0px 5px
}
.pagesNew A {
	BORDER-RIGHT: #dcdcdc 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#dcdcdc 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: =
3px; BORDER-LEFT: #dcdcdc 1px solid; CURSOR: pointer; COLOR: #9a9a9a; =
MARGIN-RIGHT: 7px; PADDING-TOP: 3px; BORDER-BOTTOM: #dcdcdc 1px solid; =
BACKGROUND-COLOR: #f1f1f1; TEXT-DECORATION: none
}
.pagesNew A:hover {
	BORDER-RIGHT: #dcdcdc 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#dcdcdc 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: =
3px; BORDER-LEFT: #dcdcdc 1px solid; COLOR: #f1f1f1; PADDING-TOP: 3px; =
BORDER-BOTTOM: #dcdcdc 1px solid; BACKGROUND-COLOR: #9a9a9a; =
TEXT-DECORATION: none
}
.pagesNew A.pageSelected {
	BORDER-RIGHT: #dcdcdc 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#dcdcdc 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: =
3px; BORDER-LEFT: #dcdcdc 1px solid; COLOR: #f1f1f1; PADDING-TOP: 3px; =
BORDER-BOTTOM: #dcdcdc 1px solid; BACKGROUND-COLOR: #9a9a9a; =
TEXT-DECORATION: none
}
.pagesNewNoBg {
	FONT-SIZE: 95%; MARGIN: 20px 0px 5px
}
.pagesNewNoBg A {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; =
PADDING-BOTTOM: 3px; CURSOR: pointer; COLOR: #9a9a9a; PADDING-TOP: 3px; =
TEXT-DECORATION: none
}
.pagesNewNoBg A:hover {
	COLOR: #7a7a7a
}
.pagesNewNoBg A.pageSelected {
	BORDER-RIGHT: #dcdcdc 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#dcdcdc 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: =
3px; BORDER-LEFT: #dcdcdc 1px solid; COLOR: #f1f1f1; PADDING-TOP: 3px; =
BORDER-BOTTOM: #dcdcdc 1px solid; BACKGROUND-COLOR: #9a9a9a; =
TEXT-DECORATION: none
}
.ml110 {
	MARGIN-LEFT: 110px
}
.pl17 {
	PADDING-LEFT: 17px
}
.m_f .person DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 3px =
0px 0px; OVERFLOW: hidden; WIDTH: 90px; PADDING-TOP: 0px; HEIGHT: 13px; =
BACKGROUND-COLOR: #1ec926; TEXT-ALIGN: center
}
.m_f .person DIV A {
	POSITION: relative; TOP: -2px
}
DIV.on_45 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 3px =
0px 0px; OVERFLOW: hidden; WIDTH: 45px; PADDING-TOP: 0px; HEIGHT: 13px; =
BACKGROUND-COLOR: #1ec926; TEXT-ALIGN: center
}
DIV.on_45 SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica; POSITION: relative; TOP: -2px
}
DIV.on_45 A {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica; POSITION: relative; TOP: -2px; TEXT-DECORATION: none
}
DIV.on_45 A:hover {
	COLOR: white
}
.menu_gifts DIV.inDiv {
	FLOAT: left; WIDTH: 24%; MARGIN-RIGHT: 0px
}
.stikerVipS {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: =
0px; WIDTH: 24%; PADDING-TOP: 120px; TEXT-ALIGN: center
}
.stikerVipSvip {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/stikerVipBig.gif) =
no-repeat center top; FLOAT: left; PADDING-BOTTOM: 0px; WIDTH: 24%; =
PADDING-TOP: 120px; TEXT-ALIGN: center
}
.stikerVipS B {
	FONT-WEIGHT: normal; CURSOR: pointer; COLOR: #054c9d; HEIGHT: 16px; =
TEXT-DECORATION: underline
}
.stikerVipSvip B {
	FONT-WEIGHT: normal; CURSOR: pointer; COLOR: #054c9d; HEIGHT: 16px; =
TEXT-DECORATION: underline
}
.stikerVipS I {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
MARGIN: 0pt 0pt -48px; VERTICAL-ALIGN: middle; WIDTH: 70px; CURSOR: =
pointer; LINE-HEIGHT: 0; BACKGROUND-REPEAT: no-repeat; POSITION: =
relative; TOP: -110px; HEIGHT: 70px; TEXT-ALIGN: center
}
.stikerVipSvip I {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
MARGIN: 0pt 0pt -48px; VERTICAL-ALIGN: middle; WIDTH: 70px; CURSOR: =
pointer; LINE-HEIGHT: 0; BACKGROUND-REPEAT: no-repeat; POSITION: =
relative; TOP: -110px; HEIGHT: 70px; TEXT-ALIGN: center
}
.stikerVip {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/stikerVip.png) no-repeat =
center 50%; WIDTH: 103px
}
.stikerVipM {
	MARGIN: 32px 0px 18px 23px
}
.stikerVipBig {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/stikerVipBig.png) =
no-repeat center 50%; WIDTH: 255px
}
.stikerVipBigM {
	MARGIN: 35px 0px 45px 45px
}
DIV.tipAva {
	BORDER-RIGHT: #969696 1px solid; BORDER-TOP: #969696 1px solid; =
MARGIN-TOP: 24px; DISPLAY: none; Z-INDEX: 10; BORDER-LEFT: #969696 1px =
solid; WIDTH: 94px; BORDER-BOTTOM: #969696 1px solid; POSITION: =
absolute; HEIGHT: 90px; BACKGROUND-COLOR: #efefef
}
DIV.tipAva I {
	BORDER-RIGHT: #ffffff 2px solid; BACKGROUND-POSITION: center 50%; =
BORDER-TOP: #ffffff 2px solid; DISPLAY: inline-block; FONT-SIZE: 0px; =
BORDER-LEFT: #ffffff 2px solid; WIDTH: 94px; LINE-HEIGHT: 0; =
BORDER-BOTTOM: #ffffff 2px solid; BACKGROUND-REPEAT: no-repeat; HEIGHT: =
90px
}
DIV.tipPhoto {
	BORDER-RIGHT: #969696 1px solid; BACKGROUND-POSITION: center 50%; =
BORDER-TOP: #969696 1px solid; MARGIN-TOP: 10px; DISPLAY: none; Z-INDEX: =
10; BORDER-LEFT: #969696 1px solid; WIDTH: 124px; BORDER-BOTTOM: #969696 =
1px solid; BACKGROUND-REPEAT: no-repeat; POSITION: absolute; HEIGHT: =
124px; BACKGROUND-COLOR: #ffffff
}
DIV.tipPhoto I {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
MARGIN: 2px; WIDTH: 120px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 120px
}
DIV.tipVideo {
	MARGIN-TOP: 10px; DISPLAY: none; Z-INDEX: 10; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/avaVideo90.gif) no-repeat =
center 50%; WIDTH: 144px; POSITION: absolute; HEIGHT: 90px; TEXT-ALIGN: =
center
}
DIV.tipVideo I {
	BACKGROUND-POSITION: center 50%; BORDER-TOP: #969696 1px solid; =
DISPLAY: inline-block; FONT-SIZE: 0px; WIDTH: 120px; CURSOR: pointer; =
LINE-HEIGHT: 0; BORDER-BOTTOM: #969696 1px solid; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 90px
}
DIV.tipGift {
	BORDER-RIGHT: #d0d0d0 1px solid; BACKGROUND-POSITION: center 50%; =
BORDER-TOP: #d0d0d0 1px solid; MARGIN-TOP: 10px; DISPLAY: none; Z-INDEX: =
10; BORDER-LEFT: #d0d0d0 1px solid; WIDTH: 204px; BORDER-BOTTOM: #d0d0d0 =
1px solid; BACKGROUND-REPEAT: no-repeat; POSITION: absolute; HEIGHT: =
200px; BACKGROUND-COLOR: #ffffff
}
DIV.tipGift I {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
WIDTH: 200px; CURSOR: pointer; LINE-HEIGHT: 0; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 200px
}
DIV.tipCommunity {
	PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 8px; Z-INDEX: 100; =
BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/bg_user.gif) =
#ffffff repeat-x 50% bottom; PADDING-BOTTOM: 3px; MARGIN: 10px -20px 0px =
0px; BORDER-LEFT: #cdcfd0 1px solid; PADDING-TOP: 3px; BORDER-BOTTOM: =
#cdcfd0 1px solid; POSITION: absolute
}
DIV.tipCommunity DIV {
	BORDER-RIGHT: #e3e3e3 8px solid; DISPLAY: inline; FONT-SIZE: 0px; =
FILTER: chroma(color=3D'#876543'); BOTTOM: -7px; LINE-HEIGHT: 0; =
BORDER-BOTTOM: #876543 8px solid; POSITION: relative; TOP: 14px; HEIGHT: =
1px
}
.avaVideo45 {
	PADDING-RIGHT: 6px; DISPLAY: inline-block; PADDING-LEFT: 6px; =
FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/avaVideo45.gif) no-repeat =
left top; PADDING-BOTTOM: 0px; VERTICAL-ALIGN: middle; WIDTH: 57px; =
CURSOR: pointer; LINE-HEIGHT: 0; PADDING-TOP: 0px; HEIGHT: 45px
}
.ava45 {
	BACKGROUND-POSITION: center 50%; FONT-SIZE: 0px; MARGIN: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 45px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 45px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.todayDL .dt I.ava45 {
	BACKGROUND-POSITION: center 50%; FONT-SIZE: 0px; MARGIN: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 45px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 45px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.bold {
	FONT-WEIGHT: bold
}
I.supnew2gif {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/supnew2.gif) no-repeat =
left top; MARGIN-LEFT: 4px; VERTICAL-ALIGN: top; WIDTH: 22px; =
LINE-HEIGHT: 0; HEIGHT: 6px
}
#audio_container {
	CLEAR: right; WIDTH: 100%
}
#audio_container .audio {
	CLEAR: right
}
#audio_container .play {
	FLOAT: left
}
#audio_container .meta {
	FLOAT: right
}
#audio_container .mmm {
	MARGIN: 0px 5px 0px 20px; HEIGHT: 30px
}
.div_dashed {
	PADDING-BOTTOM: 3px! important; MARGIN-LEFT: 1px! important; =
MARGIN-RIGHT: 30px
}
.mmm {
	MARGIN: 0px 0px 0px 20px; HEIGHT: 30px
}
.nnn {
	PADDING-RIGHT: 3px; FLOAT: right; WIDTH: 160px
}
.audio {
	MARGIN-RIGHT: 10px; HEIGHT: 30px
}
.div_dashed {
	PADDING-BOTTOM: 3px! important; MARGIN-LEFT: 5px! important; =
MARGIN-RIGHT: 35px
}
.pr98 {
	PADDING-RIGHT: 98px
}
.obrez_nazv {
	OVERFLOW-Y: hidden; DISPLAY: block; PADDING-LEFT: 5px; OVERFLOW-X: =
auto; OVERFLOW: hidden; MARGIN-RIGHT: 10px; HEIGHT: 16px
}
.audioContainer {
	FONT-FAMILY: Tahoma
}
.audioContainer .audioSong {
	OVERFLOW: visible; HEIGHT: 30px
}
.audioContainer .audioPlay {
	FLOAT: left; HEIGHT: 30px; BACKGROUND-COLOR: #ffffff
}
.audioContainer .audioMeta {
	PADDING-LEFT: 20px; FLOAT: right; HEIGHT: 30px; BACKGROUND-COLOR: =
#ffffff
}
.audioContainer .audioMore {
	PADDING-LEFT: 20px; FLOAT: right; HEIGHT: 30px; BACKGROUND-COLOR: =
#ffffff
}
.audioContainer .audioMove {
	FLOAT: right; WIDTH: 40px; HEIGHT: 30px; BACKGROUND-COLOR: #ffffff
}
.audioContainer .audioName {
	PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FLOAT: right; PADDING-BOTTOM: =
0px; WIDTH: 160px; PADDING-TOP: 0px; HEIGHT: 30px; BACKGROUND-COLOR: =
#ffffff
}
.audioContainer .audioName DIV {
	OVERFLOW-Y: hidden; DISPLAY: block; OVERFLOW-X: auto; OVERFLOW: hidden; =
HEIGHT: 16px
}
.audioContainer .audioAdd {
	FLOAT: right; WIDTH: 170px; HEIGHT: 30px; BACKGROUND-COLOR: #ffffff
}
.audioContainer .audioAddMy {
	PADDING-LEFT: 10px; FLOAT: right; WIDTH: 100px; HEIGHT: 30px; =
BACKGROUND-COLOR: #ffffff
}
.audioContainer .audioMain P {
	PADDING-LEFT: 3px; OVERFLOW: hidden; WIDTH: 100%; FONT-FAMILY: arial; =
WHITE-SPACE: nowrap
}
.audioContainer .audioMain SPAN {
	BORDER-RIGHT: red 1px solid; BORDER-TOP: red 1px solid; OVERFLOW-Y: =
hidden; OVERFLOW-X: auto; OVERFLOW: hidden; BORDER-LEFT: red 1px solid; =
BORDER-BOTTOM: red 1px solid; HEIGHT: 16px
}
.audioContainer .fadeDivS {
	BACKGROUND: url(http://img0.imgsmail.ru/mail/ru/images/my/fade.png) =
no-repeat left top; WIDTH: 25px; POSITION: relative; HEIGHT: 16px
}
.audioContainer .audioMain {
	MARGIN-LEFT: 20px; OVERFLOW: hidden; HEIGHT: 30px
}
.audioContainer .audioTime {
	FLOAT: right; MARGIN: 0px 0px 0px 10px; WIDTH: 60px; COLOR: #999999; =
WHITE-SPACE: nowrap
}
.audioContainer .icoAudioPlay {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-items.png) no-repeat =
-6px -70px; FLOAT: left; WIDTH: 22px; CURSOR: pointer; HEIGHT: 30px
}
.audioContainer .icoAudioPause {
	BACKGROUND: =
url(http://img2.imgsmail.ru/ru/images/my/pause_button_i.gif) no-repeat =
left top; FLOAT: left; WIDTH: 22px; CURSOR: pointer; HEIGHT: 30px
}
.icoMore {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -3px -115px; WIDTH: 9px! important; HEIGHT: 9px! important
}
.div_dashed {
	PADDING-BOTTOM: 3px! important
}
.icoAudioDown {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/arrow_down.gif) no-repeat =
left center; FLOAT: left; VERTICAL-ALIGN: middle; WIDTH: 11px; CURSOR: =
pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 8px; HEIGHT: 12px
}
.icoAudioUp {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/arrow_up.gif) no-repeat left =
center; FLOAT: right; VERTICAL-ALIGN: middle; WIDTH: 11px; CURSOR: =
pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 8px; HEIGHT: 12px
}
#edit {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; DISPLAY: none; PADDING-LEFT: 10px; Z-INDEX: 32; LEFT: =
751px; PADDING-BOTTOM: 10px; BORDER-LEFT: #d9d9d9 1px solid; WIDTH: =
200px; PADDING-TOP: 10px; BORDER-BOTTOM: #d9d9d9 1px solid; POSITION: =
absolute; TOP: 0px; BACKGROUND-COLOR: #ffffff
}
.spamForm {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
BORDER-LEFT: #d9d9d9 1px solid; COLOR: #9a9a9a; PADDING-TOP: 10px; =
BORDER-BOTTOM: #d9d9d9 1px solid; POSITION: absolute; BACKGROUND-COLOR: =
#ffffff
}
.mf_spamForm {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 10px; Z-INDEX: 100; PADDING-BOTTOM: =
10px; BORDER-LEFT: #d9d9d9 1px solid; COLOR: #9a9a9a; PADDING-TOP: 10px; =
BORDER-BOTTOM: #d9d9d9 1px solid; POSITION: absolute; BACKGROUND-COLOR: =
#ffffff
}
.mf_spamFormBut {
	FONT-SIZE: 90%; MARGIN: 10px 10px 0px 0px; FONT-FAMILY: =
Arial,Sans-Serif
}
.mf_spamFormBut2 {
	MARGIN-TOP: 10px; FONT-SIZE: 90%; FONT-FAMILY: Arial,Sans-Serif
}
.mf_spamFormH2 {
	FONT-SIZE: 17px; MARGIN: 0px 0px 7px; COLOR: #0857a6
}
.audioContainerTrack {
	BORDER-RIGHT: #d5d9df 1px solid; BORDER-TOP: #d5d9df 1px solid; =
BORDER-LEFT: #d5d9df 1px solid; BORDER-BOTTOM: #d5d9df 1px solid
}
.audioContainerTrack .audioSong {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/aud.gif) =
repeat-x left bottom; HEIGHT: 49px; TEXT-ALIGN: center
}
.audioContainerTrack .audioPlay {
	PADDING-RIGHT: 4px; PADDING-LEFT: 20px; FLOAT: left; PADDING-BOTTOM: =
5px; PADDING-TOP: 5px
}
.audioContainerTrack .audioMain {
	PADDING-RIGHT: 0px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; =
MARGIN-LEFT: 64px; PADDING-TOP: 5px; HEIGHT: 40px
}
.audioContainerTrack .audioAdd {
	PADDING-RIGHT: 15px; PADDING-LEFT: 15px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/aud2.gif) repeat-x 50% =
bottom; PADDING-BOTTOM: 15px; PADDING-TOP: 15px; TEXT-ALIGN: center
}
.audioContainerTrack .icoAudioPlay {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/ru/images/my/play_button_iBig.gif) no-repeat =
left top; VERTICAL-ALIGN: middle; WIDTH: 39px! important; CURSOR: =
pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; HEIGHT: 38px! important
}
.audioContainerTrack .icoAudioPause {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/ru/images/my/pause_button_iBig.gif) =
no-repeat left top; VERTICAL-ALIGN: middle; WIDTH: 39px! important; =
CURSOR: pointer; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; HEIGHT: 38px! =
important
}
.audioComment {
	CLEAR: both; MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 10px; OVERFLOW: =
hidden; BORDER-BOTTOM: #f0f0f0 1px solid
}
.audioComment2 {
	CLEAR: both; OVERFLOW: hidden
}
.audioTopContainer {
	BORDER-RIGHT: #fdedc7 2px solid; PADDING-RIGHT: 20px; BORDER-TOP: =
#fdedc7 2px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 5px; BORDER-LEFT: =
#fdedc7 2px solid; PADDING-TOP: 15px; BORDER-BOTTOM: #fdedc7 2px solid
}
.audioTopContainer .audioList {
	FONT-SIZE: 95%; FLOAT: right; WIDTH: 150px; COLOR: #656972! important; =
HEIGHT: 30px; BACKGROUND-COLOR: #ffffff
}
.audioTopContainer .audioList DIV {
	OVERFLOW-Y: hidden; DISPLAY: block; FONT-WEIGHT: bold; OVERFLOW-X: =
auto; OVERFLOW: hidden; HEIGHT: 16px; TEXT-ALIGN: right
}
.audioTopContainer .audioList SPAN {
	COLOR: red
}
.audioTopContainer .audioPlaceContainer {
	FLOAT: left; WIDTH: 60px
}
.audioTopContainer .audioPlace {
	FLOAT: left; WIDTH: 25px; HEIGHT: 30px; TEXT-ALIGN: right
}
.audioTopContainer .audioPlaceUp {
	PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -5px -221px; PADDING-BOTTOM: 4px; COLOR: #1fc827; PADDING-TOP: =
0px; POSITION: relative; TOP: -3px; HEIGHT: 18px
}
.audioTopContainer .audioPlaceDown {
	PADDING-RIGHT: 0px; PADDING-LEFT: 6px; FONT-WEIGHT: bold; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -5px -237px; PADDING-BOTTOM: 4px; COLOR: #fe1e1c; PADDING-TOP: =
0px; POSITION: relative; TOP: -3px; HEIGHT: 18px
}
.audioTopContainer .audioPlaceDown SPAN {
	PADDING-RIGHT: 1px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0pt; =
PADDING-TOP: 0pt
}
.audioTopContainer .audioPlaceNew {
	PADDING-RIGHT: 0px; PADDING-LEFT: 2px; PADDING-BOTTOM: 4px; COLOR: =
#fe1e1c; PADDING-TOP: 0px; POSITION: relative; TOP: -3px; HEIGHT: 18px
}
.audioTopContainer .audioPlaceEq {
	PADDING-RIGHT: 0px; PADDING-LEFT: 8px; FONT-WEIGHT: bold; =
PADDING-BOTTOM: 4px; COLOR: #999999; PADDING-TOP: 0px; HEIGHT: 18px
}
.audioTopContainer .audioAddMyTop {
	FLOAT: right; WIDTH: 16px; HEIGHT: 30px
}
.audioTopWhat {
	FONT-WEIGHT: normal! important; FONT-SIZE: 75%; FLOAT: right
}
DIV.helpDiv DIV.bgNo {
	BORDER-RIGHT: #135eaa 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#135eaa 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 8px; BORDER-LEFT: =
#135eaa 1px solid; COLOR: #666666; PADDING-TOP: 3px; BORDER-BOTTOM: =
#135eaa 1px solid; BACKGROUND-COLOR: #f5f5f5
}
.bookMark {
	PADDING-RIGHT: 0px; PADDING-LEFT: 15px; FONT-SIZE: 95%; PADDING-BOTTOM: =
0px; MARGIN-LEFT: -3px; PADDING-TOP: 1px; BORDER-BOTTOM: #dbdadd 1px =
solid; FONT-FAMILY: tahoma; HEIGHT: 19px
}
.bookMark DIV {
	FLOAT: left; MARGIN-LEFT: -11px
}
.bookMark DIV SPAN {
	PADDING-RIGHT: 1px; BORDER-TOP: #bbbdc6 1px solid; PADDING-LEFT: 8px; =
Z-INDEX: 1; FLOAT: left; PADDING-BOTTOM: 4px; MARGIN: 0px 0px -2px; =
BORDER-LEFT: #bbbdc6 1px solid; PADDING-TOP: 1px; POSITION: relative; =
BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center
}
.bookMark DIV I {
	DISPLAY: inline-block; FONT-SIZE: 0px; Z-INDEX: 3; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ug1.gif) no-repeat right =
50%; FLOAT: left; MARGIN: 0px; VERTICAL-ALIGN: middle; WIDTH: 19px; =
LINE-HEIGHT: 0; POSITION: relative; HEIGHT: 19px
}
.bookMark DIV SPAN A {
	COLOR: #0857a6; TEXT-DECORATION: underline
}
.bookMark DIV.act {
	FLOAT: left; MARGIN-LEFT: -11px
}
.bookMark DIV.act SPAN {
	PADDING-RIGHT: 1px; BORDER-TOP: #bbbdc6 1px solid; PADDING-LEFT: 8px; =
FONT-SIZE: 95%; Z-INDEX: 5; FLOAT: left; PADDING-BOTTOM: 4px; MARGIN: =
0px 0px -2px; BORDER-LEFT: #bbbdc6 1px solid; PADDING-TOP: 1px; =
FONT-FAMILY: tahoma; POSITION: relative; BACKGROUND-COLOR: #e6e8ed; =
TEXT-ALIGN: center
}
.bookMark DIV.act I {
	BACKGROUND-POSITION: right 50%; Z-INDEX: 5; FLOAT: left; =
BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/ug2.gif); MARGIN: 0px; =
WIDTH: 19px; BACKGROUND-REPEAT: no-repeat; POSITION: relative; HEIGHT: =
19px
}
.bookMark DIV.act SPAN A {
	FONT-WEIGHT: bold; COLOR: #393b40; TEXT-DECORATION: none
}
.bookMark DIV.act SPAN A:hover {
	COLOR: #393b40
}
.filterAll {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 1px; OVERFLOW: hidden; PADDING-TOP: 1px
}
.filterAll A {
	MARGIN-RIGHT: -2px; BORDER-BOTTOM: #0857a6 1px dashed; TEXT-DECORATION: =
none
}
.filterAll A:hover {
	BORDER-BOTTOM: #f26d00 1px dashed
}
.filterAll A.filterAct {
	FONT-WEIGHT: bold; COLOR: black; BORDER-BOTTOM: 0px
}
.filterAll A.filterAct:hover {
	COLOR: black; BORDER-BOTTOM: 0px
}
.filterAll A.filterOrange {
	FONT-WEIGHT: bold; COLOR: #fd7500; BORDER-BOTTOM: #fd7500 1px dashed
}
.filterAll SPAN {
	COLOR: #999999; MARGIN-RIGHT: -2px
}
.filterAllGrey {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 1px; OVERFLOW: hidden; PADDING-TOP: 1px
}
.filterAllGrey A {
	COLOR: #656972; BORDER-BOTTOM: #656972 1px dashed; TEXT-DECORATION: =
none
}
.filterAllGrey A:hover {
	COLOR: #f26d00; BORDER-BOTTOM: #f26d00 1px dashed
}
.filterAllGrey A.filterBold {
	FONT-WEIGHT: bold
}
.filterAllGrey SPAN {
	COLOR: #999999
}
.todayBorder {
	BORDER-BOTTOM-WIDTH: 1px; MARGIN-BOTTOM: 20px; PADDING-BOTTOM: 13px
}
.todayBorder B {
	PADDING-RIGHT: 30px
}
.todayBorder A {
	PADDING-RIGHT: 30px
}
.closeUser {
	MARGIN: 2px 0px 0px 100px; POSITION: absolute; TEXT-ALIGN: left! =
important
}
.closeUser120 {
	MARGIN: 2px 0px 0px 120px; POSITION: absolute; TEXT-ALIGN: left! =
important
}
.closeUser120photo {
	MARGIN: 2px 0px 0px 135px; POSITION: absolute; TEXT-ALIGN: left! =
important
}
.closeUser2 {
	MARGIN: 2px 0px 0px -35px; WIDTH: 145px; POSITION: absolute; =
TEXT-ALIGN: left! important
}
.afterRequest {
	PADDING-RIGHT: 0px! important; PADDING-LEFT: 0px! important; =
PADDING-BOTTOM: 0px! important; MARGIN: 0px; PADDING-TOP: 0px! =
important; BORDER-BOTTOM: medium none; TEXT-DECORATION: none
}
.imsg {
	VERTICAL-ALIGN: middle; COLOR: #999999! important; TEXT-ALIGN: center
}
.mrimPNG13 .spr-mrim-13 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/ico_status_online13.png); =
VERTICAL-ALIGN: middle; WIDTH: 13px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 2px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px
}
.mrimPNG13 .mrim-online {
=09
}
.mrimPNG13 .mrim-away {
	BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/ico_status_away13.png)
}
.mrimPNG13 .mrim-offline {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ico_status_ofline13.png)
}
.mrimPNG9 .spr-mrim-9 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/ico_status_online.png); =
VERTICAL-ALIGN: middle; WIDTH: 13px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 2px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px
}
.mrimPNG9 .mrim-online {
	BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/mail/ru/images/my/ico_status_online.png)
}
.mrimPNG9 .mrim-away {
	BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/ico_status_away.png)
}
.mrimPNG9 .mrim-offline {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ico_status_ofline.png)
}
I.imgPlus10 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/v_10ss.png) no-repeat left =
top; VERTICAL-ALIGN: middle; WIDTH: 26px; LINE-HEIGHT: 0; MARGIN-RIGHT: =
4px; HEIGHT: 26px
}
.ptNumber {
	PADDING-RIGHT: 7px; FONT-WEIGHT: bold; FLOAT: left; WIDTH: 22px; =
MARGIN-RIGHT: 5px; TEXT-ALIGN: right
}
.ptFirst .ptNumber {
	COLOR: #e9221f
}
.ptNUp {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 19px -224px
}
.ptNDown {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 19px -240px
}
.ptFirst I.newRat {
	BOTTOM: -3px
}
.ptOther I.newRat {
	BOTTOM: -3px
}
.ptLeft {
	FLOAT: left; WIDTH: 25%
}
.ptFirst {
	BORDER-RIGHT: #facb5f 3px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#facb5f 3px solid; DISPLAY: inline-block; PADDING-LEFT: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/phototopBg.jpg) #ffdf92 =
repeat-x 50% top; MARGIN-BOTTOM: 20px; PADDING-BOTTOM: 10px; OVERFLOW: =
hidden; BORDER-LEFT: #facb5f 3px solid; PADDING-TOP: 5px; BORDER-BOTTOM: =
#facb5f 3px solid; HEIGHT: auto
}
.ptFirst .ptAva {
	PADDING-RIGHT: 5px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: =
0px; OVERFLOW: hidden; PADDING-TOP: 0px
}
.ptOther {
	DISPLAY: inline-block; MARGIN: 0px 8px 20px 3px; OVERFLOW: hidden
}
.ptOther .ptAva {
	PADDING-RIGHT: 5px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: =
0px; PADDING-TOP: 0px
}
.ptFirst .ptName {
	DISPLAY: inline-block; OVERFLOW: hidden
}
.ptFirst .ptName P {
	PADDING-BOTTOM: 5px
}
.ptOther .ptName P {
	PADDING-BOTTOM: 5px
}
.ptCenter {
	FLOAT: left; WIDTH: 43%
}
.ptCenter .ptFirst {
	MARGIN: 0px 20px 45px
}
.ptCenter .ptOther {
	MARGIN: 0px 28px 45px 22px
}
.ptFirst .myPhoto_rr {
	BORDER-LEFT: #ffe5a8 3px solid
}
.ptRight {
	FLOAT: left; WIDTH: 31%
}
.ptRight .ptFirst {
	MARGIN: 0px 0px 15px
}
.ptRight .ptOther {
	MARGIN: 0px 0px 33px
}
.ptOtherPhotos {
	MARGIN-TOP: -15px; FONT-SIZE: 95%; COLOR: #656972! important; =
FONT-FAMILY: Tahoma; POSITION: relative; HEIGHT: 15px
}
.ptPagePhotos .ptFirst {
	MARGIN-BOTTOM: 28px; WIDTH: 47%
}
.ptPagePhotos .ptOther {
	MARGIN: 6px 8px 45px 3px; WIDTH: 47%
}
.ptPageVoter .ptOther {
	DISPLAY: inline-block; FLOAT: left; MARGIN: 0px; OVERFLOW: hidden; =
WIDTH: 33%; HEIGHT: 150px
}
.ptPageUsers {
	WIDTH: 101%
}
.ptPageUsers .ptFirst {
	MARGIN: 0px 10px 28px
}
.ptPageUsers .ptOther {
	MARGIN: 0px 10px 28px; HEIGHT: 90px
}
.ptPageUsers .ptMargin {
	DISPLAY: inline-block; FLOAT: left; OVERFLOW: hidden; WIDTH: 33%
}
.ptPageUsers .ptMarginOther {
	DISPLAY: inline-block; FLOAT: left; OVERFLOW: hidden; WIDTH: 33%
}
SPAN.newRat A {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) #f4f4f4 =
no-repeat left -141px
}
.ohd {
	DISPLAY: inline-block; OVERFLOW: hidden
}
.mf_ohd {
	DISPLAY: inline-block
}
.mf_ohd2 {
	DISPLAY: inline-block! important; OVERFLOW: hidden
}
.photoContainerList {
	OVERFLOW: visible; WIDTH: 100%; FONT-FAMILY: Tahoma
}
.photoContainerList .photoOne {
	FLOAT: left; OVERFLOW: hidden; WIDTH: 33%; HEIGHT: 25px
}
.photoContainerList .photoFile {
	FLOAT: left; HEIGHT: 25px; BACKGROUND-COLOR: #ffffff
}
.photoContainerList .photoFile I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_folder.gif) no-repeat =
left center; VERTICAL-ALIGN: bottom; WIDTH: 14px! important; =
LINE-HEIGHT: 0; HEIGHT: 16px! important
}
.photoContainerList .photoMain {
	MARGIN-LEFT: 10px; OVERFLOW: hidden; HEIGHT: 25px
}
.photoContainerList .photoMain P {
	OVERFLOW: hidden; WIDTH: 100%; FONT-FAMILY: arial; WHITE-SPACE: nowrap
}
.photoContainerList .photoMain A:hover {
	TEXT-DECORATION: underline
}
.photoContainerList SPAN {
	FLOAT: right; MARGIN: 0px 10px 0px -25px; COLOR: #999999; WHITE-SPACE: =
nowrap
}
.photoContainerList .photoMain DIV {
	MARGIN-TOP: -2px; MARGIN-RIGHT: 37px; BORDER-BOTTOM: #0857a6 1px dotted
}
.photoContainerList .photoMain I {
	MARGIN-TOP: -3px; DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/fade.png) no-repeat left =
top; VERTICAL-ALIGN: middle; WIDTH: 25px; LINE-HEIGHT: 0; MARGIN-RIGHT: =
4px; POSITION: relative; HEIGHT: 16px
}
.comPhotosCover {
	BACKGROUND: =
url(http://img0.imgsmail.ru/ru/images/my/avatarPhotoCover120x120.gif) =
#fff no-repeat left top; WIDTH: 180px
}
.comPhotosCover I.ava120 {
	BORDER-RIGHT: #a5a9ad 1px solid; BORDER-TOP: #a5a9ad 1px solid; MARGIN: =
10px 20px 16px 39px; BORDER-LEFT: #a5a9ad 1px solid; WIDTH: 121px; =
BORDER-BOTTOM: #a5a9ad 1px solid
}
.comPhotosCover I.ava120no {
	BORDER-RIGHT: transparent 1px solid; BORDER-TOP: transparent 1px solid; =
MARGIN: 10px 20px 16px 39px; BORDER-LEFT: transparent 1px solid; =
BORDER-BOTTOM: transparent 1px solid; BACKGROUND-COLOR: transparent! =
important
}
.comPhotosAlbum {
	OVERFLOW: hidden; WIDTH: 100%
}
.comPhotosAlbum .comPhotosOne {
	MIN-WIDTH: 150px; BACKGROUND: =
url(http://img1.imgsmail.ru/ru/images/my/avatarPhoto120x120.gif) #fff =
no-repeat left top; WIDTH: 24%
}
.comPhotosAlbum .comPhotosOne I {
	MARGIN: 7px
}
.comPhotosAlbum .r50 {
	FLOAT: left; WIDTH: 49%; HEIGHT: 250px
}
.comPhotosAlbum .r33 {
	FLOAT: left; WIDTH: 33%; HEIGHT: 250px
}
.comPhotosAlbum .r25 {
	FLOAT: left; WIDTH: 24%; HEIGHT: 250px
}
.comPhotosAlbum .greyRate {
	MARGIN: -23px 0px 0px 137px; COLOR: #999999! important; POSITION: =
absolute
}
.comPhotosAlbumSes {
	OVERFLOW: hidden; WIDTH: 100%
}
.comPhotosAlbumSes .comAlbumOne {
	MIN-WIDTH: 335px; FLOAT: left; WIDTH: 33%; HEIGHT: 180px
}
A.comPhotosNameAlbum {
	FONT-WEIGHT: bold; CURSOR: text! important; COLOR: #0857a6; =
BORDER-BOTTOM: #0857a6 1px dashed; TEXT-DECORATION: none
}
A.comPhotosNameAlbum:hover {
	BORDER-BOTTOM: #ffff66 1px solid; BACKGROUND-COLOR: #ffff66
}
A.comPhotosNameAlbumNo {
	CURSOR: text! important; TEXT-DECORATION: none! important
}
A.comPhotosNameAlbumNo:hover {
	COLOR: #0857a6! important
}
A.comPhotosNamePhoto {
	FONT-WEIGHT: bold; FONT-SIZE: 95%; CURSOR: text! important; COLOR: =
#0857a6; BORDER-BOTTOM: #0857a6 1px dashed; FONT-FAMILY: Tahoma; =
TEXT-DECORATION: none
}
A.comPhotosNamePhoto:hover {
	BORDER-BOTTOM: #ffff66 1px solid; BACKGROUND-COLOR: #ffff66
}
A.comPhotosDescript {
	CURSOR: text! important; COLOR: #5a5a5a; BORDER-BOTTOM: #5a5a5a 1px =
dashed; FONT-FAMILY: Tahoma; TEXT-DECORATION: none
}
A.comPhotosDescript:hover {
	BORDER-BOTTOM: #ffff66 1px solid; FONT-FAMILY: Tahoma; =
BACKGROUND-COLOR: #ffff66
}
.comTagListForm {
	PADDING-RIGHT: 10px; MARGIN-TOP: 5px; PADDING-LEFT: 10px; =
PADDING-BOTTOM: 5px; PADDING-TOP: 5px; BACKGROUND-COLOR: #e5eeff
}
.n {
=09
}
.n2 {
	FONT-WEIGHT: bold; FONT-SIZE: 95%; COLOR: #0857a6; FONT-FAMILY: Tahoma
}
.pp {
	FONT-SIZE: 95%; COLOR: #999999; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma
}
.pp A {
	COLOR: #999999
}
.mm A {
	FONT-WEIGHT: bold; FONT-SIZE: 95%; COLOR: #5a5a5a; BORDER-BOTTOM: =
#5a5a5a 1px dashed; FONT-FAMILY: tahoma; TEXT-DECORATION: none
}
.mm A:hover {
	BORDER-BOTTOM: #ffff66 1px solid; BACKGROUND-COLOR: #ffff66
}
.edit_title {
	Z-INDEX: 100; WIDTH: 133px; POSITION: absolute; BACKGROUND-COLOR: =
#ffffff
}
.edit_title TEXTAREA {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 133px; BORDER-BOTTOM: #9ba3a9 1px solid; FONT-FAMILY: =
tahoma,Arial,Sans-Serif; HEIGHT: 50px
}
DIV.pinkAround {
	BACKGROUND: url(http://img2.imgsmail.ru/r/foto2/pink_angle.gif) #fff7e9 =
no-repeat left top; MARGIN-BOTTOM: 20px; PADDING-BOTTOM: 20px; =
BORDER-BOTTOM: #ffdea3 1px solid; TEXT-ALIGN: center
}
DIV.pinkAround DIV IMG {
	DISPLAY: inline; MARGIN: 0px
}
DIV.pinkAround H3 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 10px; COLOR: =
#f26d00; PADDING-TOP: 10px
}
protectDiv {
	Z-INDEX: 1; LEFT: 0px; POSITION: absolute; TOP: 0px
}
.move {
	COLOR: #000; -moz-user-select: none
}
.move2 {
	Z-INDEX: 9002; LEFT: 0px; WIDTH: 130px; POSITION: absolute; TOP: 0px; =
HEIGHT: 130px
}
.move2 IMG {
	RIGHT: 0px; FILTER: alpha(opacity=3D70); BOTTOM: 0px; POSITION: =
relative; -moz-opacity: .70; opacity: .70
}
.move3 {
	FILTER: alpha(opacity=3D20); -moz-opacity: .20; opacity: .20
}
.loadImgDiv {
	BORDER-RIGHT: #666 5px solid; PADDING-RIGHT: 10px; BORDER-TOP: #666 5px =
solid; PADDING-LEFT: 10px; Z-INDEX: 10000; LEFT: 0px; PADDING-BOTTOM: =
50px; FONT: bold 12px tahoma; BORDER-LEFT: #666 5px solid; WIDTH: 400px; =
PADDING-TOP: 50px; BORDER-BOTTOM: #666 5px solid; POSITION: absolute; =
TOP: 0px; BACKGROUND-COLOR: #fff; TEXT-ALIGN: center
}
.newSearchTable {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 7px; =
PADDING-TOP: 7px; BACKGROUND-COLOR: #e8ecf4
}
.newSearchTable TABLE {
	WIDTH: 98%! important
}
.newSearchTable TD {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; =
VERTICAL-ALIGN: middle; PADDING-TOP: 0px; WHITE-SPACE: nowrap
}
.newSearchTable TH {
	FONT-WEIGHT: normal; FONT-SIZE: 75%; WIDTH: 100%
}
.newSearchForm {
	PADDING-RIGHT: 7px; DISPLAY: inline-block; PADDING-LEFT: 7px; =
PADDING-BOTTOM: 7px; OVERFLOW: hidden; PADDING-TOP: 7px; =
BACKGROUND-COLOR: #e8ecf4
}
.newSearchForm P {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: =
0px; PADDING-TOP: 2px; FONT-FAMILY: Tahoma
}
.newSearchForm DIV {
	PADDING-RIGHT: 5px; DISPLAY: inline-block; PADDING-LEFT: 5px; =
PADDING-BOTTOM: 0px; OVERFLOW: hidden; PADDING-TOP: 0px
}
.newSearchForm SPAN {
	DISPLAY: inline-block; FLOAT: right
}
H6.right {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 110%; PADDING-BOTTOM: =
0px; MARGIN: 0px; COLOR: #3d5f80; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; =
BACKGROUND-COLOR: #ffffff
}
H6 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 27px; FONT-SIZE: 125%; =
PADDING-BOTTOM: 3px; MARGIN: 0px 0px 10px; COLOR: #426084; PADDING-TOP: =
3px; BORDER-BOTTOM: #799cc4 1px solid; FONT-FAMILY: Arial,Sans-Serif; =
BACKGROUND-COLOR: #eaeff5
}
H6 A {
	COLOR: #426084; TEXT-DECORATION: none
}
H6 A:hover {
	TEXT-DECORATION: none
}
H6 SPAN {
	FONT-WEIGHT: normal; MARGIN-LEFT: 5px; COLOR: #656972! important; =
FONT-STYLE: italic
}
.h6comBlogs {
	BACKGROUND: url(http://img3.imgsmail.ru/r/my/ico_blog.gif) #eaeff5 =
no-repeat 8px center
}
.h6comPhoto {
	BACKGROUND: url(http://img0.imgsmail.ru/r/my/ico_foto.gif) #eaeff5 =
no-repeat 8px center
}
.h6comAudio {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/ico_audioH1.gif) #eaeff5 =
no-repeat 8px center
}
.h6comGuest {
	BACKGROUND: url(http://img2.imgsmail.ru/r/my/ico_guest.gif) #eaeff5 =
no-repeat 8px center
}
.h6comWhat {
	BACKGROUND: url(http://img3.imgsmail.ru/r/my/ico_whatNew.gif) #eaeff5 =
no-repeat 8px center
}
.h6comAdm {
	BACKGROUND: url(http://img0.imgsmail.ru/r/my/ico_adm.gif) #eaeff5 =
no-repeat 8px center
}
.h6comMembers {
	PADDING-LEFT: 30px! important; BACKGROUND: =
url(http://img1.imgsmail.ru/r/my/ico_members.gif) #eaeff5 no-repeat 8px =
center
}
UNKNOWN {
	BACKGROUND: url(http://img2.imgsmail.ru/r/my/avatarPhoto45x45.gif) =
#eaeff5 no-repeat 8px center
}
.avaPhoto45 {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/avatarPhoto45x45.gif) =
no-repeat center center; VERTICAL-ALIGN: middle; WIDTH: 74px; HEIGHT: =
61px; TEXT-ALIGN: center
}
.avaPhoto45 I {
	BORDER-RIGHT: #a5a9ad 1px solid; BORDER-TOP: #a5a9ad 1px solid; =
DISPLAY: inline-block; MARGIN: 6px 10px 9px 21px; VERTICAL-ALIGN: =
middle; BORDER-LEFT: #a5a9ad 1px solid; WIDTH: 45px; BORDER-BOTTOM: =
#a5a9ad 1px solid; BACKGROUND-REPEAT: no-repeat; HEIGHT: 45px; =
TEXT-ALIGN: center
}
.comPhoto45 {
	COLOR: #999999! important
}
.comPhoto45 SPAN {
	COLOR: #656972! important
}
.comPerson2 {
	BORDER-RIGHT: #9cbcdb 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: =
#9cbcdb 1px solid; PADDING-LEFT: 2px; FLOAT: left; MARGIN-BOTTOM: 5px; =
PADDING-BOTTOM: 2px; BORDER-LEFT: #9cbcdb 1px solid; PADDING-TOP: 2px; =
BORDER-BOTTOM: #9cbcdb 1px solid; HEIGHT: 60px; BACKGROUND-COLOR: =
#d1e0fd
}
.comPerson {
	BORDER-RIGHT: #ffffff 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: =
#ffffff 1px solid; PADDING-LEFT: 2px; FLOAT: left; PADDING-BOTTOM: 2px; =
BORDER-LEFT: #ffffff 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #ffffff =
1px solid; HEIGHT: 64px; BACKGROUND-COLOR: #ffffff
}
.comPerson DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; MARGIN: =
0px; WIDTH: 45px; PADDING-TOP: 0px; BACKGROUND-COLOR: #1ec926; =
TEXT-ALIGN: center
}
.comPerson DIV SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica
}
.comPerson DIV A {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica; TEXT-DECORATION: none
}
.comPerson DIV A:hover {
	COLOR: white
}
.comPhotos {
	OVERFLOW: hidden; WIDTH: 100%; HEIGHT: 135px
}
.comPhotos DIV {
	MIN-WIDTH: 150px; BACKGROUND: =
url(http://img0.imgsmail.ru/ru/images/my/avatarPhoto120x120.gif) #fff =
no-repeat left top; FLOAT: left; MARGIN-BOTTOM: 20px; WIDTH: 24%
}
.comPhotos DIV I {
	MARGIN: 7px
}
.comPerson P {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 95%; PADDING-BOTTOM: =
0px; PADDING-TOP: 5px
}
.ml55 {
	MARGIN-LEFT: 55px
}
.icoBabl {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat 0px -16px
}
.icoBablSmall {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-bubbles.png) =
no-repeat -1px -33px; WIDTH: 13px! important; HEIGHT: 13px! important
}
.icoGetMobileS I {
	BACKGROUND: url(http://img3.imgsmail.ru/r/foto2/ico_get_mob.gif); =
WIDTH: 16px
}
.icoComPeople I {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ico_comm_members.gif); =
WIDTH: 16px
}
.icoComInvite I {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 0px -32px; WIDTH: 16px
}
.icoCommsOut I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/ico_commOut.gif); WIDTH: =
16px
}
.icoCommsIn I {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 0px 0px; WIDTH: 16px
}
.icoComSet I {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/ico_commSett.gif); WIDTH: =
16px
}
.icoComInfo I {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -32px; WIDTH: 16px
}
.icoSubCom I {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-items.png) no-repeat =
0px -48px; WIDTH: 16px
}
.icoUnSubCom I {
	BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/mail/ru/images/my/i_Unsubscr.gif); WIDTH: =
16px
}
.favoritesDels I {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/i_del.gif); MARGIN: 0px =
7px 0px 4px; WIDTH: 9px
}
.addfriendsDels I {
	BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/mail/ru/images/my/ico_otkaz.gif); WIDTH: =
16px
}
.icoComplainModer I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -144px; WIDTH: 16px
}
.aboutComm {
	PADDING-RIGHT: 10px; BORDER-TOP: #85c0db 1px solid; PADDING-LEFT: 10px; =
PADDING-BOTTOM: 10px; PADDING-TOP: 10px; BACKGROUND-COLOR: #dfefff
}
.aboutComm DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: =
125%; PADDING-BOTTOM: 3px; COLOR: #426084; PADDING-TOP: 3px; =
FONT-FAMILY: Arial,Sans-Serif
}
.icoStrRight {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 0px -288px; VERTICAL-ALIGN: middle; WIDTH: 16px; HEIGHT: 16px
}
.icoEnterCommunity {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 0px 0px
}
.comms_enter {
	COLOR: #fd7500
}
.comms_enter I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 0px 0px; VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; =
LINE-HEIGHT: 0; MARGIN-RIGHT: 3px; HEIGHT: 16px
}
.icoInComm {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/community.gif) no-repeat =
left top
}
.icoQuitCommunity {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat 0px -16px
}
.icoMakeLeader I {
	BACKGROUND: url(http://img3.imgsmail.ru/r/blogs/ico_sms_leader.gif) =
no-repeat left top; WIDTH: 16px
}
.icoNext {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/icons-action.png) =
no-repeat -5px -256px; WIDTH: 6px! important
}
.icoComPost {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-items.png) no-repeat =
-1px 1px
}
.nik S {
	TEXT-DECORATION: line-through
}
.fadeDiv {
	Z-INDEX: 20; RIGHT: -1px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/fade.png) no-repeat left =
top; FLOAT: right; WIDTH: 25px; POSITION: absolute; HEIGHT: 17px
}
.onePost {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px =
0px 15px; PADDING-TOP: 0px; POSITION: relative
}
.onePost P {
	FONT-WEIGHT: bold; FONT-SIZE: 120%; MARGIN: 0px 0px 5px; WHITE-SPACE: =
nowrap
}
.subscribeCommunity {
	BORDER-RIGHT: #799cc4 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#799cc4 1px solid; MARGIN-TOP: 10px; PADDING-LEFT: 5px; PADDING-BOTTOM: =
5px; BORDER-LEFT: #799cc4 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: =
#799cc4 1px solid; FONT-FAMILY: Tahoma; POSITION: absolute; =
BACKGROUND-COLOR: #eaeff5
}
.icoBlogAddPost I {
	BACKGROUND: url(http://img3.imgsmail.ru/r/blogs/ico_add_post.png) =
no-repeat left top; WIDTH: 16px
}
.icoBlogAddContest I {
	BACKGROUND: url(http://img0.imgsmail.ru/r/blogs/ico_contest.png) =
no-repeat left top; WIDTH: 16px
}
.icoBlogDelUser I {
	BACKGROUND: url(http://img1.imgsmail.ru/r/blogs/ico_del_user.png) =
no-repeat left top; WIDTH: 16px
}
.icoBlogUserHB I {
	BACKGROUND: url(http://img2.imgsmail.ru/r/blogs/ico_birthday.png) =
no-repeat left top; WIDTH: 16px
}
.icoBlogUserPrivate I {
	BACKGROUND: url(http://img3.imgsmail.ru/r/blogs/ico_comment_show_2.png) =
no-repeat left top; WIDTH: 16px
}
.icoBlogUserFriends I {
	BACKGROUND: url(http://img0.imgsmail.ru/r/blogs/ico_friends.png) =
no-repeat left top; WIDTH: 16px
}
.icoBlogBlackListIn I {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/i_blackListIn.gif) =
no-repeat left top; WIDTH: 16px
}
.icoBlogBlackListOut I {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/i_blackListOut.gif) =
no-repeat left top; WIDTH: 16px
}
.icoBlogAddPost I {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/i_addPost.gif) no-repeat =
left top; WIDTH: 16px
}
.spr-mrim-13-del {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat; =
VERTICAL-ALIGN: middle; WIDTH: 15px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 2px; HEIGHT: 15px
}
.t95 {
	FONT-FAMILY: tahoma
}
.votBlog {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 4px; =
PADDING-TOP: 4px; WHITE-SPACE: nowrap
}
.votBlog A {
	BORDER-RIGHT: #508f10 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: =
#508f10 1px solid; PADDING-LEFT: 2px; FONT-WEIGHT: bold; FONT-SIZE: =
11px; PADDING-BOTTOM: 2px; BORDER-LEFT: #508f10 1px solid; CURSOR: =
pointer; COLOR: #ffffff; MARGIN-RIGHT: -1px; PADDING-TOP: 2px; =
BORDER-BOTTOM: #508f10 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: =
#14ce0f; TEXT-DECORATION: none
}
.votBlog A:hover {
	COLOR: #ffffff; BACKGROUND-COLOR: #508f10
}
.avatar120_photo {
	BORDER-RIGHT: #ffffff 4px solid; BACKGROUND-POSITION: center 50%; =
BORDER-TOP: #ffffff 4px solid; VERTICAL-ALIGN: middle; BORDER-LEFT: =
#ffffff 4px solid; WIDTH: 120px; BORDER-BOTTOM: #ffffff 4px solid; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 120px; BACKGROUND-COLOR: #fff2d8; =
TEXT-ALIGN: center
}
.avatar120_photo_best {
	BORDER-RIGHT: #f0dfbe 4px solid; BACKGROUND-POSITION: center 50%; =
BORDER-TOP: #f0dfbe 4px solid; VERTICAL-ALIGN: middle; BORDER-LEFT: =
#f0dfbe 4px solid; WIDTH: 120px; BORDER-BOTTOM: #f0dfbe 4px solid; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 120px; BACKGROUND-COLOR: #fff2d8; =
TEXT-ALIGN: center
}
.ava120 {
	BACKGROUND-POSITION: center 50%; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; WIDTH: 120px; CURSOR: pointer; LINE-HEIGHT: 0; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 120px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.ava120_best {
	BORDER-RIGHT: #f0dfbe 4px solid; BACKGROUND-POSITION: center 50%; =
BORDER-TOP: #f0dfbe 4px solid; DISPLAY: inline-block; FONT-SIZE: 0px; =
VERTICAL-ALIGN: middle; BORDER-LEFT: #f0dfbe 4px solid; WIDTH: 120px; =
CURSOR: pointer; LINE-HEIGHT: 0; BORDER-BOTTOM: #f0dfbe 4px solid; =
BACKGROUND-REPEAT: no-repeat; HEIGHT: 120px; BACKGROUND-COLOR: #efefef; =
TEXT-ALIGN: center
}
.commAvaRound {
	MARGIN-TOP: 0px; BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/r/my/community/avaFrame45.png); MARGIN-LEFT: =
-45px; POSITION: absolute; BACKGROUND-COLOR: transparent
}
.liderBlogTop {
	BORDER-TOP: #ffa400 2px solid; POSITION: relative; HEIGHT: 5px; =
BACKGROUND-COLOR: #fffbde
}
.liderBlogTop DIV {
	MARGIN-TOP: -2px; FONT-SIZE: 0px; BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/liberBlogUg.gif) no-repeat =
right top; FLOAT: right; WIDTH: 7px; LINE-HEIGHT: 0; POSITION: relative; =
HEIGHT: 7px
}
.liderBlogTop I {
	MARGIN-TOP: -2px; DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/liberBlogUg.gif) no-repeat =
left top; WIDTH: 7px; LINE-HEIGHT: 0; POSITION: absolute; HEIGHT: 7px
}
.liderBlogCenter {
	BORDER-RIGHT: #ffa400 2px solid; PADDING-RIGHT: 10px; PADDING-LEFT: =
10px; PADDING-BOTTOM: 10px; BORDER-LEFT: #ffa400 2px solid; PADDING-TOP: =
10px; POSITION: relative; BACKGROUND-COLOR: #fffbde
}
.liderBlogBot {
	BORDER-BOTTOM: #ffa400 2px solid; POSITION: relative; HEIGHT: 3px; =
BACKGROUND-COLOR: #fffbde
}
.liderBlogBot DIV {
	FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/liberBlogUg.gif) no-repeat =
right bottom; FLOAT: right; MARGIN-BOTTOM: -2px; WIDTH: 7px; =
LINE-HEIGHT: 0; POSITION: relative; HEIGHT: 7px
}
.liderBlogBot I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/liberBlogUg.gif) no-repeat =
left bottom; MARGIN-BOTTOM: -2px; WIDTH: 7px; LINE-HEIGHT: 0; POSITION: =
absolute; HEIGHT: 7px
}
.liderBlogCenter H1 {
	MARGIN-BOTTOM: 5px; COLOR: #3f5a6d
}
.liderBlogCenter I {
	MARGIN-RIGHT: 10px
}
.liderBlogCenter DIV {
	MARGIN: 0px 0px 10px
}
.liderBlogCenter SPAN {
	FONT-WEIGHT: bold; COLOR: #3f5a6d
}
.liderBlogCenter P {
	MARGIN: 10px 0px 0px; WHITE-SPACE: nowrap
}
.CompCode {
	MARGIN: 10px 0px 15px
}
.CompCode INPUT {
	BORDER-RIGHT: #7393b1 1px solid; BORDER-TOP: #7393b1 1px solid; =
FONT-SIZE: 95%; BACKGROUND: #e8e8e1; BORDER-LEFT: #7393b1 1px solid; =
WIDTH: 290px; BORDER-BOTTOM: #7393b1 1px solid; HEIGHT: 20px
}
DIV.del_contest {
	BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#000000 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
BORDER-LEFT: #000000 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: =
#000000 1px solid; WHITE-SPACE: nowrap; POSITION: absolute; =
BACKGROUND-COLOR: #f3f3f3
}
DIV.del_contest DIV {
	PADDING-BOTTOM: 5px
}
.links A {
	COLOR: #0857a6! important
}
A.links {
	COLOR: #0857a6! important
}
.writersBlockR {
	PADDING-LEFT: 10px; FONT-SIZE: 95%; FLOAT: right; COLOR: #656972! =
important; WHITE-SPACE: nowrap; BACKGROUND-COLOR: #ffffff
}
.writersBlockL {
	PADDING-RIGHT: 20px; FONT-SIZE: 95%; FLOAT: left; COLOR: #656972! =
important; WHITE-SPACE: nowrap; BACKGROUND-COLOR: #ffffff
}
.blogsLine {
	BORDER-TOP: #cccccc 1px solid; MARGIN-TOP: 7px; FONT-SIZE: 0px; WIDTH: =
100%; LINE-HEIGHT: 0; HEIGHT: 13px
}
.imageRateVoteAccess A I {
	FONT-SIZE: 0pt; BACKGROUND: no-repeat 0% 50%; VERTICAL-ALIGN: middle; =
WIDTH: 27px; CURSOR: pointer; LINE-HEIGHT: 0pt; HEIGHT: 29px
}
UNKNOWN {
	BACKGROUND-IMAGE: url(http://img0.imgsmail.ru/r/blogs/ico_friends.png); =
WIDTH: 13px; MARGIN-RIGHT: 10px; HEIGHT: 13px
}
.PostHeadDiv {
	OVERFLOW: hidden; WIDTH: 100%
}
.PostDateTime {
	PADDING-RIGHT: 3px; COLOR: #656972
}
.PostLink {
	PADDING-RIGHT: 5px; COLOR: #656972
}
.PostHeadBody {
	MARGIN-LEFT: 55px
}
.PosterAva {
	FLOAT: left; OVERFLOW: hidden
}
.PostTop {
	FONT-SIZE: 95%; MARGIN-LEFT: 5px; OVERFLOW: hidden; COLOR: #656972
}
.PostExtra {
	FONT-SIZE: 95%; MARGIN: 20px 0px 0px 55px; OVERFLOW: hidden; COLOR: =
#999
}
.PostExtra SPAN {
	FONT-SIZE: 95%; MARGIN-LEFT: 3px; COLOR: #999
}
.PostTopLine {
	BORDER-TOP: rgb(204,204,204) 1px solid; MARGIN-TOP: 7px; FONT-SIZE: =
0pt; LINE-HEIGHT: 0pt; HEIGHT: 1px
}
.PostSubject {
	MARGIN-TOP: 10px; COLOR: #0857a6; TEXT-ALIGN: left
}
.bcw {
	BACKGROUND-COLOR: white
}
.icoFavorites I {
	DISPLAY: inline-block; BACKGROUND-IMAGE: =
url(http://img1.imgsmail.ru/r/blogs/ico_heart.png); VERTICAL-ALIGN: =
middle
}
.icoFavorites {
	PADDING-RIGHT: 3px
}
.icoDeletable I {
	DISPLAY: inline-block; BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/r/blogs/ico_del.png); VERTICAL-ALIGN: middle
}
.icoDeletable {
	PADDING-RIGHT: 3px
}
.icoHot I {
	DISPLAY: inline-block; BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/r/blogs/ico_hot_subject.png); =
VERTICAL-ALIGN: middle
}
.icoHot {
	PADDING-RIGHT: 3px
}
.icoWritable I {
	DISPLAY: inline-block; BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/r/blogs/ico_pen.png); VERTICAL-ALIGN: middle
}
.icoWritable {
	PADDING-RIGHT: 3px
}
.icoReadAll I {
	BACKGROUND-IMAGE: url(http://img1.imgsmail.ru/r/blogs/ico_add_post.png)
}
.commentsSubscribe I {
	BACKGROUND-IMAGE: =
url(http://img2.imgsmail.ru/r/blogs/ico_subscribe_2.png)
}
.commentsUnSubscribe I {
	BACKGROUND-IMAGE: =
url(http://img3.imgsmail.ru/r/blogs/ico_unsubscribe.png)
}
.NextPostLinks {
	PADDING-RIGHT: 5px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.CommentsTop {
	BORDER-TOP: #656972 1px solid; MARGIN-TOP: 30px; OVERFLOW: hidden; =
PADDING-TOP: 10px
}
.CommentsRating {
	FLOAT: right; OVERFLOW: hidden; WIDTH: 220px
}
.RateLinks {
	MARGIN-TOP: 5px; FLOAT: left
}
.PostRating {
	FLOAT: right; MARGIN-LEFT: 5px
}
SPAN.PostRating {
	BORDER-RIGHT: #656972 1px solid; BORDER-TOP: #656972 1px solid; =
BORDER-LEFT: #656972 1px solid; BORDER-BOTTOM: #656972 1px solid; =
BACKGROUND-COLOR: #0a0
}
A.PostRating {
	FONT-WEIGHT: bold; MARGIN: 2px; COLOR: white; TEXT-DECORATION: none
}
.CommentsForm {
	BORDER-RIGHT: #656972 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#656972 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: =
#656972 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #656972 1px solid
}
.Comment {
	BORDER-TOP: #656972 1px solid; OVERFLOW: hidden
}
.mr0 {
	MARGIN-RIGHT: 0px! important
}
.shadowDiv {
	Z-INDEX: 200; FILTER: alpha(opacity=3D50); WIDTH: 100%; POSITION: =
absolute; HEIGHT: 1500px; BACKGROUND-COLOR: #333; opacity: 0.5
}
.popupDiv {
	BORDER-RIGHT: #ff8b33 2px solid; PADDING-RIGHT: 4px; BORDER-TOP: =
#ff8b33 2px solid; DISPLAY: none; PADDING-LEFT: 4px; Z-INDEX: 512; =
PADDING-BOTTOM: 4px; BORDER-LEFT: #ff8b33 2px solid; PADDING-TOP: 4px; =
BORDER-BOTTOM: #ff8b33 2px solid; POSITION: absolute; BACKGROUND-COLOR: =
#fff; border-radius: 10px; -moz-border-radius: 10px; =
-webkit-border-radius: 10px; -khtml-border-radius: 10px
}
.popupDivClose {
	RIGHT: 8px; CURSOR: pointer; POSITION: absolute; TOP: 6px
}
.callUser I.img {
	MARGIN-TOP: 2px
}
.webcam_on {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/webcam_on.gif) no-repeat =
center center
}
.webcam_off {
	BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/webcam_off.gif) no-repeat =
center center
}
.voip_on {
	BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/voice_on.gif) =
no-repeat center center
}
.voip_off {
	BACKGROUND: =
url(http://img3.imgsmail.ru/mail/ru/images/my/voice_off.gif) no-repeat =
center center
}
.mf_blockAll_2 {
	DISPLAY: block; LETTER-SPACING: 2px
}
.mf_blockAll_10 {
	DISPLAY: block
}
.mf_blockOne {
	DISPLAY: inline-block; PADDING-BOTTOM: 20px; WORD-SPACING: normal; =
VERTICAL-ALIGN: top; POSITION: relative; TEXT-ALIGN: center
}
.mf_blockOneMain {
	WIDTH: 92px; TEXT-ALIGN: left
}
.mf_blockOne2 {
	WIDTH: 48%; LETTER-SPACING: normal
}
.mf_blockOne3 {
	WIDTH: 31%; LETTER-SPACING: normal
}
.mf_blockOne4 {
	MARGIN: 0px 5px; WIDTH: 23%; LETTER-SPACING: normal
}
.mf_lh18 {
	LINE-HEIGHT: 18px
}
.rb_body {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#d9d9d9 1px solid; DISPLAY: inline-block; PADDING-LEFT: 10px; FONT-SIZE: =
12px; MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 10px; OVERFLOW: hidden; =
BORDER-LEFT: #d9d9d9 1px solid; PADDING-TOP: 7px; BORDER-BOTTOM: #d9d9d9 =
1px solid
}
.rb_h4 {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #0857a6; BORDER-BOTTOM: =
#0857a6 1px solid; TEXT-DECORATION: none
}
.rb_body H4 {
	MARGIN: 0px
}
A.rb_h4:hover {
	BORDER-BOTTOM: #0857a6 0px solid
}
.rb_h5 {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; FONT-WEIGHT: =
bold; FONT-SIZE: 13px; PADDING-BOTTOM: 0px; COLOR: #fd7102; PADDING-TOP: =
7px; TEXT-DECORATION: none
}
.rb_h6 {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; FONT-WEIGHT: =
bold; FONT-SIZE: 13px; PADDING-BOTTOM: 3px; COLOR: #0857a6; PADDING-TOP: =
0px; TEXT-DECORATION: none
}
.rb_content {
	DISPLAY: inline-block; MARGIN: 7px 0px 0px; OVERFLOW: hidden
}
.rb_img {
	BACKGROUND-POSITION: left top; FLOAT: left; MARGIN: 0px 5px 0px 0px; =
BACKGROUND-REPEAT: no-repeat
}
.rb_flash {
	FLOAT: left; MARGIN: 0px 5px 0px 0px
}
.rb_nobr {
	WHITE-SPACE: nowrap
}
.rb_text {
	DISPLAY: inline-block; OVERFLOW: hidden
}
.rb_textSmall {
	DISPLAY: inline-block; FONT-SIZE: 11px; OVERFLOW: hidden
}
.rb_next {
	MARGIN-TOP: 5px; FONT-WEIGHT: bold; FONT-SIZE: 11px; FLOAT: right
}
.rb_more {
	MARGIN-TOP: 5px; DISPLAY: block; FONT-WEIGHT: bold; FONT-SIZE: 11px
}
.rb_imgUl {
	BACKGROUND-POSITION: left top; DISPLAY: block; PADDING-LEFT: 55px; =
FONT-WEIGHT: bold; MARGIN: 0px; WIDTH: 100%; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 50px
}
.rb_ul {
	PADDING-LEFT: 2px; MARGIN: 10px 0px 0px 13px
}
.rb_li {
	COLOR: #999999
}
.rb_mb5 {
	MARGIN-BOTTOM: 5px
}
39 .regFormLeftMenuTop {
	BORDER-RIGHT: #ffffff 1px solid; FONT-SIZE: 0px; OVERFLOW: hidden; =
BORDER-LEFT: #ffffff 1px solid; LINE-HEIGHT: 1px; HEIGHT: 1px; =
BACKGROUND-COLOR: #00468c
}
.regFormLeftMenuCenter {
	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; PADDING-BOTTOM: 4px; COLOR: =
#ffffff; PADDING-TOP: 9px; BACKGROUND-COLOR: #00468c
}
.regFormLeftMenuCenter A {
	COLOR: #ffffff
}
.regFormLeftMenuCenter TABLE {
	MARGIN-BOTTOM: 4px
}
.regFormLeftMenuCenter DIV {
	MARGIN-BOTTOM: 5px
}
.regFormLeftMenuCenter .inp {
	PADDING-TOP: 3px; HEIGHT: 22px
}
.regFormLeftMenuCenter SELECT {
	MARGIN-TOP: 2px
}
I.imgUID {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img.mail.ru/r/foto2/ico_down.gif) no-repeat left top; =
MARGIN-LEFT: 4px; VERTICAL-ALIGN: middle; WIDTH: 13px; LINE-HEIGHT: 0; =
HEIGHT: 13px
}
.confs I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) no-repeat =
0px -368px; VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; =
LINE-HEIGHT: 0; MARGIN-RIGHT: 3px; HEIGHT: 16px
}
.commsIn I {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/my/ico_commIn.gif); =
WIDTH: 16px
}
.commsOut I {
	BACKGROUND: url(http://img.mail.ru/r/blogs/icon_quit_community.gif); =
WIDTH: 16px
}
.comments I {
	BACKGROUND-IMAGE: =
url(http://img.mail.ru/mail/ru/images/my/ico_comment.gif); WIDTH: 16px
}
.searchFamily {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px 0px
}
.searchCommon {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -16px
}
.searchClass {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -32px
}
.searchInst {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -48px
}
.searchSosedi {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -64px
}
.searchColleagues {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -80px
}
.searchMilitary {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -96px
}
.searchInter {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -112px
}
.searchCollege {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -128px
}
.searchEmail {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-search.png) =
no-repeat 0px -144px
}
.icoInvCom {
	BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/ico_comm_inv_13.gif) no-repeat =
left center
}
.icoSpam {
	BACKGROUND: url(http://img.mail.ru/mail/ru/img/zalpba_spam.gif) =
no-repeat left top
}
.icoBlack {
	BACKGROUND: url(http://img.mail.ru/mail/ru/img/black_ist.gif) no-repeat =
left top
}
.icoCreater {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -160px
}
.icoWacher {
	BACKGROUND: url(http://img.mail.ru/r/my/ico_smotritel.gif) no-repeat =
left top
}
.icoModer {
	BACKGROUND: =
url(http://img2.imgsmail.ru/mail/ru/images/my/icons-people.png) =
no-repeat 0px -144px
}
.icoGetMobile {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/icons-my.png) =
no-repeat 0px -96px
}
.icoPass {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/my/pass.gif) =
no-repeat left top
}
.icoAppMy {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px 0px
}
.icoAppCat {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -112px
}
.icoAppGr {
	BACKGROUND: url(http://img.mail.ru/r/blogs/menu_grad.gif) no-repeat =
left top; WIDTH: 1px! important; HEIGHT: 24px! important
}
.icoAppCreate {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -48px
}
.icoAddApp I {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -32px; WIDTH: 16px! important
}
.link A.icoAddApp:hover I {
	BACKGROUND-POSITION: 0px -32px
}
.icoMoveApp I {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/app/play_app.gif) =
no-repeat left top; WIDTH: 16px! important
}
.icoAppIntelect {
	BACKGROUND-IMAGE: url(http://games.mail.ru/img/sw/hit.gif); WIDTH: =
33px! important; HEIGHT: 15px! important
}
.appLine {
	BORDER-RIGHT: #ffffff 1px solid; FONT-SIZE: 0pt; BORDER-LEFT: #ffffff =
1px solid; LINE-HEIGHT: 0pt; POSITION: relative; HEIGHT: 1px; =
BACKGROUND-COLOR: #e5eeff
}
.appLine2 {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 5px; =
PADDING-TOP: 7px; BACKGROUND-COLOR: #e5eeff
}
.curr {
	PADDING-RIGHT: 20px; BORDER-TOP: #bfd5fc 1px solid; PADDING-LEFT: 20px; =
FONT-WEIGHT: bold; PADDING-BOTTOM: 7px; PADDING-TOP: 3px; =
BACKGROUND-COLOR: #e5eeff
}
.appMy {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -96px
}
.appCreate {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -80px
}
.appFlash {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -128px
}
.appIns {
	BACKGROUND: =
url(http://img0.imgsmail.ru/mail/ru/images/my/icons-app.png) no-repeat =
0px -64px
}
.hr8 {
	BORDER-TOP: #d9d9d9 1px solid; FONT-SIZE: 1px; MARGIN: 8px 0px
}
.newGBcomm .one {
	BACKGROUND: url(http://img.mail.ru/mail/ru/img/verx.gif) #ffffff =
no-repeat 50px 115%; HEIGHT: 57px
}
.newGBcomm .top {
	BACKGROUND: url(http://img.mail.ru/mail/ru/img/left_ugol_v.gif) #bee4ff =
no-repeat left top; HEIGHT: 13px; TEXT-ALIGN: right
}
.newGBcomm .top I {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img.mail.ru/mail/ru/img/prav_ugol_v.gif) no-repeat right top; =
WIDTH: 14px; CURSOR: pointer; HEIGHT: 13px
}
.newGBcomm .cen {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #bee4ff; =
LINE-HEIGHT: 21px
}
.newGBcomm .cen INPUT[type=3D'submit'] {
	MARGIN-TOP: -3px
}
.newGBcomm TEXTAREA {
	BORDER-LEFT-COLOR: #bee4ff; BORDER-BOTTOM-COLOR: #bee4ff; =
BORDER-TOP-COLOR: #bee4ff; BORDER-RIGHT-COLOR: #bee4ff
}
.newGBcomm .cen2 {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #bee4ff; =
PADDING-BOTTOM: 6px; PADDING-TOP: 5px
}
.newGBcomm .bot {
	BACKGROUND: url(http://img.mail.ru/mail/ru/img/left_ugol_n.gif) #bee4ff =
no-repeat left bottom; MARGIN-BOTTOM: 10px; HEIGHT: 9px
}
.newGBcomm .bot DIV {
	BACKGROUND: url(http://img.mail.ru/mail/ru/img/prav_ugol_n.gif) =
no-repeat right bottom; HEIGHT: 9px
}
.bgw {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 10px; OVERFLOW: hidden; PADDING-TOP: 10px; =
BORDER-BOTTOM: #f0f0f0 1px solid; BACKGROUND-COLOR: #ffffff
}
.bgg {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; MARGIN-BOTTOM: 10px; =
PADDING-BOTTOM: 10px; OVERFLOW: hidden; PADDING-TOP: 10px; =
BORDER-BOTTOM: #f0f0f0 1px solid; BACKGROUND-COLOR: #f0f0f0
}
.anketa_form {
	WIDTH: 650px
}
.anketa_form TD {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 0px
}
.anketa_form TH {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: =
75%; PADDING-BOTTOM: 10px; VERTICAL-ALIGN: top; WIDTH: 170px; COLOR: =
#999999; PADDING-TOP: 0px; TEXT-ALIGN: left
}
.tupik {
	BORDER-RIGHT: #add8e6 1px dashed; PADDING-RIGHT: 10px; BORDER-TOP: =
#add8e6 1px dashed; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
BORDER-LEFT: #add8e6 1px dashed; PADDING-TOP: 4px; BORDER-BOTTOM: =
#add8e6 1px dashed; BACKGROUND-COLOR: #e0f0f6
}
.tupik H1 {
	PADDING-RIGHT: 0pt; PADDING-LEFT: 35px; FONT-SIZE: 135%; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/info.gif) no-repeat left top; =
PADDING-BOTTOM: 0pt; MARGIN-LEFT: -10px; COLOR: #0857a6; PADDING-TOP: =
0pt; FONT-FAMILY: Arial,Sans-Serif
}
H2 A.none_o {
	COLOR: #fd7500; BORDER-BOTTOM: #fd7500 1px solid; TEXT-DECORATION: none
}
H2 A.none_o:hover {
	BORDER-BOTTOM: 0px; TEXT-DECORATION: none
}
.not_found H1 {
	FONT-SIZE: 135%; MARGIN: 0px; COLOR: #999999; FONT-FAMILY: =
Arial,Sans-Serif
}
.not_found DIV {
	MARGIN-TOP: 6px; COLOR: #e15a00
}
.notFound H1 {
	FONT-SIZE: 135%; MARGIN: 0px; COLOR: #999999; FONT-FAMILY: =
Arial,Sans-Serif
}
.notFound DIV {
	MARGIN: 6px 0px 15px; COLOR: #e15a00
}
.avatar_photo_45 {
	DISPLAY: inline-block; BACKGROUND: =
url(http://img.mail.ru/mail/ru/images/my/avatar_photo_45_45.png) =
no-repeat center center; VERTICAL-ALIGN: middle; WIDTH: 59px; HEIGHT: =
59px; TEXT-ALIGN: center
}
.avatar_photo_45 I {
	DISPLAY: inline-block; MARGIN: 6px; VERTICAL-ALIGN: middle; WIDTH: =
45px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 45px; TEXT-ALIGN: center
}
.v_o {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 4px; =
PADDING-TOP: 4px; WHITE-SPACE: nowrap
}
.v_o A {
	BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: =
#cccccc 1px solid; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: =
11px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; CURSOR: =
pointer; COLOR: #999999; MARGIN-RIGHT: -1px; PADDING-TOP: 4px; =
BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: =
#ffffff; TEXT-DECORATION: none
}
.v_o A:hover {
	COLOR: #ffffff; BACKGROUND-COLOR: #14ce0f
}
.v_o A.ten {
	CURSOR: pointer; COLOR: #ffffff; BACKGROUND-COLOR: #fe0000
}
.v_o A.ten:hover {
	COLOR: #ffffff; BACKGROUND-COLOR: #fe0000
}
.v_o A.ten10 {
	BACKGROUND-COLOR: #ffff00
}
.v_o A.hh {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: =
0px; BACKGROUND-COLOR: #efefef
}
.v_o A.hh:hover {
	BACKGROUND-COLOR: #efefef
}
.v_o_big {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 4px; =
PADDING-TOP: 4px; WHITE-SPACE: nowrap
}
.v_o_big A {
	BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: =
#cccccc 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: =
18px; PADDING-BOTTOM: 8px; BORDER-LEFT: #cccccc 1px solid; CURSOR: =
pointer; COLOR: #999999; MARGIN-RIGHT: -1px; PADDING-TOP: 8px; =
BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: =
#ffffff; TEXT-DECORATION: none
}
.v_o_big A:hover {
	COLOR: #ffffff; BACKGROUND-COLOR: #14ce0f
}
.v_o_big A.ten {
	CURSOR: pointer; COLOR: #ffffff; BACKGROUND-COLOR: #fe0000
}
.v_o_big A.ten:hover {
	COLOR: #ffffff; BACKGROUND-COLOR: #fe0000
}
.v_o_big A.ten10 {
	BACKGROUND-COLOR: #ffff00
}
.v_o_big A.hh {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: =
0px; BACKGROUND-COLOR: #efefef
}
.v_o_big A.hh:hover {
	BACKGROUND-COLOR: #efefef
}
.mark1 {
	FONT-WEIGHT: bolder; FONT-SIZE: 130%; COLOR: #09c43f
}
.mark2 {
	FONT-WEIGHT: bolder; FONT-SIZE: 130%; COLOR: #000000
}
A.skip {
	COLOR: #666666; TEXT-DECORATION: underline
}
A.skip:hover {
	COLOR: #666666; TEXT-DECORATION: none
}
A.icoSub {
	COLOR: #fd7500
}
.icoSub I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/img/subs.gif) no-repeat left top; =
VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 4px; HEIGHT: 16px
}
A.icoUnSub {
	COLOR: #fd7500
}
.icoUnSub I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img.mail.ru/mail/ru/img/unsubs.gif) no-repeat left top; =
VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 4px; HEIGHT: 16px
}
.mens {
	OVERFLOW: hidden; WIDTH: 100%
}
.mens2 {
	OVERFLOW: hidden; WIDTH: 100%
}
.mens .person {
	FLOAT: left; WIDTH: 24%; TEXT-ALIGN: center
}
.mens2 .person {
	FLOAT: left; WIDTH: 19%; TEXT-ALIGN: center
}
.mens .person_swf {
	FLOAT: left; WIDTH: 32%; HEIGHT: 245px; TEXT-ALIGN: center
}
.mens2 .person_swf {
	FLOAT: left; WIDTH: 24%; HEIGHT: 245px; TEXT-ALIGN: center
}
.com_person {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FLOAT: left; PADDING-BOTTOM: =
3px; MARGIN-LEFT: 0px; WIDTH: 65px; PADDING-TOP: 3px; HEIGHT: 110px
}
.com_person DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 1px; MARGIN: 3px =
0px 0px; WIDTH: 90px; PADDING-TOP: 0px; BACKGROUND-COLOR: #1ec926; =
TEXT-ALIGN: center
}
.com_person DIV SPAN {
	FONT-WEIGHT: normal; FONT-SIZE: 85%; COLOR: white; FONT-FAMILY: Tahoma, =
Arial, Helvetica
}
.com_person DIV A {
	PADDING-RIGHT: 24px; PADDING-LEFT: 24px; FONT-WEIGHT: normal; =
FONT-SIZE: 85%; PADDING-BOTTOM: 0px; COLOR: white; PADDING-TOP: 0px; =
FONT-FAMILY: Tahoma, Arial, Helvetica; TEXT-DECORATION: none
}
.com_person DIV A:hover {
	COLOR: white
}
.com_person P {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 95%; PADDING-BOTTOM: =
0px; PADDING-TOP: 5px
}
.invite {
	OVERFLOW: hidden; WIDTH: 100%
}
.invite .person {
	FLOAT: left; WIDTH: 49%
}
.invite .person TABLE TD {
	PADDING-RIGHT: 12px; PADDING-LEFT: 0px; PADDING-BOTTOM: 30px; =
PADDING-TOP: 0px
}
.search_form {
	MARGIN: 15px 0px 20px; WIDTH: 650px
}
TABLE.search_form TD {
	PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; =
VERTICAL-ALIGN: middle! important; PADDING-TOP: 5px
}
.search {
	WIDTH: 80%
}
.search TD {
	PADDING-RIGHT: 40px; PADDING-LEFT: 0px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 0px; WHITE-SPACE: nowrap
}
B.red {
	FONT-SIZE: 140%; COLOR: #f25100
}
B.white {
	FONT-SIZE: 140%; COLOR: #fff
}
.starr {
	DISPLAY: block; MARGIN: 2px 3px 2px 1px; WIDTH: 16px; HEIGHT: 15px; =
TEXT-ALIGN: right
}
DIV.zak {
	FLOAT: left; MARGIN-LEFT: -11px
}
DIV.zak SPAN.txt {
	PADDING-RIGHT: 2px; BORDER-TOP: #bbbdc6 1px solid; PADDING-LEFT: 10px; =
FONT-SIZE: 95%; Z-INDEX: 1; FLOAT: left; PADDING-BOTTOM: 3px; MARGIN: =
0px 0px -2px; BORDER-LEFT: #bbbdc6 1px solid; PADDING-TOP: 1px; =
FONT-FAMILY: tahoma; POSITION: relative; BACKGROUND-COLOR: #ffffff; =
TEXT-ALIGN: center
}
DIV.zak SPAN.spancount {
	COLOR: #0857a6
}
DIV.zak SPAN.ugol {
	BACKGROUND-POSITION: right 50%; Z-INDEX: 3; FLOAT: left; =
BACKGROUND-IMAGE: url(http://img.mail.ru/mail/ru/images/my/ug1.gif); =
MARGIN: 0px; WIDTH: 19px; BACKGROUND-REPEAT: no-repeat; POSITION: =
relative; HEIGHT: 19px
}
DIV.zak SPAN.txt A {
	COLOR: #0857a6; TEXT-DECORATION: underline
}
DIV.zak_act {
	FLOAT: left; MARGIN-LEFT: -11px
}
DIV.zak_act SPAN.txt {
	PADDING-RIGHT: 2px; BORDER-TOP: #bbbdc6 1px solid; PADDING-LEFT: 10px; =
FONT-SIZE: 95%; Z-INDEX: 5; FLOAT: left; PADDING-BOTTOM: 4px; MARGIN: =
0px 0px -2px; BORDER-LEFT: #bbbdc6 1px solid; PADDING-TOP: 1px; =
FONT-FAMILY: tahoma; POSITION: relative; BACKGROUND-COLOR: #e6e8ed; =
TEXT-ALIGN: center
}
DIV.zak_act SPAN.spancount {
	DISPLAY: none; COLOR: #0857a6
}
DIV.zak_act SPAN.ugol {
	BACKGROUND-POSITION: right 50%; Z-INDEX: 5; FLOAT: left; =
BACKGROUND-IMAGE: url(http://img.mail.ru/mail/ru/images/my/ug2.gif); =
MARGIN: 0px; WIDTH: 19px; BACKGROUND-REPEAT: no-repeat; POSITION: =
relative; HEIGHT: 19px
}
DIV.zak_act SPAN.txt A {
	FONT-WEIGHT: bold; COLOR: #393b40; TEXT-DECORATION: none
}
DIV.zak_act SPAN.txt A:hover {
	COLOR: #393b40
}
.zak_all {
	PADDING-RIGHT: 0px; PADDING-LEFT: 15px; PADDING-BOTTOM: 0px; MARGIN: =
0px 0px 10px 1px; PADDING-TOP: 1px; BORDER-BOTTOM: #dbdadd 1px solid; =
HEIGHT: 19px
}
.dropDown {
	Z-INDEX: 99; POSITION: relative
}
.dropDown DIV {
	BORDER-TOP: #9ba3a9 1px solid; Z-INDEX: 100; OVERFLOW: auto; WIDTH: =
100%; MAX-HEIGHT: 232px; BORDER-BOTTOM: #9ba3a9 1px solid; POSITION: =
absolute; TOP: 19px; ; HEIGHT: expression(this.scrollHeight > 232? =
"232px" : "auto" )
}
DIV.dropDown UL {
	BORDER-RIGHT: #9ba3a9 1px solid; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; =
PADDING-BOTTOM: 3px; MARGIN: -4px 0px 0px; BORDER-LEFT: #9ba3a9 1px =
solid; PADDING-TOP: 3px; BACKGROUND-COLOR: #ffffff
}
DIV.dropDown LI {
	PADDING-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-BOTTOM: 3px; MARGIN: =
0px; CURSOR: pointer; COLOR: #0857a6; PADDING-TOP: 3px; FONT-FAMILY: =
Tahoma; LIST-STYLE-TYPE: none
}
DIV.dropDown LI A {
	TEXT-DECORATION: none
}
DIV.dropDown LI.selected {
	BACKGROUND-COLOR: #0857a6
}
DIV.dropDown LI.selected A {
	COLOR: #fff! important
}
DIV.dropDown .pBord {
	BORDER-RIGHT: #9ba3a9 1px solid; PADDING-BOTTOM: 2px; BORDER-LEFT: =
#9ba3a9 1px solid; BACKGROUND-COLOR: #ffffff
}
.best {
	FONT-WEIGHT: bold; FONT-SIZE: 95%; COLOR: green; FONT-FAMILY: Tahoma, =
Arial
}
.dobest {
	FONT-SIZE: 95%; CURSOR: pointer; COLOR: #909090; BORDER-BOTTOM: #909090 =
1px dashed; FONT-FAMILY: Tahoma, Arial
}
.dobest_over {
	FONT-SIZE: 95%; CURSOR: pointer; COLOR: #909090; BORDER-BOTTOM: #909090 =
1px solid; FONT-FAMILY: Tahoma, Arial
}
.groups {
	MARGIN-BOTTOM: 18px
}
.groups A {
	MARGIN-RIGHT: 1px; BORDER-BOTTOM: blue 1px dashed; TEXT-DECORATION: =
none
}
.groups B {
	MARGIN-RIGHT: 1px
}
.groups A:hover {
	BORDER-BOTTOM: #f26d00 1px solid
}
.g_mr14 A {
	MARGIN-RIGHT: 14px
}
.g_mr14 B {
	MARGIN-RIGHT: 14px
}
.visP {
	FLOAT: left; WIDTH: 90px
}
.gift_comment {
	FONT-WEIGHT: bold; FONT-SIZE: 120%; COLOR: #666; FONT-STYLE: italic
}
.pad_p P {
	MARGIN-BOTTOM: 15px
}
#linkA A {
	COLOR: #fd7500; BORDER-BOTTOM: #fd7500 1px dashed; TEXT-DECORATION: =
none
}
#linkB A {
	COLOR: #fd7500; BORDER-BOTTOM: #fd7500 1px dashed; TEXT-DECORATION: =
none
}
#linkA A:hover {
	COLOR: #fd7500; BORDER-BOTTOM: #fd7500 1px dashed; TEXT-DECORATION: =
none
}
#linkB A:hover {
	COLOR: #fd7500; BORDER-BOTTOM: #fd7500 1px dashed; TEXT-DECORATION: =
none
}
TABLE.search_res TR.gr_top TD.sort {
	PADDING-BOTTOM: 5px; COLOR: #000000; BORDER-BOTTOM: #acafc0 4px solid
}
TABLE.search_res TR.gr_top TD {
	PADDING-RIGHT: 7px; PADDING-LEFT: 10px; FONT-SIZE: 70%; PADDING-BOTTOM: =
9px; COLOR: #3a3b40; PADDING-TOP: 6px; FONT-FAMILY: tahoma; =
BACKGROUND-COLOR: #e7e8ed
}
TABLE.search_res TD {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 15px
}
TABLE.search_res TR.check TD {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 10px
}
.bold_line {
	MARGIN-TOP: 12px; HEIGHT: 3px; BACKGROUND-COLOR: #e6e8ed
}
TABLE.search_res TR.gr_top TD.sort A {
	COLOR: #000000
}
TABLE.tableSort {
	MARGIN-BOTTOM: 10px; WIDTH: 100%; BORDER-BOTTOM: #e7e8ed 4px solid
}
TABLE.tableSort TD {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 5px
}
TABLE.tableSort TR.topSort TD {
	PADDING-RIGHT: 7px; PADDING-LEFT: 10px; FONT-SIZE: 70%; PADDING-BOTTOM: =
9px; COLOR: #3a3b40; PADDING-TOP: 6px; FONT-FAMILY: tahoma; =
BACKGROUND-COLOR: #e7e8ed
}
TABLE.tableSort TR.topSort TD.sort {
	PADDING-BOTTOM: 5px; BORDER-BOTTOM: #acafc0 4px solid
}
.str {
	BACKGROUND: url(http://img.mail.ru/r/blogs/strelka2.gif) no-repeat =
right 50%; FLOAT: left; MARGIN: 4px 5px 0px 0px; HEIGHT: 15px; =
TEXT-ALIGN: right
}
.content_block {
	OVERFLOW: visible! important; WIDTH: auto! important
}
#grid_hor1 {
	BORDER-RIGHT: red 1px solid; BORDER-TOP: red 1px solid; DISPLAY: none; =
BACKGROUND: url(http://img.mail.ru/r/foto2/point_red.gif) repeat-x 0px =
38%; BORDER-LEFT: red 1px solid; BORDER-BOTTOM: red 1px solid; POSITION: =
absolute
}
#grid_hor2 {
	BACKGROUND: url(http://img.mail.ru/r/foto2/point_red.gif) repeat-x 0px =
62%
}
#grid_vert1 {
	BACKGROUND: url(http://img.mail.ru/r/foto2/point_red.gif) repeat-y 38% =
0px
}
#grid_vert2 {
	BACKGROUND: url(http://img.mail.ru/r/foto2/point_red.gif) repeat-y 62% =
0px
}
#cropper {
	DISPLAY: none; Z-INDEX: 100; POSITION: absolute
}
#cropperTbl {
	FILTER: Alpha(Opacity=3D80); -moz-user-select: none; -moz-opacity: .80; =
opacity: .80
}
#cropperTbl BR {
	LINE-HEIGHT: 1px
}
#cropperTbl #top_left {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat right bottom; WIDTH: 8px; CURSOR: nw-resize; HEIGHT: 8px
}
#cropperTbl #top {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat center bottom; CURSOR: n-resize; HEIGHT: 8px
}
#cropperTbl #top_right {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat left bottom; WIDTH: 8px; CURSOR: sw-resize; HEIGHT: 8px
}
#cropperTbl #left {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat right center; WIDTH: 8px; CURSOR: w-resize
}
#cropperTbl #mdlblck {
=09
}
#cropperTbl #right {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat left center; WIDTH: 8px; CURSOR: w-resize
}
#cropperTbl #bottom_left {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat right top; WIDTH: 8px; CURSOR: sw-resize; HEIGHT: 8px
}
#cropperTbl #bottom {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat center top; CURSOR: s-resize; HEIGHT: 8px
}
#cropperTbl #bottom_right {
	BACKGROUND: url(http://img.mail.ru/mail/ru/images/crop.gif) #ffffff =
no-repeat left top; WIDTH: 8px; CURSOR: nw-resize; HEIGHT: 8px
}
.tbl_selBorder {
	FILTER: Alpha(Opacity=3D80); -moz-user-select: none; -moz-opacity: .80; =
opacity: .80
}
#pic_container {
	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; Z-INDEX: 1000; PADDING-BOTTOM: =
7px; PADDING-TOP: 17px; POSITION: absolute
}
.pic_containerRelative {
	POSITION: relative; TEXT-ALIGN: left
}
A.additional {
	COLOR: #797a80; TEXT-DECORATION: underline
}
A.additional:hover {
	COLOR: #f26d00; TEXT-DECORATION: none
}
.block_selFriendChName {
	BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 15px; BORDER-TOP: black =
1px solid; PADDING-LEFT: 15px; FONT-SIZE: 11px; Z-INDEX: 100000; =
BACKGROUND: #f3f3f3; PADDING-BOTTOM: 15px; MARGIN: 100px 27% auto 0px; =
BORDER-LEFT: black 1px solid; WIDTH: 240px; PADDING-TOP: 15px; =
BORDER-BOTTOM: black 1px solid; POSITION: absolute; HEIGHT: 320px
}
.block_selFriendChName H1 {
	FONT-SIZE: 110%; MARGIN-BOTTOM: 5px
}
.block_selFriendChName P {
	MARGIN: 0px
}
.block_selFriendChName UL {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none
}
.block_selFriendChName UL LI {
	MARGIN-BOTTOM: 3px
}
.block_selFriendChName UL .aslink {
	COLOR: #0857a6; TEXT-DECORATION: underline
}
.block_selFriendChName UL .aslink:hover {
	COLOR: #0857a6; TEXT-DECORATION: none
}
.block_selFriendChName #inpNameFriend {
	WIDTH: 100%
}
.block_content {
	BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 15px; BORDER-TOP: =
#cccccc 1px solid; PADDING-LEFT: 15px; BACKGROUND: white; MARGIN-BOTTOM: =
5px; PADDING-BOTTOM: 10px; OVERFLOW: auto; BORDER-LEFT: #cccccc 1px =
solid; PADDING-TOP: 10px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: =
190px
}
.Photo4 {
	BORDER-RIGHT: #efefef 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: =
#efefef 1px solid; PADDING-LEFT: 0px; BACKGROUND: #efefef; =
PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: #efefef 1px solid; =
PADDING-TOP: 8px; BORDER-BOTTOM: #f36c00 1px solid; TEXT-ALIGN: left
}
HTML .Photo4 .previos_image {
	LEFT: -27px
}
#image_Rate {
	PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 0px; COLOR: =
#999999; PADDING-TOP: 0px
}
.imageRateVoteAccess {
	BACKGROUND: url(http://img.mail.ru/r/foto2/vote_sprite.gif) no-repeat =
2px center; WIDTH: 190px; POSITION: relative
}
.imageRateVoteAccess2 {
	FONT-SIZE: 120%; WIDTH: 190px; COLOR: #fd7500; POSITION: relative
}
#image_Rate_Vote_Access A I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: no-repeat; =
VERTICAL-ALIGN: middle; WIDTH: 27px; CURSOR: pointer; LINE-HEIGHT: 0; =
HEIGHT: 29px
}
#image_Rate_Vote_Access A:hover I {
	Z-INDEX: 3; LEFT: -2px; WIDTH: 36px; MARGIN-RIGHT: -9px; POSITION: =
relative
}
#image_Rate_Vote_Access A.v1:hover I {
	BACKGROUND: none transparent scroll repeat 0% 0%; FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.mail=
.ru/r/foto2/v1-light.png', sizingMethod=3D'scale')
}
#image_Rate_Vote_Access A.v2:hover I {
	BACKGROUND: none transparent scroll repeat 0% 0%; FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.mail=
.ru/r/foto2/v2-light.png', sizingMethod=3D'scale')
}
#image_Rate_Vote_Access A.v3:hover I {
	BACKGROUND: none transparent scroll repeat 0% 0%; FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.mail=
.ru/r/foto2/v3-light.png', sizingMethod=3D'scale')
}
#image_Rate_Vote_Access A.v4:hover I {
	BACKGROUND: none transparent scroll repeat 0% 0%; FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.mail=
.ru/r/foto2/v4-light.png', sizingMethod=3D'scale')
}
#image_Rate_Vote_Access A.v5:hover I {
	BACKGROUND: none transparent scroll repeat 0% 0%; FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.mail=
.ru/r/foto2/v5-light.png', sizingMethod=3D'scale')
}
#image_Rate_Vote_Access I.mega {
	DISPLAY: inline-block; FONT-SIZE: 0px; Z-INDEX: 4; BACKGROUND: none =
transparent scroll repeat 0% 0%; FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.mail=
.ru/r/foto2/vote_mega_.png', sizingMethod=3D'scale'); LEFT: -7px; =
VERTICAL-ALIGN: middle; WIDTH: 54px; CURSOR: pointer; LINE-HEIGHT: 0; =
POSITION: relative; HEIGHT: 53px
}
#image_Rate_Vote_Access A:hover I.mega {
	LEFT: -7px; WIDTH: 54px; HEIGHT: 53px
}
#image_Rate_Vote_Access I.paid {
	BACKGROUND: none transparent scroll repeat 0% 0%; FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.mail=
.ru/r/foto2/vote_mega_active.png', sizingMethod=3D'scale')
}
.selectInvis {
	CURSOR: pointer; POSITION: absolute
}
.selectVis {
	CURSOR: pointer; POSITION: absolute
}
.selectTxt {
	BORDER-RIGHT: #e6e6e6 3px solid; BORDER-TOP: #e6e6e6 3px solid; =
FONT-SIZE: 95%; BORDER-LEFT: #e6e6e6 3px solid; BORDER-BOTTOM: #e6e6e6 =
3px solid; BACKGROUND-COLOR: #e6e6e6; TEXT-ALIGN: center
}
.selectVis .selectPic {
	BORDER-RIGHT: #e6e6e6 3px solid; BORDER-TOP: #e6e6e6 3px solid; =
BORDER-LEFT: #e6e6e6 3px solid; BORDER-BOTTOM: #e6e6e6 3px solid
}
.selectInvis .selectTxt {
	DISPLAY: none
}
.selectVis .selectTxt {
	DISPLAY: block
}
#voting_block {
	MARGIN-RIGHT: 67px; PADDING-TOP: 1px
}
.photo_lists2 {
	MARGIN-BOTTOM: 10px; WIDTH: 100%
}
HTML:first-child .photo_lists2 {
	MARGIN-BOTTOM: 5px; WIDTH: 100%
}
.photo_lists2 .hidden {
	BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; =
OVERFLOW: hidden; BORDER-LEFT: #ffffff 1px solid; WIDTH: 100%; =
BORDER-BOTTOM: #ffffff 1px solid; HEIGHT: 134px
}
.photo_lists2 TH {
	BACKGROUND: #ffffff; WIDTH: 23px! important
}
.photo_lists2 TH DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #efefef; =
PADDING-BOTTOM: 0px; WIDTH: 20px; COLOR: #ccc; PADDING-TOP: 0px; HEIGHT: =
120px; TEXT-ALIGN: center
}
.photo_lists2 TH DIV.ll {
	BORDER-RIGHT: #fff 3px solid; BORDER-TOP: #ffffff 1px solid; =
BORDER-BOTTOM: #ffffff 1px solid
}
.photo_lists2 TH DIV.rr {
	BORDER-TOP: #ffffff 1px solid; BORDER-LEFT: #fff 3px solid; =
BORDER-BOTTOM: #ffffff 1px solid
}
.photo_lists2 TH DIV.ll A {
	DISPLAY: block; BACKGROUND: =
url(http://img.mail.ru/r/foto2/previos_image_off_s.png) #efefef =
no-repeat center center; WIDTH: 20px; HEIGHT: 120px; bordeer-right: 3px =
solid #FFFFFF
}
.photo_lists2 TH DIV.ll A:hover {
	BACKGROUND: url(http://img.mail.ru/r/foto2/previos_image_on_s.png) =
#dfdfdf no-repeat center center
}
.photo_lists2 TH DIV.rr A {
	DISPLAY: block; BACKGROUND: =
url(http://img.mail.ru/r/foto2/next_image_off_s.png) #efefef no-repeat =
center center; WIDTH: 20px; HEIGHT: 120px
}
.photo_lists2 TH DIV.rr A:hover {
	BACKGROUND: url(http://img.mail.ru/r/foto2/next_image_on_s.png) #dfdfdf =
no-repeat center center
}
.photo_lists2 TD I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: #ffffff no-repeat =
center center; VERTICAL-ALIGN: middle; WIDTH: 126px; CURSOR: pointer; =
LINE-HEIGHT: 0; HEIGHT: 132px
}
.photo_lists2 I.on {
	BACKGROUND-COLOR: #f26d00
}
.b_f {
	PADDING-RIGHT: 0px; BORDER-TOP: #dadce5 1px solid; PADDING-LEFT: 0px; =
PADDING-BOTTOM: 10px; PADDING-TOP: 5px
}
#AlbumName .user_info {
	PADDING-LEFT: 10px; BACKGROUND: #efefef; MARGIN-BOTTOM: -3px; =
MARGIN-RIGHT: 10px
}
.dnone {
	DISPLAY: none
}
.del_min {
	POSITION: absolute; BACKGROUND-COLOR: #ffffff
}
DIV.uID {
	BORDER-RIGHT: #929292 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#929292 1px solid; PADDING-LEFT: 10px; Z-INDEX: 10000; LEFT: 0px; =
PADDING-BOTTOM: 5px; MARGIN: 0px; FONT: 12px tahoma; BORDER-LEFT: =
#929292 1px solid; WIDTH: 190px; PADDING-TOP: 5px; BORDER-BOTTOM: =
#929292 1px solid; POSITION: absolute; TOP: 0px; BACKGROUND-COLOR: =
#fff9f2
}
DIV.uID DIV {
	LINE-HEIGHT: 22px
}
DIV.uID IMG {
	MARGIN: 3px 3px 3px 0px; VERTICAL-ALIGN: middle
}
DIV.uID .grey .sobaka {
	MARGIN: 3px 5px 3px 1px
}
DIV.uID .small {
	FONT: 11px tahoma
}
DIV.uID .grey A {
	FONT: 11px tahoma; COLOR: #999999
}
DIV.uID DIV.line {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
10px 0px; PADDING-TOP: 0px; HEIGHT: 1px; BACKGROUND-COLOR: #d0d0d0
}
DIV.uID DIV.line BR {
	LINE-HEIGHT: 1px
}
DIV.uID .avatarmed {
	MARGIN-RIGHT: 6px
}
.mf_blockOne_2 {
	PADDING-RIGHT: 8px; DISPLAY: inline; PADDING-LEFT: 8px; MARGIN-BOTTOM: =
20px; PADDING-BOTTOM: 0px; WORD-SPACING: normal; VERTICAL-ALIGN: top; =
WIDTH: 360px; PADDING-TOP: 0px; POSITION: relative; TEXT-ALIGN: center
}
.mf_blockOne_4 {
	PADDING-RIGHT: 8px; DISPLAY: inline; PADDING-LEFT: 8px; MARGIN-BOTTOM: =
20px; PADDING-BOTTOM: 0px; WORD-SPACING: normal; VERTICAL-ALIGN: top; =
WIDTH: 180px; PADDING-TOP: 0px; POSITION: relative; TEXT-ALIGN: center
}
.mf_blockOneDel {
	DISPLAY: inline; RIGHT: 0px; WIDTH: 13px; POSITION: absolute; HEIGHT: =
13px
}
.radio {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0px; PADDING-TOP: 0px
}
.poll_diagram {
	DISPLAY: inline-block; FONT-WEIGHT: normal; FONT-SIZE: 0px; MARGIN: 3px =
10px 3px 0px; VERTICAL-ALIGN: top; WIDTH: 1px; LINE-HEIGHT: 0; =
FONT-STYLE: normal; HEIGHT: 10px; FONT-VARIANT: normal
}
.poll_diagram_leader {
	DISPLAY: inline-block; FONT-WEIGHT: normal; FONT-SIZE: 0px; MARGIN: 3px =
10px 3px 0px; VERTICAL-ALIGN: top; WIDTH: 1px; LINE-HEIGHT: 0; =
FONT-STYLE: normal; HEIGHT: 10px; FONT-VARIANT: normal
}
.poll_diagram {
	BACKGROUND: url(http://img1.imgsmail.ru/r/blogs/diagram.gif) repeat-x
}
.poll_diagram_leader {
	BACKGROUND: url(http://img.mail.ru/r/blogs/diagram_red.gif) repeat-x
}
.poll_post_text {
	BORDER-RIGHT: #d9d9d9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#d9d9d9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: =
#d9d9d9 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #d9d9d9 1px solid; =
BACKGROUND-COLOR: #ebebeb
}
.mf_iBlogs {
	BACKGROUND: url(http://img3.imgsmail.ru/r/my/ico_blog.gif) no-repeat =
0px 0px
}
.mf_iInvite {
	BACKGROUND: url(http://img0.imgsmail.ru/r/my/ico_postinvite2.png) =
no-repeat 0px 0px
}
.cor_cont {
	FONT-WEIGHT: normal; FONT-SIZE: 0px; LINE-HEIGHT: 0; FONT-STYLE: =
normal; FONT-VARIANT: normal
}
.cor_cont I {
	BACKGROUND-POSITION: left 50%; DISPLAY: inline-block; =
BACKGROUND-REPEAT: no-repeat
}
.cor_cont B {
	BACKGROUND-POSITION: left 50%; DISPLAY: inline-block; =
BACKGROUND-REPEAT: no-repeat
}
.cor_cont I {
	POSITION: absolute
}
.cor_cont B {
	FLOAT: right; POSITION: relative
}
.cor_w_10 {
	MARGIN: 0px 10px; HEIGHT: 10px
}
.cor_w_10 I {
	WIDTH: 10px; HEIGHT: 10px
}
.cor_w_10 B {
	WIDTH: 10px; HEIGHT: 10px
}
.cor_w_10 I {
	MARGIN-LEFT: -10px
}
.cor_w_10 B {
	MARGIN-RIGHT: -10px
}
.cor_ie8_t_1 {
	BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-x
}
.cor_ie8_t_2 {
	BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-x
}
.cor_ie8_t_3 {
	BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-x
}
.cor_ie8_t_4 {
	BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-x
}
.cor_ie8_b {
	BACKGROUND-COLOR: #fff
}
.cor_ie8_t_1 B {
	WIDTH: 560px; MARGIN-RIGHT: -10px; POSITION: relative
}
.cor_ie8_t_2 B {
	WIDTH: 560px; MARGIN-RIGHT: -10px; POSITION: relative
}
.cor_ie8_t_3 B {
	WIDTH: 560px; MARGIN-RIGHT: -10px; POSITION: relative
}
.cor_ie8_t_4 B {
	WIDTH: 560px; MARGIN-RIGHT: -10px; POSITION: relative
}
.cor_ie8_b {
	DISPLAY: none
}
.ie8_res_1 {
	BACKGROUND-POSITION: left -10px; BACKGROUND-REPEAT: repeat-x; =
BACKGROUND-COLOR: #fff
}
.ie8_res_2 {
	BACKGROUND-POSITION: left -10px; BACKGROUND-REPEAT: repeat-x; =
BACKGROUND-COLOR: #fff
}
.ie8_res_3 {
	BACKGROUND-POSITION: left -10px; BACKGROUND-REPEAT: repeat-x; =
BACKGROUND-COLOR: #fff
}
.ie8_res_4 {
	BACKGROUND-POSITION: left -10px; BACKGROUND-REPEAT: repeat-x; =
BACKGROUND-COLOR: #fff
}
.ie8_res_inner_1 {
	PADDING-RIGHT: 225px; BACKGROUND-POSITION: right -10px; PADDING-LEFT: =
30px; PADDING-BOTTOM: 25px; PADDING-TOP: 15px; BACKGROUND-REPEAT: =
no-repeat
}
.ie8_res_inner_2 {
	PADDING-RIGHT: 225px; BACKGROUND-POSITION: right -10px; PADDING-LEFT: =
30px; PADDING-BOTTOM: 25px; PADDING-TOP: 15px; BACKGROUND-REPEAT: =
no-repeat
}
.ie8_res_inner_3 {
	PADDING-RIGHT: 225px; BACKGROUND-POSITION: right -10px; PADDING-LEFT: =
30px; PADDING-BOTTOM: 25px; PADDING-TOP: 15px; BACKGROUND-REPEAT: =
no-repeat
}
.ie8_res_inner_4 {
	PADDING-RIGHT: 225px; BACKGROUND-POSITION: right -10px; PADDING-LEFT: =
30px; PADDING-BOTTOM: 25px; PADDING-TOP: 15px; BACKGROUND-REPEAT: =
no-repeat
}
.ie8_res_text {
	FONT-SIZE: 11px; COLOR: #3d3c3c; LINE-HEIGHT: 15px
}
.ie8_res_text A {
	COLOR: #3d3c3c
}
.ie8_res_text A:hover {
	COLOR: #3d3c3c
}
.ie8_res_inner_1 H2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px =
0px 10px; FONT: 18px Arial; COLOR: #fff; PADDING-TOP: 0px
}
.ie8_res_inner_2 H2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px =
0px 10px; FONT: 18px Arial; COLOR: #fff; PADDING-TOP: 0px
}
.ie8_res_inner_3 H2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px =
0px 10px; FONT: 18px Arial; COLOR: #fff; PADDING-TOP: 0px
}
.ie8_res_inner_4 H2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px =
0px 10px; FONT: 18px Arial; COLOR: #fff; PADDING-TOP: 0px
}
.ie8_res_rasporka {
	DISPLAY: none
}
.cor_ie8_t_1 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_1_bg.jpg)
}
.cor_ie8_t_1 I {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_1_tl.jpg)
}
.cor_ie8_t_1 B {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_1_r.jpg)
}
.cor_ie8_t_2 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_2_bg.jpg)
}
.cor_ie8_t_2 I {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_2_tl.jpg)
}
.cor_ie8_t_2 B {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_2_r.jpg)
}
.cor_ie8_t_3 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_3_bg.jpg)
}
.cor_ie8_t_3 I {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_3_tl.jpg)
}
.cor_ie8_t_3 B {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_3_r.jpg)
}
.cor_ie8_t_4 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_4_bg.jpg)
}
.cor_ie8_t_4 I {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_4_tl.jpg)
}
.cor_ie8_t_4 B {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_4_r.jpg)
}
.ie8_res_1 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_1_bg.jpg)
}
.ie8_res_inner_1 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_1_r.jpg)
}
.ie8_res_2 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_2_bg.jpg)
}
.ie8_res_inner_2 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_2_r.jpg)
}
.ie8_res_3 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_3_bg.jpg)
}
.ie8_res_inner_3 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_3_r.jpg)
}
.ie8_res_4 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_4_bg.jpg)
}
.ie8_res_inner_4 {
	BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/blogs/brends/ie8_res_formy_4_r.jpg)
}
.mf_iWarning {
	BACKGROUND-POSITION: -20px -260px
}
.left_banner {
	OVERFLOW: hidden; WIDTH: 200px
}

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img.imgsmail.ru/r/jim/jim.css?125

.jim_bottomDiv * {
	FONT-SIZE: 12px; FONT-FAMILY: arial
}
.jim_bottomDiv TABLE {
	BORDER-COLLAPSE: collapse
}
.jim_bottomDiv TD {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0px; VERTICAL-ALIGN: top; PADDING-TOP: 0px
}
.jim_bottomDiv WBR:unknown {
	content: "?"
}
.jim_bottomDiv P {
	MARGIN: 0px
}
.jim_bottomDiv A {
	COLOR: #0857a6; TEXT-DECORATION: underline
}
.jim_bottomDiv A:hover {
	COLOR: #f26d00; TEXT-DECORATION: none
}
.jim_bottomDiv A IMG {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: =
0px
}
.jim_bottomDiv B {
	FONT-WEIGHT: normal
}
.mrim-online-13 {
	BACKGROUND-POSITION: 0px 0px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/st_online.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .mrim-offline-13 {
	BACKGROUND-POSITION: 0px 0px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/st_offline.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .mrim-away-13 {
	BACKGROUND-POSITION: 0px 0px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/st_away.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .mrim-dnd-13 {
	BACKGROUND-POSITION: 0px 0px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/dnd.gif); WIDTH: 13px; CURSOR: pointer; =
MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .mrim-connect-13 {
	BACKGROUND-POSITION: 0px 0px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/st_connect.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .onoff0 {
	BACKGROUND-POSITION: 0px 0px; MARGIN-TOP: 1px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/st_online.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .onoff1 {
	BACKGROUND-POSITION: 0px 0px; MARGIN-TOP: 1px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/onoff.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .soundOff {
	BACKGROUND-POSITION: 0px 0px; MARGIN-TOP: 1px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/sound_on.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 15px; =
BACKGROUND-COLOR: transparent
}
.jim_bottomDiv .soundOn {
	BACKGROUND-POSITION: 0px 0px; MARGIN-TOP: 1px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/sound_off.gif); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 15px; =
BACKGROUND-COLOR: transparent
}
.tabs_divWrapper {
	BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN-TOP: -4px; =
DISPLAY: inline-block; BACKGROUND: none transparent scroll repeat 0% 0%; =
FLOAT: none; OVERFLOW: hidden; BORDER-LEFT: medium none; WIDTH: 16px; =
BORDER-BOTTOM: medium none; POSITION: relative; TOP: 4px; HEIGHT: 16px
}
.mrim-online IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -64px
}
.mrim-ofline IMG {
	BACKGROUND-IMAGE: none
}
.mrim-away IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -32px
}
.mrim-dnd IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -48px
}
.mrim-del IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -96px
}
.mrim-inviz IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -80px
}
.mrim-message IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -112px
}
.mrim-auth IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -146px
}
.mrim-authBlink IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -160px
}
.mrim-blink IMG {
	BACKGROUND-IMAGE: none; MARGIN-LEFT: -128px
}
.spr-wa-16 {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/status_sprite16.gif) no-repeat; =
VERTICAL-ALIGN: middle; WIDTH: 16px; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 2px; HEIGHT: 16px
}
.wa-online {
	BACKGROUND-POSITION: -64px 50%
}
.wa-offline {
	BACKGROUND-POSITION: 0px 50%
}
.wa-away {
	BACKGROUND-POSITION: -32px 50%
}
.wa-dnd {
	BACKGROUND-POSITION: -48px 50%
}
.wa-undeterminated {
	BACKGROUND-POSITION: -96px 50%
}
.wa-invisible {
	BACKGROUND-POSITION: -80px 50%
}
.wa-message {
	BACKGROUND-POSITION: -112px 50%
}
.wa-auth {
	BACKGROUND-POSITION: -146px 50%
}
.wa-authBlink {
	BACKGROUND-POSITION: -160px 50%
}
.wa-blink {
	BACKGROUND-POSITION: -128px 50%
}
.jim_bottomDiv I.img {
	DISPLAY: inline-block; FONT-SIZE: 0px; VERTICAL-ALIGN: middle; WIDTH: =
16px; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; HEIGHT: 16px
}
.jim_bottomDiv .icoMyfriends {
	BACKGROUND: url(http://img.imgsmail.ru/r/my/ico_myfriends.gif) =
no-repeat left top
}
.jim_bottomDiv .icoAddfriends {
	BACKGROUND: url(http://img.imgsmail.ru/r/jsagent/st_add.gif) no-repeat =
left top; MARGIN-LEFT: 7px
}
.jim_bottomDiv .icoMessage {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/message1.gif) no-repeat =
left top
}
.jim_bottomDiv .icoMessageBlink {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/message1anim.gif) =
no-repeat left top
}
.jim_bottomDiv .icoAuth {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/auth.gif) no-repeat left =
top
}
.jim_bottomDiv .icoAuthBlink {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/authBlink.gif) no-repeat =
left top
}
.mr3 {
	MARGIN-RIGHT: 3px
}
.jim_bottomDiv A {
	COLOR: #2065ab
}
.jim_bottomDiv {
	Z-INDEX: 255; WIDTH: 98%; BOTTOM: 0px; POSITION: absolute
}
BODY {
	BACKGROUND: url(http://img.imgsmail.ru/0.gif) #ffffff fixed 0px 0px
}
.jim_inDiv {
	BORDER-RIGHT: #b7b7b7 1px solid; PADDING-RIGHT: 6px; BORDER-TOP: =
#b7b7b7 1px solid; PADDING-LEFT: 6px; PADDING-BOTTOM: 2px; BORDER-LEFT: =
#b7b7b7 1px solid; CURSOR: pointer; COLOR: #2065ab; PADDING-TOP: 2px; =
BORDER-BOTTOM: #b7b7b7 1px solid; BACKGROUND-COLOR: #e5e5e5
}
.jim_statusBody {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; =
PADDING-TOP: 3px
}
.jim_statusBody SPAN {
	DISPLAY: block; WHITE-SPACE: nowrap
}
.jim_statusDivUpOut {
	BORDER-RIGHT: #b7b7b7 1px solid; BORDER-TOP: #b7b7b7 1px solid; =
Z-INDEX: 255; RIGHT: 3px; PADDING-BOTTOM: 3px; BORDER-LEFT: #b7b7b7 1px =
solid; WIDTH: 135px; CURSOR: pointer; COLOR: #2065ab; BOTTOM: 21px; =
BORDER-BOTTOM: #b7b7b7 1px solid; POSITION: absolute; BACKGROUND-COLOR: =
#e5e5e5
}
.jim_statusDivUpOut A {
	PADDING-RIGHT: 3px; DISPLAY: block; PADDING-LEFT: 3px; PADDING-BOTTOM: =
0px; PADDING-TOP: 0px; TEXT-DECORATION: none
}
.jim_statusDivUpOut A:hover {
	BACKGROUND-COLOR: #f2f2f2
}
.jim_statusHead {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; COLOR: =
#000; PADDING-TOP: 3px; BORDER-BOTTOM: #b7b7b7 1px solid
}
.contactWrapper {
	WIDTH: 192px
}
.contactSaver {
	BORDER-RIGHT: medium none; BORDER-TOP: medium none; DISPLAY: inline; =
Z-INDEX: 1; MARGIN-BOTTOM: -184%; BORDER-LEFT: medium none; WIDTH: =
190px; BORDER-BOTTOM: medium none; HEIGHT: 350px
}
.jim_contactDivUpOut {
	Z-INDEX: 220; MARGIN-LEFT: -4px; WIDTH: 198px; BOTTOM: 21px; POSITION: =
absolute
}
.jim_contactDivButton {
	BORDER-RIGHT: #b7b7b7 1px solid; BORDER-TOP: #b7b7b7 1px solid; =
Z-INDEX: 255; BORDER-LEFT: #b7b7b7 1px solid; WIDTH: 192px; CURSOR: =
pointer; COLOR: #2065ab; BORDER-BOTTOM: #b7b7b7 1px solid; =
BACKGROUND-COLOR: #e5e5e5
}
.jim_contactDivText {
	PADDING-RIGHT: 6px; PADDING-LEFT: 6px; FLOAT: left; PADDING-BOTTOM: =
2px; PADDING-TOP: 2px
}
#waContactButtonTitle {
	FONT-WEIGHT: bold; COLOR: green
}
.jim_contactDivStatusButton {
	BORDER-RIGHT: #b7b7b7 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: =
#b7b7b7 1px solid; PADDING-LEFT: 4px; Z-INDEX: 255; LEFT: -23px; =
PADDING-BOTTOM: 0px; BORDER-LEFT: #b7b7b7 1px solid; WIDTH: 20px; =
CURSOR: pointer; COLOR: #2065ab; BOTTOM: 0px; MARGIN-RIGHT: -20px; =
PADDING-TOP: 3px; BORDER-BOTTOM: #b7b7b7 1px solid; POSITION: relative; =
HEIGHT: 22px; BACKGROUND-COLOR: #e5e5e5
}
.jim_contactDivUpHead {
	PADDING-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-BOTTOM: 3px; COLOR: =
#000; PADDING-TOP: 3px; POSITION: relative; BACKGROUND-COLOR: #cecece
}
.jim_SettingsLayer {
	Z-INDEX: 255; BORDER-BOTTOM: #b7b7b7 1px solid; POSITION: absolute; =
BACKGROUND-COLOR: #e5e5e5
}
.jim_SettingsLayer .header {
	PADDING-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-BOTTOM: 3px; COLOR: =
#000; PADDING-TOP: 3px; BACKGROUND-COLOR: #cecece
}
.jim_SettingsLayer .button {
	FONT-SIZE: 10px; MARGIN: 5px 10px 6px 0px
}
.jim_SettingsLayerInn {
	MARGIN-TOP: 4px
}
.jim_SettingsLayerInn TD {
	PADDING-BOTTOM: 4px; COLOR: #444
}
.settingsMenuClose {
	FLOAT: right; MARGIN-LEFT: 1px; CURSOR: pointer; MARGIN-RIGHT: -1px
}
.settingsButton {
	BACKGROUND-POSITION: 0px 0px; MARGIN-TOP: 1px; BACKGROUND-IMAGE: =
url(http://img.imgsmail.ru/r/jim/settings.png); WIDTH: 13px; CURSOR: =
pointer; MARGIN-RIGHT: 3px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 13px; =
BACKGROUND-COLOR: transparent
}
.jim_contactDivUpBody {
	OVERFLOW-Y: auto; DISPLAY: block; OVERFLOW-X: hidden; WIDTH: 190px; =
COLOR: #0657a9; PADDING-TOP: 3px; POSITION: relative; HEIGHT: 250px; =
BACKGROUND-COLOR: #fff
}
.contactToolTip {
	BORDER-RIGHT: #b7b7b7 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#b7b7b7 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 12px; Z-INDEX: 266; =
RIGHT: 30px; PADDING-BOTTOM: 5px; BORDER-LEFT: #b7b7b7 1px solid; WIDTH: =
135px; COLOR: #333333; BOTTOM: 85px; PADDING-TOP: 5px; BORDER-BOTTOM: =
#b7b7b7 1px solid; POSITION: absolute; BACKGROUND-COLOR: #e5e5e5
}
.jim_contactDivUpHead SPAN {
	DISPLAY: block; RIGHT: 2px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/minimize.gif) #cecece no-repeat 0px =
3px; WIDTH: 14px; CURSOR: pointer; POSITION: absolute; HEIGHT: 9px
}
.jim_contactDivUpHead SPAN.jim_showPopup {
	DISPLAY: block; Z-INDEX: 550; RIGHT: 22px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/show_popup.gif) #cecece no-repeat =
center center; WIDTH: 12px; CURSOR: pointer; POSITION: absolute; HEIGHT: =
13px
}
.jim_contactDivUpHead SPAN.jim_hidePopup {
	DISPLAY: block; Z-INDEX: 550; RIGHT: 5px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/hide_popup.gif) #cecece no-repeat =
center center; WIDTH: 12px; CURSOR: pointer; POSITION: absolute; HEIGHT: =
13px
}
#waWebAgent SPAN.jim_hidePopup {
	BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; DISPLAY: =
block; Z-INDEX: 550; RIGHT: 0px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/hide_popup.gif) #cecece no-repeat =
center center; BORDER-LEFT: #999 1px solid; WIDTH: 20px; CURSOR: =
pointer; BOTTOM: auto; BORDER-BOTTOM: #999 1px solid; POSITION: =
absolute; HEIGHT: 20px
}
.jim_contactDivUpBody .item B {
	DISPLAY: inline-block; VERTICAL-ALIGN: middle; OVERFLOW: hidden; WIDTH: =
150px
}
.jim_contactDivUpBody .itemOffline B {
	DISPLAY: inline-block; VERTICAL-ALIGN: middle; OVERFLOW: hidden; WIDTH: =
150px
}
.jim_contactDivUpBody SPAN.icos {
	MARGIN-TOP: -17px; PADDING-LEFT: 50px; FLOAT: right; MARGIN-LEFT: =
-25px; VERTICAL-ALIGN: middle; OVERFLOW: hidden; CURSOR: pointer; =
POSITION: relative
}
.control {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/arrow_down.gif) #ffffff =
no-repeat 3px 3px
}
.controlLayoutWrapper {
	DISPLAY: none; Z-INDEX: 255; POSITION: relative
}
.controlLayoutWrapper DIV {
	BORDER-RIGHT: #b7b7b7 1px solid; PADDING-RIGHT: 20px; BORDER-TOP: =
#b7b7b7 1px solid; MARGIN-TOP: -5px; PADDING-LEFT: 5px; Z-INDEX: 255; =
RIGHT: 0px; PADDING-BOTTOM: 5px; BORDER-LEFT: #b7b7b7 1px solid; =
PADDING-TOP: 5px; BORDER-BOTTOM: #b7b7b7 1px solid; POSITION: absolute; =
BACKGROUND-COLOR: #fff
}
.controlLayoutWrapper IMG {
	MARGIN-RIGHT: 3px
}
.selfOffline #waContactListItemControlsEdit {
	DISPLAY: none
}
.selfOffline #waContactListItemControlsDel {
	DISPLAY: none
}
.selfOffline BR {
	DISPLAY: none
}
.jim_contactDivUpBody A {
	TEXT-DECORATION: none
}
.fade_div {
	PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; FLOAT: left; =
PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px -24px; WIDTH: 25px; =
PADDING-TOP: 0px; HEIGHT: 16px
}
.jim_contactDivUpBody .item {
	DISPLAY: block; OVERFLOW: hidden; CURSOR: pointer; WHITE-SPACE: nowrap; =
POSITION: relative; HEIGHT: 18px
}
A.aInItem {
	DISPLAY: block; PADDING-LEFT: 3px; HEIGHT: auto; outline: 0
}
A.aInItem:hover {
	COLOR: #2065ab; BACKGROUND-COLOR: #c7e5ff
}
.aInItem:hover SPAN {
	DISPLAY: inline
}
.aInItem * {
	CURSOR: pointer
}
.itemControls {
	DISPLAY: none; MARGIN-LEFT: -3px
}
.itemOffline {
	DISPLAY: none; OVERFLOW: hidden; CURSOR: pointer; WHITE-SPACE: nowrap; =
POSITION: relative; HEIGHT: 18px
}
.itemAuth {
	DISPLAY: none
}
.jim_contactDiv {
	Z-INDEX: 255; WIDTH: 244px
}
.jim_contactI IMG {
	BACKGROUND: url(http://img.imgsmail.ru/r/my/favico.gif) no-repeat 0px =
1px
}
.jim_contactI:hover IMG {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/jim_i.gif) no-repeat 0px =
-12px
}
.jim_contactPen IMG {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/jim_pen.gif) no-repeat 0px =
0px
}
.jim_contactPen:hover IMG {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/jim_pen.gif) no-repeat 0px =
-13px
}
.jim_contactDel IMG {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/jim_del.gif) no-repeat 0px =
0px
}
.jim_contactDel:hover IMG {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/jim_del.gif) no-repeat 0px =
-13px
}
.jim_contactDivAdd {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #f2f2f2; =
PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #0c54a9; PADDING-TOP: 2px; =
BORDER-BOTTOM: #ccc 1px solid; POSITION: relative
}
.jim_dialogDiv {
	BORDER-RIGHT: medium none; Z-INDEX: 255; WIDTH: 125px
}
#waDialogsAlert {
	COLOR: red
}
.dialogsToolTip {
	BORDER-RIGHT: #b7b7b7 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#b7b7b7 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 12px; Z-INDEX: 266; =
RIGHT: 90px; PADDING-BOTTOM: 5px; BORDER-LEFT: #b7b7b7 1px solid; WIDTH: =
135px; COLOR: #333333; BOTTOM: 15px; PADDING-TOP: 5px; BORDER-BOTTOM: =
#b7b7b7 1px solid; POSITION: absolute; BACKGROUND-COLOR: #e5e5e5
}
.jim_dialogDivUpOut {
	Z-INDEX: 230; RIGHT: 190px; WIDTH: 380px; BOTTOM: 22px; POSITION: =
absolute
}
.dialogSaver {
	BORDER-RIGHT: medium none; BORDER-TOP: medium none; DISPLAY: inline; =
Z-INDEX: 1; MARGIN-BOTTOM: -198%; BORDER-LEFT: medium none; WIDTH: =
370px; BORDER-BOTTOM: medium none; HEIGHT: 700px
}
.jim_dialogDivUpHead {
	BACKGROUND: #cecece; PADDING-BOTTOM: 3px; OVERFLOW: hidden; WIDTH: =
100%; POSITION: relative
}
.jim_dialogsSpan {
	PADDING-RIGHT: 4px; MARGIN-TOP: 0px; DISPLAY: block; PADDING-LEFT: 4px; =
PADDING-BOTTOM: 0px; WIDTH: auto; PADDING-TOP: 4px
}
.jim_dialogDivUpHead DIV {
	BORDER-RIGHT: #c1c1c1 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#c1c1c1 1px solid; PADDING-LEFT: 3px; BACKGROUND: #d7d7d7; FLOAT: left; =
MARGIN-BOTTOM: -3px; PADDING-BOTTOM: 3px; OVERFLOW: hidden; BORDER-LEFT: =
#c1c1c1 1px solid; CURSOR: pointer; LINE-HEIGHT: 16px; PADDING-TOP: 3px; =
BORDER-BOTTOM: medium none; WHITE-SPACE: nowrap
}
.jim_dialogDivUpHead DIV.active {
	BORDER-RIGHT: #e1e1e1 1px solid; BORDER-TOP: #e1e1e1 1px solid; =
BACKGROUND: #fff; BORDER-LEFT: #e1e1e1 1px solid; COLOR: #0559a1; =
BORDER-BOTTOM: medium none
}
.jim_dialogCloseAll {
	DISPLAY: block; BACKGROUND: url(http://img.imgsmail.ru/r/jim/close.gif) =
no-repeat 0px 5px; FLOAT: right; WIDTH: 11px; CURSOR: pointer; HEIGHT: =
23px
}
.jim_dialogMinimize {
	DISPLAY: block; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/minimize.gif) no-repeat 1px 7px; FLOAT: =
right; WIDTH: 11px; CURSOR: pointer; HEIGHT: 24px
}
.jim_dialogClose {
	MARGIN-LEFT: 1px; CURSOR: pointer; MARGIN-RIGHT: -1px
}
.jim_dialogDivUpBody {
	PADDING-RIGHT: 4px; OVERFLOW-Y: auto; PADDING-LEFT: 4px; BACKGROUND: =
#fff; MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; HEIGHT: =
185px
}
.nosearch .jim_dialogDivUpBody {
	HEIGHT: 191px
}
.HistoryPreload {
	PADDING-LEFT: 18px; FONT-SIZE: 11px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/preloadGrey16.gif) #fff no-repeat left =
center; VERTICAL-ALIGN: middle; COLOR: #999; HEIGHT: 16px
}
.jim_dialogDivUpBody SPAN.myName {
	FLOAT: left; COLOR: #0559a1; LINE-HEIGHT: 12px
}
.jim_dialogDivUpBody SPAN.hisName {
	FLOAT: left; COLOR: #b00f14; LINE-HEIGHT: 12px
}
.jim_dialogDivUpBody SPAN.time {
	PADDING-RIGHT: 6px; FLOAT: right; COLOR: #898989
}
.jim_dialogDivUpBody P {
	MARGIN-BOTTOM: 6px; MARGIN-LEFT: 7px
}
.jim_dialogDivUpFooter {
	BORDER-RIGHT: medium none; BORDER-TOP: #ccc 1px solid; MARGIN-TOP: =
-1px; PADDING-LEFT: 22px; FONT-SIZE: 13px; BACKGROUND: =
url(http://img.imgsmail.ru/mail/ru/images/blogs/ico_comments.png) =
#ffffff no-repeat 4px 4px; MARGIN-BOTTOM: -1px; BORDER-LEFT: medium =
none; WIDTH: 100%; BORDER-BOTTOM: #ccc 1px solid; FONT-FAMILY: trebuchet =
MS; HEIGHT: 56px
}
.dialogsFooter {
	BORDER-BOTTOM: #cecece 2px solid; HEIGHT: 19px; BACKGROUND-COLOR: =
#cecece
}
.jim_dialogDivSendButton {
	PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 11px; PADDING-BOTTOM: =
0px; WIDTH: 73px; CURSOR: pointer; COLOR: #2065ab; PADDING-TOP: 3px; =
HEIGHT: 20px; BACKGROUND-COLOR: #f2f2f2; TEXT-ALIGN: center
}
.jim_dialogAuth {
	BACKGROUND: #f5f5f5; OVERFLOW: hidden; WIDTH: 100%; PADDING-TOP: 6px; =
BORDER-BOTTOM: #ccc 2px solid; HEIGHT: 286px
}
.nosearch .jim_dialogAuth {
	HEIGHT: 269px
}
.jim_dialogAuthIn {
	MARGIN: 0px 5px
}
.authAva {
	MARGIN-TOP: 22px; FLOAT: left; WIDTH: 75px; HEIGHT: 100px; TEXT-ALIGN: =
center
}
.authAvaImg {
	MARGIN-BOTTOM: 5px
}
.authTxt {
	MARGIN-TOP: 22px; OVERFLOW: auto; HEIGHT: 70px
}
.authButton {
	PADDING-RIGHT: 10px; MARGIN-TOP: 29px; PADDING-LEFT: 10px; =
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.authBut2 {
	FLOAT: right
}
.authBut1 {
	FLOAT: left
}
TABLE.obertka TD.td1 {
	WIDTH: 4px; HEIGHT: 4px
}
TABLE.obertka TD.td2 {
	HEIGHT: 4px
}
TABLE.obertka TD.td3 {
	WIDTH: 4px; HEIGHT: 4px
}
TABLE.obertka TD.td4 {
	WIDTH: 4px
}
TABLE.obertka TD.td5 {
	WIDTH: 4px
}
TABLE.obertka TD.tdInn {
	BORDER-RIGHT: #b7b7b7 1px solid; BORDER-TOP: #b7b7b7 1px solid; =
BORDER-LEFT: #b7b7b7 1px solid; BORDER-BOTTOM: medium none
}
#addContactRequestDiv {
	DISPLAY: none; FONT-SIZE: 11px; Z-INDEX: 255; MARGIN-LEFT: 40%; WIDTH: =
200px; BOTTOM: 130px; FONT-FAMILY: Trebuchet MS; POSITION: absolute; =
HEIGHT: 50px; pos: fixed
}
.addContactRequestDivHeader {
	PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 11px; PADDING-BOTTOM: =
3px; COLOR: #000; PADDING-TOP: 3px; BACKGROUND-COLOR: #cecece
}
.addContactRequestDivInner {
	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 11px; PADDING-BOTTOM: =
7px; WIDTH: 280px; PADDING-TOP: 7px; BORDER-BOTTOM: #ddd 2px solid; =
BACKGROUND-COLOR: #f2f2f2
}
.addContactRequestDivInner INPUT {
	FONT-SIZE: 11px; WIDTH: 100%
}
.addContactRequestDivInner .buttonWrapper {
	OVERFLOW: hidden; WHITE-SPACE: nowrap
}
.addContactRequestDivInner .buttonWrapper A {
	BORDER-RIGHT: #777 1px solid; BORDER-TOP: #777 1px solid; DISPLAY: =
block; BORDER-LEFT: #777 1px solid; COLOR: #2065ab; BORDER-BOTTOM: #777 =
1px solid; BACKGROUND-COLOR: #ccc; TEXT-DECORATION: none
}
.addContactRequestDivInner .buttonWrapper .leftButton {
	FLOAT: left; MARGIN-LEFT: 42px; WIDTH: 50px; TEXT-ALIGN: center
}
.addContactRequestDivInner .buttonWrapper .rightButton {
	FLOAT: right; WIDTH: 50px; MARGIN-RIGHT: 42px; TEXT-ALIGN: center
}
.addContactRequestDivClose {
	MARGIN-TOP: -21px; DISPLAY: block; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/close.gif) no-repeat 0px 7px; FLOAT: =
right; WIDTH: 11px; CURSOR: pointer; HEIGHT: 15px
}
#ErrText {
	MARGIN-TOP: 2px; DISPLAY: block; FONT-SIZE: 11px; VISIBILITY: hidden; =
MARGIN-BOTTOM: 2px; COLOR: #ff0000
}
#renameContactRequestDiv {
	DISPLAY: none; FONT-SIZE: 11px; Z-INDEX: 255; MARGIN-LEFT: 40%; WIDTH: =
200px; BOTTOM: 130px; FONT-FAMILY: Trebuchet MS; POSITION: absolute; =
HEIGHT: 50px; pos: fixed
}
.renameContactRequestDivHeader {
	PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 11px; PADDING-BOTTOM: =
3px; COLOR: #000; PADDING-TOP: 3px; BACKGROUND-COLOR: #cecece
}
.renameContactRequestDivInner {
	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 11px; PADDING-BOTTOM: =
7px; WIDTH: 280px; PADDING-TOP: 7px; BORDER-BOTTOM: #ddd 2px solid; =
BACKGROUND-COLOR: #f2f2f2
}
.renameContactRequestDivInner INPUT {
	FONT-SIZE: 11px; WIDTH: 100%
}
.renameContactRequestDivInner .buttonWrapper {
	OVERFLOW: hidden; WHITE-SPACE: nowrap
}
.renameContactRequestDivInner .buttonWrapper A {
	BORDER-RIGHT: #777 1px solid; BORDER-TOP: #777 1px solid; DISPLAY: =
block; BORDER-LEFT: #777 1px solid; COLOR: #2065ab; BORDER-BOTTOM: #777 =
1px solid; BACKGROUND-COLOR: #ccc; TEXT-DECORATION: none
}
.renameContactRequestDivInner .buttonWrapper .leftButton {
	FLOAT: left; MARGIN-LEFT: 42px; WIDTH: 50px; TEXT-ALIGN: center
}
.renameContactRequestDivInner .buttonWrapper .rightButton {
	FLOAT: right; WIDTH: 50px; MARGIN-RIGHT: 42px; TEXT-ALIGN: center
}
.renameContactRequestDivClose {
	MARGIN-TOP: -21px; DISPLAY: block; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/close.gif) no-repeat 0px 7px; FLOAT: =
right; WIDTH: 11px; CURSOR: pointer; HEIGHT: 15px
}
#RenameErrText {
	MARGIN-TOP: 2px; DISPLAY: block; FONT-SIZE: 11px; VISIBILITY: hidden; =
MARGIN-BOTTOM: 2px; COLOR: #ff0000
}
#feedbackRequestDiv {
	DISPLAY: none; FONT-SIZE: 11px; Z-INDEX: 255; LEFT: 28%; BOTTOM: 100px; =
FONT-FAMILY: Trebuchet MS; POSITION: absolute; pos: fixed
}
.feedbackRequestDivHeader {
	PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 11px; PADDING-BOTTOM: =
3px; WIDTH: 490px; COLOR: #000; PADDING-TOP: 3px; BACKGROUND-COLOR: =
#cecece
}
.feedbackRequestDivInner {
	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 11px; PADDING-BOTTOM: =
7px; WIDTH: 490px; PADDING-TOP: 7px; BORDER-BOTTOM: #ddd 2px solid; =
BACKGROUND-COLOR: #f2f2f2
}
.feedbackRequestDivInner TEXTAREA {
	FONT-SIZE: 11px; WIDTH: 100%; HEIGHT: 100px
}
.feedbackRequestDivInner .buttonWrapper {
	OVERFLOW: hidden; WHITE-SPACE: nowrap
}
.feedbackRequestDivInner .buttonWrapper A {
	BORDER-RIGHT: #777 1px solid; BORDER-TOP: #777 1px solid; DISPLAY: =
block; BORDER-LEFT: #777 1px solid; COLOR: #2065ab; BORDER-BOTTOM: #777 =
1px solid; BACKGROUND-COLOR: #ccc; TEXT-DECORATION: none
}
.feedbackRequestDivInner .buttonWrapper .leftButton {
	FLOAT: left; MARGIN-LEFT: 42px; WIDTH: 50px; TEXT-ALIGN: center
}
.feedbackRequestDivInner .buttonWrapper .rightButton {
	FLOAT: right; WIDTH: 50px; MARGIN-RIGHT: 42px; TEXT-ALIGN: center
}
.feedbackRequestDivClose {
	MARGIN-TOP: -21px; DISPLAY: block; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/close.gif) no-repeat 0px 7px; FLOAT: =
right; WIDTH: 11px; CURSOR: pointer; HEIGHT: 15px
}
.jim_waDialogSmiles {
	BORDER-RIGHT: #7f7f7f 1px solid; BORDER-TOP: #7f7f7f 1px solid; =
Z-INDEX: 500; RIGHT: 370px; BACKGROUND: #fff; VISIBILITY: hidden; =
BORDER-LEFT: #7f7f7f 1px solid; WIDTH: 195px; BOTTOM: 120px; =
BORDER-BOTTOM: #7f7f7f 1px solid; POSITION: absolute; HEIGHT: 130px
}
.jim_waDialogSmiles DIV {
	BACKGROUND-POSITION: center center; FLOAT: left; MARGIN: 0px 1px 1px =
0px; WIDTH: 23px; CURSOR: pointer; BACKGROUND-REPEAT: no-repeat; HEIGHT: =
25px
}
.jim_waActionContainer {
	BORDER-RIGHT: #b7b7b7 1px solid; PADDING-RIGHT: 20px; BORDER-TOP: =
#b7b7b7 1px solid; PADDING-LEFT: 0px; Z-INDEX: 500; RIGHT: 365px; =
VISIBILITY: hidden; PADDING-BOTTOM: 5px; BORDER-LEFT: #b7b7b7 1px solid; =
BOTTOM: 53px; PADDING-TOP: 5px; BORDER-BOTTOM: #b7b7b7 1px solid; =
WHITE-SPACE: nowrap; POSITION: absolute; BACKGROUND-COLOR: #fff
}
.jim_waActionContainer A {
	TEXT-DECORATION: none
}
.jim_waActionContainer IMG {
	MARGIN: 2px 5px; VERTICAL-ALIGN: middle
}
.jim_dialogMiddlePanel {
	PADDING-RIGHT: 4px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; =
BACKGROUND: #f2f2f2; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; HEIGHT: 19px
}
.jim_dialogMiddlePanel IMG {
=09
}
.jim_dialogMiddlePanel .smileButton {
	BACKGROUND: url(http://img.imgsmail.ru/ru/btn/kolobki/smile.gif) =
no-repeat center center; CURSOR: pointer
}
.jim_dialogMiddlePanel .delim {
	BACKGROUND: #cccccc; MARGIN: 0px 3px; WIDTH: 1px; HEIGHT: 17px
}
.jim_dialogMiddlePanel .actionButton {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/arrow_down.gif) no-repeat =
center 1px; WIDTH: 15px; CURSOR: pointer; HEIGHT: 18px
}
.jim_bottomDiv .jim_hidePopup {
	DISPLAY: none! important
}
.inpupop * {
	DISPLAY: none
}
.inpupop#waWebAgent .jim_hidePopup {
	DISPLAY: block! important
}
.clistpreloader {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/hyp2.gif) no-repeat 50% =
50%; HEIGHT: 200px
}
.wa-pusher {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 0px; =
PADDING-BOTTOM: 0px; MARGIN: 0px; LINE-HEIGHT: 0; PADDING-TOP: 0px; =
HEIGHT: 0px
}
.wa-icon-online {
	PADDING-LEFT: 15px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/sprite.gif) no-repeat 0px -64px
}
.wa-icon-offline {
	PADDING-LEFT: 15px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/sprite.gif) no-repeat 0px 0px
}
.wa-icon-details {
	PADDING-LEFT: 15px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/sprite.gif) no-repeat 0px -112px; =
CURSOR: pointer
}
.wa-sug-holder {
	RIGHT: 184px; BOTTOM: 0px; POSITION: absolute
}
.wa-docmode1 .wa-sug-holder {
	BOTTOM: 1px
}
.wa-docmode0 .wa-sug-holder {
	BOTTOM: 0px
}
.wa-sug-use-shadow {
	Z-INDEX: 300; RIGHT: 184px
}
.wa-suggest {
	BORDER-RIGHT: #b7b8bd 1px solid; BORDER-TOP: #b7b8bd 1px solid; =
FONT-SIZE: 12px; LEFT: 0px; BORDER-LEFT: #b7b8bd 1px solid; WIDTH: =
353px; BORDER-BOTTOM: #b7b8bd 1px solid; FONT-FAMILY: arial; POSITION: =
absolute; TOP: 0px; HEIGHT: 331px; BACKGROUND-COLOR: white
}
.wa-docmode0 .wa-suggest {
	WIDTH: 355px; HEIGHT: 333px
}
.wa-sug-use-shadow .wa-sug-shaddow {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/suggest_bg.png) no-repeat =
0px 0px; WIDTH: 375px; POSITION: relative; HEIGHT: 341px
}
.wa-ie6 .wa-sug-use-shadow .wa-sug-shaddow {
	FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.imgs=
mail.ru/r/jim/suggest_bg.png', sizingMethod=3D'crop'); BACKGROUND-IMAGE: =
none; hei: 1%
}
.wa-sug-use-shadow .wa-suggest {
	LEFT: 9px; TOP: 6px
}
.wa-sug-head {
	WIDTH: 100%; POSITION: absolute; HEIGHT: 50px; BACKGROUND-COLOR: =
#cdcdcd
}
.wa-sug-close {
	FONT-SIZE: 0px; RIGHT: 4px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/close.gif) no-repeat 0px 0px; WIDTH: =
9px; CURSOR: pointer; POSITION: absolute; TOP: 5px; HEIGHT: 9px
}
.wa-sug-search-title {
	LEFT: 8px; POSITION: absolute; TOP: 2px
}
.wa-sug-input {
	BORDER-RIGHT: #e2e2e2 1px solid; BORDER-TOP: #e2e2e2 1px solid; LEFT: =
8px; BORDER-LEFT: #e2e2e2 1px solid; BORDER-BOTTOM: #e2e2e2 1px solid; =
POSITION: absolute; TOP: 21px; BACKGROUND-COLOR: white
}
.wa-sug-input INPUT {
	BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: =
0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: 0px; WIDTH: 306px; =
LINE-HEIGHT: 1em; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; HEIGHT: 15px
}
.wa-ie .wa-sug-input INPUT {
	HEIGHT: 13px
}
.wa-sug-search-btn {
	FONT-SIZE: 0px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/sug_add_btn.gif) no-repeat 0px 0px; =
LEFT: 318px; WIDTH: 18px; CURSOR: pointer; POSITION: absolute; TOP: =
21px; HEIGHT: 17px
}
.wa-sug-maybefriends {
	LEFT: 9px; POSITION: absolute; TOP: 54px
}
.wa-sug-friends {
	BORDER-TOP: #cecece 1px solid; OVERFLOW-Y: auto; OVERFLOW: hidden; =
BORDER-BOTTOM: #cecece 1px solid; POSITION: relative; TOP: 74px; HEIGHT: =
234px
}
.wa-docmode0 .wa-sug-friends {
	HEIGHT: 236px
}
.wa-ff .wa-sug-friends {
	WIDTH: 100%; POSITION: absolute
}
.wa-sug-markall {
	LEFT: 6px; CURSOR: pointer; POSITION: absolute; TOP: 313px
}
.wa-ie .wa-sug-markall {
	TOP: 310px
}
.wa-chrome .wa-sug-markall {
	TOP: 310px
}
.wa-sug-markall INPUT {
	BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: =
0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; =
BORDER-LEFT: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px
}
.wa-sug-footer {
	LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 310px; HEIGHT: 21px; =
BACKGROUND-COLOR: #f2f2f2
}
.wa-sug-item {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 7px; MARGIN: 0px =
7px; PADDING-TOP: 7px; BORDER-BOTTOM: #f0f0f0 1px solid
}
.wa-sug-item-req {
	COLOR: #666666; LINE-HEIGHT: 4em; HEIGHT: 47px; TEXT-ALIGN: center
}
.wa-sug-chim {
=09
}
.wa-sug-chim DIV {
	BORDER-RIGHT: gray 1px solid; BACKGROUND-POSITION: 50% 50%; BORDER-TOP: =
gray 1px solid; FLOAT: left; BORDER-LEFT: gray 1px solid; WIDTH: 45px; =
BORDER-BOTTOM: gray 1px solid; BACKGROUND-REPEAT: no-repeat; HEIGHT: =
45px
}
.wa-docmode0 .wa-sug-chim DIV {
	WIDTH: 47px; HEIGHT: 47px
}
.wa-sug-chim INPUT {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: =
0px; MARGIN: 0px 5px 0px 0px; PADDING-TOP: 0px; POSITION: relative; TOP: =
17px
}
.wa-ie .wa-sug-chim INPUT {
	TOP: 15px
}
.wa-sug-info {
	FLOAT: left; MARGIN-LEFT: 8px; WIDTH: 150px
}
.wa-sug-info-dispname {
	WHITE-SPACE: nowrap
}
.wa-sug-info .wa-icon-details {
	TEXT-DECORATION: none
}
.wa-sup-txinf {
	FONT-SIZE: 11px; COLOR: #676767
}
.wa-sug-itbut {
	TEXT-ALIGN: right
}
.wa-sug-itbut A {
	FONT-SIZE: 11px; COLOR: #676767; LINE-HEIGHT: 1.8em
}
.wa-sug-addall {
	LEFT: 272px; POSITION: absolute; TOP: 312px
}
.wa-sug-addall A {
	FONT-WEIGHT: bold; CURSOR: pointer; COLOR: #0857a6; BORDER-BOTTOM: =
#0857a6 1px dashed; TEXT-DECORATION: none
}
.wa-sug-addall A:hover {
	BORDER-LEFT-COLOR: white; BORDER-BOTTOM-COLOR: white; BORDER-TOP-COLOR: =
white; BORDER-RIGHT-COLOR: white
}
.jim_bottomDiv .wa-ballon B {
	FONT-WEIGHT: bold
}
.wa-ballon {
	DISPLAY: none; WIDTH: 210px; POSITION: absolute; HEIGHT: 120px
}
.wa-ballon-bgsize {
	WIDTH: 521px; HEIGHT: 528px
}
.wa-ballon-bg {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/ballon_shadow.gif) =
no-repeat 0px 0px; LEFT: 0px; POSITION: absolute; TOP: 0px
}
.wa-ballon-shade .wa-ballon-bg {
	BACKGROUND: url(http://img.imgsmail.ru/r/jim/ballon_shadow.png) =
no-repeat 0px 0px
}
.wa-ie6 .wa-ballon-shade .wa-ballon-bg {
	FILTER: =
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'http://img.imgs=
mail.ru/r/jim/ballon_shadow.png', sizingMethod=3D'crop'); =
BACKGROUND-IMAGE: none
}
.wa-ballon-lt {
	OVERFLOW: hidden; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: =
100%
}
.wa-ballon-rb {
	LEFT: 24px; OVERFLOW: hidden; WIDTH: 100%; POSITION: absolute; TOP: =
29px; HEIGHT: 100%
}
.wa-ballon-rb .wa-ballon-bg-shift {
	LEFT: 100%; POSITION: absolute; TOP: 100%
}
.wa-ballon-rb .wa-ballon-bg-shift .wa-ballon-bg {
	LEFT: -100%; TOP: -100%
}
.wa-ballon-rt {
	LEFT: 100%; OVERFLOW: hidden; WIDTH: 24px; POSITION: absolute; TOP: =
0px; HEIGHT: 29px
}
.wa-ballon-rt .wa-ballon-bg-shift {
	LEFT: 100%; POSITION: absolute
}
.wa-ballon-rt .wa-ballon-bg-shift .wa-ballon-bg {
	LEFT: -100%
}
.wa-ballon-lb {
	LEFT: 0px; OVERFLOW: hidden; WIDTH: 24px; POSITION: absolute; TOP: =
100%; HEIGHT: 29px
}
.wa-ballon-lb .wa-ballon-bg-shift {
	POSITION: absolute; TOP: 100%
}
.wa-ballon-lb .wa-ballon-shift-correct {
	POSITION: absolute; TOP: -100%; HEIGHT: 100%
}
.wa-ie6 .wa-ballon-lb .wa-ballon-bg {
	TOP: 1px
}
.wa-ie7 .wa-ballon-lb .wa-ballon-bg {
	TOP: 1px
}
.wa-ballon-edge {
	LEFT: 0px; OVERFLOW: hidden; WIDTH: 100%; POSITION: absolute; TOP: 0px; =
HEIGHT: 100%
}
.wa-ballon-close {
	Z-INDEX: 2; RIGHT: -11px; WIDTH: 9px; CURSOR: pointer; POSITION: =
absolute; TOP: 11px; HEIGHT: 9px
}
.wa-ballon-edge-in {
	PADDING-LEFT: 24px; FONT-SIZE: 12px; LEFT: 0px; PADDING-TOP: 16px; =
FONT-FAMILY: arial; POSITION: relative; TOP: 0px; HEIGHT: 100%
}
.wa-ballon-edge-in B {
	FONT-SIZE: 12px
}
.wa-ballon-edge-in .wa-ballon-big {
	FONT-SIZE: 14px
}
.wa-ballon-edge-in P {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px =
0px 5px; PADDING-TOP: 0px
}
.wa-ballon-edge-in A {
	COLOR: #115ba2; TEXT-DECORATION: none
}
.wa-ballon-edge-in A B {
	CURSOR: pointer; BORDER-BOTTOM: #115ba2 1px dashed; vertic: top
}
.wa-ballon-edge-in A:hover B {
	BORDER-LEFT-COLOR: #ffffff; BORDER-BOTTOM-COLOR: #ffffff; =
BORDER-TOP-COLOR: #ffffff; BORDER-RIGHT-COLOR: #ffffff
}
.wa-ballon-edge-in .wa-ballon-links {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 2px
}
.wa-ballon-userinfo {
=09
}
.wa-ballon-ava {
	BORDER-RIGHT: gray 1px solid; BACKGROUND-POSITION: 50% 50%; BORDER-TOP: =
gray 1px solid; FLOAT: left; BORDER-LEFT: gray 1px solid; WIDTH: 45px; =
MARGIN-RIGHT: 5px; BORDER-BOTTOM: gray 1px solid; BACKGROUND-REPEAT: =
no-repeat; HEIGHT: 45px
}
.wa-docmode0 .wa-ballon-ava {
	WIDTH: 47px; HEIGHT: 47px
}
.wa-icon-online {
	PADDING-LEFT: 15px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/sprite.gif) no-repeat 0px -64px
}
.wa-icon-offline {
	PADDING-LEFT: 15px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/sprite.gif) no-repeat 0px 0px
}
.wa-icon-none {
	PADDING-LEFT: 15px
}
.wa-pusher {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 0px; =
PADDING-BOTTOM: 0px; MARGIN: 0px; LINE-HEIGHT: 0; PADDING-TOP: 0px; =
HEIGHT: 0px
}
.wa-ballon-bray {
	COLOR: gray
}
.wa-offunr {
	DISPLAY: none; RIGHT: -8px; BACKGROUND: =
url(http://img.imgsmail.ru/r/jim/ballon_close.gif) no-repeat 0px 100%; =
WIDTH: 34px; CURSOR: default; POSITION: absolute; TOP: -28px; HEIGHT: =
25px
}
.wa-offunr-title {
	FONT-WEIGHT: bold; FONT-SIZE: 11px; LEFT: 1px; WIDTH: 21px; CURSOR: =
pointer; COLOR: #ffffff; POSITION: absolute; TOP: 5px; HEIGHT: 14px; =
TEXT-ALIGN: center
}
.wa-offunr-close {
	LEFT: 24px; WIDTH: 5px; CURSOR: pointer; POSITION: absolute; HEIGHT: =
5px
}

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0025_01CAB64D.634E18C0"


------=_NextPart_001_0025_01CAB64D.634E18C0
Content-Type: text/html;
	charset="windows-1251"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://my.mail.ru/cgi-bin/my/editcommunity

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>=CC=EE=E9 =EC=E8=F0@Mail.Ru: =D1=EE=E7=E4=E0=ED=E8=E5 =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=E0</TITLE><!-- 1 --><!-- 2 -->
<SCRIPT type=3Dtext/javascript>/*<![CDATA[*/
try {
// sn: my128
// =C4=EE=E1=E0=E2=EB=E5=ED=E8=E5 =F1=EE=E1=FB=F2=E8=E9
function timeInterval(bP) {
        if (!rT[bP]) rT[bP] =3D new Date();
        else {
                rT.i[rT.i.length] =3D bP + '=3D' + ( (new =
Date()).getTime() - rT[bP].getTime() );
                delete rT[bP];
        }
}

var rT =3D {};//renderTime
rT.i =3D [];
timeInterval('renderbrowser');
rT.addHandler =3D function(object, event, handler, useCapture) {
        if (object.addEventListener) object.addEventListener(event, =
handler, useCapture ? useCapture : false);
        else if (object.attachEvent) object.attachEvent('on' + event, =
handler);
}
rT.radar_type =3D '';
if (window.name.indexOf('srvt') !=3D -1) {
        rT.srvt =3D ( new Date() ).getTime() - parseInt( =
window.name.substr(5) );
        window.name =3D '';
}

rT.addHandler(document, 'click', function() {
        if (!window.name.length || window.name.indexOf('srvt') > -1)
                window.name =3D 'srvt=3D' + (new Date()).getTime();
});
rT.addHandler(document, 'keypress', function() {
        if (window.name.indexOf('srvt') > -1) window.name =3D '';
});

rT.img0 =3D new Image();
rT.img0.src =3D 'http://my.radar.imgsmail.ru/update?' +
'p=3Dmy0' +
(rT.radar_type !=3D '' ? ('&t=3D' + rT.radar_type) : '') +
(rT.srvt ? ('&i=3Dsrvt:' + rT.srvt) : '') +
'&v=3D0&rnd=3D203386551' +
'';

} catch(e) {}
/*]]>*/</SCRIPT>
<!-- 3 -->
<META http-equiv=3Dcontent-type content=3D"text/html; =
charset=3Dwindows-1251">
<META=20
content=3D"=CC=EE=E9 =CC=E8=F0 - =C2=E0=F8=E8 =
=EE=E4=ED=EE=EA=EB=E0=F1=F1=ED=E8=EA=E8, =
=EE=E4=ED=EE=EA=F3=F0=F1=ED=E8=EA=E8, =E8 =E4=F0=F3=E7=FC=FF =
=F0=FF=E4=EE=EC =F1 =C2=E0=EC=E8. =D3=E4=EE=E1=ED=FB=E9 =EF=EE=E8=F1=EA =
=E1=FB=E2=F8=E8=F5 =E2=FB=EF=F3=F1=EA=ED=E8=EA=EE=E2, =F1=F2=E0=F0=FB=F5 =
=E4=F0=F3=E7=E5=E9, =ED=EE=E2=FB=F5 =E7=ED=E0=EA=EE=EC=FB=F5."=20
name=3Ddescription>
<META=20
content=3D"=E7=ED=E0=EA=EE=EC=F1=F2=E2=E0, =F1=E0=E9=F2 =
=E7=ED=E0=EA=EE=EC=F1=F2=E2, =E4=F0=F3=E7=FC=FF, =E4=F0=F3=E3, =
=F2=EE=E2=E0=F0=E8=F9, =EF=EE=E8=F1=EA =EB=FE=E4=E5=E9, =ED=E0=E9=F2=E8, =
=EE=E4=ED=EE=EA=EB=E0=F1=F1=ED=E8=EA, =
=EE=E4=ED=EE=EA=EB=E0=F1=F1=ED=E8=F6=E0, =
=EE=E4=ED=EE=EA=EB=E0=F1=F1=ED=E8=EA=E8, =
=EE=E4=ED=EE=EA=EB=E0=F1=ED=E8=EA=E8, =EE=E4=ED=EE=EA=F3=F0=F1=ED=E8=EA, =
=F1=EE=EA=F3=F0=F1=ED=E8=EA, =E2=FB=EF=F3=F1=EA=ED=E8=EA, =
=EA=EE=EB=EB=E5=E3=E8, =F8=EA=EE=EB=E0, =E8=ED=F1=F2=E8=F2=F3=F2, =
=F3=ED=E8=E2=E5=F0=F1=E8=F2=E5=F2, =EF=F2=F3, =F2=E5=F5=ED=E8=EA=F3=EC, =
=F3=F7=E8=EB=E8=F9=E5, =E3=E8=EC=ED=E0=E7=E8=FF"=20
name=3Dkeywords><LINK=20
href=3D"http://img2.imgsmail.ru/mail/ru/css/mf_css_xhtml.css?30" =
type=3Dtext/css=20
rel=3Dstylesheet><LINK =
href=3D"http://img2.imgsmail.ru/mail/ru/css/my_new.css?32"=20
type=3Dtext/css rel=3Dstylesheet><LINK=20
href=3D"http://img.imgsmail.ru/r/jim/jim.css?125" type=3Dtext/css=20
rel=3Dstylesheet><LINK =
href=3D"http://img.mail.ru/mail/ru/images/mywap/favicon.ico"=20
rel=3D"shortcut icon">
<STYLE type=3Dtext/css>.zapros {
	BORDER-RIGHT: #000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #000 1px =
solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 10px; BORDER-LEFT: #000 1px =
solid; WIDTH: 180px; PADDING-TOP: 10px; BORDER-BOTTOM: #000 1px solid; =
POSITION: absolute; BACKGROUND-COLOR: #fff; TEXT-ALIGN: center
}
.mf_count {
	FONT-SIZE: 1px; WIDTH: 1px; LINE-HEIGHT: 1px; HEIGHT: 5px
}
.mf_fixSize {
	MARGIN: 0px auto; WIDTH: 996px
}
#image_Rate {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
</STYLE>
<!--[if lt IE 7]>=0A=
<![if gte IE 5.5]>=0A=
<script type=3D"text/javascript" =
src=3D"http://img.mail.ru/r/js/blogs/png.js"></script>=0A=
<style type=3D"text/css">=0A=
.IEpng { filter:expression(PNG(this)); }=0A=
.IEpng a { position: relative; }/* =F1=F2=E8=EB=FC =E4=EB=FF =
=ED=EE=F0=EC=E0=EB=FC=ED=EE=E9 =F0=E0=E1=EE=F2=FB =F1=F1=FB=EB=EE=EA =E2 =
=FD=EB=E5=EC=E5=ED=F2=E0=F5 =F1 PNG-=F4=EE=ED=EE=EC */=0A=
</style>=0A=
<![endif]>=0A=
<![endif]--><!-- css_tmpl.html -->
<STYLE type=3Dtext/css>.pt18 {
	PADDING-TOP: 18px! important
}
.votespage_4_photo_for_vote {
	FONT-SIZE: 18px; FONT-FAMILY: Tahoma; TEXT-DECORATION: none! important
}
#audio_container .tag_field {
	MARGIN-RIGHT: 35px
}
.zvez {
	BACKGROUND: url(http://img3.imgsmail.ru/mail/ru/images/my/zvezda.jpg) =
no-repeat 110px bottom; HEIGHT: 143px
}
#utMega {
	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; Z-INDEX: 1000; PADDING-BOTTOM: =
7px; MARGIN: 160px 0px 0px 299px; PADDING-TOP: 7px; POSITION: absolute
}
.utMegaS {
	BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; BACKGROUND: =
#fff; BORDER-LEFT: #999 1px solid; BORDER-BOTTOM: #999 1px solid; =
TEXT-ALIGN: center
}
.utMega10 {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-SIZE: 95%; BORDER-LEFT: 0px; =
BORDER-BOTTOM: #b99000 1px solid; FONT-FAMILY: tahoma; BACKGROUND-COLOR: =
#fffbea! important; TEXT-ALIGN: left! important
}
.utMega10photo {
	RIGHT: 38px; TOP: 62px
}
.utMega10 SPAN {
	COLOR: #999999! important
}
.utMega10 B {
	FONT-SIZE: 120%; COLOR: #e20000! important
}
.utMega10BG {
	MARGIN-BOTTOM: 4px; PADDING-BOTTOM: 4px; BORDER-BOTTOM: #e3d08c 1px =
solid
}
.vals I {
	BACKGROUND-IMAGE: =
url(http://img0.imgsmail.ru/mail/ru/images/my/i_send_val.gif); WIDTH: =
16px
}
.h-90 {
	HEIGHT: 90px! important
}
.h-20 {
	HEIGHT: 20px! important
}
.h-50 {
	HEIGHT: 50px! important
}
#prob_friends H1.info {
	PADDING-RIGHT: 0px; PADDING-LEFT: 15px; FONT-SIZE: 100%; MARGIN-BOTTOM: =
10px; PADDING-BOTTOM: 5px; BORDER-LEFT: #19af00 2px solid; COLOR: =
#19af00; PADDING-TOP: 5px
}
.addfriends2 I {
	BACKGROUND-IMAGE: url(http://img1.imgsmail.ru/r/my/ico_myfriends.gif); =
WIDTH: 16px
}
TEXTAREA.inPut {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 100%; COLOR: #999999; BORDER-BOTTOM: #9ba3a9 1px solid; =
FONT-FAMILY: tahoma,Arial,Sans-Serif; HEIGHT: 100px
}
.inPut {
	BORDER-RIGHT: #9ba3a9 1px solid; BORDER-TOP: #9ba3a9 1px solid; =
PADDING-LEFT: 5px; FONT-SIZE: 100%; BORDER-LEFT: #9ba3a9 1px solid; =
WIDTH: 100%; COLOR: #999999; BORDER-BOTTOM: #9ba3a9 1px solid; =
FONT-FAMILY: tahoma,Arial,Sans-Serif; HEIGHT: 20px
}
.black {
	COLOR: #000000! important
}
H1.info_o {
	PADDING-RIGHT: 0px; PADDING-LEFT: 30px; MARGIN-BOTTOM: 20px; =
PADDING-BOTTOM: 15px; BORDER-LEFT: #fd7500 4px solid; COLOR: #000000; =
PADDING-TOP: 15px
}
H1.info_o DIV {
	FONT-WEIGHT: normal; FONT-SIZE: 70%; COLOR: #000000
}
SPAN.foto_preview {
	DISPLAY: inline-block
}
SPAN.foto_preview A.foto_border {
	BORDER-RIGHT: #003b75 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#003b75 1px solid; DISPLAY: inline-block; PADDING-LEFT: 5px; =
MARGIN-BOTTOM: -3px; PADDING-BOTTOM: 5px; BORDER-LEFT: #003b75 1px =
solid; PADDING-TOP: 5px; BORDER-BOTTOM: #003b75 1px solid
}
SPAN.foto_enlarge {
	MARGIN-TOP: 2px; DISPLAY: block; FONT-SIZE: 10px; BACKGROUND-COLOR: =
#003b75! important; TEXT-ALIGN: center
}
SPAN.foto_enlarge A {
	COLOR: #fff! important
}
SPAN.foto_enlarge A:hover {
	COLOR: #fff! important
}
SPAN.foto_border {
	BORDER-RIGHT: #003b75 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: =
#003b75 1px solid; DISPLAY: inline-block; PADDING-LEFT: 5px; =
PADDING-BOTTOM: 5px; BORDER-LEFT: #003b75 1px solid; PADDING-TOP: 5px; =
BORDER-BOTTOM: #003b75 1px solid; TEXT-ALIGN: center
}
SPAN.foto_autor {
	DISPLAY: inline-block; FONT: 11px/13px Arial; PADDING-TOP: 2px
}
.searchGoGo {
	FONT-SIZE: 120%; FONT-FAMILY: Tahoma
}
.searchGoGo I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://go.mail.ru/img/inf_projects_loupe2.jpg); VERTICAL-ALIGN: =
middle; WIDTH: 35px! important; CURSOR: pointer; LINE-HEIGHT: 0; =
MARGIN-RIGHT: 10px; HEIGHT: 49px! important
}
.searchGoGo A {
	TEXT-DECORATION: none
}
.searchGoGo SPAN {
	COLOR: #999999
}
.searchGoGo B {
	COLOR: #000000; TEXT-DECORATION: underline
}
.searchGoGo A:hover B {
	COLOR: #000000; TEXT-DECORATION: none
}
INPUT[type=3D'file'] {
	HEIGHT: auto! important
}
DIV.tipCommunity {
	PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 8px; Z-INDEX: 100; =
BACKGROUND: url(http://img2.imgsmail.ru/mail/ru/images/my/bg_user.gif) =
#ffffff repeat-x 50% bottom; PADDING-BOTTOM: 3px; MARGIN: 10px -20px 0px =
0px; BORDER-LEFT: #cdcfd0 1px solid; PADDING-TOP: 3px; BORDER-BOTTOM: =
#cdcfd0 1px solid; POSITION: absolute
}
DIV.tipCommunity DIV {
	BORDER-RIGHT: #e3e3e3 8px solid; DISPLAY: inline; FONT-SIZE: 0px; =
FILTER: chroma(color=3D'#876543'); BOTTOM: -7px; LINE-HEIGHT: 0; =
BORDER-BOTTOM: #876543 8px solid; POSITION: relative; TOP: 14px; HEIGHT: =
1px
}
TABLE.tableSort TR.topSort TD.bold_a {
	BORDER-BOTTOM: #acafc0 4px solid
}
TABLE.tableSort TR.topSort TD.bold_d {
	BORDER-BOTTOM: #acafc0 4px solid
}
.bold_a I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img3.imgsmail.ru/r/my/treug_up.gif) no-repeat right center; =
VERTICAL-ALIGN: middle; WIDTH: 16px; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; =
HEIGHT: 16px
}
.bold_d I {
	DISPLAY: inline-block; FONT-SIZE: 0px; BACKGROUND: =
url(http://img0.imgsmail.ru/r/my/treug_down.gif) no-repeat right center; =
VERTICAL-ALIGN: middle; WIDTH: 16px; LINE-HEIGHT: 0; MARGIN-RIGHT: 4px; =
HEIGHT: 16px
}
.bold_a A {
	FONT-WEIGHT: bold
}
.bold_d A {
	FONT-WEIGHT: bold
}
TABLE.tableSort TR.topSort TD {
	PADDING-RIGHT: 7px; PADDING-LEFT: 10px; FONT-SIZE: 70%; PADDING-BOTTOM: =
5px; COLOR: #3a3b40; PADDING-TOP: 6px; FONT-FAMILY: tahoma; =
BACKGROUND-COLOR: #e7e8ed
}
DIV.bestFriend {
	BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: =
#cccccc 1px solid; PADDING-LEFT: 10px; Z-INDEX: 10; LEFT: 0px; =
PADDING-BOTTOM: 10px; MARGIN: 11px 0px 0px; BORDER-LEFT: #cccccc 1px =
solid; WIDTH: 220px; COLOR: #999999; PADDING-TOP: 10px; BORDER-BOTTOM: =
#cccccc 1px solid; FONT-FAMILY: tahoma; POSITION: absolute; TOP: 0px; =
BACKGROUND-COLOR: #ffffff
}
DIV.bestFriend P {
	PADDING-BOTTOM: 5px
}
DIV.bestFriend DIV {
	PADDING-BOTTOM: 1px
}
DIV.bestFriend I.break {
	BACKGROUND: url(http://img1.imgsmail.ru/mail/ru/images/my/i_del.gif) =
no-repeat -16px -4px; FLOAT: right! important; MARGIN: -5px; WIDTH: 9px! =
important; CURSOR: pointer! important; HEIGHT: 11px! important
}
.nameDobest {
	FONT-SIZE: 95%; FONT-FAMILY: Tahoma; TEXT-ALIGN: center
}
.nameDobest A {
	CURSOR: pointer; COLOR: #999999; BORDER-BOTTOM: #999999 1px dashed; =
TEXT-DECORATION: none
}
.nameDobest A:hover {
	BORDER-BOTTOM: #999999 1px solid
}
</STYLE>

<SCRIPT type=3Dtext/javascript>=0A=
var isOpera =3D Boolean(window["opera"]);=0A=
var isIE =3D (navigator.appName.indexOf("Microsoft") !=3D -1) && =
!isOpera;=0A=
var PhotoAvtHost =3D 'avt.foto.mail.ru';=0A=
var ActiveID =3D "119084356";=0A=
var JournalName =3D "";=0A=
var JournalEmail =3D '';=0A=
var MyMailHost =3D 'my.mail.ru';=0A=
var JHash =3D {=0A=
'ActiveID': '119084356',=0A=
=0A=
'':''=0A=
};=0A=
</SCRIPT>

<SCRIPT type=3Dtext/javascript>=0A=
try { document.domain =3D "mail.ru"; }  catch (e) { }=0A=
function gebi(id){ return document.getElementById(id) }=0A=
</SCRIPT>
<!--[if lt IE 7]>=0A=
<style type=3D"text/css">=0A=
.mf_spTop {background-image: =
url(http://img0.imgsmail.ru/mail/ru/images/my/_sprite_top_IE.png?3);}=0A=
</style>=0A=
<![endif]-->
<STYLE type=3Dtext/css>.mf_a90_no {
	BACKGROUND-POSITION: 0px -2910px; DISPLAY: inline-block! important; =
FONT-SIZE: 0px; VERTICAL-ALIGN: middle; WIDTH: 90px; CURSOR: pointer; =
LINE-HEIGHT: 0; HEIGHT: 90px; TEXT-ALIGN: center
}
.mf_mm_market1 {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/klinskoe.png) no-repeat
}
.mf_mm_market1 A {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/klinskoe.png) no-repeat
}
.mf_mm_market1 {
	BACKGROUND-POSITION: right 0px
}
.mf_mm_market1 A {
	BACKGROUND-POSITION: 0px 0px; COLOR: #fff! important
}
.mf_mm_market2 {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/_sprite_top_market.png?2) =
no-repeat
}
.mf_mm_market2 A {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/_sprite_top_market.png?2) =
no-repeat
}
.mf_mm_market2 {
	BACKGROUND-POSITION: right -60px
}
.mf_mm_market2 A {
	BACKGROUND-POSITION: 0px -60px; COLOR: #fff! important
}
.mf_mm_market3 {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/_sprite_top_market.png?2) =
no-repeat
}
.mf_mm_market3 A {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/_sprite_top_market.png?2) =
no-repeat
}
.mf_mm_market3 {
	BACKGROUND-POSITION: right -90px
}
.mf_mm_market3 A {
	BACKGROUND-POSITION: 0px -90px; COLOR: #fff! important
}
.mf_mm_market4 {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/brands/_market_audi.png) =
no-repeat
}
.mf_mm_market4 A {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/brands/_market_audi.png) =
no-repeat
}
.mf_mm_market4 {
	BACKGROUND-POSITION: 100% 0px
}
.mf_mm_market5 {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/_market_vine.png?1) =
no-repeat
}
.mf_mm_market5 A {
	BACKGROUND: url(http://img1.imgsmail.ru/r/my/_market_vine.png?1) =
no-repeat
}
.mf_mm_market5 {
	BACKGROUND-POSITION: 100% 0px
}
.mf_mm_market5 A {
	BACKGROUND-POSITION: 0px 0px; WIDTH: 86px
}
</STYLE>
<!-- BEGIN: top_base -->
<META content=3D"MSHTML 6.00.6000.20935" name=3DGENERATOR></HEAD>
<BODY vLink=3D#0857a6 aLink=3D#f26d00 link=3D#0857a6 onload=3D"">
<DIV class=3Dmf_count id=3Dtop_counters><IMG height=3D1=20
src=3D"http://www.tns-counter.ru/V13a****mail_ru/ru/CP1251/tmsec=3Dmail_m=
y-other/"=20
width=3D1> <!--LiveInternet counter-->
<SCRIPT type=3Dtext/javascript><!--=0A=
document.write("<img src=3D'http://counter.yadro.ru/hit?r"+=0A=
escape(document.referrer)+((typeof(screen)=3D=3D"undefined")?"":=0A=
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?=0A=
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+=0A=
";"+Math.random()+=0A=
"' width=3D1 height=3D1 alt=3D''>")//--></SCRIPT>
<!--/LiveInternet--></DIV><!-- blogs parts -->
<DIV id=3Dshadow_div=20
style=3D"DISPLAY: none; Z-INDEX: 200; FILTER: alpha(opacity=3D50); LEFT: =
0px; WIDTH: 100%; POSITION: absolute; HEIGHT: 1500px; BACKGROUND-COLOR: =
#333; opacity: 0.5"><IMG=20
height=3D1 src=3D"http://img.mail.ru/0.gif" width=3D1></DIV><IMG =
id=3DforUserPicShow=20
style=3D"BORDER-RIGHT: #e3e5eb 5px solid; BORDER-TOP: #e3e5eb 5px solid; =
DISPLAY: none; Z-INDEX: 10; BORDER-LEFT: #e3e5eb 5px solid; =
BORDER-BOTTOM: #e3e5eb 5px solid; POSITION: absolute"=20
src=3D"http://img.mail.ru/r/blogs/wait.gif"> <!-- =F2=E5=EF=E5=F0=FC =E2 =
jupdate =E8=ED=EA=EB=FE=E4=E8=F2=F1=FF =E4=E0=ED=ED=EE=E5 ... -->
<DIV class=3DusinfArrow id=3DuserDropDownId style=3D"DISPLAY: none"=20
onclick=3Dbubble()></DIV>
<DIV id=3Dcapcha_popup></DIV>
<DIV id=3DfriendInviteDiv style=3D"DISPLAY: none; Z-INDEX: 512; =
POSITION: relative">
<DIV id=3DfriendInviteDivIn=20
style=3D"BORDER-RIGHT: #ff8b33 2px solid; PADDING-RIGHT: 4px; =
BORDER-TOP: #ff8b33 2px solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; =
BORDER-LEFT: #ff8b33 2px solid; WIDTH: 500px; PADDING-TOP: 4px; =
BORDER-BOTTOM: #ff8b33 2px solid; POSITION: absolute; HEIGHT: 467px; =
BACKGROUND-COLOR: #fff; border-radius: 10px; -moz-border-radius: 10px; =
-webkit-border-radius: 10px; -khtml-border-radius: 10px"><IMG=20
class=3DIEpng title=3D=C7=E0=EA=F0=FB=F2=FC=20
style=3D"RIGHT: 8px; CURSOR: pointer; POSITION: absolute; TOP: 6px"=20
onclick=3D"friendInviteClose('friendInviteDiv');" height=3D16 =
alt=3D=C7=E0=EA=F0=FB=F2=FC=20
src=3D"http://img0.imgsmail.ru/r/blogs/ico_del.png" width=3D16 =
border=3D0> <IFRAME=20
id=3DfriendInviteFrame style=3D"MARGIN-TOP: -2px"=20
src=3D"http://img1.imgsmail.ru/0.gif" frameBorder=3D0 width=3D500 =
scrolling=3Dno=20
height=3D465></IFRAME></DIV></DIV>
<SCRIPT type=3Dtext/javascript><!--=0A=
function friendInviteShow(id,src,startObj) {=0A=
    friendInviteClose(id);=0A=
    gebi('friendInviteFrame').src=3Dsrc;=0A=
    shadowDiv(1,'#FFF');=0A=
    =
gebi(id+'In').style.left=3DparseInt(document.body.scrollWidth/2)-250+'px'=
;=0A=
    gebi(id+'In').style.top =3D =
parseInt(getClientHeight()/2)+getBodyScrollTop()-200+'px';=0A=
    gebi(id).style.display =3D 'block';=0A=
}=0A=
=0A=
var friendInviteDivIn_Old_height =3D =
gebi('friendInviteDivIn').style.height;=0A=
var friendInviteDivIn_Old_width =3D =
gebi('friendInviteDivIn').style.width;=0A=
var friendInviteFrame_Old_height =3D =
gebi('friendInviteFrame').style.height;=0A=
var friendInviteFrame_Old_width =3D =
gebi('friendInviteFrame').style.width;=0A=
=0A=
function challengeSequenceShow() {=0A=
    friendInviteClose('friendInviteDiv');=0A=
    var id =3D 'friendInviteDivIn';=0A=
=0A=
    gebi('friendInviteFrame').style.height =3D '250px'; // good start=0A=
    gebi('friendInviteFrame').style.width =3D '550px'; // good start=0A=
    var frameWidth =3D parseInt(gebi('friendInviteFrame').style.width); =
// cap Obvious=0A=
    gebi(id).style.height =3D 'auto';=0A=
    gebi(id).style.width =3D 'auto';=0A=
    shadowDiv(1, '#FFF');=0A=
    gebi(id).style.left =3D =
parseInt(document.body.scrollWidth/2)-frameWidth/2+'px';=0A=
    gebi(id).style.top  =3D =
parseInt(getClientHeight()/2)+getBodyScrollTop()-200+'px';=0A=
    gebi('friendInviteDiv').style.display =3D 'block';=0A=
    =
gebi('friendInviteFrame').src=3D'http://blogs.mail.ru/cgi-bin/journal/jch=
allenge?action=3Dsequence';=0A=
}=0A=
=0A=
function friendInviteClose(id) {=0A=
    shadowDiv(0);=0A=
    gebi(id).style.display =3D 'none';=0A=
    gebi('friendInviteDivIn').style.height =3D =
friendInviteDivIn_Old_height;=0A=
    gebi('friendInviteDivIn').style.width =3D =
friendInviteDivIn_Old_width;=0A=
    gebi('friendInviteFrame').style.height =3D '';=0A=
    gebi('friendInviteFrame').style.width =3D '';=0A=
	gebi('friendInviteFrame').src=3D'';=0A=
}=0A=
=0A=
function ShowBlogsPopup(src,w,h,color) {=0A=
	var id =3D 'friendInviteDiv';=0A=
	CloseBlogsPopup();=0A=
	=0A=
    gebi('friendInviteFrame').src=3Dsrc;=0A=
	=0A=
    if(!color) shadowDiv(0);=0A=
	else if(color =3D=3D 1) shadowDiv(1,'#FFF');=0A=
	else shadowDiv(1,color);=0A=
	=0A=
	if(h) {=0A=
		gebi('friendInviteFrame').style.height =3D h;=0A=
		gebi(id+'In').style.height =3D 'auto';    =0A=
	}=0A=
    if(w) {=0A=
		gebi('friendInviteFrame').style.width =3D w;=0A=
		gebi(id+'In').style.width =3D 'auto';=0A=
	}=0A=
    =
gebi(id+'In').style.left=3DparseInt(document.body.scrollWidth/2)-(w?w/2:2=
50)+'px';=0A=
    gebi(id+'In').style.top =3D =
parseInt(getClientHeight()/2)+getBodyScrollTop()-(h?h/2:200)+'px';=0A=
    gebi(id).style.display =3D 'block';=0A=
	return false;=0A=
}=0A=
function CloseBlogsPopup() {=0A=
    var id =3D 'friendInviteDiv';=0A=
	shadowDiv(0);=0A=
    gebi(id).style.display =3D 'none';=0A=
    gebi('friendInviteDivIn').style.height =3D =
friendInviteDivIn_Old_height;=0A=
    gebi('friendInviteDivIn').style.width =3D =
friendInviteDivIn_Old_width;=0A=
    gebi('friendInviteFrame').style.height =3D '';=0A=
    gebi('friendInviteFrame').style.width =3D '';=0A=
	gebi('friendInviteFrame').src=3D'';=0A=
	return false;=0A=
}=0A=
=0A=
=0A=
//--></SCRIPT>

<SCRIPT type=3Dtext/javascript>if =
(document.location.hash=3D=3D'#challengeSequenceShow') =
challengeSequenceShow();//--></SCRIPT>
<!-- /blogs parts -->
<SCRIPT=20
src=3D"http://img3.imgsmail.ru/mail/ru/images/js/myjs/prototype-1.6.0.3.j=
s?2"=20
type=3Dtext/javascript charset=3Dwindows-1251></SCRIPT>

<SCRIPT class=3Dbstr-noexec=20
src=3D"http://img3.imgsmail.ru/mail/ru/images/js/myjs/booster.js?15"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT =
src=3D"http://img3.imgsmail.ru/mail/ru/images/js/myjs/mrim-status2.js?4" =

type=3Dtext/javascript charset=3Dwindows-1251></SCRIPT>

<SCRIPT=20
src=3D"http://img3.imgsmail.ru/mail/ru/images/js/myjs/ajax-legacy-support=
.js?1"=20
type=3Dtext/javascript charset=3Dwindows-1251></SCRIPT>

<SCRIPT =
src=3D"http://img3.imgsmail.ru/mail/ru/images/js/myjs/global.js?27"=20
type=3Dtext/javascript charset=3Dwindows-1251></SCRIPT>

<SCRIPT type=3Dtext/javascript charset=3Dwindows-1251>=0A=
    function request_open(request, method, url){=0A=
        request.open(method, "http://my.mail.ru/cgi-bin/my/ajax" + url, =
true);=0A=
    }=0A=
    =0A=
    function ajax_call(){=0A=
        var args =3D ajax_call.arguments;=0A=
        // Very dirty=0A=
        var url =3D '/cgi-bin/my/';=0A=
        var start_from =3D 0;=0A=
        if (args[0] =3D=3D 'community') {=0A=
            url =3D args[1];=0A=
            start_from =3D 2;=0A=
        }=0A=
        var func_name =3D args[start_from];=0A=
        var func_args =3D [];=0A=
        var callback;=0A=
        var callback_object;=0A=
        for (var i =3D start_from + 1; i < args.length; i++) {=0A=
            if ((typeof(args[i]) !=3D "undefined") && =
(args[i].constructor =3D=3D Function)) {=0A=
                callback =3D args[i];=0A=
                if (args.length > i + 1) {=0A=
                    callback_object =3D args[i + 1];=0A=
                }=0A=
                break;=0A=
            }=0A=
            else {=0A=
                func_args[func_args.length] =3D args[i];=0A=
            }=0A=
        }=0A=
        var pos =3D ajax_requests.length;=0A=
        var request =3D new AjaxRequest("POST", 'http://my.mail.ru' + =
url + 'ajax', func_name, func_args, callback, callback_object);=0A=
        ajax_requests[pos] =3D request;=0A=
        if (!request.send()) {=0A=
            ajax_requests.splice(ajax_requests.length - 1, 1);=0A=
            return false;=0A=
        }=0A=
        else {=0A=
            return true;=0A=
        }=0A=
    }=0A=
</SCRIPT>
<IMG id=3DforUserPicShow=20
style=3D"BORDER-RIGHT: #e3e5eb 5px solid; BORDER-TOP: #e3e5eb 5px solid; =
DISPLAY: none; Z-INDEX: 10; BORDER-LEFT: #e3e5eb 5px solid; =
BORDER-BOTTOM: #e3e5eb 5px solid; POSITION: absolute"=20
alt=3D"" src=3D"http://img.mail.ru/mail/ru/images/my/wait.gif"> <!-- =
Reklama/ShowBanner(4103) -->
<STYLE type=3Dtext/css>.foot1 {
	BORDER-RIGHT: #ffffff 1px solid; MARGIN-TOP: 20px; FONT-SIZE: 0px; =
MARGIN-BOTTOM: -1px; BORDER-LEFT: #ffffff 1px solid; LINE-HEIGHT: 0; =
POSITION: relative; HEIGHT: 1px
}
.foot2 {
	PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-SIZE: 95%; =
PADDING-BOTTOM: 7px; OVERFLOW: visible; COLOR: #ffffff; PADDING-TOP: =
5px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #00468c
}
.foot2 A {
	COLOR: #ffffff
}
.foot2 A:hover {
	COLOR: #cce8ff
}
.foot3 {
	BORDER-RIGHT: #ffffff 1px solid; MARGIN-TOP: -1px; FONT-SIZE: 0px; =
MARGIN-BOTTOM: 10px; BORDER-LEFT: #ffffff 1px solid; LINE-HEIGHT: 0; =
POSITION: relative; HEIGHT: 1px
}
</STYLE>

<DIV class=3DWWW>
<DIV class=3D"mf_shapkaMain mf_spTop">
<DIV class=3Dmf_shapkaSns><SPAN class=3D"mf_t11 mf_w =
mf_shapkaSnsA">=D1=E5=E9=F7=E0=F1 =ED=E0 =F1=E0=E9=F2=E5:=20
<B>500306</B> =F7=E5=EB=EE=E2=E5=EA</SPAN> </DIV>
<DIV class=3D"mf_shapkaLogo mf_spTop"><A class=3Dmf_shapkaLogoA=20
href=3D"http://my.mail.ru/"></A><A class=3Dmf_shapkaLogoA=20
href=3D"http://mail.ru/"></A></DIV>
<FORM class=3Dmf_shapkaForm action=3D/cgi-bin/logout=20
method=3Dpost><SPAN>bik-rif@mail.ru</SPAN> &nbsp;&nbsp;&nbsp;<INPUT =
class=3Dbut_min_out type=3Dsubmit value=3D" =C2=FB=F5=EE=E4 "> </FORM>
<DIV class=3D"mf_spTop mf_shapkaBookmars">
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"http://win.mail.ru/cgi-bin/start?1390370218">=CF=EE=F7=F2=E0</A><=
/DIV>
<DIV class=3D"mf_spTop mf_mmAct"><A class=3D"mf_spTop mf_mmActA"=20
href=3D"http://my.mail.ru/mail/bik-rif/" =
name=3Dcln3644>=CC=EE=E9&nbsp;=EC=E8=F0</A></DIV>
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"http://foto.mail.ru/" name=3Dcln3645>=D4=EE=F2=EE</A></DIV>
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"http://video.mail.ru/" name=3Dcln3646>=C2=E8=E4=E5=EE</A></DIV>
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"http://blogs.mail.ru/" name=3Dcln3647>=C1=EB=EE=E3=E8</A></DIV>
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"http://files.mail.ru/" name=3Dcln4167>=D4=E0=E9=EB=FB</A></DIV>
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"http://games.mail.ru/" name=3Dcln4720>=C8=E3=F0=FB</A></DIV>
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"http://love.mail.ru/" target=3D_blank =
name=3Dcln4880>=C7=ED=E0=EA=EE=EC=F1=F2=E2=E0</A></DIV>
<DIV class=3D"mf_spTop mf_mm"><A class=3D"mf_spTop mf_mmA"=20
href=3D"https://money.mail.ru/" target=3D_blank =
name=3Dcln6093>=C4=E5=ED=FC=E3=E8</A></DIV>
<DIV class=3D"mf_mm mf_mm_market2"><A class=3Dmf_mmA=20
href=3D"http://r.mail.ru/n46578069" =
target=3D_blank>=C1=FE=E4=E6=E5=F2=ED=FB=E5 =CC=E1</A></DIV></DIV><A=20
class=3Dmf_shapkaTL></A><A class=3Dmf_shapkaTR></A><A =
class=3Dmf_shapkaBL></A><A=20
class=3Dmf_shapkaBR></A></DIV></DIV>
<DIV class=3DWWW>
<DIV class=3D"mf_menuProject mf_ohd">
<DIV class=3Dmf_fll><A class=3D"mf_spIco mf_iHome" =
href=3D"http://my.mail.ru/"=20
type=3Dbooster>=CC=EE=FF =F1=F2=F0=E0=ED=E8=F6=E0</A> </DIV>
<DIV class=3Dmf_flr><A class=3D"mf_spIco mf_iFindMen mf_mr13"=20
href=3D"http://my.mail.ru/my/search?typeSimple=3D1">=CF=EE=E8=F1=EA</A> =
<A=20
class=3D"mf_spIco mf_iComms mf_mr13"=20
href=3D"http://my.mail.ru/catalog">=D1=EE=EE=E1=F9=E5=F1=F2=E2=E0</A> <A =

class=3D"mf_spIco mf_iPlus10 mf_mr13"=20
href=3D"http://my.mail.ru/my/phototop">=D0=E5=E9=F2=E8=ED=E3</A> <A=20
class=3D"mf_spIco mf_iVote mf_mr13"=20
href=3D"http://my.mail.ru/cgi-bin/my/photo_for_vote">=CE=F6=E5=ED=E8=F2=FC=
 =F4=EE=F2=EE</A> <A=20
class=3D"mf_spIco mf_iWantTalk mf_mr13"=20
href=3D"http://my.mail.ru/cgi-bin/my/top?all=3Dtrue">=D5=EE=F7=F3 =
=EE=E1=F9=E0=F2=FC=F1=FF</A> <A=20
class=3D"mf_spIco mf_iPost mf_mr13" =
href=3D"http://my.mail.ru/my/news">=CF=F0=FF=EC=EE=E9=20
=FD=F4=E8=F0</A> <A class=3D"mf_spIco mf_iMusic mf_mr13"=20
href=3D"http://my.mail.ru/my/audio-top">=CC=F3=E7=FB=EA=E0</A> <A=20
class=3D"mf_spIco mf_iAppCatalog mf_bold"=20
href=3D"http://my.mail.ru/cgi-bin/app/popular">=CF=F0=E8=EB=EE=E6=E5=ED=E8=
=FF</A> </DIV></DIV></DIV>
<DIV class=3Dhelp_div id=3Dhelp_div align=3Dleft></DIV>
<DIV class=3D"mainDivS WWW">
<DIV class=3Dleft_container>
<DIV class=3Dmf_borderBlue><I class=3D"mf_spIco mf_iDel3 mf_iDelAlert3"=20
id=3Dalert_delete></I>
<DIV id=3Dalert_container><!-- The spike. Do not remove it. --><!-- =
begin world alerts -->
<DIV class=3Dmf_aBlockWhite>
<H5 class=3D"mf_spIco mf_iAddMen =
mf_t14">=D1=EE=EE=E1=F9=E5=F1=F2=E2=EE</H5>
<DIV class=3Dmf_ohd><A class=3D"mf_fll mf_mr5 mf_a45 mf_mb0 booster-sc"=20
style=3D"BACKGROUND-IMAGE: =
url(http://avt.foto.mail.ru/community/kabbalahsevast/_avatarsmall)"=20
href=3D"http://my.mail.ru/community/kabbalahsevast/" type=3Dbooster></A>
<DIV class=3D"mf_ml0 mf_ohd"><SPAN class=3D"mf_t11 mf_grey2">=C2=FB =
=E2=F1=F2=F3=EF=E8=EB=E8 =E2=20
=F1=EE=EE=E1=F9=E5=F1=F2=E2=EE <A class=3Dmf_t11=20
href=3D"http://my.mail.ru/community/kabbalahsevast/">kabbalahse<WBR>vast<=
/A></SPAN>=20

<DIV class=3D"mf_mt5 mf_mb5"></DIV><SPAN class=3D"mf_grey2 mf_t11"><A=20
href=3D"http://my.mail.ru/my/communities">=C2=F1=E5 =E2=E0=F8=E8 =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=E0</A></SPAN>=20
</DIV></DIV></DIV></DIV></DIV>
<DIV class=3Dmf_noHeight id=3DAlertsKeeper></DIV>
<SCRIPT =
type=3Dtext/javascript>document.getElementById('alert_container').parentN=
ode.style.display =3D 'block';</SCRIPT>

<DIV class=3Dmf_borderGrey>
<OL class=3Dmf_nav>
  <LI class=3Dmf_navElN><A class=3D"mf_navMy booster-sc"=20
  href=3D"http://my.mail.ru/mail/bik-rif/" type=3Dbooster>=CC=EE=E9 =
=CC=E8=F0</A> </LI>
  <LI class=3D"mf_spIco mf_navEl"><A class=3Dbooster-sc=20
  href=3D"http://my.mail.ru/mail/bik-rif/friends" =
type=3Dbooster>=C4=F0=F3=E7=FC=FF</A> </LI>
  <LI class=3D"mf_spIco mf_navEl"><A class=3Dbooster-sc=20
  href=3D"http://my.mail.ru/dialogues" =
type=3Dbooster>=D1=EE=EE=E1=F9=E5=ED=E8=FF</A> </LI>
  <LI class=3D"mf_spIco mf_navEl"><A=20
  =
href=3D"http://my.mail.ru/mail/bik-rif/app/installed">=CF=F0=E8=EB=EE=E6=E5=
=ED=E8=FF</A> <A=20
  class=3Dmf_navInf=20
  =
href=3D"http://my.mail.ru/mail/bik-rif/app/notified"><B>11</B>&nbsp;<SPAN=
=20
  class=3Dmf_t10>=F3=E2=E5=E4=EE=EC=EB=E5=ED=E8=E9</SPAN></A> </LI>
  <LI class=3D"mf_spIco mf_navEl"><A=20
  href=3D"http://foto.mail.ru/mail/bik-rif/">=D4=EE=F2=EE</A> </LI>
  <LI class=3D"mf_spIco mf_navEl"><A=20
  href=3D"http://video.mail.ru/mail/bik-rif/">=C2=E8=E4=E5=EE</A> </LI>
  <LI class=3D"mf_spIco mf_navEl"><A=20
  href=3D"http://my.mail.ru/mail/bik-rif/audio">=CC=F3=E7=FB=EA=E0</A> =
</LI>
  <LI class=3D"mf_spIco mf_navEl"><A=20
  =
href=3D"http://my.mail.ru/my/communities">=D1=EE=EE=E1=F9=E5=F1=F2=E2=E0<=
/A> </LI>
  <LI class=3D"mf_spIco mf_navEl"><A=20
  href=3D"http://my.mail.ru/my/userinfo">=C0=ED=EA=E5=F2=E0</A>=20
  <LI class=3Dmf_navElN2><SPAN onclick=3DMF.navSwitch(1);><A=20
  class=3D"mf_otherHide mf_otherHide_nav mf_cp" =
id=3DnavOherSwitch></A><A=20
  class=3D"mf_cp mf_borderDashed">=C5=F9=E5</A></SPAN>=20
  <LI class=3Dmf_navElN3 id=3DnavOherBlock style=3D"DISPLAY: none"><A=20
  class=3D"mf_navSub booster-sc" =
href=3D"http://my.mail.ru/mail/bik-rif/gifts"=20
  type=3Dbooster>=CF=EE=E4=E0=F0=EA=E8</A><BR><A class=3Dmf_navSub=20
  href=3D"http://my.mail.ru/my/visitors">=C3=EE=F1=F2=E8</A><BR><A =
class=3Dmf_navSub=20
  =
href=3D"http://my.mail.ru/mail/bik-rif/items?Type=3DHave">=C2=E5=F9=E8</A=
><BR><A=20
  class=3Dmf_navSub =
href=3D"http://my.mail.ru/my/favorite">=C8=E7=E1=F0=E0=ED=ED=FB=E5</A><BR=
><A=20
  class=3Dmf_navSub =
href=3D"http://my.mail.ru/my/editprops?view=3Dmain">=CD=E0=F1=F2=F0=EE=E9=
=EA=E8</A>=20
  </LI></OL></DIV>
<DIV class=3Dleft_banner id=3Dbanner_container_1></DIV>
<DIV class=3Dleft_banner id=3Dbanner_container_2></DIV><!-- =C4=CD=C8 =
=D0=CE=C6=C4=C5=CD=C8=DF --><!-- =C4=CD=C8 =D0=CE=C6=C4=C5=CD=C8=DF =
=D1=CE=CE=C1=D9=C5=D1=D2=C2=C0 -->
<SCRIPT type=3Dtext/javascript>=0A=
function get_cookie (name) {=0A=
   var prefix =3D name + "=3D";    =0A=
   var start =3D document.cookie.indexOf(prefix);=0A=
   if (start =3D=3D -1) return null;  =0A=
   start +=3D prefix.length;=0A=
   var end =3D document.cookie.indexOf(";", start); =0A=
   if (end =3D=3D -1) end =3D document.cookie.length;=0A=
   return unescape(document.cookie.substring(start, end));=0A=
}=0A=
=0A=
function get_cookie_values (name) {=0A=
   var str =3D get_cookie (name);=0A=
   if(str =3D=3D null) return [1,1];  =0A=
   var arr =3D new Array();=0A=
   =0A=
   if (str && str.indexOf(':') !=3D -1) {=0A=
      arr =3D str.split(':');=0A=
   } else {=0A=
      arr[0] =3D 1; //str ? 1 : 0;=0A=
      arr[1] =3D 1; //0;=0A=
   }=0A=
   =0A=
   return arr;=0A=
}=0A=
=0A=
var domain =3D ".mail.ru";=0A=
=0A=
function set_cookie (name, value) { =0A=
   var expires =3D new Date(); =0A=
   expires.setTime(expires.getTime() + (7 * 24 * 3600 * 1000)); =0A=
=0A=
   if (!domain) {=0A=
      domain =3D ".mail.ru";=0A=
   }=0A=
=0A=
   var cookie =3D name + "=3D" + escape(value) + =
";expires=3D"+expires.toGMTString()+";path=3D/"; =0A=
   if (cookie.length <=3D 4000) document.cookie =3D cookie;=0A=
}=0A=
=0A=
function swap_region (val) {=0A=
   var arr =3D get_cookie_values('want');=0A=
   arr[1] =3D val ? 1 : 0;=0A=
   =0A=
   set_cookie ('want', arr[0] + ':' + arr[1]);=0A=
}=0A=
=0A=
function show_block (val) {=0A=
   var want =3D 0;=0A=
   var arr  =3D get_cookie_values('want');=0A=
   =0A=
   if ( typeof(val) =3D=3D 'undefined' ) {=0A=
      want =3D arr[0];=0A=
   } else {=0A=
      want =3D val ? 1 : 0;=0A=
      set_cookie ('want', want + ':' + arr[1]);=0A=
   }=0A=
=0A=
   if (want =3D=3D 0) {=0A=
      document.getElementById('id2').style.display=3D'none';=0A=
      document.getElementById('id1').style.display=3D'none';=0A=
      document.getElementById('id3').style.display=3D'block';=0A=
   } else  {=0A=
      document.getElementById('id2').style.display=3D'block';=0A=
      document.getElementById('id1').style.display=3D'block';=0A=
      document.getElementById('id3').style.display=3D'none';=0A=
   }=0A=
}=0A=
</SCRIPT>

<DIV class=3D"mf_smsTop mf_ohd">
<DIV class=3Dmf_smsTopHide><SPAN id=3Did1><A class=3Dmf_smsTopHideA=20
onclick=3Dshow_block(0); =
href=3D"javascript:void(null)">=F1=EA=F0=FB=F2=FC</A></SPAN><SPAN=20
id=3Did3><A class=3Dmf_smsTopHideA onclick=3Dshow_block(1);=20
href=3D"javascript:void(null)">=EF=EE=EA=E0=E7=E0=F2=FC</A></SPAN></DIV>
<DIV class=3D"mt20 mb10"><A class=3Dmf_h1aOrange=20
href=3D"http://my.mail.ru/cgi-bin/my/top?all=3Dtrue">=D5=EE=F7=F3 =
=EE=E1=F9=E0=F2=FC=F1=FF</A></DIV>
<DIV id=3Did2>
<DIV class=3D"mf_grey mf_t11 mb15"><A class=3D"mf_borderDashed mf_grey2 =
mf_bold"=20
onclick=3Dswap_region(1) =
href=3D"http://my.mail.ru/cgi-bin/my/top?all=3Dtrue">=E2=F1=E5</A>=20
<SPAN>|</SPAN> <A class=3D"mf_borderDashed mf_grey2" =
onclick=3Dswap_region(0)=20
href=3D"http://my.mail.ru/cgi-bin/my/top">=D1=E0=F0=E0=F2=EE=E2=F1=EA=E0=FF=
 =EE=E1=EB.</A> </DIV>
<DIV style=3D"WORD-SPACING: 1px"><SPAN=20
class=3D"mf_blockOne mf_blockOneMain mf_tal"><A class=3D"mf_a90 =
booster-sc"=20
style=3D"BACKGROUND-IMAGE: =
url(http://avt.foto.mail.ru/mail/pimnat/_avatar?1264834589)"=20
href=3D"http://my.mail.ru/mail/pimnat/" type=3Dbooster></A><BR><A=20
class=3D"mf_o90 booster-sc"=20
href=3D"http://my.mail.ru/my/dialogues?thread=3Dpimnat@mail.ru"=20
type=3Dbooster>=ED=E0&nbsp;=F1=E0=E9=F2=E5</A><BR><A class=3D"mf_spIco =
spr-mrim-9"=20
title=3D"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5"=20
href=3D"http://www.mail.ru/agent?message&amp;to=3Dpimnat@mail.ru"=20
type=3Dmrim-status-9></A><A class=3Dbooster-sc =
href=3D"http://my.mail.ru/mail/pimnat/"=20
type=3Dbooster>* =CD=E0=F2=E0=EB=FC=FF *</A> </SPAN><SPAN=20
class=3D"mf_blockOne mf_blockOneMain mf_tal"><A class=3D"mf_a90 =
booster-sc"=20
style=3D"BACKGROUND-IMAGE: =
url(http://avt.foto.mail.ru/mail/arevik-norik/_avatar?1266406431)"=20
href=3D"http://my.mail.ru/mail/arevik-norik/" type=3Dbooster></A><BR><A=20
class=3D"mf_o90 booster-sc"=20
href=3D"http://my.mail.ru/my/dialogues?thread=3Darevik-norik@mail.ru"=20
type=3Dbooster>=ED=E0&nbsp;=F1=E0=E9=F2=E5</A><BR><A class=3D"mf_spIco =
spr-mrim-9"=20
title=3D"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5"=20
href=3D"http://www.mail.ru/agent?message&amp;to=3Darevik-norik@mail.ru"=20
type=3Dmrim-status-9></A><A class=3Dbooster-sc=20
href=3D"http://my.mail.ru/mail/arevik-norik/" type=3Dbooster>AREVIK=20
GUKASYAN<WBR></A> </SPAN><SPAN class=3D"mf_blockOne mf_blockOneMain =
mf_tal"><A=20
class=3D"mf_a90 booster-sc"=20
style=3D"BACKGROUND-IMAGE: =
url(http://avt.foto.mail.ru/list/aleksei.ryabov/_avatar?1265453291)"=20
href=3D"http://my.mail.ru/list/aleksei.ryabov/" =
type=3Dbooster></A><BR><A=20
class=3D"mf_o90 booster-sc"=20
href=3D"http://my.mail.ru/my/dialogues?thread=3Daleksei.ryabov@list.ru"=20
type=3Dbooster>=ED=E0&nbsp;=F1=E0=E9=F2=E5</A><BR><A class=3D"mf_spIco =
spr-mrim-9"=20
title=3D"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5"=20
href=3D"http://www.mail.ru/agent?message&amp;to=3Daleksei.ryabov@list.ru"=
=20
type=3Dmrim-status-9></A><A class=3Dbooster-sc=20
href=3D"http://my.mail.ru/list/aleksei.ryabov/" =
type=3Dbooster>=C0=EB=E5=EA=F1=E5=E9 =D0=FF=E1=EE=E2</A>=20
</SPAN><SPAN class=3D"mf_blockOne mf_blockOneMain mf_tal"><A=20
class=3D"mf_a90 booster-sc"=20
style=3D"BACKGROUND-IMAGE: =
url(http://avt.foto.mail.ru/mail/malina773/_avatar?1265336801)"=20
href=3D"http://my.mail.ru/mail/malina773/" type=3Dbooster></A><BR><A=20
class=3D"mf_o90 booster-sc"=20
href=3D"http://my.mail.ru/my/dialogues?thread=3Dmalina773@mail.ru"=20
type=3Dbooster>=ED=E0&nbsp;=F1=E0=E9=F2=E5</A><BR><A class=3D"mf_spIco =
spr-mrim-9"=20
title=3D"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5"=20
href=3D"http://www.mail.ru/agent?message&amp;to=3Dmalina773@mail.ru"=20
type=3Dmrim-status-9></A><A class=3Dbooster-sc=20
href=3D"http://my.mail.ru/mail/malina773/" =
type=3Dbooster>=CC=E0=F0=E8=ED=E0 =C5=E3=EE=F0=EE=E2=E0</A>=20
</SPAN></DIV>
<DIV class=3D"mf_spIco mf_dB mf_smsTop1"><B>=CA=E0=EA =
=EF=EE=EF=E0=F1=F2=FC =E2 =FD=F2=EE=F2 =E1=EB=EE=EA?</B> <SPAN=20
class=3D"mf_grey2 mf_t11 mf_dB pt4">=CE=F2=EF=F0=E0=E2=FC=F2=E5:&nbsp;<B =

class=3Dmf_orange>32+119084356</B><BR>=ED=E0 =
=ED=EE=EC=E5=F0:&nbsp;&nbsp;&nbsp;&nbsp;<B=20
class=3Dmf_orange>4446</B>&nbsp;&nbsp;&nbsp; <A class=3D"mf_t11 =
mf_hh_ru"=20
href=3D"http://r.mail.ru/clb243283/my.mail.ru/cgi-bin/my/top?page=3Dsms_r=
ules">=D1=F2=F0=E0=ED=E0:</A>=20
</SPAN></DIV></DIV></DIV>
<SCRIPT type=3Dtext/javascript>=0A=
show_block();=0A=
</SCRIPT>
</DIV>
<DIV class=3DinParentDiv>
<DIV class=3D"inline mb15">
<DIV class=3Dpt11>
<H1>=D1=EE=E7=E4=E0=F2=FC =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=EE</H1></DIV></DIV>
<FORM name=3Dcommunity action=3Deditcommunity method=3Dpost=20
encType=3Dmultipart/form-data>
<TABLE class=3Danketa_form>
  <TBODY>
  <TR>
    <TH>=CD=E0=E7=E2=E0=ED=E8=E5:</TH>
    <TD class=3Dw100><INPUT class=3Dinp maxLength=3D64 name=3DNick>=20
      <DIV class=3D"grey t95 tah">=DD=F2=EE =ED=E0=E7=E2=E0=ED=E8=E5 =
=E1=F3=E4=F3=F2 =E2=E8=E4=E5=F2=FC =E2=F1=E5 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8 =E2=20
      =E8=ED=F4=EE=F0=EC=E0=F6=E8=E8 =EE =F1=EE=EE=E1=F9=E5=F1=F2=E2=E5, =
=E2 =EA=E0=F2=E0=EB=EE=E3=E5 =E8 =EF=F0=E8 =E2=FB=E2=EE=E4=E5 =
=F0=E5=E7=F3=EB=FC=F2=E0=F2=EE=E2 =EF=EE=E8=F1=EA=E0 (=ED=E5=20
      =E1=EE=EB=E5=E5 =F7=E5=EC <B>64</B> =
=F1=E8=EC=E2=EE=EB=E0).</DIV></TD></TR>
  <TR>
    <TH>=CD=E0=E7=E2=E0=ED=E8=E5 =E2 URL:</TH>
    <TD><INPUT class=3Dinp id=3Demailfield onkeyup=3Dcheckurl(this); =
maxLength=3D16=20
      name=3DEmail>
      <P id=3Dcheckres>&nbsp;</P>
      <DIV class=3D"grey t95 tah">=DD=F2=EE =ED=E0=E7=E2=E0=ED=E8=E5 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8 =E1=F3=E4=F3=F2 =E2=E8=E4=E5=F2=FC =
=E2=20
      =E0=E4=F0=E5=F1=ED=EE=E9 =F1=F2=F0=EE=EA=E5 =
=E1=F0=E0=F3=E7=E5=F0=E0 (=ED=E0=EF=F0=E8=EC=E5=F0, =
=ED=E0=EF=E8=F8=E8=F2=E5 music, =E5=F1=EB=E8 =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=EE=20
      =EF=EE=F1=E2=FF=F9=E5=ED=EE =EC=F3=E7=FB=EA=E5).<BR>=D2=F3=F2 =
=ED=F3=E6=ED=EE =E8=F1=EF=EE=EB=FC=E7=EE=E2=E0=F2=FC =F2=EE=EB=FC=EA=EE =
=EB=E0=F2=E8=ED=F1=EA=E8=E5 =E1=F3=EA=E2=FB,=20
      =F6=E8=F4=F0=FB, =E7=ED=E0=EA=E8: =
=EF=EE=E4=F7=E5=F0=EA=E8=E2=E0=ED=E8=E5 ("_"), =F2=EE=F7=EA=E8 (".") =
=E8=EB=E8 =EC=E8=ED=F3=F1 ("-"). =C8=EC=FF =E4=EE=EB=E6=ED=EE=20
      =F1=EE=E4=E5=F0=E6=E0=F2=FC =ED=E5 =E1=EE=EB=E5=E5 =
<B>16-=F2=E8</B> =F1=E8=EC=E2=EE=EB=EE=E2 =E8 =ED=E5 =EC=EE=E6=E5=F2 =
=ED=E0=F7=E8=ED=E0=F2=FC=F1=FF =F1 =F1=E8=EC=E2=EE=EB=EE=E2=20
      =F2=EE=F7=EA=E8 (".") =EC=E8=ED=F3=F1=E0 ("-") =E8=EB=E8 =
=E7=ED=E0=EA=E0 =EF=EE=E4=F7=E5=F0=EA=E8=E2=E0=ED=E8=FF ("_"). =
</DIV></TD></TR>
  <TR>
    <TH>=CE=EF=E8=F1=E0=ED=E8=E5:</TH>
    <TD><TEXTAREA class=3D"inp_area t95" =
onkeypress=3DcheckTALenght(this); id=3DbioTA =
onkeyup=3DcheckTALenght(this); name=3DBio rows=3D5 =
onchange=3DcheckTALenght(this);></TEXTAREA>=20
      <SPAN class=3D"grey t95 tah" id=3DbioTAspan><B>500</B> =
=F1=E8=EC=E2=EE=EB=EE=E2.</SPAN>
      <SCRIPT type=3Dtext/javascript>=0A=
=0A=
function =
AjaxRequest(method,script_name,func_name,args,callback,callback_object) {=0A=
	function escapePlus(param){=0A=
		param =3D escape(param);=0A=
		return String(param).replace(/\+/g,'%2B');=0A=
	}=0A=
	this.query =3D script_name + "?ajax_call=3D1&func_name=3D" + =
escapePlus(func_name) +=0A=
		"&back=3D" + escapePlus(window.location)+"&data=3D" + =
escapePlus(Object.toJSON(args));=0A=
	this.method =3D method;=0A=
	this.callback =3D callback;=0A=
	this.callback_object =3D callback_object;=0A=
}=0A=
=0A=
AjaxRequest.prototype.send =3D function () {=0A=
	return new Ajax.Request(this.query,=0A=
		{ method: this.method,=0A=
		onSuccess: (function (transport) {=0A=
		var data =3D eval(transport.responseText);=0A=
		var magic =3D data.shift();=0A=
		if(magic !=3D "AjaxResponse") return;=0A=
		var result =3D data.shift();=0A=
		if(result =3D=3D "OK") {=0A=
			  if(this.callback) {=0A=
				  =
this.callback.apply(this.callback_object?this.callback_object:window,data=
);=0A=
			  }=0A=
		}=0A=
		if(result =3D=3D "Redirect") window.location =3D data;=0A=
		}).bind(this)=0A=
	});=0A=
};=0A=
=0A=
function updatecounter(obj,name) {=0A=
	var cobj =3D $(name);=0A=
	if(!cobj) return;=0A=
	var l =3D obj.maxLength - obj.value.length;=0A=
	var cnt=3D'=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
	var o =3D l%10;=0A=
	if(l<10 ||l>20) {=0A=
		if(o=3D=3D1) cnt=3D'=F1=E8=EC=E2=EE=EB';=0A=
		else if(o>=3D2 && o<=3D4) cnt=3D'=F1=E8=EC=E2=EE=EB=E0';=0A=
	}=0A=
	cobj.innerHTML =3D l+' '+cnt;=0A=
}=0A=
=0A=
var checktimer;=0A=
var inrequest=3D0;=0A=
=0A=
function checkemail(objid) {=0A=
	var obj =3D $(objid);=0A=
	var sobj =3D $('checkres');=0A=
	if(!obj || !sobj) return;=0A=
	var v =3D obj.value;=0A=
	var t =3D new Date();=0A=
	if(v=3D=3D'' || inrequest+1500>t) return;=0A=
	var request =3D new AjaxRequest("POST", '', 'perl_check_email', [v], =
checkemail_callback, null);=0A=
	if(request.send()) inrequest =3D new Date();=0A=
}=0A=
=0A=
function checkemail_callback(res) {=0A=
	inrequest =3D 0;=0A=
	var sobj =3D $('checkres');=0A=
	if(!sobj) return;=0A=
	if(res) {=0A=
		sobj.innerHTML=3D'=D1=EE=EE=E1=F9=E5=F1=F2=E2=EE =F1 =F2=E0=EA=E8=EC =
URL =F1=F3=F9=E5=F1=F2=E2=F3=E5=F2';=0A=
		sobj.style.color=3D"#FF0000";=0A=
	}=0A=
	else {=0A=
		sobj.innerHTML=3D'=D1=EE=EE=E1=F9=E5=F1=F2=E2=EE =F1 =F2=E0=EA=E8=EC =
URL =F1=E2=EE=E1=EE=E4=ED=EE';=0A=
		sobj.style.color=3D"#008000";=0A=
	}=0A=
}=0A=
=0A=
function checkurl(obj) {=0A=
	var sobj =3D $('checkres');=0A=
	if(!sobj) return;=0A=
	var v =3D obj.value;=0A=
	if(v=3D=3D'') {=0A=
		sobj.innerHTML=3D'&nbsp;';=0A=
		return;=0A=
	}=0A=
	if(v.search(/^[a-z0-9][a-z0-9_\.-]*$/i)) {=0A=
		sobj.innerHTML=3D'=CD=E5=EA=EE=F0=F0=E5=EA=F2=ED=FB=E9 URL. =
=CF=EE=E6=E0=EB=F3=E9=F1=F2=E0 =EF=F0=EE=F7=F2=E8=F2=E5 =
=E2=ED=E8=EC=E0=F2=E5=EB=FC=ED=EE =EF=EE=E4=F1=EA=E0=E7=EA=F3!';=0A=
		sobj.style.color=3D"#FF0000";=0A=
		return;=0A=
	}=0A=
    sobj.innerHTML=3D'&nbsp;';=0A=
    sobj.innerHTML=3D'=C8=E4=E5=F2 =EF=F0=EE=E2=E5=F0=EA=E0...';=0A=
	sobj.style.color=3D"#008000";	=0A=
	if(checktimer) clearTimeout(checktimer);=0A=
	checktimer=3DsetTimeout("checkemail('"+obj.getAttribute('id')+"')",500);=0A=
}=0A=
=0A=
function checkTALenght(obj, limit) {=0A=
    if (!limit || limit =3D=3D 'undefined') limit =3D 500;=0A=
    var tval =3D obj.value;=0A=
    var span =3D gebi(obj.id+'span');=0A=
    var talen =3D tval.length;=0A=
    var climit =3D limit - talen;        =0A=
    if(climit<=3D0){=0A=
        obj.value =3D tval.slice(0,limit);=0A=
        span.innerHTML =3D '<b>0</b> =F1=E8=EC=E2=EE=EB=EE=E2';=0A=
        span.style.color =3D '#F00 !important';=0A=
    } else {=0A=
        span.innerHTML =3D '<b>'+climit+'</b> =F1=E8=EC=E2=EE=EB=EE=E2';=0A=
        span.style.color =3D '#999';=0A=
    }=0A=
}=0A=
checkTALenght(gebi('bioTA'));=0A=
</SCRIPT>
       </TD></TR>
  <TR>
    <TH>=CF=F0=E0=E2=E8=EB=E0:</TH>
    <TD><TEXTAREA class=3D"inp_area t95" name=3DThereFor =
rows=3D5></TEXTAREA>=20
      <DIV class=3D"grey t95 tah">=C7=E4=E5=F1=FC =E2=FB =
=EC=EE=E6=E5=F2=E5 =ED=E0=EF=E8=F1=E0=F2=FC =EF=F0=E0=E2=E8=EB=E0 =
=F1=EE=E7=E4=E0=ED=E8=FF=20
      =E7=E0=EF=E8=F1=E5=E9 =E2 =FD=F2=EE=EC =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=E5, =ED=E0=EF=F0=E8=EC=E5=F0, =
=E7=E0=EF=F0=E5=F2 =E8=F1=EF=EE=EB=FC=E7=EE=E2=E0=ED=E8=FF =
=ED=E5=F6=E5=ED=E7=F3=F0=ED=FB=F5=20
      =E2=FB=F0=E0=E6=E5=ED=E8=E9.</DIV></TD></TR>
  <TR>
    <TH>=D2=E5=EC=E0:</TH>
    <TD><SELECT class=3Dw100 name=3DSubjectID> <OPTION value=3D""=20
        selected>=C2=FB=E1=E5=F0=E8=F2=E5 =F2=E5=EC=F3</OPTION> <OPTION =
value=3D91>Hi-tech,=20
        =C8=ED=F2=E5=F0=ED=E5=F2</OPTION> <OPTION =
value=3D89>=C0=E2=F2=EE =E8 =CC=EE=F2=EE</OPTION> <OPTION=20
        value=3D95>=C1=E8=E7=ED=E5=F1 =E8 =F4=E8=ED=E0=ED=F1=FB</OPTION> =
<OPTION value=3D105>=C3=EE=F0=EE=E4=E0, =F1=F2=F0=E0=ED=FB,=20
        =F0=E5=E3=E8=EE=ED=FB</OPTION> <OPTION =
value=3D80>=C4=EE=F1=F3=E3, =EE=F2=E4=FB=F5, =F5=EE=E1=E1=E8</OPTION> =
<OPTION=20
        value=3D85>=C6=E8=E2=EE=F2=ED=FB=E5</OPTION> <OPTION =
value=3D78>=C7=ED=E0=EA=EE=EC=F1=F2=E2=E0 =E8 =
=EB=FE=E1=EE=E2=FC</OPTION>=20
        <OPTION value=3D79>=C8=E3=F0=FB, =
=F0=E0=E7=E2=EB=E5=F7=E5=ED=E8=FF, =FE=EC=EE=F0</OPTION> <OPTION =
value=3D83>=CA=E8=ED=EE,=20
        =D2=C2</OPTION> <OPTION value=3D97>=CA=F0=E0=F1=EE=F2=E0 =E8 =
=E7=E4=EE=F0=EE=E2=FC=E5</OPTION> <OPTION=20
        value=3D81>=CA=F3=EB=FC=F2=F3=F0=E0 =E8 =
=C8=F1=EA=F3=F1=F1=F2=E2=EE</OPTION> <OPTION =
value=3D82>=CC=F3=E7=FB=EA=E0</OPTION>=20
        <OPTION value=3D96>=CD=E0=F3=EA=E0 =E8 =
=D2=E5=F5=ED=E8=EA=E0</OPTION> <OPTION=20
        value=3D100>=CD=E5=EF=EE=E7=ED=E0=ED=ED=EE=E5</OPTION> <OPTION =
value=3D86>=CE=E1=F0=E0=E7=EE=E2=E0=ED=E8=E5 =E8=20
        =F3=F7=E5=E1=E0</OPTION> <OPTION =
value=3D87>=CE=E1=F9=E5=F1=F2=E2=EE, =EF=EE=EB=E8=F2=E8=EA=E0</OPTION> =
<OPTION=20
        value=3D101>=CE=E1=FA=FF=E2=EB=E5=ED=E8=FF</OPTION> <OPTION =
value=3D99>=CF=F1=E8=F5=EE=EB=EE=E3=E8=FF =E8=20
        =EE=F2=ED=EE=F8=E5=ED=E8=FF</OPTION> <OPTION =
value=3D94>=D0=E0=E1=EE=F2=E0 =E8 =CA=E0=F0=FC=E5=F0=E0</OPTION> <OPTION =

        value=3D103>=D0=E0=E7=ED=EE=E5</OPTION> <OPTION =
value=3D92>=D1=E5=EC=FC=FF, =C4=EE=EC, =C4=E5=F2=E8</OPTION>=20
        <OPTION value=3D77>=D1=CC=C8 =E8 =CD=EE=E2=EE=F1=F2=E8</OPTION> =
<OPTION value=3D102>=D1=EE=E2=E5=F2=FB =E8=20
        =EA=EE=ED=F1=F3=EB=FC=F2=E0=F6=E8=E8</OPTION> <OPTION =
value=3D90>=D1=EF=EE=F0=F2</OPTION> <OPTION=20
        value=3D98>=D1=F2=E8=EB=FC, =EC=EE=E4=E0, =
=E7=E2=E5=E7=E4=FB</OPTION> <OPTION value=3D106>=D2=E5=EC=FB =E4=EB=FF=20
        =E2=E7=F0=EE=F1=EB=FB=F5</OPTION> <OPTION =
value=3D93>=D2=F3=F0=E8=E7=EC =E8 =
=CF=F3=F2=E5=F8=E5=F1=F2=E2=E8=FF</OPTION> <OPTION=20
        value=3D84>=D4=EE=F2=EE =E8 =C2=E8=E4=E5=EE</OPTION></SELECT> =
</TD></TR>
  <TR>
    <TH>=C8=ED=F2=E5=F0=E5=F1=FB:</TH>
    <TD><TEXTAREA class=3D"inp_area t95" name=3DInterests =
rows=3D4></TEXTAREA>=20
      <DIV class=3D"grey t95 tah">=CF=E5=F0=E5=F7=E8=F1=EB=E8=F2=E5 =
<B>=F7=E5=F0=E5=E7 =E7=E0=EF=FF=F2=F3=FE</B> =E8=ED=F2=E5=F0=E5=F1=FB,=20
      =EA=EE=F2=EE=F0=FB=E5 =ED=E0 =E2=E0=F8 =E2=E7=E3=EB=FF=E4 =
=E1=EB=E8=E7=EA=E8 =EF=EE=F2=E5=ED=F6=E8=E0=EB=FC=ED=FB=EC =
=F7=EB=E5=ED=E0=EC =E2=E0=F8=E5=E3=EE =F1=EE=EE=E1=F9=E5=F1=F2=E2=E0. =
=CB=F3=F7=F8=E5=20
      =E2=F1=E5=E3=EE =E8=F1=EF=EE=EB=FC=E7=EE=E2=E0=F2=FC =
=EA=EE=F0=EE=F2=EA=E8=E5 =EE=EF=F0=E5=E4=E5=EB=E5=ED=E8=FF =E2 =
=EE=E4=ED=EE-=E4=E2=E0 =F1=EB=EE=E2=E0 (=ED=E0=EF=F0=E8=EC=E5=F0, =
"=E4=E5=F2=E8,=20
      =E1=E5=F0=E5=EC=E5=ED=ED=EE=F1=F2=FC, =
=E2=EE=F1=EF=E8=F2=E0=ED=E8=E5").</DIV></TD></TR>
  <TR>
    <TD></TD>
    <TD=20
class=3Dpt10><INPUT type=3Dsubmit value=3D" =D1=EE=F5=F0=E0=ED=E8=F2=FC =
" name=3DUpdate>&nbsp;&nbsp;<INPUT type=3Dreset value=3D" =
=C2=EE=F1=F1=F2=E0=ED=EE=E2=E8=F2=FC "></TD></TR></TBODY></TABLE></FORM>
<DIV class=3DcapchaNew_right id=3Dcaptcha_container>
<FORM id=3Dcaptcha_form action=3D?>
<DIV><A id=3Dtoggle_captcha_button=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#empty"><I></I></A></DI=
V><IMG=20
id=3Dcaptcha_image src=3D"http://img1.imgsmail.ru/0.gif">=20
<P>=C2=E2=E5=E4=E8=F2=E5 =
=F7=E8=F1=EB=EE,<BR>=E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =
=EA=E0=F0=F2=E8=ED=EA=E5:</P><INPUT class=3D"inp mt5"=20
id=3Dcaptcha_input> <INPUT class=3Dmt5 id=3Dcaptcha_submit =
onclick=3Dcaptcha.submit() type=3Dbutton value=3D=CE=CA name=3Dbtn_ok>=20
</FORM></DIV>
<SCRIPT src=3D"http://my.mail.ru/js/captcha.js?4" type=3Dtext/javascript =

charset=3Dwindows-1251></SCRIPT>

<SCRIPT type=3Dtext/javascript>=0A=
var captcha =3D new Captcha({=0A=
    form: $('captcha_form'),=0A=
    toggleCaptchaButton: $('toggle_captcha_button'),=0A=
    captchaContainer: $('captcha_container'),=0A=
    captchaImage: $('captcha_image'),=0A=
    captchaInput: $('captcha_input'),=0A=
    captchaURL: 'http://my.mail.ru/cgi-bin/my/get_image?id=3D',=0A=
    requestURL: =
'http://my.mail.ru/cgi-bin/my/ajax?ajax_call=3D1&func_name=3D',=0A=
    getCaptchaFN: 'perl_community_create_captcha',=0A=
    checkCaptchaFN: 'perl_community_create_captcha',=0A=
    noGetCaptcha: true,=0A=
    params: [''],=0A=
    onCaptchaOK: function () { return false; }=0A=
});=0A=
=0A=
$( document.forms['community'] ).observe('submit', function (event) {=0A=
    event.stop();=0A=
=0A=
    var communityform =3D $(this);=0A=
    var posElem =3D $(this.elements['Update']);=0A=
    captcha.setPosition(absPosition(posElem).x, absPosition(posElem).y);=0A=
=0A=
    captcha.setOnCaptchaOK(function () {=0A=
        communityform.insert( new =
Element('input',{'type':'hidden','name':'Update','value':'1'}) );=0A=
        communityform.submit();=0A=
    });=0A=
    captcha.setOnCaptchaError(function (captcha, err) {=0A=
        if (err =3D=3D 'NOINPUT') {=0A=
            alert('=C2=E2=E5=E4=E8=F2=E5 =F7=E8=F1=EB=EE, =
=E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =EA=E0=F0=F2=E8=ED=EA=E5.');=0A=
        } else if (err =3D=3D 'WRONGINPUT') {=0A=
            alert('=C2=FB =ED=E5=E2=E5=F0=ED=EE =E2=E2=E5=EB=E8 =
=F7=E8=F1=EB=EE, =E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =
=EA=E0=F0=F2=E8=ED=EA=E5.');=0A=
        } else if (err =3D=3D 'CLOSED') {=0A=
            // nothing=0A=
        } else {=0A=
            alert('=CF=F0=E8 =EE=E1=F0=E0=E1=EE=F2=EA=E5 =
=E7=E0=EF=F0=EE=F1=E0 =EF=F0=EE=E8=E7=EE=F8=EB=E0 =EE=F8=E8=E1=EA=E0. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=EF=FB=F2=EA=F3 =F1=ED=EE=E2=E0.');=0A=
        }=0A=
    });=0A=
=0A=
    captcha.submit(null, 'check');=0A=
});=0A=
</SCRIPT>
</DIV></DIV>
<DIV style=3D"CLEAR: both"></DIV><!-- END: main block -->
<TABLE>
  <TBODY>
  <TR>
    <TD><!--Rating@Mail.ru COUNTER-->
      <SCRIPT language=3DJavaScript type=3Dtext/javascript><!--=0A=
d=3Ddocument;var a=3D'';a+=3D';r=3D'+escape(d.referrer)=0A=
js=3D10//--></SCRIPT>

      <SCRIPT language=3DJavaScript1.1 type=3Dtext/javascript><!--=0A=
a+=3D';j=3D'+navigator.javaEnabled()=0A=
js=3D11//--></SCRIPT>

      <SCRIPT language=3DJavaScript1.2 type=3Dtext/javascript><!--=0A=
s=3Dscreen;a+=3D';s=3D'+s.width+'*'+s.height=0A=
a+=3D';d=3D'+(s.colorDepth?s.colorDepth:s.pixelDepth)=0A=
js=3D12//--></SCRIPT>

      <SCRIPT language=3DJavaScript1.3=20
      type=3Dtext/javascript><!--=0A=
js=3D13//--></SCRIPT>

      <SCRIPT language=3DJavaScript type=3Dtext/javascript><!--=0A=
d.write('<IMG src=3D"http://top3.mail.ru/counter'+=0A=
'?id=3D1243438;js=3D'+js+a+';rand=3D'+Math.random()+=0A=
'" height=3D1 width=3D1/>')=0A=
if(11<js)d.write('<'+'!-- ')//--></SCRIPT>
      <NOSCRIPT><IMG height=3D1 alt=3D""=20
      src=3D"http://top3.mail.ru/counter?js=3Dna;id=3D1243438" =
width=3D1></NOSCRIPT>
      <SCRIPT language=3DJavaScript type=3Dtext/javascript><!--=0A=
if(11<js)d.write('--'+'>')//--></SCRIPT>
<!--/COUNTER--></TD></TR></TBODY></TABLE>
<DIV class=3D"mt30 mf_fixSize mf_footerMain pt5 pb5 mb20">
<DIV class=3Dmf_ohd>
<DIV class=3D"mf_flr mf_nobr pr20"><A class=3Dmf_w=20
href=3D"http://my.mail.ru/agreement" =
target=3D_blank>=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FC=F1=EA=EE=E5=20
=F1=EE=E3=EB=E0=F8=E5=ED=E8=E5</A>&nbsp;<B>&nbsp;=B7&nbsp;</B>&nbsp; <A =
class=3Dmf_w=20
href=3D"http://my.mail.ru/my/help">=CF=EE=EC=EE=F9=FC</A>&nbsp;<B>&nbsp;=B7=
&nbsp;</B>&nbsp; <A=20
class=3Dmf_w =
href=3D"http://my.mail.ru/community/myproject/">=CE=E1=F1=F3=E4=E8=F2=FC =

=EF=F0=EE=E5=EA=F2</A>&nbsp;<B>&nbsp;=B7&nbsp;</B>&nbsp; <A class=3Dmf_w =

href=3D"http://my.mail.ru/cgi-bin/app/dev/index">=D0=E0=E7=F0=E0=E1=EE=F2=
=F7=E8=EA=E0=EC</A>&nbsp;<B>&nbsp;=B7&nbsp;</B>&nbsp;=20
<A class=3Dmf_w href=3D"http://sales.mail.ru/" =
target=3D_blank>=D0=E5=EA=EB=E0=EC=E0 =ED=E0=20
Mail.Ru</A>&nbsp;<B>&nbsp;=B7&nbsp;</B>&nbsp; <A class=3Dmf_w=20
href=3D"http://corp.mail.ru/" target=3D_blank>=CE =
=EA=EE=EC=EF=E0=ED=E8=E8</A> </DIV>
<DIV class=3D"pl20 mf_fll">=A9 1999-2010, <A class=3Dmf_w=20
href=3D"http://corp.mail.ru/">Mail.Ru</A> </DIV></DIV><I =
class=3Dmf_shapkaTL></I><I=20
class=3Dmf_shapkaTR></I><I class=3Dmf_shapkaBL></I><I =
class=3Dmf_shapkaBR></I></DIV>
<SCRIPT type=3Dtext/javascript>//<![CDATA[=0A=
try{=0A=
timeInterval('banners');=0A=
}catch(e) {}=0A=
//--></SCRIPT>

<DIV id=3Dbanner_source style=3D"DISPLAY: none">
<DIV class=3Dmb10 banner=3D"banner_container_1"><IMG style=3D"POSITION: =
absolute"=20
height=3D1 alt=3D"" =
src=3D"http://rs.mail.ru/d242284.gif?rnd=3D848943056" width=3D1=20
border=3D0>=20
<DIV class=3Drb_body><A class=3Drb_h4 =
href=3D"http://r.mail.ru/n46172358"=20
target=3D_blank>=CF=EB=E0=F2=E8 =E1=E5=F1=EF=EB=E0=F2=ED=EE</A>=20
<DIV class=3Drb_content><A class=3Drb_img=20
style=3D"BACKGROUND-IMAGE: url(http://rs.mail.ru/b9526921.jpg); WIDTH: =
60px; HEIGHT: 60px"=20
href=3D"http://r.mail.ru/n46172359" target=3D_blank></A>
<DIV class=3Drb_text>=C7=E0=EF=EB=E0=F2=E8 =E7=E0 =F2=E5=EB=E5=F4=EE=ED! =
=C4=E5=ED=FC=E3=E8@Mail.Ru - =EA=EE=EC=E8=F1=F1=E8=FF=20
0%</DIV></DIV><A class=3Drb_more href=3D"http://r.mail.ru/n46172359"=20
target=3D_blank>=C7=E0=EF=EB=E0=F2=E8=F2=FC =BB</A> </DIV></DIV>
<DIV class=3Dmb10 banner=3D"banner_container_2">
<DIV class=3Drb_body><A class=3Drb_h4 =
href=3D"http://r.mail.ru/n46112096?_PHRASE=3D"=20
target=3D_blank>=C1=F0=E8=E3=E0=E4=E0</A>=20
<DIV class=3Drb_content><A class=3Drb_img=20
style=3D"BACKGROUND-IMAGE: url(http://rs.mail.ru/b9506122.jpg); WIDTH: =
60px; HEIGHT: 60px"=20
href=3D"http://r.mail.ru/n46112096?_PHRASE=3D" target=3D_blank></A>
<DIV class=3Drb_textSmall><B>=D0=E8=F4!</B> =D1=EE=E1=E5=F0=E8 =
=E4=F0=F3=E7=E5=E9, =F1=F2=E0=ED=FC =F1=E0=EC=FB=EC =
=F3=F1=EF=E5=F8=ED=FB=EC =E1=E0=ED=E4=E8=F2=EE=EC=20
=EB=E8=F5=E8=F5 90-=F5!</DIV></DIV><A class=3Drb_more=20
href=3D"http://r.mail.ru/n46112096?_PHRASE=3D" =
target=3D_blank>=D3=F1=F2=E0=ED=EE=E2=E8=F2=FC=20
=EF=F0=E8=EB=EE=E6=E5=ED=E8=E5</A> </DIV></DIV></DIV>
<SCRIPT type=3Dtext/javascript>//<![CDATA[=0A=
try{=0A=
timeInterval('banners');=0A=
}catch(e) {}=0A=
//--></SCRIPT>
<!-- =F1=EB=EE=F2 3 -->
<SCRIPT type=3Dtext/javascript>
//<![CDATA[
(function() {
	var addHandler =3D function(o, e, fn) {
		if (o.addEventListener) o.addEventListener(e, fn, false);
		else if (o.attachEvent) o.attachEvent('on' + e, fn);
		else o['on' + e] =3D fn;
	}
	addHandler(document, 'mousedown', function(e) {
		e =3D e || window.event;
		e =3D e.target || e.srcElement;
		var name;
		while (e.parentNode) {
			if ((name =3D e.getAttribute('name')) && (name =3D name.toString()) =
&& name.match(new RegExp("^cl([bn]\\d+)"))) {
				document.createElement("IMG").src =3D =
"http://rs.mail.ru/s"+RegExp.$1+".gif?rnd=3D" + Math.random()*1E9;
				break;
			}
			e =3D e.parentNode;
		}
		return true;
	});
})();
//]]>
</SCRIPT>

<SCRIPT src=3D"http://img3.imgsmail.ru/mail/ru/images/js/myjs/mf.js?"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT src=3D"http://img3.imgsmail.ru/mail/ru/images/js/my/help.js?21"=20
type=3Dtext/javascript charset=3Dwindows-1251></SCRIPT>

<SCRIPT =
src=3D"http://img3.imgsmail.ru/mail/ru/images/js/my/infotolltip.js?8"=20
type=3Dtext/javascript charset=3Dwindows-1251></SCRIPT>

<SCRIPT type=3Dtext/javascript>=0A=
var tooltip;=0A=
=0A=
function infoTooltipShow (type,element) {=0A=
    if(!tooltip) tooltip =3D new Tooltip({=0A=
	mymailhost: 'my.mail.ru',=0A=
	photoavthost: 'avt.foto.mail.ru'=0A=
    });=0A=
    tooltip.setVars(type, element, 0.5);=0A=
}=0A=
</SCRIPT>

<SCRIPT =
src=3D"http://img3.imgsmail.ru/mail/ru/images/js/myjs/alert_v2.js?6"=20
type=3Dtext/javascript charset=3Dwindows-1251></SCRIPT>

<SCRIPT type=3Dtext/javascript>=0A=
var Booster =3D {};=0A=
var pAlert =3D new ListAlert({=0A=
statusRequestURL: 'http://myajax2.mail.ru/alerts?id=3D119084356',=0A=
	listenInterval: 300000,=0A=
tmplSrc: =
'http://img3.imgsmail.ru/mail/ru/images/js/myjs/alert_templates.js?5',=0A=
	objName: 'pAlert',=0A=
	templatepath: '',=0A=
	requestURL: '/cgi-bin/my/ajax',=0A=
	alertContainer: $('alert_container'),=0A=
	alertDelete: $('alert_delete'),=0A=
	hideAlert: '',=0A=
	mSubmited: '64',=0A=
	mSpec: '',=0A=
	titleInterval: 2000,=0A=
	photohost: 'http://avt.foto.mail.ru',=0A=
	myvars: {=0A=
	    MyMailHost: 'my.mail.ru',=0A=
	    ActiveDir: '/mail/bik-rif/'=0A=
	},=0A=
	alertID: '62919910685'=0A=
});=0A=
</SCRIPT>

<SCRIPT type=3Dtext/javascript>=0A=
(function () {=0A=
  try {=0A=
         var els =3D $('banner_source');=0A=
         if (!els) return;=0A=
         els =3D els.childNodes;=0A=
         for (var i =3D els.length - 1; i >=3D 0; i--)=0A=
             if (els[i].tagName =3D=3D 'DIV' && els[i].attributes && =
els[i].attributes.banner)=0A=
                 $(els[i].attributes.banner.value).appendChild(els[i]);=0A=
  } catch(err){}=0A=
})();=0A=
</SCRIPT>
<!-- WebAgentEnabled: [1] [] --><!-- RegInfoLogin: [0] -->
<DIV id=3Dwa_stoarge></DIV>
<DIV id=3DwaHolder style=3D"TEXT-ALIGN: left">
<STYLE>.wamsg {
	DISPLAY: none
}
.jim_dialogAuth {
	PADDING-TOP: 0px
}
#waDialogsButton .unreaded {
	BACKGROUND-IMAGE: url(http://img0.imgsmail.ru/r/jim/unreadedflash.gif); =
BACKGROUND-REPEAT: repeat
}
.jim_contactDivUpHead SPAN {
	TOP: 4px
}
#waContactList .itemOffline {
	DISPLAY: block
}
.offinvis#waContactList .itemOffline {
	DISPLAY: none
}
.jim_searchContacts {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0px; PADDING-TOP: 0px; BORDER-BOTTOM: #cecece 1px solid; =
BACKGROUND-COLOR: white
}
.jim_searchContacts INPUT {
	BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: =
19px; Z-INDEX: 1000; BACKGROUND: =
url(http://img1.imgsmail.ru/r/jim/lupa.gif) no-repeat 6px 50%; =
PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: 0px; WIDTH: auto; =
PADDING-TOP: 0px; BORDER-BOTTOM: 0px
}
#jim_searchContacts_list {
	BORDER-RIGHT: #cecece 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: =
#cecece 1px solid; PADDING-LEFT: 0px; Z-INDEX: 10000; BACKGROUND: white; =
PADDING-BOTTOM: 3px; MARGIN-LEFT: -210px; OVERFLOW: hidden; BORDER-LEFT: =
#cecece 1px solid; WIDTH: 288px; PADDING-TOP: 5px; BORDER-BOTTOM: =
#cecece 1px solid; POSITION: absolute
}
#jim_searchContacts_list .itemOffline {
	DISPLAY: block! important; OVERFLOW: hidden; WHITE-SPACE: nowrap; =
POSITION: relative
}
#jim_searchContacts_list .item {
	OVERFLOW: hidden; WHITE-SPACE: nowrap; POSITION: relative
}
.jim_contactDivUpOut {
	Z-INDEX: 231
}
.blocksWrapper {
	BORDER-RIGHT: #b7b7b7 1px solid; BORDER-TOP: #b7b7b7 1px solid; =
BORDER-LEFT: #b7b7b7 1px solid; BORDER-BOTTOM: medium none
}
.jim_dialogDivUpOut {
	MARGIN-RIGHT: 4px
}
.jim_contactDivUpOut {
	MARGIN-LEFT: 0px
}
.contactSaver {
	HEIGHT: 312px
}
#feedbackRequestDiv {
	WIDTH: 490px
}
.dialogsFooter .typing {
	PADDING-RIGHT: 7px; MARGIN-TOP: 3px; DISPLAY: none; FLOAT: right; FONT: =
11px tahoma
}
.wa-typing {
	BACKGROUND-POSITION: -176px 50%
}
.dialogsFooter .typing SPAN {
	WIDTH: 16px; MARGIN-RIGHT: 5px
}
.typing .typing {
	DISPLAY: block
}
.deliveryStat {
	COLOR: #898989
}
#jim_searchContacts_list A {
	TEXT-DECORATION: none
}
</STYLE>
<!--[if IE]>
<STYLE type=3Dtext/css>.jim_contacts_list A.aInItem =
DIV.waContactName_search {
	WIDTH: 240px
}
.jim_searchContacts {
	POSITION: relative! important
}
</STYLE>
<![endif]-->
<DIV class=3Djim_bottomDiv id=3DwaWebAgent style=3D"DISPLAY: none"><SPAN =

class=3Djim_hidePopup id=3DwaContactOutPopup2 =
title=3D"=C7=E0=EA=F0=FB=F2=FC =EE=F2=E4=E5=EB=FC=ED=EE=E5 =EE=EA=ED=EE" =

style=3D"FLOAT: right" onclick=3D"return =
webagent.dom_handlers.closePopup()"></SPAN><!--div =
class=3D"jim_waDialogSmiles" id=3D"waDialogSmiles" style=3D"z-index:250; =
visibility:hidden;"></div-->
<DIV class=3Djim_waActionContainer id=3DwaActionContainer=20
style=3D"VISIBILITY: hidden"><A id=3DwaActionEdit=20
onclick=3D"return webagent.dom_handlers.rename();"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><IMG =
title=3D=CF=E5=F0=E5=E8=EC=E5=ED=EE=E2=E0=F2=FC=20
height=3D16 alt=3D=CF=E5=F0=E5=E8=EC=E5=ED=EE=E2=E0=F2=FC =
src=3D"http://img2.imgsmail.ru/r/my/ico_pen_1.gif"=20
width=3D16 border=3D0>=CF=E5=F0=E5=E8=EC=E5=ED=EE=E2=E0=F2=FC</A><BR><A =
id=3DwaActionsDel=20
onclick=3D"return webagent.dom_handlers.del();"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><IMG =
title=3D=D3=E4=E0=EB=E8=F2=FC height=3D16=20
alt=3D=D3=E4=E0=EB=E8=F2=FC =
src=3D"http://img3.imgsmail.ru/r/jim/delete.gif" width=3D16=20
border=3D0>=D3=E4=E0=EB=E8=F2=FC</A> </DIV>
<DIV style=3D"FLOAT: right">
<DIV class=3D"wa-ballon wa-ballon-shade" id=3DwaBallonNoContacts=20
style=3D"DISPLAY: none; RIGHT: 21px; WIDTH: 246px; TOP: -135px; HEIGHT: =
106px">
<DIV class=3Dwa-ballon-close=20
onclick=3D"return webagent.dom_handlers.betterClose()||false"></DIV>
<DIV class=3Dwa-ballon-rt>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-lb>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-shift-correct wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-lt>
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV>
<DIV class=3Dwa-ballon-rb>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-edge>
<DIV class=3Dwa-ballon-edge-in>
<P><B class=3Dwa-ballon-big>=C1=FB=F1=F2=F0=FB=E9 =EE=E1=EC=E5=ED =
=F1=EE=EE=E1=F9=E5=ED=E8=FF=EC=E8 =E2 Mail.Ru =
=C0=E3=E5=ED=F2=E5.</B></P>
<P>=C4=EE=E1=E0=E2=FC =E4=F0=F3=E7=E5=E9 =E8 =
=EE=E1=EC=E5=ED=E8=E2=E0=E9=F1=FF =F1=EE=EE=E1=F9=E5=ED=E8=FF=EC=E8 =E2 =
=F0=E5=E0=EB=FC=ED=EE=EC =E2=F0=E5=EC=E5=ED=E8.</P>
<P class=3Dwa-ballon-links><A class=3Dwa-icon-online=20
onclick=3D"return =
webagent.dom_handlers.betterAdd(event)||false"><B>=C4=EE=E1=E0=E2=E8=F2=FC=
=20
=E4=F0=F3=E7=E5=E9</B></A> <A class=3Dwa-icon-none=20
href=3D"http://agent.mail.ru/ru/help/web-agent/1.html" =
target=3D_blank><B>=D3=E7=ED=E0=F2=FC=20
=E1=EE=EB=FC=F8=E5</B></A> </P></DIV></DIV></DIV>
<DIV class=3D"wa-ballon wa-ballon-shade" id=3DwaBallonHaveContacts=20
style=3D"DISPLAY: none; RIGHT: 21px; TOP: -122px; HEIGHT: 92px">
<DIV class=3Dwa-ballon-close=20
onclick=3D"return webagent.dom_handlers.betterClose()||false"></DIV>
<DIV class=3Dwa-ballon-rt>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-lb>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-shift-correct wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-lt>
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV>
<DIV class=3Dwa-ballon-rb>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-edge>
<DIV class=3Dwa-ballon-edge-in>
<P><B class=3Dwa-ballon-big>=CE=E1=F9=E0=E9=F1=FF =F1 =
=E4=F0=F3=E7=FC=FF=EC=E8 =E2 Mail.Ru =C0=E3=E5=ED=F2=E5</B></P>
<P><B class=3Dwa-ballon-big id=3DwaBallonHaveContactsCount></B><SPAN=20
id=3DwaBallonHaveContactsTerm>=F2=E2=EE=E8=F5 =E4=F0=F3=E7=E5=E9</SPAN> =
=F3=E6=E5 =E7=E4=E5=F1=FC</P>
<P class=3Dwa-ballon-links><A class=3Dwa-icon-online =
id=3DwaBallonHaveContactsOffline=20
onclick=3D"return =
webagent.dom_handlers.betterAdd(event)||false"><B>=CE=ED=EB=E0=E9=ED</B><=
/A>=20
<A class=3Dwa-icon-online id=3DwaBallonHaveContactsOnline =
style=3D"DISPLAY: none"=20
onclick=3D"return =
webagent.dom_handlers.doit('contactsButton')||false"><B>=CD=E0=F7=E0=F2=FC=
=20
=EE=E1=F9=E5=ED=E8=E5</B></A> <A class=3Dwa-icon-none=20
href=3D"http://agent.mail.ru/ru/help/web-agent/1.html" =
target=3D_blank><B>=D3=E7=ED=E0=F2=FC=20
=E1=EE=EB=FC=F8=E5</B></A> </P></DIV></DIV></DIV>
<DIV class=3D"wa-ballon wa-ballon-shade" id=3DwaBallonOffunr=20
style=3D"DISPLAY: none; RIGHT: 21px; TOP: -152px; HEIGHT: 122px">
<DIV class=3Dwa-ballon-close=20
onclick=3D"return =
webagent.dom_handlers.remindBallonClose()||false"></DIV>
<DIV class=3Dwa-ballon-rt>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-lb>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-shift-correct wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-lt>
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV>
<DIV class=3Dwa-ballon-rb>
<DIV class=3D"wa-ballon-bg-shift wa-ballon-bgsize">
<DIV class=3D"wa-ballon-bg wa-ballon-bgsize"></DIV></DIV></DIV>
<DIV class=3Dwa-ballon-edge>
<DIV class=3Dwa-ballon-edge-in>
<P><B class=3Dwa-ballon-big>=C2=E0=F8 =F1=F2=E0=F2=F3=F1</B> <B=20
class=3D"wa-ballon-big wa-icon-offline">=CE=F2=EA=EB=FE=F7=E5=ED</B></P>
<P style=3D"MARGIN-BOTTOM: 0px">=D3 =E2=E0=F1 =E5=F1=F2=FC <B =
class=3Dwa-ballon-big=20
id=3DwaBallonOffunrCount></B><SPAN =
id=3DwaBallonOffunrTerm>=ED=E5=EF=F0=EE=F7=E8=F2=E0=ED=ED=FB=F5=20
=F1=EE=EE=E1=F9=E5=ED=E8=E9</SPAN>. =D7=F2=EE=E1=FB =
=F3=E2=E8=E4=E5=F2=FC =F1=EE=EE=E1=F9=E5=ED=E8=FF =F1=EC=E5=ED=E8=F2=E5 =
=F1=F2=E0=F2=F3=F1 =ED=E0</P><A=20
class=3Dwa-icon-online=20
onclick=3D"return webagent.dom_handlers.remindOnline(event)||false"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><B>=CE=ED=EB=E0=E9=ED=
</B></A>=20
<P></P>
<P class=3Dwa-ballon-links style=3D"TEXT-ALIGN: right"><A =
class=3Dwa-icon-none=20
onclick=3D"return webagent.dom_handlers.remindLater()||false"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><B>=CD=E0=EF=EE=EC=ED=
=E8=F2=FC =EF=EE=E7=E6=E5</B></A>=20
</P></DIV></DIV></DIV>
<DIV class=3Dwa-offunr id=3DwaOffunr=20
onclick=3D"return webagent.utils.cancelEvent(event, 1);">
<DIV class=3Dwa-offunr-title id=3DwaOffunrTitle=20
onmouseover=3D"return =
webagent.dom_handlers.remindOpen(event);"></DIV></DIV>
<DIV class=3Djim_contactDivStatusButton onselectstart=3D"return false;"=20
id=3DwaStatusButton title=3D"=D1=EC=E5=ED=E8=F2=FC =F1=F2=E0=F2=F3=F1"=20
style=3D"DISPLAY: none; -moz-user-select: none"=20
onclick=3D"return webagent.dom_handlers.doit('statusMenu', event);"=20
valign=3D"middle"><IMG class=3Dmrim-offline-13 id=3DwaStatusButtonImg =
height=3D13=20
src=3D"http://img0.imgsmail.ru/0.gif" width=3D13 align=3DabsMiddle =
border=3D0><SPAN=20
id=3DwaStatusButtonTitle style=3D"DISPLAY: =
none">=CE=F2=EA=EB=FE=F7=E5=ED</SPAN></DIV>
<DIV class=3Djim_statusDivUpOut onselectstart=3D"return false;" =
id=3DwaStatusHolder=20
style=3D"DISPLAY: none; -moz-user-select: none">
<DIV class=3Djim_statusHead><A=20
onclick=3D"return webagent.dom_handlers.feedback(event);"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#">=CE=F2=EF=F0=E0=E2=E8=
=F2=FC =EE=F2=E7=FB=E2</A> </DIV>
<DIV class=3Djim_statusHead><A=20
href=3D"http://agent.mail.ru/ru/help/web-agent/1.html" =
target=3D_blank>=CF=EE=EC=EE=F9=FC</A>=20
</DIV>
<DIV class=3Djim_statusHead><A =
href=3D"http://my.mail.ru/my/editprops">=CD=E0=F1=F2=F0=EE=E9=EA=E8</A>=20
</DIV>
<DIV class=3Djim_statusBody align=3Dleft><A=20
onclick=3D"return webagent.dom_handlers.doit('setStatusOnline', event);" =

href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><SPAN =
id=3DwaStatusOnline><IMG=20
class=3Dmrim-online-13 height=3D13 src=3D"http://img1.imgsmail.ru/0.gif" =
width=3D13=20
align=3DabsMiddle border=3D0>=CE=ED=EB=E0=E9=ED</SPAN></A> <A=20
onclick=3D"return webagent.dom_handlers.doit('setStatusAway', event);"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><SPAN =
id=3DwaStatusAway><IMG=20
class=3Dmrim-away-13 height=3D13 src=3D"http://img2.imgsmail.ru/0.gif" =
width=3D13=20
align=3DabsMiddle border=3D0>=CE=F2=EE=F8=E5=EB</SPAN></A> <A=20
onclick=3D"return webagent.dom_handlers.doit('setStatusDnd', event);"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><SPAN =
id=3DwaStatusDND><IMG=20
class=3Dmrim-dnd-13 height=3D13 src=3D"http://img3.imgsmail.ru/0.gif" =
width=3D13=20
align=3DabsMiddle border=3D0>=CD=E5 =
=E1=E5=F1=EF=EE=EA=EE=E8=F2=FC</SPAN></A> <A=20
onclick=3D"return webagent.dom_handlers.doit('setStatusOffline', =
event);"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"><SPAN =
id=3DwaStatusOffline><IMG=20
class=3Dmrim-offline-13 height=3D13 =
src=3D"http://img0.imgsmail.ru/0.gif" width=3D13=20
align=3DabsMiddle border=3D0>=CE=F2=EA=EB=FE=F7=E5=ED</SPAN></A> =
</DIV></DIV></DIV>
<DIV style=3D"FLOAT: right">
<DIV class=3DcontactWrapper>
<DIV class=3Djim_contactDivButton onselectstart=3D"return false;" =
id=3DwaContactButton=20
style=3D"DISPLAY: none; OVERFLOW: hidden; WHITE-SPACE: nowrap; =
-moz-user-select: none"=20
onclick=3D"return webagent.dom_handlers.doit('contactsButton');">
<DIV class=3Djim_contactDivText><I class=3D"img =
icoMyfriends"></I>=CA=EE=ED=F2=E0=EA=F2=FB <B=20
id=3DwaOnlineCtr style=3D"VISIBILITY: hidden">(<SPAN=20
id=3DwaContactButtonTitle></SPAN><SPAN=20
id=3DContactButtonOfflineCount></SPAN>)</B></DIV></DIV></DIV>
<DIV class=3D"jim_contactDivUpOut blocksWrapper" id=3DwaContactHolder=20
style=3D"DISPLAY: none; WIDTH: auto">
<DIV class=3DcontactToolTip id=3DwaContactToolTip style=3D"DISPLAY: =
none">=CF=F0=E5=E2=FB=F8=E5=ED=20
=EB=E8=EC=E8=F2 =EE=E4=ED=EE=E2=F0=E5=EC=E5=ED=ED=FB=F5 =
=E4=E8=E0=EB=EE=E3=EE=E2. =CD=E5=EA=EE=F2=EE=F0=FB=E5 =ED=EE=E2=FB=E5 =
=E4=E8=E0=EB=EE=E3=E8 =F1=E5=E9=F7=E0=F1 =F1=EA=F0=FB=F2=FB. =
=D7=F2=EE=E1=FB=20
=E2=FB=E2=E5=F1=F2=E8 =E8=F5, =E7=E0=EA=F0=EE=E9=F2=E5 =F7=E0=F1=F2=FC =
=EE=F2=EA=F0=FB=F2=FB=F5 =E4=E8=E0=EB=EE=E3=EE=E2.</DIV><IFRAME =
class=3DcontactSaver=20
src=3D"about:blank"></IFRAME>
<DIV =
class=3Djim_contactDivUpHead>=CA=EE=ED=F2=E0=EA=F2=FB&nbsp;&nbsp;<IMG =
class=3Donoff1=20
id=3DwaContactOnOff title=3D"=D1=EA=F0=FB=F2=FC/=EF=EE=EA=E0=E7=E0=F2=FC =
=EA=EE=ED=F2=E0=EA=F2=FB =ED=E5 =E2 =F1=E5=F2=E8"=20
onclick=3D"return webagent.dom_handlers.doit('offlineinvis');" =
height=3D13=20
alt=3D"=D1=EA=F0=FB=F2=FC/=EF=EE=EA=E0=E7=E0=F2=FC =
=EA=EE=ED=F2=E0=EA=F2=FB =ED=E5 =E2 =F1=E5=F2=E8" =
src=3D"http://img1.imgsmail.ru/0.gif"=20
width=3D13 align=3DabsMiddle border=3D0>&nbsp;<IMG class=3DsoundOff =
id=3DwaSoundToggle=20
title=3D"=C2=EA=EB=FE=F7=E8=F2=FC/=E2=FB=EA=EB=FE=F7=E8=F2=FC =
=E7=E2=F3=EA"=20
onclick=3D"return webagent.dom_handlers.doit('sound');" height=3D13=20
alt=3D"=C2=EA=EB=FE=F7=E8=F2=FC/=E2=FB=EA=EB=FE=F7=E8=F2=FC =
=E7=E2=F3=EA" src=3D"http://img2.imgsmail.ru/0.gif" width=3D13=20
align=3DabsMiddle border=3D0>&nbsp;<A =
href=3D"http://my.mail.ru/my/editprops"><IMG=20
class=3DsettingsButton title=3D=CD=E0=F1=F2=F0=EE=E9=EA=E8 height=3D13 =
alt=3D=CD=E0=F1=F2=F0=EE=E9=EA=E8=20
src=3D"http://img3.imgsmail.ru/0.gif" width=3D13 align=3DabsMiddle=20
border=3D0></A>&nbsp;<A id=3DwaSettingsButton style=3D"DISPLAY: none"=20
href=3D"javascript:void(0);"><IMG class=3DsettingsButton =
title=3D=CD=E0=F1=F2=F0=EE=E9=EA=E8 height=3D13=20
alt=3D=CD=E0=F1=F2=F0=EE=E9=EA=E8 src=3D"http://img0.imgsmail.ru/0.gif" =
width=3D13 align=3DabsMiddle=20
border=3D0></A> <SPAN class=3Djim_showPopup id=3DwaContactInPopup=20
title=3D"=CE=F2=EA=F0=FB=F2=FC =E2 =EE=F2=E4=E5=EB=FC=ED=EE=EC =
=EE=EA=ED=E5"=20
onclick=3D"window.open('http://webagent.mail.ru/webagent', 'wa_popup', =
'width=3D600, height=3D500, resizable=3Dfalse')"></SPAN><SPAN=20
class=3Djim_hidePopup id=3DwaContactOutPopup =
title=3D"=C7=E0=EA=F0=FB=F2=FC =EE=F2=E4=E5=EB=FC=ED=EE=E5 =EE=EA=ED=EE" =

style=3D"VISIBILITY: hidden" onclick=3Dwindow.close()></SPAN><SPAN=20
id=3DwaContactMinimize=20
onclick=3D"return =
webagent.dom_handlers.doit('minimizeContacts');"></SPAN></DIV>
<DIV class=3Djim_SettingsLayer id=3DwaSettings style=3D"DISPLAY: none" =
align=3Dcenter>
<DIV class=3Dheader align=3Dleft>=CD=E0=F1=F2=F0=EE=E9=EA=E8<SPAN><IMG =
class=3DsettingsMenuClose=20
id=3DwaSettingsMenuClose title=3D"=C7=E0=EA=F0=FB=F2=FC =
=E2=EA=EB=E0=E4=EA=F3" height=3D7=20
src=3D"http://img1.imgsmail.ru/r/jim/close.gif" width=3D7 align=3Dtop=20
border=3D0></SPAN></DIV>
<TABLE class=3Djim_SettingsLayerInn cellSpacing=3D0 cellPadding=3D0 =
width=3D"100%"=20
border=3D0>
  <TBODY>
  <TR>
    <TD vAlign=3Dtop width=3D14><INPUT id=3DwaPlaySoundCheck =
type=3Dcheckbox></TD>
    <TD vAlign=3Dtop><LABEL =
for=3DwaPlaySoundCheck>=E2=EA=EB=FE=F7=E8=F2=FC =E7=E2=F3=EA=EE=E2=EE=E9 =
=F1=E8=E3=ED=E0=EB =EE=20
      =EF=F0=E8=F5=EE=E4=E5 =
=F1=EE=EE=E1=F9=E5=ED=E8=FF</LABEL></TD></TR></TBODY></TABLE><INPUT =
class=3Dbutton type=3Dbutton value=3D=F1=EE=F5=F0=E0=ED=E8=F2=FC>=20
<INPUT class=3Dbutton id=3DwaSettingsMenuOk type=3Dbutton =
value=3D=EE=F2=EC=E5=ED=E0> </DIV><!-- Search -->
<DIV class=3Djim_searchContacts id=3Djim_searchContacts =
style=3D"DISPLAY: none"><INPUT=20
id=3Djim_searchContacts_input value=3D"=CF=EE=E8=F1=EA =
=EA=EE=ED=F2=E0=EA=F2=EE=E2"=20
name=3Djim_searchContacts_input> </DIV>
<DIV class=3Djim_contacts_box id=3Djim_contacts_box style=3D"DISPLAY: =
none">
<DIV class=3Djim_contacts_list id=3Djim_searchContacts_list=20
onclick=3Dwebagent.dom_handlers.contactClick(event);></DIV></DIV><!-- =
Search -->
<DIV class=3Djim_contactDivUpBody id=3DwaContactList=20
onclick=3D"return webagent.dom_handlers.contactClick(event)">
<DIV class=3Dclistpreloader></DIV></DIV>
<DIV class=3Djim_contactDivAdd id=3DwaContactListAddContact=20
onclick=3D"return webagent.dom_handlers.add();"><I=20
class=3D"img icoAddfriends"></I>=C4=EE=E1=E0=E2=E8=F2=FC =
=EA=EE=ED=F2=E0=EA=F2</DIV></DIV></DIV>
<DIV style=3D"FLOAT: right">
<DIV class=3D"jim_dialogDiv jim_inDiv" onselectstart=3D"return false;"=20
id=3DwaDialogsButton style=3D"DISPLAY: none; -moz-user-select: none"=20
onclick=3D"return webagent.dom_handlers.doit('dialogsButton');"><I=20
class=3D"img icoMessage" id=3DwaDialogsButtonImg></I><SPAN=20
id=3DwaDialogsButtonTitle>=C4=E8=E0=EB=EE=E3=E8</SPAN>&nbsp;<SPAN=20
id=3DwaDialogsAlert></SPAN></DIV>
<DIV class=3D"jim_dialogDivUpOut blocksWrapper" id=3DwaDialogsHolder=20
style=3D"DISPLAY: none">
<DIV id=3DwaDialogsCont style=3D"WIDTH: auto">
<DIV class=3Djim_dialogDivUpHead id=3DwaDialogsTabs><SPAN =
class=3Djim_dialogCloseAll=20
id=3DwaDialogsTabsClose=20
onclick=3D"return =
webagent.dom_handlers.doit('closeAllDialogs');"></SPAN><SPAN=20
class=3Djim_dialogMinimize id=3DwaDialogsTabsMinimize=20
onclick=3D"return =
webagent.dom_handlers.doit('minimizeDialogs');"></SPAN><SPAN=20
class=3Djim_dialogsSpan id=3DwaDialogsTabsCont=20
onclick=3D"return webagent.dom_handlers.tabClick(event)"></SPAN></DIV>
<DIV id=3DwaDlgViewport>
<DIV id=3DwaHistories>
<DIV class=3Djim_dialogDivUpBody =
id=3DwaDialogsContactHistoryMessages></DIV>
<DIV class=3Djim_dialogMiddlePanel><!--img onclick=3D"return =
webagent.dom_handlers.smiles(event);" id=3D"waSmileButton" =
class=3D"smileButton" src=3D"http://img2.imgsmail.ru/0.gif" width=3D"16" =
height=3D"18" alt=3D"=D1=EC=E0=E9=EB=FB" title=3D"=D1=EC=E0=E9=EB=FB">=0A=
									<img class=3D"delim" src=3D"http://img3.imgsmail.ru/0.gif" =
width=3D"1" height=3D"1" alt=3D""--><A=20
id=3DwaMyMirButton href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#"=20
target=3D_blank><IMG height=3D16 alt=3D"=CC=EE=E9 =EC=E8=F0"=20
src=3D"http://img2.imgsmail.ru/r/foto2/ico_my.gif" width=3D16></A> <IMG =
class=3Ddelim=20
height=3D1 alt=3D"" src=3D"http://img0.imgsmail.ru/0.gif" width=3D1> =
<IMG=20
class=3DactionButton id=3DwaActionButton =
title=3D=C4=E5=E9=F1=F2=E2=E8=FF=20
onclick=3D"return webagent.dom_handlers.actions(event);" height=3D1 =
alt=3D=C4=E5=E9=F1=F2=E2=E8=FF=20
src=3D"http://img1.imgsmail.ru/0.gif" width=3D1> </DIV><TEXTAREA =
class=3Djim_dialogDivUpFooter =
onkeypress=3D"webagent.utils.cancelEvent(event, 1);" =
id=3DwaDialogsContactTextArea =
onkeydown=3Dwebagent.dom_handlers.onsubmit(event) =
onkeyup=3D"webagent.utils.cancelEvent(event, 1);"></TEXTAREA><BR>
<DIV class=3DdialogsFooter>
<DIV class=3Dtyping id=3DwaTyping><SPAN=20
class=3D"spr-wa-16 =
wa-typing">&nbsp;</SPAN>=D1=EE=E1=E5=F1=E5=E4=ED=E8=EA =
=EF=E8=F8=E5=F2...</DIV>
<DIV class=3Djim_dialogDivSendButton id=3DwaDialogsSendButton=20
onclick=3D"return =
webagent.dom_handlers.onsubmitClick();">=CE=F2=EF=F0=E0=E2=E8=F2=FC</DIV>=
</DIV></DIV></DIV></DIV></DIV>
<DIV class=3DdialogsToolTip id=3DwaDialogsToolTip style=3D"DISPLAY: =
none">=CF=F0=E5=E2=FB=F8=E5=ED=20
=EB=E8=EC=E8=F2 =EE=E4=ED=EE=E2=F0=E5=EC=E5=ED=ED=FB=F5 =
=E4=E8=E0=EB=EE=E3=EE=E2. =CD=E5=EA=EE=F2=EE=F0=FB=E5 =ED=EE=E2=FB=E5 =
=E4=E8=E0=EB=EE=E3=E8 =F1=E5=E9=F7=E0=F1 =F1=EA=F0=FB=F2=FB. =
=D7=F2=EE=E1=FB=20
=E2=FB=E2=E5=F1=F2=E8 =E8=F5, =E7=E0=EA=F0=EE=E9=F2=E5 =F7=E0=F1=F2=FC =
=EE=F2=EA=F0=FB=F2=FB=F5 =E4=E8=E0=EB=EE=E3=EE=E2. </DIV></DIV>
<STYLE id=3DwaMsgShow type=3Dtext/css></STYLE>

<DIV id=3DrenameContactRequestDiv align=3Dcenter>
<TABLE class=3Dobertka id=3DwaRenameContactHolder cellSpacing=3D0 =
cellPadding=3D0=20
border=3D0>
  <TBODY>
  <TR>
    <TD class=3Dtd1><IMG height=3D4 =
src=3D"http://img3.imgsmail.ru/0.gif" width=3D4=20
      border=3D0></TD>
    <TD class=3Dtd2><IMG height=3D4 =
src=3D"http://img0.imgsmail.ru/0.gif" width=3D4=20
      border=3D0></TD>
    <TD class=3Dtd3><IMG height=3D4 =
src=3D"http://img1.imgsmail.ru/0.gif" width=3D4=20
      border=3D0></TD></TR>
  <TR>
    <TD class=3Dtd4><IMG height=3D4 =
src=3D"http://img2.imgsmail.ru/0.gif" width=3D4=20
      border=3D0></TD>
    <TD class=3DtdInn style=3D"WIDTH: auto">
      <DIV class=3DrenameContactRequestDivHeader=20
      id=3DrenameContactRequestDivHeader>=C2=E2=E5=E4=E8=F2=E5 =
=ED=EE=E2=EE=E5 =E8=EC=FF =EA=EE=ED=F2=E0=EA=F2=E0<SPAN=20
      class=3DrenameContactRequestDivClose =
id=3DrenameContactRequestDivCloseButton=20
      onclick=3D"return =
$wa('renameContactRequestDiv').style.display=3D'none'||false"></SPAN></DI=
V>
      <DIV class=3DrenameContactRequestDivInner><INPUT=20
      id=3DContactRenameRequestInput=20
      onkeydown=3D"return webagent.dom_handlers.renameKeyPress(event);"> =
<SPAN=20
      id=3DRenameErrText>=CD=E5=E2=E5=F0=ED=EE=E5 =E8=EC=FF =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF!</SPAN>=20
      <DIV class=3DbuttonWrapper><A class=3DleftButton =
id=3DContactRenameRequestOK=20
      onclick=3D"return webagent.dom_handlers.renameClick();"=20
      href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#">=CE=CA</A> <A =

      class=3DrightButton id=3DContactRenameRequestCancel=20
      onclick=3D"return =
$wa('renameContactRequestDiv').style.display=3D'none'||false"=20
      =
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#">=CE=F2=EC=E5=ED=E0</=
A>=20
    </DIV></DIV></TD>
    <TD class=3Dtd5><IMG height=3D4 =
src=3D"http://img3.imgsmail.ru/0.gif" width=3D4=20
      border=3D0></TD></TR></TBODY></TABLE></DIV>
<DIV class=3Dobertka id=3DfeedbackRequestDiv align=3Dcenter>
<DIV id=3DwafeedbackHolder>
<DIV class=3DfeedbackRequestDivHeader =
id=3DfeedbackRequestDivHeader>=C7=E4=E5=F1=FC =E2=FB =EC=EE=E6=E5=F2=E5=20
=ED=E0=EF=E8=F1=E0=F2=FC =F1=E2=EE=E8 =EF=EE=E6=E5=EB=E0=ED=E8=FF =E8 =
=EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=FF, =F1=E2=FF=E7=E0=ED=ED=FB=E5 =F1 =
=C2=E5=E1-=E0=E3=E5=ED=F2=EE=EC.<SPAN=20
class=3DfeedbackRequestDivClose id=3DfeedbackRequestDivCloseButton=20
onclick=3D"document.getElementById('feedbackRequestDiv').style.display =
=3D 'none'; return false;"></SPAN></DIV>
<DIV class=3DfeedbackRequestDivInner><TEXTAREA id=3DfeedbackTextarea =
type=3D"text"></TEXTAREA>=20

<DIV id=3DpostTxt style=3D"DISPLAY: none" =
align=3Dcenter>=D1=EF=E0=F1=E8=E1=EE, =E2=E0=F8 =EE=F2=E7=FB=E2=20
=EF=F0=E8=ED=FF=F2.</DIV><INPUT id=3DfeedbackEmail type=3Dhidden>=20
<DIV class=3DbuttonWrapper id=3DfeedbackButtons><A class=3DleftButton=20
id=3DContactRenameRequestOK=20
onclick=3D"webagent.dom_handlers.sendFeedBack(); return false;"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#">=CE=CA</A> <A =
class=3DrightButton=20
id=3DContactRenameRequestCancel=20
onclick=3D"document.getElementById('feedbackRequestDiv').style.display =
=3D 'none'; return false;"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#">=CE=F2=EC=E5=ED=E0</=
A>=20
</DIV></DIV></DIV></DIV>
<DIV class=3D"wa-sug-holder wa-sug-use-shadow" id=3DwaSuggest =
style=3D"DISPLAY: none">
<DIV class=3Dwa-sug-shaddow></DIV>
<DIV class=3Dwa-suggest>
<DIV class=3Dwa-sug-head></DIV>
<DIV class=3Dwa-sug-close=20
onclick=3D"return webagent.dom_handlers.sugToggle()||false"></DIV>
<DIV class=3Dwa-sug-search-title><B>=C4=EE=E1=E0=E2=E8=F2=FC =
=EA=EE=ED=F2=E0=EA=F2</B></DIV>
<DIV class=3Dwa-sug-search-btn=20
onclick=3D"return webagent.dom_handlers.addClick()||false"></DIV>
<DIV class=3Dwa-sug-input><INPUT=20
onmousedown=3D"if(this.value=3D=3D'=E2=E2=E5=E4=E8=F2=E5 =
e-mail'){this.value=3D''; this.style.color=3D'#000000'}"=20
id=3DContactNameRequestInput =
onkeydown=3Dwebagent.dom_handlers.addKeyPress(event)=20
onblur=3D"if(this.value=3D=3D''){this.value=3D'=E2=E2=E5=E4=E8=F2=E5 =
e-mail'; this.style.color=3D'#cccccc'}"=20
style=3D"COLOR: #cccccc" value=3D"=E2=E2=E5=E4=E8=F2=E5 e-mail"></DIV>
<DIV class=3Dwa-sug-maybefriends>=C2=EE=E7=EC=EE=E6=ED=EE =E2=E0=EC =
=F2=E0=EA=E6=E5 =E7=ED=E0=EA=EE=EC=FB =FD=F2=E8 =EB=FE=E4=E8:</DIV>
<DIV class=3Dwa-sug-footer></DIV>
<DIV class=3Dwa-sug-markall><LABEL for=3DwaSugMarkAll><INPUT =
id=3DwaSugMarkAll=20
onclick=3Dwebagent.dom_handlers.sugMarkAll(this.checked)||false =
type=3Dcheckbox=20
CHECKED> =C2=FB=E4=E5=EB=E8=F2=FC =E2=F1=E5</LABEL></DIV>
<DIV class=3Dwa-sug-addall><A=20
onclick=3D"return webagent.dom_handlers.sugAddAll()||false"=20
href=3D"http://my.mail.ru/cgi-bin/my/editcommunity#">=C4=EE=E1=E0=E2=E8=F2=
=FC</A></DIV>
<DIV class=3Dwa-sug-friends =
id=3DwaSuggestList></DIV></DIV></DIV></DIV></DIV>
<SCRIPT>=0A=
=0A=
(function(){=0A=
	=0A=
	var cn, ua =3D navigator.userAgent;=0A=
	if(/*@cc_on!@*/false){=0A=
		cn =3D ' wa-ie wa-ie' + ua.match(/msie\s(\d+)/i)[1] + ' wa-docmode' + =
{BackCompat:0, CSS1Compat:1}[document.compatMode];=0A=
	}else if(window.chrome){=0A=
		cn =3D ' wa-chrome';=0A=
	}else if(ua.match(/firefox/i)){=0A=
		cn =3D ' wa-ff';=0A=
	}=0A=
	document.getElementsByTagName('html')[0].className +=3D cn;=0A=
	=0A=
	var $ =3D function(id){ return document.getElementById(id); }=0A=
	var USER_LOGIN =3D =
(document.cookie.toString().match(/Mpop=3D.*?:([^@:]+@[^:]+)/) || =
[0,null])[1];=0A=
	var SAFE_USER =3D (''+USER_LOGIN).replace(/[\._@-]+|ru$/ig, =
'').toLowerCase();=0A=
	var SO_URL =3D =
'http://'+SAFE_USER+'.webagent.mail.ru/r/jim/flash/lcwrapper.swf';=0A=
	var FULL_URL =3D =
'http://img.imgsmail.ru/r/jim/jim_fs/webagent_amalgam.js?125';=0A=
	=0A=
	window.onFlashReady =3D function(){=0A=
		window.onWaReady('flash');=0A=
		window.onFlashReady =3D function(){};		// FIX IT=0A=
	}=0A=
	=0A=
	window.onWaReady =3D function(key) {=0A=
		var _s =3D arguments.callee;=0A=
		if(_s.callKeys['DONE'])=0A=
			return;=0A=
		=0A=
		_s.callKeys[key] =3D 1;=0A=
		=0A=
		switch(key) {=0A=
			case 'script':=0A=
				webagent.utils.writeFlash(SO_URL, 'waSO', 'wa_stoarge');=0A=
				break;=0A=
		}=0A=
		=0A=
		if(_s.callKeys['script'] && _s.callKeys['html'] && =
_s.callKeys['flash']) {=0A=
=0A=
			_s.callKeys['DONE'] =3D 1;=0A=
					=0A=
			=0A=
			=0A=
			=0A=
			=0A=
			if(window.nativeSetTimeout) {=0A=
				webagent.utils.setTimeoutIntervalFunctions(window.nativeSetTimeout, =
window.nativeSetInterval);=0A=
			}=0A=
			webagent.init();=0A=
		}=0A=
		=0A=
	}=0A=
	window.onWaReady.callKeys =3D {};=0A=
	=0A=
	if( (function(){=0A=
		var i,a,o,p,s=3D"Shockwave",f=3D"Flash",t=3D" 2.0",u=3Ds+" =
"+f,v=3Ds+f+".",rSW=3DRegExp("^"+u+" (\\d+)");=0A=
		=
if((o=3Dnavigator.plugins)&&(p=3Do[u]||o[u+t])&&(a=3Dp.description.match(=
rSW)))return a[1];=0A=
		else if(!!(window.ActiveXObject))for(i=3D10;i>0;i--)try{if(!!(new =
ActiveXObject(v+v+i)))return i}catch(e){}=0A=
		return 0;=0A=
	})() < 9 ) return;=0A=
	=0A=
	var scr =3D =
$('wa_stoarge').appendChild(document.createElement('script'));=0A=
	scr.type =3D 'text/javascript';=0A=
	scr.src =3D FULL_URL;=0A=
=0A=
	=0A=
	=0A=
})();=0A=
=0A=
window.onWaReady('html');=0A=
</SCRIPT>
<SPAN>
<SCRIPT type=3Dtext/javascript>//<![CDATA[
try {

timeInterval('renderbrowser');
rT.iGet =3D '';
for (var i =3D 0; i < rT.i.length; i++) {
        rT.comma =3D rT.iGet !=3D '' ? ',' : '';
        var bP =3D rT.i[i].split('=3D');
        if (bP[0] !=3D 'renderbrowser') {
                rT.iGet +=3D (rT.comma + bP[0] + ':' + bP[1]);
        } else rT.renderbrowser =3D parseInt(bP[1]);
}
rT.comma =3D '';

rT.img =3D new Image(); =
rT.img.src=3D'http://my.radar.imgsmail.ru/update?p=3Dmy&t=3D&v=3D' + =
rT.renderbrowser + '&i=3D' + rT.iGet + '&rnd=3D108425151' + =
(document.referrer ? '&r=3D' + escape(document.referrer) : '') + '';

} catch(e) {}
//]]></SCRIPT>
</SPAN></BODY></HTML>

------=_NextPart_001_0025_01CAB64D.634E18C0
Content-Type: image/gif
Content-Transfer-Encoding: 7bit
Content-Location: http://img1.imgsmail.ru/0.gif

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<META content="MSHTML 6.00.6000.20935" name=GENERATOR></HEAD>
<BODY><IMG src="http://img1.imgsmail.ru/0.gif"></BODY></HTML>

------=_NextPart_001_0025_01CAB64D.634E18C0--

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/myjs/prototype-1.6.0.3.js?2

/*  Prototype JavaScript framework, version 1.6.0.3=0A=
 *  (c) 2005-2008 Sam Stephenson=0A=
 *=0A=
 *  Prototype is freely distributable under the terms of an MIT-style =
license.=0A=
 *  For details, see the Prototype web site: http://www.prototypejs.org/=0A=
 *=0A=
 =
*------------------------------------------------------------------------=
--*/=0A=
=0A=
var Prototype =3D {=0A=
  Version: '1.6.0.3',=0A=
=0A=
  Browser: {=0A=
    IE:     !!(window.attachEvent &&=0A=
      navigator.userAgent.indexOf('Opera') =3D=3D=3D -1),=0A=
    Opera:  navigator.userAgent.indexOf('Opera') > -1,=0A=
    WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,=0A=
    Gecko:  navigator.userAgent.indexOf('Gecko') > -1 &&=0A=
      navigator.userAgent.indexOf('KHTML') =3D=3D=3D -1,=0A=
    MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/)=0A=
  },=0A=
=0A=
  BrowserFeatures: {=0A=
    XPath: !!document.evaluate,=0A=
    SelectorsAPI: !!document.querySelector,=0A=
    ElementExtensions: !!window.HTMLElement,=0A=
    SpecificElementExtensions:=0A=
      document.createElement('div')['__proto__'] &&=0A=
      document.createElement('div')['__proto__'] !=3D=3D=0A=
        document.createElement('form')['__proto__']=0A=
  },=0A=
=0A=
  ScriptFragment: '<script[^>]*>([\\S\\s]*?)<\/script>',=0A=
  JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/,=0A=
=0A=
  emptyFunction: function() { },=0A=
  K: function(x) { return x }=0A=
};=0A=
=0A=
if (Prototype.Browser.MobileSafari)=0A=
  Prototype.BrowserFeatures.SpecificElementExtensions =3D false;=0A=
=0A=
=0A=
/* Based on Alex Arnell's inheritance implementation. */=0A=
var Class =3D {=0A=
  create: function() {=0A=
    var parent =3D null, properties =3D $A(arguments);=0A=
    if (Object.isFunction(properties[0]))=0A=
      parent =3D properties.shift();=0A=
=0A=
    function klass() {=0A=
      this.initialize.apply(this, arguments);=0A=
    }=0A=
=0A=
    Object.extend(klass, Class.Methods);=0A=
    klass.superclass =3D parent;=0A=
    klass.subclasses =3D [];=0A=
=0A=
    if (parent) {=0A=
      var subclass =3D function() { };=0A=
      subclass.prototype =3D parent.prototype;=0A=
      klass.prototype =3D new subclass;=0A=
      parent.subclasses.push(klass);=0A=
    }=0A=
=0A=
    for (var i =3D 0; i < properties.length; i++)=0A=
      klass.addMethods(properties[i]);=0A=
=0A=
    if (!klass.prototype.initialize)=0A=
      klass.prototype.initialize =3D Prototype.emptyFunction;=0A=
=0A=
    klass.prototype.constructor =3D klass;=0A=
=0A=
    return klass;=0A=
  }=0A=
};=0A=
=0A=
Class.Methods =3D {=0A=
  addMethods: function(source) {=0A=
    var ancestor   =3D this.superclass && this.superclass.prototype;=0A=
    var properties =3D Object.keys(source);=0A=
=0A=
    if (!Object.keys({ toString: true }).length)=0A=
      properties.push("toString", "valueOf");=0A=
=0A=
    for (var i =3D 0, length =3D properties.length; i < length; i++) {=0A=
      var property =3D properties[i], value =3D source[property];=0A=
      if (ancestor && Object.isFunction(value) &&=0A=
          value.argumentNames().first() =3D=3D "$super") {=0A=
        var method =3D value;=0A=
        value =3D (function(m) {=0A=
          return function() { return ancestor[m].apply(this, arguments) =
};=0A=
        })(property).wrap(method);=0A=
=0A=
        value.valueOf =3D method.valueOf.bind(method);=0A=
        value.toString =3D method.toString.bind(method);=0A=
      }=0A=
      this.prototype[property] =3D value;=0A=
    }=0A=
=0A=
    return this;=0A=
  }=0A=
};=0A=
=0A=
var Abstract =3D { };=0A=
=0A=
Object.extend =3D function(destination, source) {=0A=
  for (var property in source)=0A=
    destination[property] =3D source[property];=0A=
  return destination;=0A=
};=0A=
=0A=
Object.extend(Object, {=0A=
  inspect: function(object) {=0A=
    try {=0A=
      if (Object.isUndefined(object)) return 'undefined';=0A=
      if (object =3D=3D=3D null) return 'null';=0A=
      return object.inspect ? object.inspect() : String(object);=0A=
    } catch (e) {=0A=
      if (e instanceof RangeError) return '...';=0A=
      throw e;=0A=
    }=0A=
  },=0A=
=0A=
  toJSON: function(object) {=0A=
    var type =3D typeof object;=0A=
    switch (type) {=0A=
      case 'undefined':=0A=
      case 'function':=0A=
      case 'unknown': return;=0A=
      case 'boolean': return object.toString();=0A=
    }=0A=
=0A=
    if (object =3D=3D=3D null) return 'null';=0A=
    if (object.toJSON) return object.toJSON();=0A=
    if (Object.isElement(object)) return;=0A=
=0A=
    var results =3D [];=0A=
    for (var property in object) {=0A=
      var value =3D Object.toJSON(object[property]);=0A=
      if (!Object.isUndefined(value))=0A=
        results.push(property.toJSON() + ': ' + value);=0A=
    }=0A=
=0A=
    return '{' + results.join(', ') + '}';=0A=
  },=0A=
=0A=
  toQueryString: function(object) {=0A=
    return $H(object).toQueryString();=0A=
  },=0A=
=0A=
  toHTML: function(object) {=0A=
    return object && object.toHTML ? object.toHTML() : =
String.interpret(object);=0A=
  },=0A=
=0A=
  keys: function(object) {=0A=
    var keys =3D [];=0A=
    for (var property in object)=0A=
      keys.push(property);=0A=
    return keys;=0A=
  },=0A=
=0A=
  values: function(object) {=0A=
    var values =3D [];=0A=
    for (var property in object)=0A=
      values.push(object[property]);=0A=
    return values;=0A=
  },=0A=
=0A=
  clone: function(object) {=0A=
    return Object.extend({ }, object);=0A=
  },=0A=
=0A=
  isElement: function(object) {=0A=
    return !!(object && object.nodeType =3D=3D 1);=0A=
  },=0A=
=0A=
  isArray: function(object) {=0A=
    return object !=3D null && typeof object =3D=3D "object" &&=0A=
      'splice' in object && 'join' in object;=0A=
  },=0A=
=0A=
  isHash: function(object) {=0A=
    return object instanceof Hash;=0A=
  },=0A=
=0A=
  isFunction: function(object) {=0A=
    return typeof object =3D=3D "function";=0A=
  },=0A=
=0A=
  isString: function(object) {=0A=
    return typeof object =3D=3D "string";=0A=
  },=0A=
=0A=
  isNumber: function(object) {=0A=
    return typeof object =3D=3D "number";=0A=
  },=0A=
=0A=
  isUndefined: function(object) {=0A=
    return typeof object =3D=3D "undefined";=0A=
  }=0A=
});=0A=
=0A=
Object.extend(Function.prototype, {=0A=
  argumentNames: function() {=0A=
    var names =3D =
this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1]=0A=
      .replace(/\s+/g, '').split(',');=0A=
    return names.length =3D=3D 1 && !names[0] ? [] : names;=0A=
  },=0A=
=0A=
  bind: function() {=0A=
    if (arguments.length < 2 && Object.isUndefined(arguments[0])) return =
this;=0A=
    var __method =3D this, args =3D $A(arguments), object =3D =
args.shift();=0A=
    return function() {=0A=
      return __method.apply(object, args.concat($A(arguments)));=0A=
    }=0A=
  },=0A=
=0A=
  bindAsEventListener: function() {=0A=
    var __method =3D this, args =3D $A(arguments), object =3D =
args.shift();=0A=
    return function(event) {=0A=
      return __method.apply(object, [event || =
window.event].concat(args));=0A=
    }=0A=
  },=0A=
=0A=
  curry: function() {=0A=
    if (!arguments.length) return this;=0A=
    var __method =3D this, args =3D $A(arguments);=0A=
    return function() {=0A=
      return __method.apply(this, args.concat($A(arguments)));=0A=
    }=0A=
  },=0A=
=0A=
  delay: function() {=0A=
    var __method =3D this, args =3D $A(arguments), timeout =3D =
args.shift() * 1000;=0A=
    return window.setTimeout(function() {=0A=
      return __method.apply(__method, args);=0A=
    }, timeout);=0A=
  },=0A=
=0A=
  defer: function() {=0A=
    var args =3D [0.01].concat($A(arguments));=0A=
    return this.delay.apply(this, args);=0A=
  },=0A=
=0A=
  wrap: function(wrapper) {=0A=
    var __method =3D this;=0A=
    return function() {=0A=
      return wrapper.apply(this, =
[__method.bind(this)].concat($A(arguments)));=0A=
    }=0A=
  },=0A=
=0A=
  methodize: function() {=0A=
    if (this._methodized) return this._methodized;=0A=
    var __method =3D this;=0A=
    return this._methodized =3D function() {=0A=
      return __method.apply(null, [this].concat($A(arguments)));=0A=
    };=0A=
  }=0A=
});=0A=
=0A=
Date.prototype.toJSON =3D function() {=0A=
  return '"' + this.getUTCFullYear() + '-' +=0A=
    (this.getUTCMonth() + 1).toPaddedString(2) + '-' +=0A=
    this.getUTCDate().toPaddedString(2) + 'T' +=0A=
    this.getUTCHours().toPaddedString(2) + ':' +=0A=
    this.getUTCMinutes().toPaddedString(2) + ':' +=0A=
    this.getUTCSeconds().toPaddedString(2) + 'Z"';=0A=
};=0A=
=0A=
var Try =3D {=0A=
  these: function() {=0A=
    var returnValue;=0A=
=0A=
    for (var i =3D 0, length =3D arguments.length; i < length; i++) {=0A=
      var lambda =3D arguments[i];=0A=
      try {=0A=
        returnValue =3D lambda();=0A=
        break;=0A=
      } catch (e) { }=0A=
    }=0A=
=0A=
    return returnValue;=0A=
  }=0A=
};=0A=
=0A=
RegExp.prototype.match =3D RegExp.prototype.test;=0A=
=0A=
RegExp.escape =3D function(str) {=0A=
  return String(str).replace(/([.*+?^=3D!:${}()|[\]\/\\])/g, '\\$1');=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
var PeriodicalExecuter =3D Class.create({=0A=
  initialize: function(callback, frequency) {=0A=
    this.callback =3D callback;=0A=
    this.frequency =3D frequency;=0A=
    this.currentlyExecuting =3D false;=0A=
=0A=
    this.registerCallback();=0A=
  },=0A=
=0A=
  registerCallback: function() {=0A=
    this.timer =3D setInterval(this.onTimerEvent.bind(this), =
this.frequency * 1000);=0A=
  },=0A=
=0A=
  execute: function() {=0A=
    this.callback(this);=0A=
  },=0A=
=0A=
  stop: function() {=0A=
    if (!this.timer) return;=0A=
    clearInterval(this.timer);=0A=
    this.timer =3D null;=0A=
  },=0A=
=0A=
  onTimerEvent: function() {=0A=
    if (!this.currentlyExecuting) {=0A=
      try {=0A=
        this.currentlyExecuting =3D true;=0A=
        this.execute();=0A=
      } finally {=0A=
        this.currentlyExecuting =3D false;=0A=
      }=0A=
    }=0A=
  }=0A=
});=0A=
Object.extend(String, {=0A=
  interpret: function(value) {=0A=
    return value =3D=3D null ? '' : String(value);=0A=
  },=0A=
  specialChar: {=0A=
    '\b': '\\b',=0A=
    '\t': '\\t',=0A=
    '\n': '\\n',=0A=
    '\f': '\\f',=0A=
    '\r': '\\r',=0A=
    '\\': '\\\\'=0A=
  }=0A=
});=0A=
=0A=
Object.extend(String.prototype, {=0A=
  gsub: function(pattern, replacement) {=0A=
    var result =3D '', source =3D this, match;=0A=
    replacement =3D arguments.callee.prepareReplacement(replacement);=0A=
=0A=
    while (source.length > 0) {=0A=
      if (match =3D source.match(pattern)) {=0A=
        result +=3D source.slice(0, match.index);=0A=
        result +=3D String.interpret(replacement(match));=0A=
        source  =3D source.slice(match.index + match[0].length);=0A=
      } else {=0A=
        result +=3D source, source =3D '';=0A=
      }=0A=
    }=0A=
    return result;=0A=
  },=0A=
=0A=
  sub: function(pattern, replacement, count) {=0A=
    replacement =3D this.gsub.prepareReplacement(replacement);=0A=
    count =3D Object.isUndefined(count) ? 1 : count;=0A=
=0A=
    return this.gsub(pattern, function(match) {=0A=
      if (--count < 0) return match[0];=0A=
      return replacement(match);=0A=
    });=0A=
  },=0A=
=0A=
  scan: function(pattern, iterator) {=0A=
    this.gsub(pattern, iterator);=0A=
    return String(this);=0A=
  },=0A=
=0A=
  truncate: function(length, truncation) {=0A=
    length =3D length || 30;=0A=
    truncation =3D Object.isUndefined(truncation) ? '...' : truncation;=0A=
    return this.length > length ?=0A=
      this.slice(0, length - truncation.length) + truncation : =
String(this);=0A=
  },=0A=
=0A=
  strip: function() {=0A=
    return this.replace(/^\s+/, '').replace(/\s+$/, '');=0A=
  },=0A=
=0A=
  stripTags: function() {=0A=
    return this.replace(/<\/?[^>]+>/gi, '');=0A=
  },=0A=
=0A=
  stripScripts: function() {=0A=
    return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');=0A=
  },=0A=
=0A=
  extractScripts: function() {=0A=
    var matchAll =3D new RegExp(Prototype.ScriptFragment, 'img');=0A=
    var matchOne =3D new RegExp(Prototype.ScriptFragment, 'im');=0A=
    return (this.match(matchAll) || []).map(function(scriptTag) {=0A=
      return (scriptTag.match(matchOne) || ['', ''])[1];=0A=
    });=0A=
  },=0A=
=0A=
  evalScripts: function() {=0A=
    return this.extractScripts().map(function(script) { return =
eval(script) });=0A=
  },=0A=
=0A=
  escapeHTML: function() {=0A=
    var self =3D arguments.callee;=0A=
    self.text.data =3D this;=0A=
    return self.div.innerHTML;=0A=
  },=0A=
=0A=
  unescapeHTML: function() {=0A=
    var div =3D new Element('div');=0A=
    div.innerHTML =3D this.stripTags();=0A=
    return div.childNodes[0] ? (div.childNodes.length > 1 ?=0A=
      $A(div.childNodes).inject('', function(memo, node) { return =
memo+node.nodeValue }) :=0A=
      div.childNodes[0].nodeValue) : '';=0A=
  },=0A=
=0A=
  toQueryParams: function(separator) {=0A=
    var match =3D this.strip().match(/([^?#]*)(#.*)?$/);=0A=
    if (!match) return { };=0A=
=0A=
    return match[1].split(separator || '&').inject({ }, function(hash, =
pair) {=0A=
      if ((pair =3D pair.split('=3D'))[0]) {=0A=
        var key =3D decodeURIComponent(pair.shift());=0A=
        var value =3D pair.length > 1 ? pair.join('=3D') : pair[0];=0A=
        if (value !=3D undefined) value =3D decodeURIComponent(value);=0A=
=0A=
        if (key in hash) {=0A=
          if (!Object.isArray(hash[key])) hash[key] =3D [hash[key]];=0A=
          hash[key].push(value);=0A=
        }=0A=
        else hash[key] =3D value;=0A=
      }=0A=
      return hash;=0A=
    });=0A=
  },=0A=
=0A=
  toArray: function() {=0A=
    return this.split('');=0A=
  },=0A=
=0A=
  succ: function() {=0A=
    return this.slice(0, this.length - 1) +=0A=
      String.fromCharCode(this.charCodeAt(this.length - 1) + 1);=0A=
  },=0A=
=0A=
  times: function(count) {=0A=
    return count < 1 ? '' : new Array(count + 1).join(this);=0A=
  },=0A=
=0A=
  camelize: function() {=0A=
    var parts =3D this.split('-'), len =3D parts.length;=0A=
    if (len =3D=3D 1) return parts[0];=0A=
=0A=
    var camelized =3D this.charAt(0) =3D=3D '-'=0A=
      ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)=0A=
      : parts[0];=0A=
=0A=
    for (var i =3D 1; i < len; i++)=0A=
      camelized +=3D parts[i].charAt(0).toUpperCase() + =
parts[i].substring(1);=0A=
=0A=
    return camelized;=0A=
  },=0A=
=0A=
  capitalize: function() {=0A=
    return this.charAt(0).toUpperCase() + =
this.substring(1).toLowerCase();=0A=
  },=0A=
=0A=
  underscore: function() {=0A=
    return this.gsub(/::/, =
'/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{=
1}_#{2}').gsub(/-/,'_').toLowerCase();=0A=
  },=0A=
=0A=
  dasherize: function() {=0A=
    return this.gsub(/_/,'-');=0A=
  },=0A=
=0A=
  inspect: function(useDoubleQuotes) {=0A=
    var escapedString =3D this.gsub(/[\x00-\x1f\\]/, function(match) {=0A=
      var character =3D String.specialChar[match[0]];=0A=
      return character ? character : '\\u00' + =
match[0].charCodeAt().toPaddedString(2, 16);=0A=
    });=0A=
    if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') =
+ '"';=0A=
    return "'" + escapedString.replace(/'/g, '\\\'') + "'";=0A=
  },=0A=
=0A=
  toJSON: function() {=0A=
    return this.inspect(true);=0A=
  },=0A=
=0A=
  unfilterJSON: function(filter) {=0A=
    return this.sub(filter || Prototype.JSONFilter, '#{1}');=0A=
  },=0A=
=0A=
  isJSON: function() {=0A=
    var str =3D this;=0A=
    if (str.blank()) return false;=0A=
    str =3D this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, '');=0A=
    return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);=0A=
  },=0A=
=0A=
  evalJSON: function(sanitize) {=0A=
    var json =3D this.unfilterJSON();=0A=
    try {=0A=
      if (!sanitize || json.isJSON()) return eval('(' + json + ')');=0A=
    } catch (e) { }=0A=
    throw new SyntaxError('Badly formed JSON string: ' + this.inspect());=0A=
  },=0A=
=0A=
  include: function(pattern) {=0A=
    return this.indexOf(pattern) > -1;=0A=
  },=0A=
=0A=
  startsWith: function(pattern) {=0A=
    return this.indexOf(pattern) =3D=3D=3D 0;=0A=
  },=0A=
=0A=
  endsWith: function(pattern) {=0A=
    var d =3D this.length - pattern.length;=0A=
    return d >=3D 0 && this.lastIndexOf(pattern) =3D=3D=3D d;=0A=
  },=0A=
=0A=
  empty: function() {=0A=
    return this =3D=3D '';=0A=
  },=0A=
=0A=
  blank: function() {=0A=
    return /^\s*$/.test(this);=0A=
  },=0A=
=0A=
  interpolate: function(object, pattern) {=0A=
    return new Template(this, pattern).evaluate(object);=0A=
  }=0A=
});=0A=
=0A=
if (Prototype.Browser.WebKit || Prototype.Browser.IE) =
Object.extend(String.prototype, {=0A=
  escapeHTML: function() {=0A=
    return =
this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');=0A=
  },=0A=
  unescapeHTML: function() {=0A=
    return =
this.stripTags().replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;=
/g,'>');=0A=
  }=0A=
});=0A=
=0A=
String.prototype.gsub.prepareReplacement =3D function(replacement) {=0A=
  if (Object.isFunction(replacement)) return replacement;=0A=
  var template =3D new Template(replacement);=0A=
  return function(match) { return template.evaluate(match) };=0A=
};=0A=
=0A=
String.prototype.parseQuery =3D String.prototype.toQueryParams;=0A=
=0A=
Object.extend(String.prototype.escapeHTML, {=0A=
  div:  document.createElement('div'),=0A=
  text: document.createTextNode('')=0A=
});=0A=
=0A=
String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.t=
ext);=0A=
=0A=
var Template =3D Class.create({=0A=
  initialize: function(template, pattern) {=0A=
    this.template =3D template.toString();=0A=
    this.pattern =3D pattern || Template.Pattern;=0A=
  },=0A=
=0A=
  evaluate: function(object) {=0A=
    if (Object.isFunction(object.toTemplateReplacements))=0A=
      object =3D object.toTemplateReplacements();=0A=
=0A=
    return this.template.gsub(this.pattern, function(match) {=0A=
      if (object =3D=3D null) return '';=0A=
=0A=
      var before =3D match[1] || '';=0A=
      if (before =3D=3D '\\') return match[2];=0A=
=0A=
      var ctx =3D object, expr =3D match[3];=0A=
      var pattern =3D /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;=0A=
      match =3D pattern.exec(expr);=0A=
      if (match =3D=3D null) return before;=0A=
=0A=
      while (match !=3D null) {=0A=
        var comp =3D match[1].startsWith('[') ? match[2].gsub('\\\\]', =
']') : match[1];=0A=
        ctx =3D ctx[comp];=0A=
        if (null =3D=3D ctx || '' =3D=3D match[3]) break;=0A=
        expr =3D expr.substring('[' =3D=3D match[3] ? match[1].length : =
match[0].length);=0A=
        match =3D pattern.exec(expr);=0A=
      }=0A=
=0A=
      return before + String.interpret(ctx);=0A=
    });=0A=
  }=0A=
});=0A=
Template.Pattern =3D /(^|.|\r|\n)(#\{(.*?)\})/;=0A=
=0A=
var $break =3D { };=0A=
=0A=
var Enumerable =3D {=0A=
  each: function(iterator, context) {=0A=
    var index =3D 0;=0A=
    try {=0A=
      this._each(function(value) {=0A=
        iterator.call(context, value, index++);=0A=
      });=0A=
    } catch (e) {=0A=
      if (e !=3D $break) throw e;=0A=
    }=0A=
    return this;=0A=
  },=0A=
=0A=
  eachSlice: function(number, iterator, context) {=0A=
    var index =3D -number, slices =3D [], array =3D this.toArray();=0A=
    if (number < 1) return array;=0A=
    while ((index +=3D number) < array.length)=0A=
      slices.push(array.slice(index, index+number));=0A=
    return slices.collect(iterator, context);=0A=
  },=0A=
=0A=
  all: function(iterator, context) {=0A=
    iterator =3D iterator || Prototype.K;=0A=
    var result =3D true;=0A=
    this.each(function(value, index) {=0A=
      result =3D result && !!iterator.call(context, value, index);=0A=
      if (!result) throw $break;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  any: function(iterator, context) {=0A=
    iterator =3D iterator || Prototype.K;=0A=
    var result =3D false;=0A=
    this.each(function(value, index) {=0A=
      if (result =3D !!iterator.call(context, value, index))=0A=
        throw $break;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  collect: function(iterator, context) {=0A=
    iterator =3D iterator || Prototype.K;=0A=
    var results =3D [];=0A=
    this.each(function(value, index) {=0A=
      results.push(iterator.call(context, value, index));=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  detect: function(iterator, context) {=0A=
    var result;=0A=
    this.each(function(value, index) {=0A=
      if (iterator.call(context, value, index)) {=0A=
        result =3D value;=0A=
        throw $break;=0A=
      }=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  findAll: function(iterator, context) {=0A=
    var results =3D [];=0A=
    this.each(function(value, index) {=0A=
      if (iterator.call(context, value, index))=0A=
        results.push(value);=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  grep: function(filter, iterator, context) {=0A=
    iterator =3D iterator || Prototype.K;=0A=
    var results =3D [];=0A=
=0A=
    if (Object.isString(filter))=0A=
      filter =3D new RegExp(filter);=0A=
=0A=
    this.each(function(value, index) {=0A=
      if (filter.match(value))=0A=
        results.push(iterator.call(context, value, index));=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  include: function(object) {=0A=
    if (Object.isFunction(this.indexOf))=0A=
      if (this.indexOf(object) !=3D -1) return true;=0A=
=0A=
    var found =3D false;=0A=
    this.each(function(value) {=0A=
      if (value =3D=3D object) {=0A=
        found =3D true;=0A=
        throw $break;=0A=
      }=0A=
    });=0A=
    return found;=0A=
  },=0A=
=0A=
  inGroupsOf: function(number, fillWith) {=0A=
    fillWith =3D Object.isUndefined(fillWith) ? null : fillWith;=0A=
    return this.eachSlice(number, function(slice) {=0A=
      while(slice.length < number) slice.push(fillWith);=0A=
      return slice;=0A=
    });=0A=
  },=0A=
=0A=
  inject: function(memo, iterator, context) {=0A=
    this.each(function(value, index) {=0A=
      memo =3D iterator.call(context, memo, value, index);=0A=
    });=0A=
    return memo;=0A=
  },=0A=
=0A=
  invoke: function(method) {=0A=
    var args =3D $A(arguments).slice(1);=0A=
    return this.map(function(value) {=0A=
      return value[method].apply(value, args);=0A=
    });=0A=
  },=0A=
=0A=
  max: function(iterator, context) {=0A=
    iterator =3D iterator || Prototype.K;=0A=
    var result;=0A=
    this.each(function(value, index) {=0A=
      value =3D iterator.call(context, value, index);=0A=
      if (result =3D=3D null || value >=3D result)=0A=
        result =3D value;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  min: function(iterator, context) {=0A=
    iterator =3D iterator || Prototype.K;=0A=
    var result;=0A=
    this.each(function(value, index) {=0A=
      value =3D iterator.call(context, value, index);=0A=
      if (result =3D=3D null || value < result)=0A=
        result =3D value;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  partition: function(iterator, context) {=0A=
    iterator =3D iterator || Prototype.K;=0A=
    var trues =3D [], falses =3D [];=0A=
    this.each(function(value, index) {=0A=
      (iterator.call(context, value, index) ?=0A=
        trues : falses).push(value);=0A=
    });=0A=
    return [trues, falses];=0A=
  },=0A=
=0A=
  pluck: function(property) {=0A=
    var results =3D [];=0A=
    this.each(function(value) {=0A=
      results.push(value[property]);=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  reject: function(iterator, context) {=0A=
    var results =3D [];=0A=
    this.each(function(value, index) {=0A=
      if (!iterator.call(context, value, index))=0A=
        results.push(value);=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  sortBy: function(iterator, context) {=0A=
    return this.map(function(value, index) {=0A=
      return {=0A=
        value: value,=0A=
        criteria: iterator.call(context, value, index)=0A=
      };=0A=
    }).sort(function(left, right) {=0A=
      var a =3D left.criteria, b =3D right.criteria;=0A=
      return a < b ? -1 : a > b ? 1 : 0;=0A=
    }).pluck('value');=0A=
  },=0A=
=0A=
  toArray: function() {=0A=
    return this.map();=0A=
  },=0A=
=0A=
  zip: function() {=0A=
    var iterator =3D Prototype.K, args =3D $A(arguments);=0A=
    if (Object.isFunction(args.last()))=0A=
      iterator =3D args.pop();=0A=
=0A=
    var collections =3D [this].concat(args).map($A);=0A=
    return this.map(function(value, index) {=0A=
      return iterator(collections.pluck(index));=0A=
    });=0A=
  },=0A=
=0A=
  size: function() {=0A=
    return this.toArray().length;=0A=
  },=0A=
=0A=
  inspect: function() {=0A=
    return '#<Enumerable:' + this.toArray().inspect() + '>';=0A=
  }=0A=
};=0A=
=0A=
Object.extend(Enumerable, {=0A=
  map:     Enumerable.collect,=0A=
  find:    Enumerable.detect,=0A=
  select:  Enumerable.findAll,=0A=
  filter:  Enumerable.findAll,=0A=
  member:  Enumerable.include,=0A=
  entries: Enumerable.toArray,=0A=
  every:   Enumerable.all,=0A=
  some:    Enumerable.any=0A=
});=0A=
function $A(iterable) {=0A=
  if (!iterable) return [];=0A=
  if (iterable.toArray) return iterable.toArray();=0A=
  var length =3D iterable.length || 0, results =3D new Array(length);=0A=
  while (length--) results[length] =3D iterable[length];=0A=
  return results;=0A=
}=0A=
=0A=
if (Prototype.Browser.WebKit) {=0A=
  $A =3D function(iterable) {=0A=
    if (!iterable) return [];=0A=
    // In Safari, only use the `toArray` method if it's not a NodeList.=0A=
    // A NodeList is a function, has an function `item` property, and a =
numeric=0A=
    // `length` property. Adapted from Google Doctype.=0A=
    if (!(typeof iterable =3D=3D=3D 'function' && typeof iterable.length =
=3D=3D=3D=0A=
        'number' && typeof iterable.item =3D=3D=3D 'function') && =
iterable.toArray)=0A=
      return iterable.toArray();=0A=
    var length =3D iterable.length || 0, results =3D new Array(length);=0A=
    while (length--) results[length] =3D iterable[length];=0A=
    return results;=0A=
  };=0A=
}=0A=
=0A=
Array.from =3D $A;=0A=
=0A=
Object.extend(Array.prototype, Enumerable);=0A=
=0A=
if (!Array.prototype._reverse) Array.prototype._reverse =3D =
Array.prototype.reverse;=0A=
=0A=
Object.extend(Array.prototype, {=0A=
  _each: function(iterator) {=0A=
    for (var i =3D 0, length =3D this.length; i < length; i++)=0A=
      iterator(this[i]);=0A=
  },=0A=
=0A=
  clear: function() {=0A=
    this.length =3D 0;=0A=
    return this;=0A=
  },=0A=
=0A=
  first: function() {=0A=
    return this[0];=0A=
  },=0A=
=0A=
  last: function() {=0A=
    return this[this.length - 1];=0A=
  },=0A=
=0A=
  compact: function() {=0A=
    return this.select(function(value) {=0A=
      return value !=3D null;=0A=
    });=0A=
  },=0A=
=0A=
  flatten: function() {=0A=
    return this.inject([], function(array, value) {=0A=
      return array.concat(Object.isArray(value) ?=0A=
        value.flatten() : [value]);=0A=
    });=0A=
  },=0A=
=0A=
  without: function() {=0A=
    var values =3D $A(arguments);=0A=
    return this.select(function(value) {=0A=
      return !values.include(value);=0A=
    });=0A=
  },=0A=
=0A=
  reverse: function(inline) {=0A=
    return (inline !=3D=3D false ? this : this.toArray())._reverse();=0A=
  },=0A=
=0A=
  reduce: function() {=0A=
    return this.length > 1 ? this : this[0];=0A=
  },=0A=
=0A=
  uniq: function(sorted) {=0A=
    return this.inject([], function(array, value, index) {=0A=
      if (0 =3D=3D index || (sorted ? array.last() !=3D value : =
!array.include(value)))=0A=
        array.push(value);=0A=
      return array;=0A=
    });=0A=
  },=0A=
=0A=
  intersect: function(array) {=0A=
    return this.uniq().findAll(function(item) {=0A=
      return array.detect(function(value) { return item =3D=3D=3D value =
});=0A=
    });=0A=
  },=0A=
=0A=
  clone: function() {=0A=
    return [].concat(this);=0A=
  },=0A=
=0A=
  size: function() {=0A=
    return this.length;=0A=
  },=0A=
=0A=
  inspect: function() {=0A=
    return '[' + this.map(Object.inspect).join(', ') + ']';=0A=
  },=0A=
=0A=
  toJSON: function() {=0A=
    var results =3D [];=0A=
    this.each(function(object) {=0A=
      var value =3D Object.toJSON(object);=0A=
      if (!Object.isUndefined(value)) results.push(value);=0A=
    });=0A=
    return '[' + results.join(', ') + ']';=0A=
  }=0A=
});=0A=
=0A=
// use native browser JS 1.6 implementation if available=0A=
if (Object.isFunction(Array.prototype.forEach))=0A=
  Array.prototype._each =3D Array.prototype.forEach;=0A=
=0A=
if (!Array.prototype.indexOf) Array.prototype.indexOf =3D function(item, =
i) {=0A=
  i || (i =3D 0);=0A=
  var length =3D this.length;=0A=
  if (i < 0) i =3D length + i;=0A=
  for (; i < length; i++)=0A=
    if (this[i] =3D=3D=3D item) return i;=0A=
  return -1;=0A=
};=0A=
=0A=
if (!Array.prototype.lastIndexOf) Array.prototype.lastIndexOf =3D =
function(item, i) {=0A=
  i =3D isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1;=0A=
  var n =3D this.slice(0, i).reverse().indexOf(item);=0A=
  return (n < 0) ? n : i - n - 1;=0A=
};=0A=
=0A=
Array.prototype.toArray =3D Array.prototype.clone;=0A=
=0A=
function $w(string) {=0A=
  if (!Object.isString(string)) return [];=0A=
  string =3D string.strip();=0A=
  return string ? string.split(/\s+/) : [];=0A=
}=0A=
=0A=
if (Prototype.Browser.Opera){=0A=
  Array.prototype.concat =3D function() {=0A=
    var array =3D [];=0A=
    for (var i =3D 0, length =3D this.length; i < length; i++) =
array.push(this[i]);=0A=
    for (var i =3D 0, length =3D arguments.length; i < length; i++) {=0A=
      if (Object.isArray(arguments[i])) {=0A=
        for (var j =3D 0, arrayLength =3D arguments[i].length; j < =
arrayLength; j++)=0A=
          array.push(arguments[i][j]);=0A=
      } else {=0A=
        array.push(arguments[i]);=0A=
      }=0A=
    }=0A=
    return array;=0A=
  };=0A=
}=0A=
Object.extend(Number.prototype, {=0A=
  toColorPart: function() {=0A=
    return this.toPaddedString(2, 16);=0A=
  },=0A=
=0A=
  succ: function() {=0A=
    return this + 1;=0A=
  },=0A=
=0A=
  times: function(iterator, context) {=0A=
    $R(0, this, true).each(iterator, context);=0A=
    return this;=0A=
  },=0A=
=0A=
  toPaddedString: function(length, radix) {=0A=
    var string =3D this.toString(radix || 10);=0A=
    return '0'.times(length - string.length) + string;=0A=
  },=0A=
=0A=
  toJSON: function() {=0A=
    return isFinite(this) ? this.toString() : 'null';=0A=
  }=0A=
});=0A=
=0A=
$w('abs round ceil floor').each(function(method){=0A=
  Number.prototype[method] =3D Math[method].methodize();=0A=
});=0A=
function $H(object) {=0A=
  return new Hash(object);=0A=
};=0A=
=0A=
var Hash =3D Class.create(Enumerable, (function() {=0A=
=0A=
  function toQueryPair(key, value) {=0A=
    if (Object.isUndefined(value)) return key;=0A=
    return key + '=3D' + encodeURIComponent(String.interpret(value));=0A=
  }=0A=
=0A=
  return {=0A=
    initialize: function(object) {=0A=
      this._object =3D Object.isHash(object) ? object.toObject() : =
Object.clone(object);=0A=
    },=0A=
=0A=
    _each: function(iterator) {=0A=
      for (var key in this._object) {=0A=
        var value =3D this._object[key], pair =3D [key, value];=0A=
        pair.key =3D key;=0A=
        pair.value =3D value;=0A=
        iterator(pair);=0A=
      }=0A=
    },=0A=
=0A=
    set: function(key, value) {=0A=
      return this._object[key] =3D value;=0A=
    },=0A=
=0A=
    get: function(key) {=0A=
      // simulating poorly supported hasOwnProperty=0A=
      if (this._object[key] !=3D=3D Object.prototype[key])=0A=
        return this._object[key];=0A=
    },=0A=
=0A=
    unset: function(key) {=0A=
      var value =3D this._object[key];=0A=
      delete this._object[key];=0A=
      return value;=0A=
    },=0A=
=0A=
    toObject: function() {=0A=
      return Object.clone(this._object);=0A=
    },=0A=
=0A=
    keys: function() {=0A=
      return this.pluck('key');=0A=
    },=0A=
=0A=
    values: function() {=0A=
      return this.pluck('value');=0A=
    },=0A=
=0A=
    index: function(value) {=0A=
      var match =3D this.detect(function(pair) {=0A=
        return pair.value =3D=3D=3D value;=0A=
      });=0A=
      return match && match.key;=0A=
    },=0A=
=0A=
    merge: function(object) {=0A=
      return this.clone().update(object);=0A=
    },=0A=
=0A=
    update: function(object) {=0A=
      return new Hash(object).inject(this, function(result, pair) {=0A=
        result.set(pair.key, pair.value);=0A=
        return result;=0A=
      });=0A=
    },=0A=
=0A=
    toQueryString: function() {=0A=
      return this.inject([], function(results, pair) {=0A=
        var key =3D encodeURIComponent(pair.key), values =3D pair.value;=0A=
=0A=
        if (values && typeof values =3D=3D 'object') {=0A=
          if (Object.isArray(values))=0A=
            return results.concat(values.map(toQueryPair.curry(key)));=0A=
        } else results.push(toQueryPair(key, values));=0A=
        return results;=0A=
      }).join('&');=0A=
    },=0A=
=0A=
    inspect: function() {=0A=
      return '#<Hash:{' + this.map(function(pair) {=0A=
        return pair.map(Object.inspect).join(': ');=0A=
      }).join(', ') + '}>';=0A=
    },=0A=
=0A=
    toJSON: function() {=0A=
      return Object.toJSON(this.toObject());=0A=
    },=0A=
=0A=
    clone: function() {=0A=
      return new Hash(this);=0A=
    }=0A=
  }=0A=
})());=0A=
=0A=
Hash.prototype.toTemplateReplacements =3D Hash.prototype.toObject;=0A=
Hash.from =3D $H;=0A=
var ObjectRange =3D Class.create(Enumerable, {=0A=
  initialize: function(start, end, exclusive) {=0A=
    this.start =3D start;=0A=
    this.end =3D end;=0A=
    this.exclusive =3D exclusive;=0A=
  },=0A=
=0A=
  _each: function(iterator) {=0A=
    var value =3D this.start;=0A=
    while (this.include(value)) {=0A=
      iterator(value);=0A=
      value =3D value.succ();=0A=
    }=0A=
  },=0A=
=0A=
  include: function(value) {=0A=
    if (value < this.start)=0A=
      return false;=0A=
    if (this.exclusive)=0A=
      return value < this.end;=0A=
    return value <=3D this.end;=0A=
  }=0A=
});=0A=
=0A=
var $R =3D function(start, end, exclusive) {=0A=
  return new ObjectRange(start, end, exclusive);=0A=
};=0A=
=0A=
var Ajax =3D {=0A=
  getTransport: function() {=0A=
    return Try.these(=0A=
      function() {return new XMLHttpRequest()},=0A=
      function() {return new ActiveXObject('Msxml2.XMLHTTP')},=0A=
      function() {return new ActiveXObject('Microsoft.XMLHTTP')}=0A=
    ) || false;=0A=
  },=0A=
=0A=
  activeRequestCount: 0=0A=
};=0A=
=0A=
Ajax.Responders =3D {=0A=
  responders: [],=0A=
=0A=
  _each: function(iterator) {=0A=
    this.responders._each(iterator);=0A=
  },=0A=
=0A=
  register: function(responder) {=0A=
    if (!this.include(responder))=0A=
      this.responders.push(responder);=0A=
  },=0A=
=0A=
  unregister: function(responder) {=0A=
    this.responders =3D this.responders.without(responder);=0A=
  },=0A=
=0A=
  dispatch: function(callback, request, transport, json) {=0A=
    this.each(function(responder) {=0A=
      if (Object.isFunction(responder[callback])) {=0A=
        try {=0A=
          responder[callback].apply(responder, [request, transport, =
json]);=0A=
        } catch (e) { }=0A=
      }=0A=
    });=0A=
  }=0A=
};=0A=
=0A=
Object.extend(Ajax.Responders, Enumerable);=0A=
=0A=
Ajax.Responders.register({=0A=
  onCreate:   function() { Ajax.activeRequestCount++ },=0A=
  onComplete: function() { Ajax.activeRequestCount-- }=0A=
});=0A=
=0A=
Ajax.Base =3D Class.create({=0A=
  initialize: function(options) {=0A=
    this.options =3D {=0A=
      method:       'post',=0A=
      asynchronous: true,=0A=
      contentType:  'application/x-www-form-urlencoded',=0A=
      encoding:     'UTF-8',=0A=
      parameters:   '',=0A=
      evalJSON:     true,=0A=
      evalJS:       true=0A=
    };=0A=
    Object.extend(this.options, options || { });=0A=
=0A=
    this.options.method =3D this.options.method.toLowerCase();=0A=
=0A=
    if (Object.isString(this.options.parameters))=0A=
      this.options.parameters =3D =
this.options.parameters.toQueryParams();=0A=
    else if (Object.isHash(this.options.parameters))=0A=
      this.options.parameters =3D this.options.parameters.toObject();=0A=
  }=0A=
});=0A=
=0A=
Ajax.Request =3D Class.create(Ajax.Base, {=0A=
  _complete: false,=0A=
=0A=
  initialize: function($super, url, options) {=0A=
    $super(options);=0A=
    this.transport =3D Ajax.getTransport();=0A=
    this.request(url);=0A=
  },=0A=
=0A=
  request: function(url) {=0A=
    this.url =3D url;=0A=
    this.method =3D this.options.method;=0A=
    var params =3D Object.clone(this.options.parameters);=0A=
=0A=
    if (!['get', 'post'].include(this.method)) {=0A=
      // simulate other verbs over post=0A=
      params['_method'] =3D this.method;=0A=
      this.method =3D 'post';=0A=
    }=0A=
=0A=
    this.parameters =3D params;=0A=
=0A=
    if (params =3D Object.toQueryString(params)) {=0A=
      // when GET, append parameters to URL=0A=
      if (this.method =3D=3D 'get')=0A=
        this.url +=3D (this.url.include('?') ? '&' : '?') + params;=0A=
      else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent))=0A=
        params +=3D '&_=3D';=0A=
    }=0A=
=0A=
    try {=0A=
      var response =3D new Ajax.Response(this);=0A=
      if (this.options.onCreate) this.options.onCreate(response);=0A=
      Ajax.Responders.dispatch('onCreate', this, response);=0A=
=0A=
      this.transport.open(this.method.toUpperCase(), this.url,=0A=
        this.options.asynchronous);=0A=
=0A=
      if (this.options.asynchronous) =
this.respondToReadyState.bind(this).defer(1);=0A=
=0A=
      this.transport.onreadystatechange =3D =
this.onStateChange.bind(this);=0A=
      this.setRequestHeaders();=0A=
=0A=
      this.body =3D this.method =3D=3D 'post' ? (this.options.postBody =
|| params) : null;=0A=
      this.transport.send(this.body);=0A=
=0A=
      /* Force Firefox to handle ready state 4 for synchronous requests =
*/=0A=
      if (!this.options.asynchronous && this.transport.overrideMimeType)=0A=
        this.onStateChange();=0A=
=0A=
    }=0A=
    catch (e) {=0A=
      this.dispatchException(e);=0A=
    }=0A=
  },=0A=
=0A=
  onStateChange: function() {=0A=
    var readyState =3D this.transport.readyState;=0A=
    if (readyState > 1 && !((readyState =3D=3D 4) && this._complete))=0A=
      this.respondToReadyState(this.transport.readyState);=0A=
  },=0A=
=0A=
  setRequestHeaders: function() {=0A=
    var headers =3D {=0A=
      'X-Requested-With': 'XMLHttpRequest',=0A=
      'X-Prototype-Version': Prototype.Version,=0A=
      'Accept': 'text/javascript, text/html, application/xml, text/xml, =
*/*'=0A=
    };=0A=
=0A=
    if (this.method =3D=3D 'post') {=0A=
      headers['Content-type'] =3D this.options.contentType +=0A=
        (this.options.encoding ? '; charset=3D' + this.options.encoding =
: '');=0A=
=0A=
      /* Force "Connection: close" for older Mozilla browsers to work=0A=
       * around a bug where XMLHttpRequest sends an incorrect=0A=
       * Content-length header. See Mozilla Bugzilla #246651.=0A=
       */=0A=
      if (this.transport.overrideMimeType &&=0A=
          (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < =
2005)=0A=
            headers['Connection'] =3D 'close';=0A=
    }=0A=
=0A=
    // user-defined headers=0A=
    if (typeof this.options.requestHeaders =3D=3D 'object') {=0A=
      var extras =3D this.options.requestHeaders;=0A=
=0A=
      if (Object.isFunction(extras.push))=0A=
        for (var i =3D 0, length =3D extras.length; i < length; i +=3D 2)=0A=
          headers[extras[i]] =3D extras[i+1];=0A=
      else=0A=
        $H(extras).each(function(pair) { headers[pair.key] =3D =
pair.value });=0A=
    }=0A=
=0A=
    for (var name in headers)=0A=
      this.transport.setRequestHeader(name, headers[name]);=0A=
  },=0A=
=0A=
  success: function() {=0A=
    var status =3D this.getStatus();=0A=
    return !status || (status >=3D 200 && status < 300);=0A=
  },=0A=
=0A=
  getStatus: function() {=0A=
    try {=0A=
      return this.transport.status || 0;=0A=
    } catch (e) { return 0 }=0A=
  },=0A=
=0A=
  respondToReadyState: function(readyState) {=0A=
    var state =3D Ajax.Request.Events[readyState], response =3D new =
Ajax.Response(this);=0A=
=0A=
    if (state =3D=3D 'Complete') {=0A=
      try {=0A=
        this._complete =3D true;=0A=
        (this.options['on' + response.status]=0A=
         || this.options['on' + (this.success() ? 'Success' : 'Failure')]=0A=
         || Prototype.emptyFunction)(response, response.headerJSON);=0A=
      } catch (e) {=0A=
        this.dispatchException(e);=0A=
      }=0A=
=0A=
      var contentType =3D response.getHeader('Content-type');=0A=
      if (this.options.evalJS =3D=3D 'force'=0A=
          || (this.options.evalJS && this.isSameOrigin() && contentType=0A=
          && =
contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s=
*$/i)))=0A=
        this.evalResponse();=0A=
    }=0A=
=0A=
    try {=0A=
      (this.options['on' + state] || Prototype.emptyFunction)(response, =
response.headerJSON);=0A=
      Ajax.Responders.dispatch('on' + state, this, response, =
response.headerJSON);=0A=
    } catch (e) {=0A=
      this.dispatchException(e);=0A=
    }=0A=
=0A=
    if (state =3D=3D 'Complete') {=0A=
      // avoid memory leak in MSIE: clean up=0A=
      this.transport.onreadystatechange =3D Prototype.emptyFunction;=0A=
    }=0A=
  },=0A=
=0A=
  isSameOrigin: function() {=0A=
    var m =3D this.url.match(/^\s*https?:\/\/[^\/]*/);=0A=
    return !m || (m[0] =3D=3D =
'#{protocol}//#{domain}#{port}'.interpolate({=0A=
      protocol: location.protocol,=0A=
      domain: document.domain,=0A=
      port: location.port ? ':' + location.port : ''=0A=
    }));=0A=
  },=0A=
=0A=
  getHeader: function(name) {=0A=
    try {=0A=
      return this.transport.getResponseHeader(name) || null;=0A=
    } catch (e) { return null }=0A=
  },=0A=
=0A=
  evalResponse: function() {=0A=
    try {=0A=
      return eval((this.transport.responseText || '').unfilterJSON());=0A=
    } catch (e) {=0A=
      this.dispatchException(e);=0A=
    }=0A=
  },=0A=
=0A=
  dispatchException: function(exception) {=0A=
    (this.options.onException || Prototype.emptyFunction)(this, =
exception);=0A=
    Ajax.Responders.dispatch('onException', this, exception);=0A=
  }=0A=
});=0A=
=0A=
Ajax.Request.Events =3D=0A=
  ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];=0A=
=0A=
Ajax.Response =3D Class.create({=0A=
  initialize: function(request){=0A=
    this.request =3D request;=0A=
    var transport  =3D this.transport  =3D request.transport,=0A=
        readyState =3D this.readyState =3D transport.readyState;=0A=
=0A=
    if((readyState > 2 && !Prototype.Browser.IE) || readyState =3D=3D 4) =
{=0A=
      this.status       =3D this.getStatus();=0A=
      this.statusText   =3D this.getStatusText();=0A=
      this.responseText =3D String.interpret(transport.responseText);=0A=
      this.headerJSON   =3D this._getHeaderJSON();=0A=
    }=0A=
=0A=
    if(readyState =3D=3D 4) {=0A=
      var xml =3D transport.responseXML;=0A=
      this.responseXML  =3D Object.isUndefined(xml) ? null : xml;=0A=
      this.responseJSON =3D this._getResponseJSON();=0A=
    }=0A=
  },=0A=
=0A=
  status:      0,=0A=
  statusText: '',=0A=
=0A=
  getStatus: Ajax.Request.prototype.getStatus,=0A=
=0A=
  getStatusText: function() {=0A=
    try {=0A=
      return this.transport.statusText || '';=0A=
    } catch (e) { return '' }=0A=
  },=0A=
=0A=
  getHeader: Ajax.Request.prototype.getHeader,=0A=
=0A=
  getAllHeaders: function() {=0A=
    try {=0A=
      return this.getAllResponseHeaders();=0A=
    } catch (e) { return null }=0A=
  },=0A=
=0A=
  getResponseHeader: function(name) {=0A=
    return this.transport.getResponseHeader(name);=0A=
  },=0A=
=0A=
  getAllResponseHeaders: function() {=0A=
    return this.transport.getAllResponseHeaders();=0A=
  },=0A=
=0A=
  _getHeaderJSON: function() {=0A=
    var json =3D this.getHeader('X-JSON');=0A=
    if (!json) return null;=0A=
    json =3D decodeURIComponent(escape(json));=0A=
    try {=0A=
      return json.evalJSON(this.request.options.sanitizeJSON ||=0A=
        !this.request.isSameOrigin());=0A=
    } catch (e) {=0A=
      this.request.dispatchException(e);=0A=
    }=0A=
  },=0A=
=0A=
  _getResponseJSON: function() {=0A=
    var options =3D this.request.options;=0A=
    if (!options.evalJSON || (options.evalJSON !=3D 'force' &&=0A=
      !(this.getHeader('Content-type') || =
'').include('application/json')) ||=0A=
        this.responseText.blank())=0A=
          return null;=0A=
    try {=0A=
      return this.responseText.evalJSON(options.sanitizeJSON ||=0A=
        !this.request.isSameOrigin());=0A=
    } catch (e) {=0A=
      this.request.dispatchException(e);=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Ajax.Updater =3D Class.create(Ajax.Request, {=0A=
  initialize: function($super, container, url, options) {=0A=
    this.container =3D {=0A=
      success: (container.success || container),=0A=
      failure: (container.failure || (container.success ? null : =
container))=0A=
    };=0A=
=0A=
    options =3D Object.clone(options);=0A=
    var onComplete =3D options.onComplete;=0A=
    options.onComplete =3D (function(response, json) {=0A=
      this.updateContent(response.responseText);=0A=
      if (Object.isFunction(onComplete)) onComplete(response, json);=0A=
    }).bind(this);=0A=
=0A=
    $super(url, options);=0A=
  },=0A=
=0A=
  updateContent: function(responseText) {=0A=
    var receiver =3D this.container[this.success() ? 'success' : =
'failure'],=0A=
        options =3D this.options;=0A=
=0A=
    if (!options.evalScripts) responseText =3D =
responseText.stripScripts();=0A=
=0A=
    if (receiver =3D $(receiver)) {=0A=
      if (options.insertion) {=0A=
        if (Object.isString(options.insertion)) {=0A=
          var insertion =3D { }; insertion[options.insertion] =3D =
responseText;=0A=
          receiver.insert(insertion);=0A=
        }=0A=
        else options.insertion(receiver, responseText);=0A=
      }=0A=
      else receiver.update(responseText);=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Ajax.PeriodicalUpdater =3D Class.create(Ajax.Base, {=0A=
  initialize: function($super, container, url, options) {=0A=
    $super(options);=0A=
    this.onComplete =3D this.options.onComplete;=0A=
=0A=
    this.frequency =3D (this.options.frequency || 2);=0A=
    this.decay =3D (this.options.decay || 1);=0A=
=0A=
    this.updater =3D { };=0A=
    this.container =3D container;=0A=
    this.url =3D url;=0A=
=0A=
    this.start();=0A=
  },=0A=
=0A=
  start: function() {=0A=
    this.options.onComplete =3D this.updateComplete.bind(this);=0A=
    this.onTimerEvent();=0A=
  },=0A=
=0A=
  stop: function() {=0A=
    this.updater.options.onComplete =3D undefined;=0A=
    clearTimeout(this.timer);=0A=
    (this.onComplete || Prototype.emptyFunction).apply(this, arguments);=0A=
  },=0A=
=0A=
  updateComplete: function(response) {=0A=
    if (this.options.decay) {=0A=
      this.decay =3D (response.responseText =3D=3D this.lastText ?=0A=
        this.decay * this.options.decay : 1);=0A=
=0A=
      this.lastText =3D response.responseText;=0A=
    }=0A=
    this.timer =3D this.onTimerEvent.bind(this).delay(this.decay * =
this.frequency);=0A=
  },=0A=
=0A=
  onTimerEvent: function() {=0A=
    this.updater =3D new Ajax.Updater(this.container, this.url, =
this.options);=0A=
  }=0A=
});=0A=
function $(element) {=0A=
  if (arguments.length > 1) {=0A=
    for (var i =3D 0, elements =3D [], length =3D arguments.length; i < =
length; i++)=0A=
      elements.push($(arguments[i]));=0A=
    return elements;=0A=
  }=0A=
  if (Object.isString(element))=0A=
    element =3D document.getElementById(element);=0A=
  return Element.extend(element);=0A=
}=0A=
=0A=
if (Prototype.BrowserFeatures.XPath) {=0A=
  document._getElementsByXPath =3D function(expression, parentElement) {=0A=
    var results =3D [];=0A=
    var query =3D document.evaluate(expression, $(parentElement) || =
document,=0A=
      null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);=0A=
    for (var i =3D 0, length =3D query.snapshotLength; i < length; i++)=0A=
      results.push(Element.extend(query.snapshotItem(i)));=0A=
    return results;=0A=
  };=0A=
}=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
if (!window.Node) var Node =3D { };=0A=
=0A=
if (!Node.ELEMENT_NODE) {=0A=
  // DOM level 2 ECMAScript Language Binding=0A=
  Object.extend(Node, {=0A=
    ELEMENT_NODE: 1,=0A=
    ATTRIBUTE_NODE: 2,=0A=
    TEXT_NODE: 3,=0A=
    CDATA_SECTION_NODE: 4,=0A=
    ENTITY_REFERENCE_NODE: 5,=0A=
    ENTITY_NODE: 6,=0A=
    PROCESSING_INSTRUCTION_NODE: 7,=0A=
    COMMENT_NODE: 8,=0A=
    DOCUMENT_NODE: 9,=0A=
    DOCUMENT_TYPE_NODE: 10,=0A=
    DOCUMENT_FRAGMENT_NODE: 11,=0A=
    NOTATION_NODE: 12=0A=
  });=0A=
}=0A=
=0A=
(function() {=0A=
  var element =3D this.Element;=0A=
  this.Element =3D function(tagName, attributes) {=0A=
    attributes =3D attributes || { };=0A=
    tagName =3D tagName.toLowerCase();=0A=
    var cache =3D Element.cache;=0A=
    if (Prototype.Browser.IE && attributes.name) {=0A=
      tagName =3D '<' + tagName + ' name=3D"' + attributes.name + '">';=0A=
      delete attributes.name;=0A=
      return Element.writeAttribute(document.createElement(tagName), =
attributes);=0A=
    }=0A=
    if (!cache[tagName]) cache[tagName] =3D =
Element.extend(document.createElement(tagName));=0A=
    return Element.writeAttribute(cache[tagName].cloneNode(false), =
attributes);=0A=
  };=0A=
  Object.extend(this.Element, element || { });=0A=
  if (element) this.Element.prototype =3D element.prototype;=0A=
}).call(window);=0A=
=0A=
Element.cache =3D { };=0A=
=0A=
Element.Methods =3D {=0A=
  visible: function(element) {=0A=
    return $(element).style.display !=3D 'none';=0A=
  },=0A=
=0A=
  toggle: function(element) {=0A=
    element =3D $(element);=0A=
    Element[Element.visible(element) ? 'hide' : 'show'](element);=0A=
    return element;=0A=
  },=0A=
=0A=
  hide: function(element) {=0A=
    element =3D $(element);=0A=
    element.style.display =3D 'none';=0A=
    return element;=0A=
  },=0A=
=0A=
  show: function(element) {=0A=
    element =3D $(element);=0A=
    element.style.display =3D '';=0A=
    return element;=0A=
  },=0A=
=0A=
  remove: function(element) {=0A=
    element =3D $(element);=0A=
    element.parentNode.removeChild(element);=0A=
    return element;=0A=
  },=0A=
=0A=
  update: function(element, content) {=0A=
    element =3D $(element);=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    if (Object.isElement(content)) return =
element.update().insert(content);=0A=
    content =3D Object.toHTML(content);=0A=
    element.innerHTML =3D content.stripScripts();=0A=
    content.evalScripts.bind(content).defer();=0A=
    return element;=0A=
  },=0A=
=0A=
  replace: function(element, content) {=0A=
    element =3D $(element);=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    else if (!Object.isElement(content)) {=0A=
      content =3D Object.toHTML(content);=0A=
      var range =3D element.ownerDocument.createRange();=0A=
      range.selectNode(element);=0A=
      content.evalScripts.bind(content).defer();=0A=
      content =3D range.createContextualFragment(content.stripScripts());=0A=
    }=0A=
    element.parentNode.replaceChild(content, element);=0A=
    return element;=0A=
  },=0A=
=0A=
  insert: function(element, insertions) {=0A=
    element =3D $(element);=0A=
=0A=
    if (Object.isString(insertions) || Object.isNumber(insertions) ||=0A=
        Object.isElement(insertions) || (insertions && =
(insertions.toElement || insertions.toHTML)))=0A=
          insertions =3D {bottom:insertions};=0A=
=0A=
    var content, insert, tagName, childNodes;=0A=
=0A=
    for (var position in insertions) {=0A=
      content  =3D insertions[position];=0A=
      position =3D position.toLowerCase();=0A=
      insert =3D Element._insertionTranslations[position];=0A=
=0A=
      if (content && content.toElement) content =3D content.toElement();=0A=
      if (Object.isElement(content)) {=0A=
        insert(element, content);=0A=
        continue;=0A=
      }=0A=
=0A=
      content =3D Object.toHTML(content);=0A=
=0A=
      tagName =3D ((position =3D=3D 'before' || position =3D=3D 'after')=0A=
        ? element.parentNode : element).tagName.toUpperCase();=0A=
=0A=
      childNodes =3D Element._getContentFromAnonymousElement(tagName, =
content.stripScripts());=0A=
=0A=
      if (position =3D=3D 'top' || position =3D=3D 'after') =
childNodes.reverse();=0A=
      childNodes.each(insert.curry(element));=0A=
=0A=
      content.evalScripts.bind(content).defer();=0A=
    }=0A=
=0A=
    return element;=0A=
  },=0A=
=0A=
  wrap: function(element, wrapper, attributes) {=0A=
    element =3D $(element);=0A=
    if (Object.isElement(wrapper))=0A=
      $(wrapper).writeAttribute(attributes || { });=0A=
    else if (Object.isString(wrapper)) wrapper =3D new Element(wrapper, =
attributes);=0A=
    else wrapper =3D new Element('div', wrapper);=0A=
    if (element.parentNode)=0A=
      element.parentNode.replaceChild(wrapper, element);=0A=
    wrapper.appendChild(element);=0A=
    return wrapper;=0A=
  },=0A=
=0A=
  inspect: function(element) {=0A=
    element =3D $(element);=0A=
    var result =3D '<' + element.tagName.toLowerCase();=0A=
    $H({'id': 'id', 'className': 'class'}).each(function(pair) {=0A=
      var property =3D pair.first(), attribute =3D pair.last();=0A=
      var value =3D (element[property] || '').toString();=0A=
      if (value) result +=3D ' ' + attribute + '=3D' + =
value.inspect(true);=0A=
    });=0A=
    return result + '>';=0A=
  },=0A=
=0A=
  recursivelyCollect: function(element, property) {=0A=
    element =3D $(element);=0A=
    var elements =3D [];=0A=
    while (element =3D element[property])=0A=
      if (element.nodeType =3D=3D 1)=0A=
        elements.push(Element.extend(element));=0A=
    return elements;=0A=
  },=0A=
=0A=
  ancestors: function(element) {=0A=
    return $(element).recursivelyCollect('parentNode');=0A=
  },=0A=
=0A=
  descendants: function(element) {=0A=
    return $(element).select("*");=0A=
  },=0A=
=0A=
  firstDescendant: function(element) {=0A=
    element =3D $(element).firstChild;=0A=
    while (element && element.nodeType !=3D 1) element =3D =
element.nextSibling;=0A=
    return $(element);=0A=
  },=0A=
=0A=
  immediateDescendants: function(element) {=0A=
    if (!(element =3D $(element).firstChild)) return [];=0A=
    while (element && element.nodeType !=3D 1) element =3D =
element.nextSibling;=0A=
    if (element) return [element].concat($(element).nextSiblings());=0A=
    return [];=0A=
  },=0A=
=0A=
  previousSiblings: function(element) {=0A=
    return $(element).recursivelyCollect('previousSibling');=0A=
  },=0A=
=0A=
  nextSiblings: function(element) {=0A=
    return $(element).recursivelyCollect('nextSibling');=0A=
  },=0A=
=0A=
  siblings: function(element) {=0A=
    element =3D $(element);=0A=
    return =
element.previousSiblings().reverse().concat(element.nextSiblings());=0A=
  },=0A=
=0A=
  match: function(element, selector) {=0A=
    if (Object.isString(selector))=0A=
      selector =3D new Selector(selector);=0A=
    return selector.match($(element));=0A=
  },=0A=
=0A=
  up: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return $(element.parentNode);=0A=
    var ancestors =3D element.ancestors();=0A=
    return Object.isNumber(expression) ? ancestors[expression] :=0A=
      Selector.findElement(ancestors, expression, index);=0A=
  },=0A=
=0A=
  down: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return element.firstDescendant();=0A=
    return Object.isNumber(expression) ? =
element.descendants()[expression] :=0A=
      Element.select(element, expression)[index || 0];=0A=
  },=0A=
=0A=
  previous: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return =
$(Selector.handlers.previousElementSibling(element));=0A=
    var previousSiblings =3D element.previousSiblings();=0A=
    return Object.isNumber(expression) ? previousSiblings[expression] :=0A=
      Selector.findElement(previousSiblings, expression, index);=0A=
  },=0A=
=0A=
  next: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return =
$(Selector.handlers.nextElementSibling(element));=0A=
    var nextSiblings =3D element.nextSiblings();=0A=
    return Object.isNumber(expression) ? nextSiblings[expression] :=0A=
      Selector.findElement(nextSiblings, expression, index);=0A=
  },=0A=
=0A=
  select: function() {=0A=
    var args =3D $A(arguments), element =3D $(args.shift());=0A=
    return Selector.findChildElements(element, args);=0A=
  },=0A=
=0A=
  adjacent: function() {=0A=
    var args =3D $A(arguments), element =3D $(args.shift());=0A=
    return Selector.findChildElements(element.parentNode, =
args).without(element);=0A=
  },=0A=
=0A=
  identify: function(element) {=0A=
    element =3D $(element);=0A=
    var id =3D element.readAttribute('id'), self =3D arguments.callee;=0A=
    if (id) return id;=0A=
    do { id =3D 'anonymous_element_' + self.counter++ } while ($(id));=0A=
    element.writeAttribute('id', id);=0A=
    return id;=0A=
  },=0A=
=0A=
  readAttribute: function(element, name) {=0A=
    element =3D $(element);=0A=
    if (Prototype.Browser.IE) {=0A=
      var t =3D Element._attributeTranslations.read;=0A=
      if (t.values[name]) return t.values[name](element, name);=0A=
      if (t.names[name]) name =3D t.names[name];=0A=
      if (name.include(':')) {=0A=
        return (!element.attributes || !element.attributes[name]) ? null =
:=0A=
         element.attributes[name].value;=0A=
      }=0A=
    }=0A=
    return element.getAttribute(name);=0A=
  },=0A=
=0A=
  writeAttribute: function(element, name, value) {=0A=
    element =3D $(element);=0A=
    var attributes =3D { }, t =3D Element._attributeTranslations.write;=0A=
=0A=
    if (typeof name =3D=3D 'object') attributes =3D name;=0A=
    else attributes[name] =3D Object.isUndefined(value) ? true : value;=0A=
=0A=
    for (var attr in attributes) {=0A=
      name =3D t.names[attr] || attr;=0A=
      value =3D attributes[attr];=0A=
      if (t.values[attr]) name =3D t.values[attr](element, value);=0A=
      if (value =3D=3D=3D false || value =3D=3D=3D null)=0A=
        element.removeAttribute(name);=0A=
      else if (value =3D=3D=3D true)=0A=
        element.setAttribute(name, name);=0A=
      else element.setAttribute(name, value);=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  getHeight: function(element) {=0A=
    return $(element).getDimensions().height;=0A=
  },=0A=
=0A=
  getWidth: function(element) {=0A=
    return $(element).getDimensions().width;=0A=
  },=0A=
=0A=
  classNames: function(element) {=0A=
    return new Element.ClassNames(element);=0A=
  },=0A=
=0A=
  hasClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    var elementClassName =3D element.className;=0A=
    return (elementClassName.length > 0 && (elementClassName =3D=3D =
className ||=0A=
      new RegExp("(^|\\s)" + className + =
"(\\s|$)").test(elementClassName)));=0A=
  },=0A=
=0A=
  addClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    if (!element.hasClassName(className))=0A=
      element.className +=3D (element.className ? ' ' : '') + className;=0A=
    return element;=0A=
  },=0A=
=0A=
  removeClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    element.className =3D element.className.replace(=0A=
      new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip();=0A=
    return element;=0A=
  },=0A=
=0A=
  toggleClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    return element[element.hasClassName(className) ?=0A=
      'removeClassName' : 'addClassName'](className);=0A=
  },=0A=
=0A=
  // removes whitespace-only text node children=0A=
  cleanWhitespace: function(element) {=0A=
    element =3D $(element);=0A=
    var node =3D element.firstChild;=0A=
    while (node) {=0A=
      var nextNode =3D node.nextSibling;=0A=
      if (node.nodeType =3D=3D 3 && !/\S/.test(node.nodeValue))=0A=
        element.removeChild(node);=0A=
      node =3D nextNode;=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  empty: function(element) {=0A=
    return $(element).innerHTML.blank();=0A=
  },=0A=
=0A=
  descendantOf: function(element, ancestor) {=0A=
    element =3D $(element), ancestor =3D $(ancestor);=0A=
=0A=
    if (element.compareDocumentPosition)=0A=
      return (element.compareDocumentPosition(ancestor) & 8) =3D=3D=3D 8;=0A=
=0A=
    if (ancestor.contains)=0A=
      return ancestor.contains(element) && ancestor !=3D=3D element;=0A=
=0A=
    while (element =3D element.parentNode)=0A=
      if (element =3D=3D ancestor) return true;=0A=
=0A=
    return false;=0A=
  },=0A=
=0A=
  scrollTo: function(element) {=0A=
    element =3D $(element);=0A=
    var pos =3D element.cumulativeOffset();=0A=
    window.scrollTo(pos[0], pos[1]);=0A=
    return element;=0A=
  },=0A=
=0A=
  getStyle: function(element, style) {=0A=
    element =3D $(element);=0A=
    style =3D style =3D=3D 'float' ? 'cssFloat' : style.camelize();=0A=
    var value =3D element.style[style];=0A=
    if (!value || value =3D=3D 'auto') {=0A=
      var css =3D document.defaultView.getComputedStyle(element, null);=0A=
      value =3D css ? css[style] : null;=0A=
    }=0A=
    if (style =3D=3D 'opacity') return value ? parseFloat(value) : 1.0;=0A=
    return value =3D=3D 'auto' ? null : value;=0A=
  },=0A=
=0A=
  getOpacity: function(element) {=0A=
    return $(element).getStyle('opacity');=0A=
  },=0A=
=0A=
  setStyle: function(element, styles) {=0A=
    element =3D $(element);=0A=
    var elementStyle =3D element.style, match;=0A=
    if (Object.isString(styles)) {=0A=
      element.style.cssText +=3D ';' + styles;=0A=
      return styles.include('opacity') ?=0A=
        element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : =
element;=0A=
    }=0A=
    for (var property in styles)=0A=
      if (property =3D=3D 'opacity') =
element.setOpacity(styles[property]);=0A=
      else=0A=
        elementStyle[(property =3D=3D 'float' || property =3D=3D =
'cssFloat') ?=0A=
          (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : =
'styleFloat') :=0A=
            property] =3D styles[property];=0A=
=0A=
    return element;=0A=
  },=0A=
=0A=
  setOpacity: function(element, value) {=0A=
    element =3D $(element);=0A=
    element.style.opacity =3D (value =3D=3D 1 || value =3D=3D=3D '') ? =
'' :=0A=
      (value < 0.00001) ? 0 : value;=0A=
    return element;=0A=
  },=0A=
=0A=
  getDimensions: function(element) {=0A=
    element =3D $(element);=0A=
    var display =3D element.getStyle('display');=0A=
    if (display !=3D 'none' && display !=3D null) // Safari bug=0A=
      return {width: element.offsetWidth, height: element.offsetHeight};=0A=
=0A=
    // All *Width and *Height properties give 0 on elements with display =
none,=0A=
    // so enable the element temporarily=0A=
    var els =3D element.style;=0A=
    var originalVisibility =3D els.visibility;=0A=
    var originalPosition =3D els.position;=0A=
    var originalDisplay =3D els.display;=0A=
    els.visibility =3D 'hidden';=0A=
    els.position =3D 'absolute';=0A=
    els.display =3D 'block';=0A=
    var originalWidth =3D element.clientWidth;=0A=
    var originalHeight =3D element.clientHeight;=0A=
    els.display =3D originalDisplay;=0A=
    els.position =3D originalPosition;=0A=
    els.visibility =3D originalVisibility;=0A=
    return {width: originalWidth, height: originalHeight};=0A=
  },=0A=
=0A=
  makePositioned: function(element) {=0A=
    element =3D $(element);=0A=
    var pos =3D Element.getStyle(element, 'position');=0A=
    if (pos =3D=3D 'static' || !pos) {=0A=
      element._madePositioned =3D true;=0A=
      element.style.position =3D 'relative';=0A=
      // Opera returns the offset relative to the positioning context, =
when an=0A=
      // element is position relative but top and left have not been =
defined=0A=
      if (Prototype.Browser.Opera) {=0A=
        element.style.top =3D 0;=0A=
        element.style.left =3D 0;=0A=
      }=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  undoPositioned: function(element) {=0A=
    element =3D $(element);=0A=
    if (element._madePositioned) {=0A=
      element._madePositioned =3D undefined;=0A=
      element.style.position =3D=0A=
        element.style.top =3D=0A=
        element.style.left =3D=0A=
        element.style.bottom =3D=0A=
        element.style.right =3D '';=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  makeClipping: function(element) {=0A=
    element =3D $(element);=0A=
    if (element._overflow) return element;=0A=
    element._overflow =3D Element.getStyle(element, 'overflow') || =
'auto';=0A=
    if (element._overflow !=3D=3D 'hidden')=0A=
      element.style.overflow =3D 'hidden';=0A=
    return element;=0A=
  },=0A=
=0A=
  undoClipping: function(element) {=0A=
    element =3D $(element);=0A=
    if (!element._overflow) return element;=0A=
    element.style.overflow =3D element._overflow =3D=3D 'auto' ? '' : =
element._overflow;=0A=
    element._overflow =3D null;=0A=
    return element;=0A=
  },=0A=
=0A=
  cumulativeOffset: function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
      element =3D element.offsetParent;=0A=
    } while (element);=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  positionedOffset: function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
      element =3D element.offsetParent;=0A=
      if (element) {=0A=
        if (element.tagName.toUpperCase() =3D=3D 'BODY') break;=0A=
        var p =3D Element.getStyle(element, 'position');=0A=
        if (p !=3D=3D 'static') break;=0A=
      }=0A=
    } while (element);=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  absolutize: function(element) {=0A=
    element =3D $(element);=0A=
    if (element.getStyle('position') =3D=3D 'absolute') return element;=0A=
    // Position.prepare(); // To be done manually by Scripty when it =
needs it.=0A=
=0A=
    var offsets =3D element.positionedOffset();=0A=
    var top     =3D offsets[1];=0A=
    var left    =3D offsets[0];=0A=
    var width   =3D element.clientWidth;=0A=
    var height  =3D element.clientHeight;=0A=
=0A=
    element._originalLeft   =3D left - parseFloat(element.style.left  || =
0);=0A=
    element._originalTop    =3D top  - parseFloat(element.style.top || =
0);=0A=
    element._originalWidth  =3D element.style.width;=0A=
    element._originalHeight =3D element.style.height;=0A=
=0A=
    element.style.position =3D 'absolute';=0A=
    element.style.top    =3D top + 'px';=0A=
    element.style.left   =3D left + 'px';=0A=
    element.style.width  =3D width + 'px';=0A=
    element.style.height =3D height + 'px';=0A=
    return element;=0A=
  },=0A=
=0A=
  relativize: function(element) {=0A=
    element =3D $(element);=0A=
    if (element.getStyle('position') =3D=3D 'relative') return element;=0A=
    // Position.prepare(); // To be done manually by Scripty when it =
needs it.=0A=
=0A=
    element.style.position =3D 'relative';=0A=
    var top  =3D parseFloat(element.style.top  || 0) - =
(element._originalTop || 0);=0A=
    var left =3D parseFloat(element.style.left || 0) - =
(element._originalLeft || 0);=0A=
=0A=
    element.style.top    =3D top + 'px';=0A=
    element.style.left   =3D left + 'px';=0A=
    element.style.height =3D element._originalHeight;=0A=
    element.style.width  =3D element._originalWidth;=0A=
    return element;=0A=
  },=0A=
=0A=
  cumulativeScrollOffset: function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.scrollTop  || 0;=0A=
      valueL +=3D element.scrollLeft || 0;=0A=
      element =3D element.parentNode;=0A=
    } while (element);=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  getOffsetParent: function(element) {=0A=
    if (element.offsetParent) return $(element.offsetParent);=0A=
    if (element =3D=3D document.body) return $(element);=0A=
=0A=
    while ((element =3D element.parentNode) && element !=3D =
document.body)=0A=
      if (Element.getStyle(element, 'position') !=3D 'static')=0A=
        return $(element);=0A=
=0A=
    return $(document.body);=0A=
  },=0A=
=0A=
  viewportOffset: function(forElement) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
=0A=
    var element =3D forElement;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
=0A=
      // Safari fix=0A=
      if (element.offsetParent =3D=3D document.body &&=0A=
        Element.getStyle(element, 'position') =3D=3D 'absolute') break;=0A=
=0A=
    } while (element =3D element.offsetParent);=0A=
=0A=
    element =3D forElement;=0A=
    do {=0A=
      if (!Prototype.Browser.Opera || (element.tagName && =
(element.tagName.toUpperCase() =3D=3D 'BODY'))) {=0A=
        valueT -=3D element.scrollTop  || 0;=0A=
        valueL -=3D element.scrollLeft || 0;=0A=
      }=0A=
    } while (element =3D element.parentNode);=0A=
=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  clonePosition: function(element, source) {=0A=
    var options =3D Object.extend({=0A=
      setLeft:    true,=0A=
      setTop:     true,=0A=
      setWidth:   true,=0A=
      setHeight:  true,=0A=
      offsetTop:  0,=0A=
      offsetLeft: 0=0A=
    }, arguments[2] || { });=0A=
=0A=
    // find page position of source=0A=
    source =3D $(source);=0A=
    var p =3D source.viewportOffset();=0A=
=0A=
    // find coordinate system to use=0A=
    element =3D $(element);=0A=
    var delta =3D [0, 0];=0A=
    var parent =3D null;=0A=
    // delta [0,0] will do fine with position: fixed elements,=0A=
    // position:absolute needs offsetParent deltas=0A=
    if (Element.getStyle(element, 'position') =3D=3D 'absolute') {=0A=
      parent =3D element.getOffsetParent();=0A=
      delta =3D parent.viewportOffset();=0A=
    }=0A=
=0A=
    // correct by body offsets (fixes Safari)=0A=
    if (parent =3D=3D document.body) {=0A=
      delta[0] -=3D document.body.offsetLeft;=0A=
      delta[1] -=3D document.body.offsetTop;=0A=
    }=0A=
=0A=
    // set position=0A=
    if (options.setLeft)   element.style.left  =3D (p[0] - delta[0] + =
options.offsetLeft) + 'px';=0A=
    if (options.setTop)    element.style.top   =3D (p[1] - delta[1] + =
options.offsetTop) + 'px';=0A=
    if (options.setWidth)  element.style.width =3D source.offsetWidth + =
'px';=0A=
    if (options.setHeight) element.style.height =3D source.offsetHeight =
+ 'px';=0A=
    return element;=0A=
  }=0A=
};=0A=
=0A=
Element.Methods.identify.counter =3D 1;=0A=
=0A=
Object.extend(Element.Methods, {=0A=
  getElementsBySelector: Element.Methods.select,=0A=
  childElements: Element.Methods.immediateDescendants=0A=
});=0A=
=0A=
Element._attributeTranslations =3D {=0A=
  write: {=0A=
    names: {=0A=
      className: 'class',=0A=
      htmlFor:   'for'=0A=
    },=0A=
    values: { }=0A=
  }=0A=
};=0A=
=0A=
if (Prototype.Browser.Opera) {=0A=
  Element.Methods.getStyle =3D Element.Methods.getStyle.wrap(=0A=
    function(proceed, element, style) {=0A=
      switch (style) {=0A=
        case 'left': case 'top': case 'right': case 'bottom':=0A=
          if (proceed(element, 'position') =3D=3D=3D 'static') return =
null;=0A=
        case 'height': case 'width':=0A=
          // returns '0px' for hidden elements; we want it to return null=0A=
          if (!Element.visible(element)) return null;=0A=
=0A=
          // returns the border-box dimensions rather than the =
content-box=0A=
          // dimensions, so we subtract padding and borders from the =
value=0A=
          var dim =3D parseInt(proceed(element, style), 10);=0A=
=0A=
          if (dim !=3D=3D element['offset' + style.capitalize()])=0A=
            return dim + 'px';=0A=
=0A=
          var properties;=0A=
          if (style =3D=3D=3D 'height') {=0A=
            properties =3D ['border-top-width', 'padding-top',=0A=
             'padding-bottom', 'border-bottom-width'];=0A=
          }=0A=
          else {=0A=
            properties =3D ['border-left-width', 'padding-left',=0A=
             'padding-right', 'border-right-width'];=0A=
          }=0A=
          return properties.inject(dim, function(memo, property) {=0A=
            var val =3D proceed(element, property);=0A=
            return val =3D=3D=3D null ? memo : memo - parseInt(val, 10);=0A=
          }) + 'px';=0A=
        default: return proceed(element, style);=0A=
      }=0A=
    }=0A=
  );=0A=
=0A=
  Element.Methods.readAttribute =3D Element.Methods.readAttribute.wrap(=0A=
    function(proceed, element, attribute) {=0A=
      if (attribute =3D=3D=3D 'title') return element.title;=0A=
      return proceed(element, attribute);=0A=
    }=0A=
  );=0A=
}=0A=
=0A=
else if (Prototype.Browser.IE) {=0A=
  // IE doesn't report offsets correctly for static elements, so we =
change them=0A=
  // to "relative" to get the values, then change them back.=0A=
  Element.Methods.getOffsetParent =3D =
Element.Methods.getOffsetParent.wrap(=0A=
    function(proceed, element) {=0A=
      element =3D $(element);=0A=
      // IE throws an error if element is not in document=0A=
      try { element.offsetParent }=0A=
      catch(e) { return $(document.body) }=0A=
      var position =3D element.getStyle('position');=0A=
      if (position !=3D=3D 'static') return proceed(element);=0A=
      element.setStyle({ position: 'relative' });=0A=
      var value =3D proceed(element);=0A=
      element.setStyle({ position: position });=0A=
      return value;=0A=
    }=0A=
  );=0A=
=0A=
  $w('positionedOffset viewportOffset').each(function(method) {=0A=
    Element.Methods[method] =3D Element.Methods[method].wrap(=0A=
      function(proceed, element) {=0A=
        element =3D $(element);=0A=
        try { element.offsetParent }=0A=
        catch(e) { return Element._returnOffset(0,0) }=0A=
        var position =3D element.getStyle('position');=0A=
        if (position !=3D=3D 'static') return proceed(element);=0A=
        // Trigger hasLayout on the offset parent so that IE6 reports=0A=
        // accurate offsetTop and offsetLeft values for position: fixed.=0A=
        var offsetParent =3D element.getOffsetParent();=0A=
        if (offsetParent && offsetParent.getStyle('position') =3D=3D=3D =
'fixed')=0A=
          offsetParent.setStyle({ zoom: 1 });=0A=
        element.setStyle({ position: 'relative' });=0A=
        var value =3D proceed(element);=0A=
        element.setStyle({ position: position });=0A=
        return value;=0A=
      }=0A=
    );=0A=
  });=0A=
=0A=
  Element.Methods.cumulativeOffset =3D =
Element.Methods.cumulativeOffset.wrap(=0A=
    function(proceed, element) {=0A=
      try { element.offsetParent }=0A=
      catch(e) { return Element._returnOffset(0,0) }=0A=
      return proceed(element);=0A=
    }=0A=
  );=0A=
=0A=
  Element.Methods.getStyle =3D function(element, style) {=0A=
    element =3D $(element);=0A=
    style =3D (style =3D=3D 'float' || style =3D=3D 'cssFloat') ? =
'styleFloat' : style.camelize();=0A=
    var value =3D element.style[style];=0A=
    if (!value && element.currentStyle) value =3D =
element.currentStyle[style];=0A=
=0A=
    if (style =3D=3D 'opacity') {=0A=
      if (value =3D (element.getStyle('filter') || =
'').match(/alpha\(opacity=3D(.*)\)/))=0A=
        if (value[1]) return parseFloat(value[1]) / 100;=0A=
      return 1.0;=0A=
    }=0A=
=0A=
    if (value =3D=3D 'auto') {=0A=
      if ((style =3D=3D 'width' || style =3D=3D 'height') && =
(element.getStyle('display') !=3D 'none'))=0A=
        return element['offset' + style.capitalize()] + 'px';=0A=
      return null;=0A=
    }=0A=
    return value;=0A=
  };=0A=
=0A=
  Element.Methods.setOpacity =3D function(element, value) {=0A=
    function stripAlpha(filter){=0A=
      return filter.replace(/alpha\([^\)]*\)/gi,'');=0A=
    }=0A=
    element =3D $(element);=0A=
    var currentStyle =3D element.currentStyle;=0A=
    if ((currentStyle && !currentStyle.hasLayout) ||=0A=
      (!currentStyle && element.style.zoom =3D=3D 'normal'))=0A=
        element.style.zoom =3D 1;=0A=
=0A=
    var filter =3D element.getStyle('filter'), style =3D element.style;=0A=
    if (value =3D=3D 1 || value =3D=3D=3D '') {=0A=
      (filter =3D stripAlpha(filter)) ?=0A=
        style.filter =3D filter : style.removeAttribute('filter');=0A=
      return element;=0A=
    } else if (value < 0.00001) value =3D 0;=0A=
    style.filter =3D stripAlpha(filter) +=0A=
      'alpha(opacity=3D' + (value * 100) + ')';=0A=
    return element;=0A=
  };=0A=
=0A=
  Element._attributeTranslations =3D {=0A=
    read: {=0A=
      names: {=0A=
        'class': 'className',=0A=
        'for':   'htmlFor'=0A=
      },=0A=
      values: {=0A=
        _getAttr: function(element, attribute) {=0A=
          return element.getAttribute(attribute, 2);=0A=
        },=0A=
        _getAttrNode: function(element, attribute) {=0A=
          var node =3D element.getAttributeNode(attribute);=0A=
          return node ? node.value : "";=0A=
        },=0A=
        _getEv: function(element, attribute) {=0A=
          attribute =3D element.getAttribute(attribute);=0A=
          return attribute ? attribute.toString().slice(23, -2) : null;=0A=
        },=0A=
        _flag: function(element, attribute) {=0A=
          return $(element).hasAttribute(attribute) ? attribute : null;=0A=
        },=0A=
        style: function(element) {=0A=
          return element.style.cssText.toLowerCase();=0A=
        },=0A=
        title: function(element) {=0A=
          return element.title;=0A=
        }=0A=
      }=0A=
    }=0A=
  };=0A=
=0A=
  Element._attributeTranslations.write =3D {=0A=
    names: Object.extend({=0A=
      cellpadding: 'cellPadding',=0A=
      cellspacing: 'cellSpacing'=0A=
    }, Element._attributeTranslations.read.names),=0A=
    values: {=0A=
      checked: function(element, value) {=0A=
        element.checked =3D !!value;=0A=
      },=0A=
=0A=
      style: function(element, value) {=0A=
        element.style.cssText =3D value ? value : '';=0A=
      }=0A=
    }=0A=
  };=0A=
=0A=
  Element._attributeTranslations.has =3D {};=0A=
=0A=
  $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' +=0A=
      'encType maxLength readOnly longDesc =
frameBorder').each(function(attr) {=0A=
    Element._attributeTranslations.write.names[attr.toLowerCase()] =3D =
attr;=0A=
    Element._attributeTranslations.has[attr.toLowerCase()] =3D attr;=0A=
  });=0A=
=0A=
  (function(v) {=0A=
    Object.extend(v, {=0A=
      href:        v._getAttr,=0A=
      src:         v._getAttr,=0A=
      type:        v._getAttr,=0A=
      action:      v._getAttrNode,=0A=
      disabled:    v._flag,=0A=
      checked:     v._flag,=0A=
      readonly:    v._flag,=0A=
      multiple:    v._flag,=0A=
      onload:      v._getEv,=0A=
      onunload:    v._getEv,=0A=
      onclick:     v._getEv,=0A=
      ondblclick:  v._getEv,=0A=
      onmousedown: v._getEv,=0A=
      onmouseup:   v._getEv,=0A=
      onmouseover: v._getEv,=0A=
      onmousemove: v._getEv,=0A=
      onmouseout:  v._getEv,=0A=
      onfocus:     v._getEv,=0A=
      onblur:      v._getEv,=0A=
      onkeypress:  v._getEv,=0A=
      onkeydown:   v._getEv,=0A=
      onkeyup:     v._getEv,=0A=
      onsubmit:    v._getEv,=0A=
      onreset:     v._getEv,=0A=
      onselect:    v._getEv,=0A=
      onchange:    v._getEv=0A=
    });=0A=
  })(Element._attributeTranslations.read.values);=0A=
}=0A=
=0A=
else if (Prototype.Browser.Gecko && =
/rv:1\.8\.0/.test(navigator.userAgent)) {=0A=
  Element.Methods.setOpacity =3D function(element, value) {=0A=
    element =3D $(element);=0A=
    element.style.opacity =3D (value =3D=3D 1) ? 0.999999 :=0A=
      (value =3D=3D=3D '') ? '' : (value < 0.00001) ? 0 : value;=0A=
    return element;=0A=
  };=0A=
}=0A=
=0A=
else if (Prototype.Browser.WebKit) {=0A=
  Element.Methods.setOpacity =3D function(element, value) {=0A=
    element =3D $(element);=0A=
    element.style.opacity =3D (value =3D=3D 1 || value =3D=3D=3D '') ? =
'' :=0A=
      (value < 0.00001) ? 0 : value;=0A=
=0A=
    if (value =3D=3D 1)=0A=
      if(element.tagName.toUpperCase() =3D=3D 'IMG' && element.width) {=0A=
        element.width++; element.width--;=0A=
      } else try {=0A=
        var n =3D document.createTextNode(' ');=0A=
        element.appendChild(n);=0A=
        element.removeChild(n);=0A=
      } catch (e) { }=0A=
=0A=
    return element;=0A=
  };=0A=
=0A=
  // Safari returns margins on body which is incorrect if the child is =
absolutely=0A=
  // positioned.  For performance reasons, redefine =
Element#cumulativeOffset for=0A=
  // KHTML/WebKit only.=0A=
  Element.Methods.cumulativeOffset =3D function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
      if (element.offsetParent =3D=3D document.body)=0A=
        if (Element.getStyle(element, 'position') =3D=3D 'absolute') =
break;=0A=
=0A=
      element =3D element.offsetParent;=0A=
    } while (element);=0A=
=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  };=0A=
}=0A=
=0A=
if (Prototype.Browser.IE || Prototype.Browser.Opera) {=0A=
  // IE and Opera are missing .innerHTML support for TABLE-related and =
SELECT elements=0A=
  Element.Methods.update =3D function(element, content) {=0A=
    element =3D $(element);=0A=
=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    if (Object.isElement(content)) return =
element.update().insert(content);=0A=
=0A=
    content =3D Object.toHTML(content);=0A=
    var tagName =3D element.tagName.toUpperCase();=0A=
=0A=
    if (tagName in Element._insertionTranslations.tags) {=0A=
      $A(element.childNodes).each(function(node) { =
element.removeChild(node) });=0A=
      Element._getContentFromAnonymousElement(tagName, =
content.stripScripts())=0A=
        .each(function(node) { element.appendChild(node) });=0A=
    }=0A=
    else element.innerHTML =3D content.stripScripts();=0A=
=0A=
    content.evalScripts.bind(content).defer();=0A=
    return element;=0A=
  };=0A=
}=0A=
=0A=
if ('outerHTML' in document.createElement('div')) {=0A=
  Element.Methods.replace =3D function(element, content) {=0A=
    element =3D $(element);=0A=
=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    if (Object.isElement(content)) {=0A=
      element.parentNode.replaceChild(content, element);=0A=
      return element;=0A=
    }=0A=
=0A=
    content =3D Object.toHTML(content);=0A=
    var parent =3D element.parentNode, tagName =3D =
parent.tagName.toUpperCase();=0A=
=0A=
    if (Element._insertionTranslations.tags[tagName]) {=0A=
      var nextSibling =3D element.next();=0A=
      var fragments =3D Element._getContentFromAnonymousElement(tagName, =
content.stripScripts());=0A=
      parent.removeChild(element);=0A=
      if (nextSibling)=0A=
        fragments.each(function(node) { parent.insertBefore(node, =
nextSibling) });=0A=
      else=0A=
        fragments.each(function(node) { parent.appendChild(node) });=0A=
    }=0A=
    else element.outerHTML =3D content.stripScripts();=0A=
=0A=
    content.evalScripts.bind(content).defer();=0A=
    return element;=0A=
  };=0A=
}=0A=
=0A=
Element._returnOffset =3D function(l, t) {=0A=
  var result =3D [l, t];=0A=
  result.left =3D l;=0A=
  result.top =3D t;=0A=
  return result;=0A=
};=0A=
=0A=
Element._getContentFromAnonymousElement =3D function(tagName, html) {=0A=
  var div =3D new Element('div'), t =3D =
Element._insertionTranslations.tags[tagName];=0A=
  if (t) {=0A=
    div.innerHTML =3D t[0] + html + t[1];=0A=
    t[2].times(function() { div =3D div.firstChild });=0A=
  } else div.innerHTML =3D html;=0A=
  return $A(div.childNodes);=0A=
};=0A=
=0A=
Element._insertionTranslations =3D {=0A=
  before: function(element, node) {=0A=
    element.parentNode.insertBefore(node, element);=0A=
  },=0A=
  top: function(element, node) {=0A=
    element.insertBefore(node, element.firstChild);=0A=
  },=0A=
  bottom: function(element, node) {=0A=
    element.appendChild(node);=0A=
  },=0A=
  after: function(element, node) {=0A=
    element.parentNode.insertBefore(node, element.nextSibling);=0A=
  },=0A=
  tags: {=0A=
    TABLE:  ['<table>',                '</table>',                   1],=0A=
    TBODY:  ['<table><tbody>',         '</tbody></table>',           2],=0A=
    TR:     ['<table><tbody><tr>',     '</tr></tbody></table>',      3],=0A=
    TD:     ['<table><tbody><tr><td>', '</td></tr></tbody></table>', 4],=0A=
    SELECT: ['<select>',               '</select>',                  1]=0A=
  }=0A=
};=0A=
=0A=
(function() {=0A=
  Object.extend(this.tags, {=0A=
    THEAD: this.tags.TBODY,=0A=
    TFOOT: this.tags.TBODY,=0A=
    TH:    this.tags.TD=0A=
  });=0A=
}).call(Element._insertionTranslations);=0A=
=0A=
Element.Methods.Simulated =3D {=0A=
  hasAttribute: function(element, attribute) {=0A=
    attribute =3D Element._attributeTranslations.has[attribute] || =
attribute;=0A=
    var node =3D $(element).getAttributeNode(attribute);=0A=
    return !!(node && node.specified);=0A=
  }=0A=
};=0A=
=0A=
Element.Methods.ByTag =3D { };=0A=
=0A=
Object.extend(Element, Element.Methods);=0A=
=0A=
if (!Prototype.BrowserFeatures.ElementExtensions &&=0A=
    document.createElement('div')['__proto__']) {=0A=
  window.HTMLElement =3D { };=0A=
  window.HTMLElement.prototype =3D =
document.createElement('div')['__proto__'];=0A=
  Prototype.BrowserFeatures.ElementExtensions =3D true;=0A=
}=0A=
=0A=
Element.extend =3D (function() {=0A=
  if (Prototype.BrowserFeatures.SpecificElementExtensions)=0A=
    return Prototype.K;=0A=
=0A=
  var Methods =3D { }, ByTag =3D Element.Methods.ByTag;=0A=
=0A=
  var extend =3D Object.extend(function(element) {=0A=
    if (!element || element._extendedByPrototype ||=0A=
        element.nodeType !=3D 1 || element =3D=3D window) return element;=0A=
=0A=
    var methods =3D Object.clone(Methods),=0A=
      tagName =3D element.tagName.toUpperCase(), property, value;=0A=
=0A=
    // extend methods for specific tags=0A=
    if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]);=0A=
=0A=
    for (property in methods) {=0A=
      value =3D methods[property];=0A=
      if (Object.isFunction(value) && !(property in element))=0A=
        element[property] =3D value.methodize();=0A=
    }=0A=
=0A=
    element._extendedByPrototype =3D Prototype.emptyFunction;=0A=
    return element;=0A=
=0A=
  }, {=0A=
    refresh: function() {=0A=
      // extend methods for all tags (Safari doesn't need this)=0A=
      if (!Prototype.BrowserFeatures.ElementExtensions) {=0A=
        Object.extend(Methods, Element.Methods);=0A=
        Object.extend(Methods, Element.Methods.Simulated);=0A=
      }=0A=
    }=0A=
  });=0A=
=0A=
  extend.refresh();=0A=
  return extend;=0A=
})();=0A=
=0A=
Element.hasAttribute =3D function(element, attribute) {=0A=
  if (element.hasAttribute) return element.hasAttribute(attribute);=0A=
  return Element.Methods.Simulated.hasAttribute(element, attribute);=0A=
};=0A=
=0A=
Element.addMethods =3D function(methods) {=0A=
  var F =3D Prototype.BrowserFeatures, T =3D Element.Methods.ByTag;=0A=
=0A=
  if (!methods) {=0A=
    Object.extend(Form, Form.Methods);=0A=
    Object.extend(Form.Element, Form.Element.Methods);=0A=
    Object.extend(Element.Methods.ByTag, {=0A=
      "FORM":     Object.clone(Form.Methods),=0A=
      "INPUT":    Object.clone(Form.Element.Methods),=0A=
      "SELECT":   Object.clone(Form.Element.Methods),=0A=
      "TEXTAREA": Object.clone(Form.Element.Methods)=0A=
    });=0A=
  }=0A=
=0A=
  if (arguments.length =3D=3D 2) {=0A=
    var tagName =3D methods;=0A=
    methods =3D arguments[1];=0A=
  }=0A=
=0A=
  if (!tagName) Object.extend(Element.Methods, methods || { });=0A=
  else {=0A=
    if (Object.isArray(tagName)) tagName.each(extend);=0A=
    else extend(tagName);=0A=
  }=0A=
=0A=
  function extend(tagName) {=0A=
    tagName =3D tagName.toUpperCase();=0A=
    if (!Element.Methods.ByTag[tagName])=0A=
      Element.Methods.ByTag[tagName] =3D { };=0A=
    Object.extend(Element.Methods.ByTag[tagName], methods);=0A=
  }=0A=
=0A=
  function copy(methods, destination, onlyIfAbsent) {=0A=
    onlyIfAbsent =3D onlyIfAbsent || false;=0A=
    for (var property in methods) {=0A=
      var value =3D methods[property];=0A=
      if (!Object.isFunction(value)) continue;=0A=
      if (!onlyIfAbsent || !(property in destination))=0A=
        destination[property] =3D value.methodize();=0A=
    }=0A=
  }=0A=
=0A=
  function findDOMClass(tagName) {=0A=
    var klass;=0A=
    var trans =3D {=0A=
      "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph",=0A=
      "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": =
"DList",=0A=
      "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": =
"Heading",=0A=
      "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote",=0A=
      "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", =
"CAPTION":=0A=
      "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD":=0A=
      "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", =
"TR":=0A=
      "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET":=0A=
      "FrameSet", "IFRAME": "IFrame"=0A=
    };=0A=
    if (trans[tagName]) klass =3D 'HTML' + trans[tagName] + 'Element';=0A=
    if (window[klass]) return window[klass];=0A=
    klass =3D 'HTML' + tagName + 'Element';=0A=
    if (window[klass]) return window[klass];=0A=
    klass =3D 'HTML' + tagName.capitalize() + 'Element';=0A=
    if (window[klass]) return window[klass];=0A=
=0A=
    window[klass] =3D { };=0A=
    window[klass].prototype =3D =
document.createElement(tagName)['__proto__'];=0A=
    return window[klass];=0A=
  }=0A=
=0A=
  if (F.ElementExtensions) {=0A=
    copy(Element.Methods, HTMLElement.prototype);=0A=
    copy(Element.Methods.Simulated, HTMLElement.prototype, true);=0A=
  }=0A=
=0A=
  if (F.SpecificElementExtensions) {=0A=
    for (var tag in Element.Methods.ByTag) {=0A=
      var klass =3D findDOMClass(tag);=0A=
      if (Object.isUndefined(klass)) continue;=0A=
      copy(T[tag], klass.prototype);=0A=
    }=0A=
  }=0A=
=0A=
  Object.extend(Element, Element.Methods);=0A=
  delete Element.ByTag;=0A=
=0A=
  if (Element.extend.refresh) Element.extend.refresh();=0A=
  Element.cache =3D { };=0A=
};=0A=
=0A=
document.viewport =3D {=0A=
  getDimensions: function() {=0A=
    var dimensions =3D { }, B =3D Prototype.Browser;=0A=
    $w('width height').each(function(d) {=0A=
      var D =3D d.capitalize();=0A=
      if (B.WebKit && !document.evaluate) {=0A=
        // Safari <3.0 needs self.innerWidth/Height=0A=
        dimensions[d] =3D self['inner' + D];=0A=
      } else if (B.Opera && parseFloat(window.opera.version()) < 9.5) {=0A=
        // Opera <9.5 needs document.body.clientWidth/Height=0A=
        dimensions[d] =3D document.body['client' + D]=0A=
      } else {=0A=
        dimensions[d] =3D document.documentElement['client' + D];=0A=
      }=0A=
    });=0A=
    return dimensions;=0A=
  },=0A=
=0A=
  getWidth: function() {=0A=
    return this.getDimensions().width;=0A=
  },=0A=
=0A=
  getHeight: function() {=0A=
    return this.getDimensions().height;=0A=
  },=0A=
=0A=
  getScrollOffsets: function() {=0A=
    return Element._returnOffset(=0A=
      window.pageXOffset || document.documentElement.scrollLeft || =
document.body.scrollLeft,=0A=
      window.pageYOffset || document.documentElement.scrollTop || =
document.body.scrollTop);=0A=
  }=0A=
};=0A=
/* Portions of the Selector class are derived from Jack Slocum's =
DomQuery,=0A=
 * part of YUI-Ext version 0.40, distributed under the terms of an =
MIT-style=0A=
 * license.  Please see http://www.yui-ext.com/ for more information. */=0A=
=0A=
var Selector =3D Class.create({=0A=
  initialize: function(expression) {=0A=
    this.expression =3D expression.strip();=0A=
=0A=
    if (this.shouldUseSelectorsAPI()) {=0A=
      this.mode =3D 'selectorsAPI';=0A=
    } else if (this.shouldUseXPath()) {=0A=
      this.mode =3D 'xpath';=0A=
      this.compileXPathMatcher();=0A=
    } else {=0A=
      this.mode =3D "normal";=0A=
      this.compileMatcher();=0A=
    }=0A=
=0A=
  },=0A=
=0A=
  shouldUseXPath: function() {=0A=
    if (!Prototype.BrowserFeatures.XPath) return false;=0A=
=0A=
    var e =3D this.expression;=0A=
=0A=
    // Safari 3 chokes on :*-of-type and :empty=0A=
    if (Prototype.Browser.WebKit &&=0A=
     (e.include("-of-type") || e.include(":empty")))=0A=
      return false;=0A=
=0A=
    // XPath can't do namespaced attributes, nor can it read=0A=
    // the "checked" property from DOM nodes=0A=
    if ((/(\[[\w-]*?:|:checked)/).test(e))=0A=
      return false;=0A=
=0A=
    return true;=0A=
  },=0A=
=0A=
  shouldUseSelectorsAPI: function() {=0A=
    if (!Prototype.BrowserFeatures.SelectorsAPI) return false;=0A=
=0A=
    if (!Selector._div) Selector._div =3D new Element('div');=0A=
=0A=
    // Make sure the browser treats the selector as valid. Test on an=0A=
    // isolated element to minimize cost of this check.=0A=
    try {=0A=
      Selector._div.querySelector(this.expression);=0A=
    } catch(e) {=0A=
      return false;=0A=
    }=0A=
=0A=
    return true;=0A=
  },=0A=
=0A=
  compileMatcher: function() {=0A=
    var e =3D this.expression, ps =3D Selector.patterns, h =3D =
Selector.handlers,=0A=
        c =3D Selector.criteria, le, p, m;=0A=
=0A=
    if (Selector._cache[e]) {=0A=
      this.matcher =3D Selector._cache[e];=0A=
      return;=0A=
    }=0A=
=0A=
    this.matcher =3D ["this.matcher =3D function(root) {",=0A=
                    "var r =3D root, h =3D Selector.handlers, c =3D =
false, n;"];=0A=
=0A=
    while (e && le !=3D e && (/\S/).test(e)) {=0A=
      le =3D e;=0A=
      for (var i in ps) {=0A=
        p =3D ps[i];=0A=
        if (m =3D e.match(p)) {=0A=
          this.matcher.push(Object.isFunction(c[i]) ? c[i](m) :=0A=
            new Template(c[i]).evaluate(m));=0A=
          e =3D e.replace(m[0], '');=0A=
          break;=0A=
        }=0A=
      }=0A=
    }=0A=
=0A=
    this.matcher.push("return h.unique(n);\n}");=0A=
    eval(this.matcher.join('\n'));=0A=
    Selector._cache[this.expression] =3D this.matcher;=0A=
  },=0A=
=0A=
  compileXPathMatcher: function() {=0A=
    var e =3D this.expression, ps =3D Selector.patterns,=0A=
        x =3D Selector.xpath, le, m;=0A=
=0A=
    if (Selector._cache[e]) {=0A=
      this.xpath =3D Selector._cache[e]; return;=0A=
    }=0A=
=0A=
    this.matcher =3D ['.//*'];=0A=
    while (e && le !=3D e && (/\S/).test(e)) {=0A=
      le =3D e;=0A=
      for (var i in ps) {=0A=
        if (m =3D e.match(ps[i])) {=0A=
          this.matcher.push(Object.isFunction(x[i]) ? x[i](m) :=0A=
            new Template(x[i]).evaluate(m));=0A=
          e =3D e.replace(m[0], '');=0A=
          break;=0A=
        }=0A=
      }=0A=
    }=0A=
=0A=
    this.xpath =3D this.matcher.join('');=0A=
    Selector._cache[this.expression] =3D this.xpath;=0A=
  },=0A=
=0A=
  findElements: function(root) {=0A=
    root =3D root || document;=0A=
    var e =3D this.expression, results;=0A=
=0A=
    switch (this.mode) {=0A=
      case 'selectorsAPI':=0A=
        // querySelectorAll queries document-wide, then filters to =
descendants=0A=
        // of the context element. That's not what we want.=0A=
        // Add an explicit context to the selector if necessary.=0A=
        if (root !=3D=3D document) {=0A=
          var oldId =3D root.id, id =3D $(root).identify();=0A=
          e =3D "#" + id + " " + e;=0A=
        }=0A=
=0A=
        results =3D $A(root.querySelectorAll(e)).map(Element.extend);=0A=
        root.id =3D oldId;=0A=
=0A=
        return results;=0A=
      case 'xpath':=0A=
        return document._getElementsByXPath(this.xpath, root);=0A=
      default:=0A=
       return this.matcher(root);=0A=
    }=0A=
  },=0A=
=0A=
  match: function(element) {=0A=
    this.tokens =3D [];=0A=
=0A=
    var e =3D this.expression, ps =3D Selector.patterns, as =3D =
Selector.assertions;=0A=
    var le, p, m;=0A=
=0A=
    while (e && le !=3D=3D e && (/\S/).test(e)) {=0A=
      le =3D e;=0A=
      for (var i in ps) {=0A=
        p =3D ps[i];=0A=
        if (m =3D e.match(p)) {=0A=
          // use the Selector.assertions methods unless the selector=0A=
          // is too complex.=0A=
          if (as[i]) {=0A=
            this.tokens.push([i, Object.clone(m)]);=0A=
            e =3D e.replace(m[0], '');=0A=
          } else {=0A=
            // reluctantly do a document-wide search=0A=
            // and look for a match in the array=0A=
            return this.findElements(document).include(element);=0A=
          }=0A=
        }=0A=
      }=0A=
    }=0A=
=0A=
    var match =3D true, name, matches;=0A=
    for (var i =3D 0, token; token =3D this.tokens[i]; i++) {=0A=
      name =3D token[0], matches =3D token[1];=0A=
      if (!Selector.assertions[name](element, matches)) {=0A=
        match =3D false; break;=0A=
      }=0A=
    }=0A=
=0A=
    return match;=0A=
  },=0A=
=0A=
  toString: function() {=0A=
    return this.expression;=0A=
  },=0A=
=0A=
  inspect: function() {=0A=
    return "#<Selector:" + this.expression.inspect() + ">";=0A=
  }=0A=
});=0A=
=0A=
Object.extend(Selector, {=0A=
  _cache: { },=0A=
=0A=
  xpath: {=0A=
    descendant:   "//*",=0A=
    child:        "/*",=0A=
    adjacent:     "/following-sibling::*[1]",=0A=
    laterSibling: '/following-sibling::*',=0A=
    tagName:      function(m) {=0A=
      if (m[1] =3D=3D '*') return '';=0A=
      return "[local-name()=3D'" + m[1].toLowerCase() +=0A=
             "' or local-name()=3D'" + m[1].toUpperCase() + "']";=0A=
    },=0A=
    className:    "[contains(concat(' ', @class, ' '), ' #{1} ')]",=0A=
    id:           "[@id=3D'#{1}']",=0A=
    attrPresence: function(m) {=0A=
      m[1] =3D m[1].toLowerCase();=0A=
      return new Template("[@#{1}]").evaluate(m);=0A=
    },=0A=
    attr: function(m) {=0A=
      m[1] =3D m[1].toLowerCase();=0A=
      m[3] =3D m[5] || m[6];=0A=
      return new Template(Selector.xpath.operators[m[2]]).evaluate(m);=0A=
    },=0A=
    pseudo: function(m) {=0A=
      var h =3D Selector.xpath.pseudos[m[1]];=0A=
      if (!h) return '';=0A=
      if (Object.isFunction(h)) return h(m);=0A=
      return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);=0A=
    },=0A=
    operators: {=0A=
      '=3D':  "[@#{1}=3D'#{3}']",=0A=
      '!=3D': "[@#{1}!=3D'#{3}']",=0A=
      '^=3D': "[starts-with(@#{1}, '#{3}')]",=0A=
      '$=3D': "[substring(@#{1}, (string-length(@#{1}) - =
string-length('#{3}') + 1))=3D'#{3}']",=0A=
      '*=3D': "[contains(@#{1}, '#{3}')]",=0A=
      '~=3D': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",=0A=
      '|=3D': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]"=0A=
    },=0A=
    pseudos: {=0A=
      'first-child': '[not(preceding-sibling::*)]',=0A=
      'last-child':  '[not(following-sibling::*)]',=0A=
      'only-child':  '[not(preceding-sibling::* or =
following-sibling::*)]',=0A=
      'empty':       "[count(*) =3D 0 and (count(text()) =3D 0)]",=0A=
      'checked':     "[@checked]",=0A=
      'disabled':    "[(@disabled) and (@type!=3D'hidden')]",=0A=
      'enabled':     "[not(@disabled) and (@type!=3D'hidden')]",=0A=
      'not': function(m) {=0A=
        var e =3D m[6], p =3D Selector.patterns,=0A=
            x =3D Selector.xpath, le, v;=0A=
=0A=
        var exclusion =3D [];=0A=
        while (e && le !=3D e && (/\S/).test(e)) {=0A=
          le =3D e;=0A=
          for (var i in p) {=0A=
            if (m =3D e.match(p[i])) {=0A=
              v =3D Object.isFunction(x[i]) ? x[i](m) : new =
Template(x[i]).evaluate(m);=0A=
              exclusion.push("(" + v.substring(1, v.length - 1) + ")");=0A=
              e =3D e.replace(m[0], '');=0A=
              break;=0A=
            }=0A=
          }=0A=
        }=0A=
        return "[not(" + exclusion.join(" and ") + ")]";=0A=
      },=0A=
      'nth-child':      function(m) {=0A=
        return =
Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m);=0A=
      },=0A=
      'nth-last-child': function(m) {=0A=
        return =
Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m);=0A=
      },=0A=
      'nth-of-type':    function(m) {=0A=
        return Selector.xpath.pseudos.nth("position() ", m);=0A=
      },=0A=
      'nth-last-of-type': function(m) {=0A=
        return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", =
m);=0A=
      },=0A=
      'first-of-type':  function(m) {=0A=
        m[6] =3D "1"; return Selector.xpath.pseudos['nth-of-type'](m);=0A=
      },=0A=
      'last-of-type':   function(m) {=0A=
        m[6] =3D "1"; return =
Selector.xpath.pseudos['nth-last-of-type'](m);=0A=
      },=0A=
      'only-of-type':   function(m) {=0A=
        var p =3D Selector.xpath.pseudos; return p['first-of-type'](m) + =
p['last-of-type'](m);=0A=
      },=0A=
      nth: function(fragment, m) {=0A=
        var mm, formula =3D m[6], predicate;=0A=
        if (formula =3D=3D 'even') formula =3D '2n+0';=0A=
        if (formula =3D=3D 'odd')  formula =3D '2n+1';=0A=
        if (mm =3D formula.match(/^(\d+)$/)) // digit only=0A=
          return '[' + fragment + "=3D " + mm[1] + ']';=0A=
        if (mm =3D formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b=0A=
          if (mm[1] =3D=3D "-") mm[1] =3D -1;=0A=
          var a =3D mm[1] ? Number(mm[1]) : 1;=0A=
          var b =3D mm[2] ? Number(mm[2]) : 0;=0A=
          predicate =3D "[((#{fragment} - #{b}) mod #{a} =3D 0) and " +=0A=
          "((#{fragment} - #{b}) div #{a} >=3D 0)]";=0A=
          return new Template(predicate).evaluate({=0A=
            fragment: fragment, a: a, b: b });=0A=
        }=0A=
      }=0A=
    }=0A=
  },=0A=
=0A=
  criteria: {=0A=
    tagName:      'n =3D h.tagName(n, r, "#{1}", c);      c =3D false;',=0A=
    className:    'n =3D h.className(n, r, "#{1}", c);    c =3D false;',=0A=
    id:           'n =3D h.id(n, r, "#{1}", c);           c =3D false;',=0A=
    attrPresence: 'n =3D h.attrPresence(n, r, "#{1}", c); c =3D false;',=0A=
    attr: function(m) {=0A=
      m[3] =3D (m[5] || m[6]);=0A=
      return new Template('n =3D h.attr(n, r, "#{1}", "#{3}", "#{2}", =
c); c =3D false;').evaluate(m);=0A=
    },=0A=
    pseudo: function(m) {=0A=
      if (m[6]) m[6] =3D m[6].replace(/"/g, '\\"');=0A=
      return new Template('n =3D h.pseudo(n, "#{1}", "#{6}", r, c); c =
=3D false;').evaluate(m);=0A=
    },=0A=
    descendant:   'c =3D "descendant";',=0A=
    child:        'c =3D "child";',=0A=
    adjacent:     'c =3D "adjacent";',=0A=
    laterSibling: 'c =3D "laterSibling";'=0A=
  },=0A=
=0A=
  patterns: {=0A=
    // combinators must be listed first=0A=
    // (and descendant needs to be last combinator)=0A=
    laterSibling: /^\s*~\s*/,=0A=
    child:        /^\s*>\s*/,=0A=
    adjacent:     /^\s*\+\s*/,=0A=
    descendant:   /^\s/,=0A=
=0A=
    // selectors follow=0A=
    tagName:      /^\s*(\*|[\w\-]+)(\b|$)?/,=0A=
    id:           /^#([\w\-\*]+)(\b|$)/,=0A=
    className:    /^\.([\w\-\*]+)(\b|$)/,=0A=
    pseudo:=0A=
/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis=
)abled|not)(\((.*?)\))?(\b|$|(?=3D\s|[:+~>]))/,=0A=
    attrPresence: /^\[((?:[\w]+:)?[\w]+)\]/,=0A=
    attr:         =
/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=3D)\s*((['"])([^\4]*?)\4|([^'"][^=
\]]*?)))?\]/=0A=
  },=0A=
=0A=
  // for Selector.match and Element#match=0A=
  assertions: {=0A=
    tagName: function(element, matches) {=0A=
      return matches[1].toUpperCase() =3D=3D =
element.tagName.toUpperCase();=0A=
    },=0A=
=0A=
    className: function(element, matches) {=0A=
      return Element.hasClassName(element, matches[1]);=0A=
    },=0A=
=0A=
    id: function(element, matches) {=0A=
      return element.id =3D=3D=3D matches[1];=0A=
    },=0A=
=0A=
    attrPresence: function(element, matches) {=0A=
      return Element.hasAttribute(element, matches[1]);=0A=
    },=0A=
=0A=
    attr: function(element, matches) {=0A=
      var nodeValue =3D Element.readAttribute(element, matches[1]);=0A=
      return nodeValue && Selector.operators[matches[2]](nodeValue, =
matches[5] || matches[6]);=0A=
    }=0A=
  },=0A=
=0A=
  handlers: {=0A=
    // UTILITY FUNCTIONS=0A=
    // joins two collections=0A=
    concat: function(a, b) {=0A=
      for (var i =3D 0, node; node =3D b[i]; i++)=0A=
        a.push(node);=0A=
      return a;=0A=
    },=0A=
=0A=
    // marks an array of nodes for counting=0A=
    mark: function(nodes) {=0A=
      var _true =3D Prototype.emptyFunction;=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
        node._countedByPrototype =3D _true;=0A=
      return nodes;=0A=
    },=0A=
=0A=
    unmark: function(nodes) {=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
        node._countedByPrototype =3D undefined;=0A=
      return nodes;=0A=
    },=0A=
=0A=
    // mark each child node with its position (for nth calls)=0A=
    // "ofType" flag indicates whether we're indexing for nth-of-type=0A=
    // rather than nth-child=0A=
    index: function(parentNode, reverse, ofType) {=0A=
      parentNode._countedByPrototype =3D Prototype.emptyFunction;=0A=
      if (reverse) {=0A=
        for (var nodes =3D parentNode.childNodes, i =3D nodes.length - =
1, j =3D 1; i >=3D 0; i--) {=0A=
          var node =3D nodes[i];=0A=
          if (node.nodeType =3D=3D 1 && (!ofType || =
node._countedByPrototype)) node.nodeIndex =3D j++;=0A=
        }=0A=
      } else {=0A=
        for (var i =3D 0, j =3D 1, nodes =3D parentNode.childNodes; node =
=3D nodes[i]; i++)=0A=
          if (node.nodeType =3D=3D 1 && (!ofType || =
node._countedByPrototype)) node.nodeIndex =3D j++;=0A=
      }=0A=
    },=0A=
=0A=
    // filters out duplicates and extends all nodes=0A=
    unique: function(nodes) {=0A=
      if (nodes.length =3D=3D 0) return nodes;=0A=
      var results =3D [], n;=0A=
      for (var i =3D 0, l =3D nodes.length; i < l; i++)=0A=
        if (!(n =3D nodes[i])._countedByPrototype) {=0A=
          n._countedByPrototype =3D Prototype.emptyFunction;=0A=
          results.push(Element.extend(n));=0A=
        }=0A=
      return Selector.handlers.unmark(results);=0A=
    },=0A=
=0A=
    // COMBINATOR FUNCTIONS=0A=
    descendant: function(nodes) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        h.concat(results, node.getElementsByTagName('*'));=0A=
      return results;=0A=
    },=0A=
=0A=
    child: function(nodes) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        for (var j =3D 0, child; child =3D node.childNodes[j]; j++)=0A=
          if (child.nodeType =3D=3D 1 && child.tagName !=3D '!') =
results.push(child);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    adjacent: function(nodes) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        var next =3D this.nextElementSibling(node);=0A=
        if (next) results.push(next);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    laterSibling: function(nodes) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        h.concat(results, Element.nextSiblings(node));=0A=
      return results;=0A=
    },=0A=
=0A=
    nextElementSibling: function(node) {=0A=
      while (node =3D node.nextSibling)=0A=
        if (node.nodeType =3D=3D 1) return node;=0A=
      return null;=0A=
    },=0A=
=0A=
    previousElementSibling: function(node) {=0A=
      while (node =3D node.previousSibling)=0A=
        if (node.nodeType =3D=3D 1) return node;=0A=
      return null;=0A=
    },=0A=
=0A=
    // TOKEN FUNCTIONS=0A=
    tagName: function(nodes, root, tagName, combinator) {=0A=
      var uTagName =3D tagName.toUpperCase();=0A=
      var results =3D [], h =3D Selector.handlers;=0A=
      if (nodes) {=0A=
        if (combinator) {=0A=
          // fastlane for ordinary descendant combinators=0A=
          if (combinator =3D=3D "descendant") {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              h.concat(results, node.getElementsByTagName(tagName));=0A=
            return results;=0A=
          } else nodes =3D this[combinator](nodes);=0A=
          if (tagName =3D=3D "*") return nodes;=0A=
        }=0A=
        for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
          if (node.tagName.toUpperCase() =3D=3D=3D uTagName) =
results.push(node);=0A=
        return results;=0A=
      } else return root.getElementsByTagName(tagName);=0A=
    },=0A=
=0A=
    id: function(nodes, root, id, combinator) {=0A=
      var targetNode =3D $(id), h =3D Selector.handlers;=0A=
      if (!targetNode) return [];=0A=
      if (!nodes && root =3D=3D document) return [targetNode];=0A=
      if (nodes) {=0A=
        if (combinator) {=0A=
          if (combinator =3D=3D 'child') {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              if (targetNode.parentNode =3D=3D node) return [targetNode];=0A=
          } else if (combinator =3D=3D 'descendant') {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              if (Element.descendantOf(targetNode, node)) return =
[targetNode];=0A=
          } else if (combinator =3D=3D 'adjacent') {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              if (Selector.handlers.previousElementSibling(targetNode) =
=3D=3D node)=0A=
                return [targetNode];=0A=
          } else nodes =3D h[combinator](nodes);=0A=
        }=0A=
        for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
          if (node =3D=3D targetNode) return [targetNode];=0A=
        return [];=0A=
      }=0A=
      return (targetNode && Element.descendantOf(targetNode, root)) ? =
[targetNode] : [];=0A=
    },=0A=
=0A=
    className: function(nodes, root, className, combinator) {=0A=
      if (nodes && combinator) nodes =3D this[combinator](nodes);=0A=
      return Selector.handlers.byClassName(nodes, root, className);=0A=
    },=0A=
=0A=
    byClassName: function(nodes, root, className) {=0A=
      if (!nodes) nodes =3D Selector.handlers.descendant([root]);=0A=
      var needle =3D ' ' + className + ' ';=0A=
      for (var i =3D 0, results =3D [], node, nodeClassName; node =3D =
nodes[i]; i++) {=0A=
        nodeClassName =3D node.className;=0A=
        if (nodeClassName.length =3D=3D 0) continue;=0A=
        if (nodeClassName =3D=3D className || (' ' + nodeClassName + ' =
').include(needle))=0A=
          results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    attrPresence: function(nodes, root, attr, combinator) {=0A=
      if (!nodes) nodes =3D root.getElementsByTagName("*");=0A=
      if (nodes && combinator) nodes =3D this[combinator](nodes);=0A=
      var results =3D [];=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
        if (Element.hasAttribute(node, attr)) results.push(node);=0A=
      return results;=0A=
    },=0A=
=0A=
    attr: function(nodes, root, attr, value, operator, combinator) {=0A=
      if (!nodes) nodes =3D root.getElementsByTagName("*");=0A=
      if (nodes && combinator) nodes =3D this[combinator](nodes);=0A=
      var handler =3D Selector.operators[operator], results =3D [];=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++) {=0A=
        var nodeValue =3D Element.readAttribute(node, attr);=0A=
        if (nodeValue =3D=3D=3D null) continue;=0A=
        if (handler(nodeValue, value)) results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    pseudo: function(nodes, name, value, root, combinator) {=0A=
      if (nodes && combinator) nodes =3D this[combinator](nodes);=0A=
      if (!nodes) nodes =3D root.getElementsByTagName("*");=0A=
      return Selector.pseudos[name](nodes, value, root);=0A=
    }=0A=
  },=0A=
=0A=
  pseudos: {=0A=
    'first-child': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        if (Selector.handlers.previousElementSibling(node)) continue;=0A=
          results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
    'last-child': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        if (Selector.handlers.nextElementSibling(node)) continue;=0A=
          results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
    'only-child': function(nodes, value, root) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (!h.previousElementSibling(node) && =
!h.nextElementSibling(node))=0A=
          results.push(node);=0A=
      return results;=0A=
    },=0A=
    'nth-child':        function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root);=0A=
    },=0A=
    'nth-last-child':   function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root, true);=0A=
    },=0A=
    'nth-of-type':      function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root, false, true);=0A=
    },=0A=
    'nth-last-of-type': function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root, true, true);=0A=
    },=0A=
    'first-of-type':    function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, "1", root, false, true);=0A=
    },=0A=
    'last-of-type':     function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, "1", root, true, true);=0A=
    },=0A=
    'only-of-type':     function(nodes, formula, root) {=0A=
      var p =3D Selector.pseudos;=0A=
      return p['last-of-type'](p['first-of-type'](nodes, formula, root), =
formula, root);=0A=
    },=0A=
=0A=
    // handles the an+b logic=0A=
    getIndices: function(a, b, total) {=0A=
      if (a =3D=3D 0) return b > 0 ? [b] : [];=0A=
      return $R(1, total).inject([], function(memo, i) {=0A=
        if (0 =3D=3D (i - b) % a && (i - b) / a >=3D 0) memo.push(i);=0A=
        return memo;=0A=
      });=0A=
    },=0A=
=0A=
    // handles nth(-last)-child, nth(-last)-of-type, and =
(first|last)-of-type=0A=
    nth: function(nodes, formula, root, reverse, ofType) {=0A=
      if (nodes.length =3D=3D 0) return [];=0A=
      if (formula =3D=3D 'even') formula =3D '2n+0';=0A=
      if (formula =3D=3D 'odd')  formula =3D '2n+1';=0A=
      var h =3D Selector.handlers, results =3D [], indexed =3D [], m;=0A=
      h.mark(nodes);=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++) {=0A=
        if (!node.parentNode._countedByPrototype) {=0A=
          h.index(node.parentNode, reverse, ofType);=0A=
          indexed.push(node.parentNode);=0A=
        }=0A=
      }=0A=
      if (formula.match(/^\d+$/)) { // just a number=0A=
        formula =3D Number(formula);=0A=
        for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
          if (node.nodeIndex =3D=3D formula) results.push(node);=0A=
      } else if (m =3D formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // =
an+b=0A=
        if (m[1] =3D=3D "-") m[1] =3D -1;=0A=
        var a =3D m[1] ? Number(m[1]) : 1;=0A=
        var b =3D m[2] ? Number(m[2]) : 0;=0A=
        var indices =3D Selector.pseudos.getIndices(a, b, nodes.length);=0A=
        for (var i =3D 0, node, l =3D indices.length; node =3D nodes[i]; =
i++) {=0A=
          for (var j =3D 0; j < l; j++)=0A=
            if (node.nodeIndex =3D=3D indices[j]) results.push(node);=0A=
        }=0A=
      }=0A=
      h.unmark(nodes);=0A=
      h.unmark(indexed);=0A=
      return results;=0A=
    },=0A=
=0A=
    'empty': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        // IE treats comments as element nodes=0A=
        if (node.tagName =3D=3D '!' || node.firstChild) continue;=0A=
        results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    'not': function(nodes, selector, root) {=0A=
      var h =3D Selector.handlers, selectorType, m;=0A=
      var exclusions =3D new Selector(selector).findElements(root);=0A=
      h.mark(exclusions);=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (!node._countedByPrototype) results.push(node);=0A=
      h.unmark(exclusions);=0A=
      return results;=0A=
    },=0A=
=0A=
    'enabled': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (!node.disabled && (!node.type || node.type !=3D=3D 'hidden'))=0A=
          results.push(node);=0A=
      return results;=0A=
    },=0A=
=0A=
    'disabled': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (node.disabled) results.push(node);=0A=
      return results;=0A=
    },=0A=
=0A=
    'checked': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (node.checked) results.push(node);=0A=
      return results;=0A=
    }=0A=
  },=0A=
=0A=
  operators: {=0A=
    '=3D':  function(nv, v) { return nv =3D=3D v; },=0A=
    '!=3D': function(nv, v) { return nv !=3D v; },=0A=
    '^=3D': function(nv, v) { return nv =3D=3D v || nv && =
nv.startsWith(v); },=0A=
    '$=3D': function(nv, v) { return nv =3D=3D v || nv && =
nv.endsWith(v); },=0A=
    '*=3D': function(nv, v) { return nv =3D=3D v || nv && nv.include(v); =
},=0A=
    '$=3D': function(nv, v) { return nv.endsWith(v); },=0A=
    '*=3D': function(nv, v) { return nv.include(v); },=0A=
    '~=3D': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + =
' '); },=0A=
    '|=3D': function(nv, v) { return ('-' + (nv || "").toUpperCase() +=0A=
     '-').include('-' + (v || "").toUpperCase() + '-'); }=0A=
  },=0A=
=0A=
  split: function(expression) {=0A=
    var expressions =3D [];=0A=
    expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, =
function(m) {=0A=
      expressions.push(m[1].strip());=0A=
    });=0A=
    return expressions;=0A=
  },=0A=
=0A=
  matchElements: function(elements, expression) {=0A=
    var matches =3D $$(expression), h =3D Selector.handlers;=0A=
    h.mark(matches);=0A=
    for (var i =3D 0, results =3D [], element; element =3D elements[i]; =
i++)=0A=
      if (element._countedByPrototype) results.push(element);=0A=
    h.unmark(matches);=0A=
    return results;=0A=
  },=0A=
=0A=
  findElement: function(elements, expression, index) {=0A=
    if (Object.isNumber(expression)) {=0A=
      index =3D expression; expression =3D false;=0A=
    }=0A=
    return Selector.matchElements(elements, expression || '*')[index || =
0];=0A=
  },=0A=
=0A=
  findChildElements: function(element, expressions) {=0A=
    expressions =3D Selector.split(expressions.join(','));=0A=
    var results =3D [], h =3D Selector.handlers;=0A=
    for (var i =3D 0, l =3D expressions.length, selector; i < l; i++) {=0A=
      selector =3D new Selector(expressions[i].strip());=0A=
      h.concat(results, selector.findElements(element));=0A=
    }=0A=
    return (l > 1) ? h.unique(results) : results;=0A=
  }=0A=
});=0A=
=0A=
if (Prototype.Browser.IE) {=0A=
  Object.extend(Selector.handlers, {=0A=
    // IE returns comment nodes on getElementsByTagName("*").=0A=
    // Filter them out.=0A=
    concat: function(a, b) {=0A=
      for (var i =3D 0, node; node =3D b[i]; i++)=0A=
        if (node.tagName !=3D=3D "!") a.push(node);=0A=
      return a;=0A=
    },=0A=
=0A=
    // IE improperly serializes _countedByPrototype in (inner|outer)HTML.=0A=
    unmark: function(nodes) {=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
        node.removeAttribute('_countedByPrototype');=0A=
      return nodes;=0A=
    }=0A=
  });=0A=
}=0A=
=0A=
function $$() {=0A=
  return Selector.findChildElements(document, $A(arguments));=0A=
}=0A=
var Form =3D {=0A=
  reset: function(form) {=0A=
    $(form).reset();=0A=
    return form;=0A=
  },=0A=
=0A=
  serializeElements: function(elements, options) {=0A=
    if (typeof options !=3D 'object') options =3D { hash: !!options };=0A=
    else if (Object.isUndefined(options.hash)) options.hash =3D true;=0A=
    var key, value, submitted =3D false, submit =3D options.submit;=0A=
=0A=
    var data =3D elements.inject({ }, function(result, element) {=0A=
      if (!element.disabled && element.name) {=0A=
        key =3D element.name; value =3D $(element).getValue();=0A=
        if (value !=3D null && element.type !=3D 'file' && (element.type =
!=3D 'submit' || (!submitted &&=0A=
            submit !=3D=3D false && (!submit || key =3D=3D submit) && =
(submitted =3D true)))) {=0A=
          if (key in result) {=0A=
            // a key is already present; construct an array of values=0A=
            if (!Object.isArray(result[key])) result[key] =3D =
[result[key]];=0A=
            result[key].push(value);=0A=
          }=0A=
          else result[key] =3D value;=0A=
        }=0A=
      }=0A=
      return result;=0A=
    });=0A=
=0A=
    return options.hash ? data : Object.toQueryString(data);=0A=
  }=0A=
};=0A=
=0A=
Form.Methods =3D {=0A=
  serialize: function(form, options) {=0A=
    return Form.serializeElements(Form.getElements(form), options);=0A=
  },=0A=
=0A=
  getElements: function(form) {=0A=
    return $A($(form).getElementsByTagName('*')).inject([],=0A=
      function(elements, child) {=0A=
        if (Form.Element.Serializers[child.tagName.toLowerCase()])=0A=
          elements.push(Element.extend(child));=0A=
        return elements;=0A=
      }=0A=
    );=0A=
  },=0A=
=0A=
  getInputs: function(form, typeName, name) {=0A=
    form =3D $(form);=0A=
    var inputs =3D form.getElementsByTagName('input');=0A=
=0A=
    if (!typeName && !name) return $A(inputs).map(Element.extend);=0A=
=0A=
    for (var i =3D 0, matchingInputs =3D [], length =3D inputs.length; i =
< length; i++) {=0A=
      var input =3D inputs[i];=0A=
      if ((typeName && input.type !=3D typeName) || (name && input.name =
!=3D name))=0A=
        continue;=0A=
      matchingInputs.push(Element.extend(input));=0A=
    }=0A=
=0A=
    return matchingInputs;=0A=
  },=0A=
=0A=
  disable: function(form) {=0A=
    form =3D $(form);=0A=
    Form.getElements(form).invoke('disable');=0A=
    return form;=0A=
  },=0A=
=0A=
  enable: function(form) {=0A=
    form =3D $(form);=0A=
    Form.getElements(form).invoke('enable');=0A=
    return form;=0A=
  },=0A=
=0A=
  findFirstElement: function(form) {=0A=
    var elements =3D $(form).getElements().findAll(function(element) {=0A=
      return 'hidden' !=3D element.type && !element.disabled;=0A=
    });=0A=
    var firstByIndex =3D elements.findAll(function(element) {=0A=
      return element.hasAttribute('tabIndex') && element.tabIndex >=3D 0;=0A=
    }).sortBy(function(element) { return element.tabIndex }).first();=0A=
=0A=
    return firstByIndex ? firstByIndex : elements.find(function(element) =
{=0A=
      return ['input', 'select', =
'textarea'].include(element.tagName.toLowerCase());=0A=
    });=0A=
  },=0A=
=0A=
  focusFirstElement: function(form) {=0A=
    form =3D $(form);=0A=
    form.findFirstElement().activate();=0A=
    return form;=0A=
  },=0A=
=0A=
  request: function(form, options) {=0A=
    form =3D $(form), options =3D Object.clone(options || { });=0A=
=0A=
    var params =3D options.parameters, action =3D =
form.readAttribute('action') || '';=0A=
    if (action.blank()) action =3D window.location.href;=0A=
    options.parameters =3D form.serialize(true);=0A=
=0A=
    if (params) {=0A=
      if (Object.isString(params)) params =3D params.toQueryParams();=0A=
      Object.extend(options.parameters, params);=0A=
    }=0A=
=0A=
    if (form.hasAttribute('method') && !options.method)=0A=
      options.method =3D form.method;=0A=
=0A=
    return new Ajax.Request(action, options);=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Form.Element =3D {=0A=
  focus: function(element) {=0A=
    $(element).focus();=0A=
    return element;=0A=
  },=0A=
=0A=
  select: function(element) {=0A=
    $(element).select();=0A=
    return element;=0A=
  }=0A=
};=0A=
=0A=
Form.Element.Methods =3D {=0A=
  serialize: function(element) {=0A=
    element =3D $(element);=0A=
    if (!element.disabled && element.name) {=0A=
      var value =3D element.getValue();=0A=
      if (value !=3D undefined) {=0A=
        var pair =3D { };=0A=
        pair[element.name] =3D value;=0A=
        return Object.toQueryString(pair);=0A=
      }=0A=
    }=0A=
    return '';=0A=
  },=0A=
=0A=
  getValue: function(element) {=0A=
    element =3D $(element);=0A=
    var method =3D element.tagName.toLowerCase();=0A=
    return Form.Element.Serializers[method](element);=0A=
  },=0A=
=0A=
  setValue: function(element, value) {=0A=
    element =3D $(element);=0A=
    var method =3D element.tagName.toLowerCase();=0A=
    Form.Element.Serializers[method](element, value);=0A=
    return element;=0A=
  },=0A=
=0A=
  clear: function(element) {=0A=
    $(element).value =3D '';=0A=
    return element;=0A=
  },=0A=
=0A=
  present: function(element) {=0A=
    return $(element).value !=3D '';=0A=
  },=0A=
=0A=
  activate: function(element) {=0A=
    element =3D $(element);=0A=
    try {=0A=
      element.focus();=0A=
      if (element.select && (element.tagName.toLowerCase() !=3D 'input' =
||=0A=
          !['button', 'reset', 'submit'].include(element.type)))=0A=
        element.select();=0A=
    } catch (e) { }=0A=
    return element;=0A=
  },=0A=
=0A=
  disable: function(element) {=0A=
    element =3D $(element);=0A=
    element.disabled =3D true;=0A=
    return element;=0A=
  },=0A=
=0A=
  enable: function(element) {=0A=
    element =3D $(element);=0A=
    element.disabled =3D false;=0A=
    return element;=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
var Field =3D Form.Element;=0A=
var $F =3D Form.Element.Methods.getValue;=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Form.Element.Serializers =3D {=0A=
  input: function(element, value) {=0A=
    switch (element.type.toLowerCase()) {=0A=
      case 'checkbox':=0A=
      case 'radio':=0A=
        return Form.Element.Serializers.inputSelector(element, value);=0A=
      default:=0A=
        return Form.Element.Serializers.textarea(element, value);=0A=
    }=0A=
  },=0A=
=0A=
  inputSelector: function(element, value) {=0A=
    if (Object.isUndefined(value)) return element.checked ? =
element.value : null;=0A=
    else element.checked =3D !!value;=0A=
  },=0A=
=0A=
  textarea: function(element, value) {=0A=
    if (Object.isUndefined(value)) return element.value;=0A=
    else element.value =3D value;=0A=
  },=0A=
=0A=
  select: function(element, value) {=0A=
    if (Object.isUndefined(value))=0A=
      return this[element.type =3D=3D 'select-one' ?=0A=
        'selectOne' : 'selectMany'](element);=0A=
    else {=0A=
      var opt, currentValue, single =3D !Object.isArray(value);=0A=
      for (var i =3D 0, length =3D element.length; i < length; i++) {=0A=
        opt =3D element.options[i];=0A=
        currentValue =3D this.optionValue(opt);=0A=
        if (single) {=0A=
          if (currentValue =3D=3D value) {=0A=
            opt.selected =3D true;=0A=
            return;=0A=
          }=0A=
        }=0A=
        else opt.selected =3D value.include(currentValue);=0A=
      }=0A=
    }=0A=
  },=0A=
=0A=
  selectOne: function(element) {=0A=
    var index =3D element.selectedIndex;=0A=
    return index >=3D 0 ? this.optionValue(element.options[index]) : =
null;=0A=
  },=0A=
=0A=
  selectMany: function(element) {=0A=
    var values, length =3D element.length;=0A=
    if (!length) return null;=0A=
=0A=
    for (var i =3D 0, values =3D []; i < length; i++) {=0A=
      var opt =3D element.options[i];=0A=
      if (opt.selected) values.push(this.optionValue(opt));=0A=
    }=0A=
    return values;=0A=
  },=0A=
=0A=
  optionValue: function(opt) {=0A=
    // extend element because hasAttribute may not be native=0A=
    return Element.extend(opt).hasAttribute('value') ? opt.value : =
opt.text;=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Abstract.TimedObserver =3D Class.create(PeriodicalExecuter, {=0A=
  initialize: function($super, element, frequency, callback) {=0A=
    $super(callback, frequency);=0A=
    this.element   =3D $(element);=0A=
    this.lastValue =3D this.getValue();=0A=
  },=0A=
=0A=
  execute: function() {=0A=
    var value =3D this.getValue();=0A=
    if (Object.isString(this.lastValue) && Object.isString(value) ?=0A=
        this.lastValue !=3D value : String(this.lastValue) !=3D =
String(value)) {=0A=
      this.callback(this.element, value);=0A=
      this.lastValue =3D value;=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Form.Element.Observer =3D Class.create(Abstract.TimedObserver, {=0A=
  getValue: function() {=0A=
    return Form.Element.getValue(this.element);=0A=
  }=0A=
});=0A=
=0A=
Form.Observer =3D Class.create(Abstract.TimedObserver, {=0A=
  getValue: function() {=0A=
    return Form.serialize(this.element);=0A=
  }=0A=
});=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Abstract.EventObserver =3D Class.create({=0A=
  initialize: function(element, callback) {=0A=
    this.element  =3D $(element);=0A=
    this.callback =3D callback;=0A=
=0A=
    this.lastValue =3D this.getValue();=0A=
    if (this.element.tagName.toLowerCase() =3D=3D 'form')=0A=
      this.registerFormCallbacks();=0A=
    else=0A=
      this.registerCallback(this.element);=0A=
  },=0A=
=0A=
  onElementEvent: function() {=0A=
    var value =3D this.getValue();=0A=
    if (this.lastValue !=3D value) {=0A=
      this.callback(this.element, value);=0A=
      this.lastValue =3D value;=0A=
    }=0A=
  },=0A=
=0A=
  registerFormCallbacks: function() {=0A=
    Form.getElements(this.element).each(this.registerCallback, this);=0A=
  },=0A=
=0A=
  registerCallback: function(element) {=0A=
    if (element.type) {=0A=
      switch (element.type.toLowerCase()) {=0A=
        case 'checkbox':=0A=
        case 'radio':=0A=
          Event.observe(element, 'click', =
this.onElementEvent.bind(this));=0A=
          break;=0A=
        default:=0A=
          Event.observe(element, 'change', =
this.onElementEvent.bind(this));=0A=
          break;=0A=
      }=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Form.Element.EventObserver =3D Class.create(Abstract.EventObserver, {=0A=
  getValue: function() {=0A=
    return Form.Element.getValue(this.element);=0A=
  }=0A=
});=0A=
=0A=
Form.EventObserver =3D Class.create(Abstract.EventObserver, {=0A=
  getValue: function() {=0A=
    return Form.serialize(this.element);=0A=
  }=0A=
});=0A=
if (!window.Event) var Event =3D { };=0A=
=0A=
Object.extend(Event, {=0A=
  KEY_BACKSPACE: 8,=0A=
  KEY_TAB:       9,=0A=
  KEY_RETURN:   13,=0A=
  KEY_ESC:      27,=0A=
  KEY_LEFT:     37,=0A=
  KEY_UP:       38,=0A=
  KEY_RIGHT:    39,=0A=
  KEY_DOWN:     40,=0A=
  KEY_DELETE:   46,=0A=
  KEY_HOME:     36,=0A=
  KEY_END:      35,=0A=
  KEY_PAGEUP:   33,=0A=
  KEY_PAGEDOWN: 34,=0A=
  KEY_INSERT:   45,=0A=
=0A=
  cache: { },=0A=
=0A=
  relatedTarget: function(event) {=0A=
    var element;=0A=
    switch(event.type) {=0A=
      case 'mouseover': element =3D event.fromElement; break;=0A=
      case 'mouseout':  element =3D event.toElement;   break;=0A=
      default: return null;=0A=
    }=0A=
    return Element.extend(element);=0A=
  }=0A=
});=0A=
=0A=
Event.Methods =3D (function() {=0A=
  var isButton;=0A=
=0A=
  if (Prototype.Browser.IE) {=0A=
    var buttonMap =3D { 0: 1, 1: 4, 2: 2 };=0A=
    isButton =3D function(event, code) {=0A=
      return event.button =3D=3D buttonMap[code];=0A=
    };=0A=
=0A=
  } else if (Prototype.Browser.WebKit) {=0A=
    isButton =3D function(event, code) {=0A=
      switch (code) {=0A=
        case 0: return event.which =3D=3D 1 && !event.metaKey;=0A=
        case 1: return event.which =3D=3D 1 && event.metaKey;=0A=
        default: return false;=0A=
      }=0A=
    };=0A=
=0A=
  } else {=0A=
    isButton =3D function(event, code) {=0A=
      return event.which ? (event.which =3D=3D=3D code + 1) : =
(event.button =3D=3D=3D code);=0A=
    };=0A=
  }=0A=
=0A=
  return {=0A=
    isLeftClick:   function(event) { return isButton(event, 0) },=0A=
    isMiddleClick: function(event) { return isButton(event, 1) },=0A=
    isRightClick:  function(event) { return isButton(event, 2) },=0A=
=0A=
    element: function(event) {=0A=
      event =3D Event.extend(event);=0A=
=0A=
      var node          =3D event.target,=0A=
          type          =3D event.type,=0A=
          currentTarget =3D event.currentTarget;=0A=
=0A=
      if (currentTarget && currentTarget.tagName) {=0A=
        // Firefox screws up the "click" event when moving between radio =
buttons=0A=
        // via arrow keys. It also screws up the "load" and "error" =
events on images,=0A=
        // reporting the document as the target instead of the original =
image.=0A=
        if (type =3D=3D=3D 'load' || type =3D=3D=3D 'error' ||=0A=
          (type =3D=3D=3D 'click' && currentTarget.tagName.toLowerCase() =
=3D=3D=3D 'input'=0A=
            && currentTarget.type =3D=3D=3D 'radio'))=0A=
              node =3D currentTarget;=0A=
      }=0A=
      if (node.nodeType =3D=3D Node.TEXT_NODE) node =3D node.parentNode;=0A=
      return Element.extend(node);=0A=
    },=0A=
=0A=
    findElement: function(event, expression) {=0A=
      var element =3D Event.element(event);=0A=
      if (!expression) return element;=0A=
      var elements =3D [element].concat(element.ancestors());=0A=
      return Selector.findElement(elements, expression, 0);=0A=
    },=0A=
=0A=
    pointer: function(event) {=0A=
      var docElement =3D document.documentElement,=0A=
      body =3D document.body || { scrollLeft: 0, scrollTop: 0 };=0A=
      return {=0A=
        x: event.pageX || (event.clientX +=0A=
          (docElement.scrollLeft || body.scrollLeft) -=0A=
          (docElement.clientLeft || 0)),=0A=
        y: event.pageY || (event.clientY +=0A=
          (docElement.scrollTop || body.scrollTop) -=0A=
          (docElement.clientTop || 0))=0A=
      };=0A=
    },=0A=
=0A=
    pointerX: function(event) { return Event.pointer(event).x },=0A=
    pointerY: function(event) { return Event.pointer(event).y },=0A=
=0A=
    stop: function(event) {=0A=
      Event.extend(event);=0A=
      event.preventDefault();=0A=
      event.stopPropagation();=0A=
      event.stopped =3D true;=0A=
    }=0A=
  };=0A=
})();=0A=
=0A=
Event.extend =3D (function() {=0A=
  var methods =3D Object.keys(Event.Methods).inject({ }, function(m, =
name) {=0A=
    m[name] =3D Event.Methods[name].methodize();=0A=
    return m;=0A=
  });=0A=
=0A=
  if (Prototype.Browser.IE) {=0A=
    Object.extend(methods, {=0A=
      stopPropagation: function() { this.cancelBubble =3D true },=0A=
      preventDefault:  function() { this.returnValue =3D false },=0A=
      inspect: function() { return "[object Event]" }=0A=
    });=0A=
=0A=
    return function(event) {=0A=
      if (!event) return false;=0A=
      if (event._extendedByPrototype) return event;=0A=
=0A=
      event._extendedByPrototype =3D Prototype.emptyFunction;=0A=
      var pointer =3D Event.pointer(event);=0A=
      Object.extend(event, {=0A=
        target: event.srcElement,=0A=
        relatedTarget: Event.relatedTarget(event),=0A=
        pageX:  pointer.x,=0A=
        pageY:  pointer.y=0A=
      });=0A=
      return Object.extend(event, methods);=0A=
    };=0A=
=0A=
  } else {=0A=
    Event.prototype =3D Event.prototype || =
document.createEvent("HTMLEvents")['__proto__'];=0A=
    Object.extend(Event.prototype, methods);=0A=
    return Prototype.K;=0A=
  }=0A=
})();=0A=
=0A=
Object.extend(Event, (function() {=0A=
  var cache =3D Event.cache;=0A=
=0A=
  function getEventID(element) {=0A=
    if (element._prototypeEventID) return element._prototypeEventID[0];=0A=
    arguments.callee.id =3D arguments.callee.id || 1;=0A=
    return element._prototypeEventID =3D [++arguments.callee.id];=0A=
  }=0A=
=0A=
  function getDOMEventName(eventName) {=0A=
    if (eventName && eventName.include(':')) return "dataavailable";=0A=
    return eventName;=0A=
  }=0A=
=0A=
  function getCacheForID(id) {=0A=
    return cache[id] =3D cache[id] || { };=0A=
  }=0A=
=0A=
  function getWrappersForEventName(id, eventName) {=0A=
    var c =3D getCacheForID(id);=0A=
    return c[eventName] =3D c[eventName] || [];=0A=
  }=0A=
=0A=
  function createWrapper(element, eventName, handler) {=0A=
    var id =3D getEventID(element);=0A=
    var c =3D getWrappersForEventName(id, eventName);=0A=
    if (c.pluck("handler").include(handler)) return false;=0A=
=0A=
    var wrapper =3D function(event) {=0A=
      if (!Event || !Event.extend ||=0A=
        (event.eventName && event.eventName !=3D eventName))=0A=
          return false;=0A=
=0A=
      Event.extend(event);=0A=
      handler.call(element, event);=0A=
    };=0A=
=0A=
    wrapper.handler =3D handler;=0A=
    c.push(wrapper);=0A=
    return wrapper;=0A=
  }=0A=
=0A=
  function findWrapper(id, eventName, handler) {=0A=
    var c =3D getWrappersForEventName(id, eventName);=0A=
    return c.find(function(wrapper) { return wrapper.handler =3D=3D =
handler });=0A=
  }=0A=
=0A=
  function destroyWrapper(id, eventName, handler) {=0A=
    var c =3D getCacheForID(id);=0A=
    if (!c[eventName]) return false;=0A=
    c[eventName] =3D c[eventName].without(findWrapper(id, eventName, =
handler));=0A=
  }=0A=
=0A=
  function destroyCache() {=0A=
    for (var id in cache)=0A=
      for (var eventName in cache[id])=0A=
        cache[id][eventName] =3D null;=0A=
  }=0A=
=0A=
=0A=
  // Internet Explorer needs to remove event handlers on page unload=0A=
  // in order to avoid memory leaks.=0A=
  if (window.attachEvent) {=0A=
    window.attachEvent("onunload", destroyCache);=0A=
  }=0A=
=0A=
  // Safari has a dummy event handler on page unload so that it won't=0A=
  // use its bfcache. Safari <=3D 3.1 has an issue with restoring the =
"document"=0A=
  // object when page is returned to via the back button using its =
bfcache.=0A=
  if (Prototype.Browser.WebKit) {=0A=
    window.addEventListener('unload', Prototype.emptyFunction, false);=0A=
  }=0A=
=0A=
  return {=0A=
    observe: function(element, eventName, handler) {=0A=
      element =3D $(element);=0A=
      var name =3D getDOMEventName(eventName);=0A=
=0A=
      var wrapper =3D createWrapper(element, eventName, handler);=0A=
      if (!wrapper) return element;=0A=
=0A=
      if (element.addEventListener) {=0A=
        element.addEventListener(name, wrapper, false);=0A=
      } else {=0A=
        element.attachEvent("on" + name, wrapper);=0A=
      }=0A=
=0A=
      return element;=0A=
    },=0A=
=0A=
    stopObserving: function(element, eventName, handler) {=0A=
      element =3D $(element);=0A=
      var id =3D getEventID(element), name =3D =
getDOMEventName(eventName);=0A=
=0A=
      if (!handler && eventName) {=0A=
        getWrappersForEventName(id, eventName).each(function(wrapper) {=0A=
          element.stopObserving(eventName, wrapper.handler);=0A=
        });=0A=
        return element;=0A=
=0A=
      } else if (!eventName) {=0A=
        Object.keys(getCacheForID(id)).each(function(eventName) {=0A=
          element.stopObserving(eventName);=0A=
        });=0A=
        return element;=0A=
      }=0A=
=0A=
      var wrapper =3D findWrapper(id, eventName, handler);=0A=
      if (!wrapper) return element;=0A=
=0A=
      if (element.removeEventListener) {=0A=
        element.removeEventListener(name, wrapper, false);=0A=
      } else {=0A=
        element.detachEvent("on" + name, wrapper);=0A=
      }=0A=
=0A=
      destroyWrapper(id, eventName, handler);=0A=
=0A=
      return element;=0A=
    },=0A=
=0A=
    fire: function(element, eventName, memo) {=0A=
      element =3D $(element);=0A=
      if (element =3D=3D document && document.createEvent && =
!element.dispatchEvent)=0A=
        element =3D document.documentElement;=0A=
=0A=
      var event;=0A=
      if (document.createEvent) {=0A=
        event =3D document.createEvent("HTMLEvents");=0A=
        event.initEvent("dataavailable", true, true);=0A=
      } else {=0A=
        event =3D document.createEventObject();=0A=
        event.eventType =3D "ondataavailable";=0A=
      }=0A=
=0A=
      event.eventName =3D eventName;=0A=
      event.memo =3D memo || { };=0A=
=0A=
      if (document.createEvent) {=0A=
        element.dispatchEvent(event);=0A=
      } else {=0A=
        element.fireEvent(event.eventType, event);=0A=
      }=0A=
=0A=
      return Event.extend(event);=0A=
    }=0A=
  };=0A=
})());=0A=
=0A=
Object.extend(Event, Event.Methods);=0A=
=0A=
Element.addMethods({=0A=
  fire:          Event.fire,=0A=
  observe:       Event.observe,=0A=
  stopObserving: Event.stopObserving=0A=
});=0A=
=0A=
Object.extend(document, {=0A=
  fire:          Element.Methods.fire.methodize(),=0A=
  observe:       Element.Methods.observe.methodize(),=0A=
  stopObserving: Element.Methods.stopObserving.methodize(),=0A=
  loaded:        false=0A=
});=0A=
=0A=
(function() {=0A=
  /* Support for the DOMContentLoaded event is based on work by Dan Webb,=0A=
     Matthias Miller, Dean Edwards and John Resig. */=0A=
=0A=
  var timer;=0A=
=0A=
  function fireContentLoadedEvent() {=0A=
    if (document.loaded) return;=0A=
    if (timer) window.clearInterval(timer);=0A=
    document.fire("dom:loaded");=0A=
    document.loaded =3D true;=0A=
  }=0A=
=0A=
  if (document.addEventListener) {=0A=
    if (Prototype.Browser.WebKit) {=0A=
      timer =3D window.setInterval(function() {=0A=
        if (/loaded|complete/.test(document.readyState))=0A=
          fireContentLoadedEvent();=0A=
      }, 0);=0A=
=0A=
      Event.observe(window, "load", fireContentLoadedEvent);=0A=
=0A=
    } else {=0A=
      document.addEventListener("DOMContentLoaded",=0A=
        fireContentLoadedEvent, false);=0A=
    }=0A=
=0A=
  } else {=0A=
    document.write("<script id=3D__onDOMContentLoaded defer =
src=3D//:><\/script>");=0A=
    $("__onDOMContentLoaded").onreadystatechange =3D function() {=0A=
      if (this.readyState =3D=3D "complete") {=0A=
        this.onreadystatechange =3D null;=0A=
        fireContentLoadedEvent();=0A=
      }=0A=
    };=0A=
  }=0A=
})();=0A=
/*------------------------------- DEPRECATED =
-------------------------------*/=0A=
=0A=
Hash.toQueryString =3D Object.toQueryString;=0A=
=0A=
var Toggle =3D { display: Element.toggle };=0A=
=0A=
Element.Methods.childOf =3D Element.Methods.descendantOf;=0A=
=0A=
var Insertion =3D {=0A=
  Before: function(element, content) {=0A=
    return Element.insert(element, {before:content});=0A=
  },=0A=
=0A=
  Top: function(element, content) {=0A=
    return Element.insert(element, {top:content});=0A=
  },=0A=
=0A=
  Bottom: function(element, content) {=0A=
    return Element.insert(element, {bottom:content});=0A=
  },=0A=
=0A=
  After: function(element, content) {=0A=
    return Element.insert(element, {after:content});=0A=
  }=0A=
};=0A=
=0A=
var $continue =3D new Error('"throw $continue" is deprecated, use =
"return" instead');=0A=
=0A=
// This should be moved to script.aculo.us; notice the deprecated methods=0A=
// further below, that map to the newer Element methods.=0A=
var Position =3D {=0A=
  // set to true if needed, warning: firefox performance problems=0A=
  // NOT neeeded for page scrolling, only if draggable contained in=0A=
  // scrollable elements=0A=
  includeScrollOffsets: false,=0A=
=0A=
  // must be called before calling withinIncludingScrolloffset, every =
time the=0A=
  // page is scrolled=0A=
  prepare: function() {=0A=
    this.deltaX =3D  window.pageXOffset=0A=
                || document.documentElement.scrollLeft=0A=
                || document.body.scrollLeft=0A=
                || 0;=0A=
    this.deltaY =3D  window.pageYOffset=0A=
                || document.documentElement.scrollTop=0A=
                || document.body.scrollTop=0A=
                || 0;=0A=
  },=0A=
=0A=
  // caches x/y coordinate pair to use with overlap=0A=
  within: function(element, x, y) {=0A=
    if (this.includeScrollOffsets)=0A=
      return this.withinIncludingScrolloffsets(element, x, y);=0A=
    this.xcomp =3D x;=0A=
    this.ycomp =3D y;=0A=
    this.offset =3D Element.cumulativeOffset(element);=0A=
=0A=
    return (y >=3D this.offset[1] &&=0A=
            y <  this.offset[1] + element.offsetHeight &&=0A=
            x >=3D this.offset[0] &&=0A=
            x <  this.offset[0] + element.offsetWidth);=0A=
  },=0A=
=0A=
  withinIncludingScrolloffsets: function(element, x, y) {=0A=
    var offsetcache =3D Element.cumulativeScrollOffset(element);=0A=
=0A=
    this.xcomp =3D x + offsetcache[0] - this.deltaX;=0A=
    this.ycomp =3D y + offsetcache[1] - this.deltaY;=0A=
    this.offset =3D Element.cumulativeOffset(element);=0A=
=0A=
    return (this.ycomp >=3D this.offset[1] &&=0A=
            this.ycomp <  this.offset[1] + element.offsetHeight &&=0A=
            this.xcomp >=3D this.offset[0] &&=0A=
            this.xcomp <  this.offset[0] + element.offsetWidth);=0A=
  },=0A=
=0A=
  // within must be called directly before=0A=
  overlap: function(mode, element) {=0A=
    if (!mode) return 0;=0A=
    if (mode =3D=3D 'vertical')=0A=
      return ((this.offset[1] + element.offsetHeight) - this.ycomp) /=0A=
        element.offsetHeight;=0A=
    if (mode =3D=3D 'horizontal')=0A=
      return ((this.offset[0] + element.offsetWidth) - this.xcomp) /=0A=
        element.offsetWidth;=0A=
  },=0A=
=0A=
  // Deprecation layer -- use newer Element methods now (1.5.2).=0A=
=0A=
  cumulativeOffset: Element.Methods.cumulativeOffset,=0A=
=0A=
  positionedOffset: Element.Methods.positionedOffset,=0A=
=0A=
  absolutize: function(element) {=0A=
    Position.prepare();=0A=
    return Element.absolutize(element);=0A=
  },=0A=
=0A=
  relativize: function(element) {=0A=
    Position.prepare();=0A=
    return Element.relativize(element);=0A=
  },=0A=
=0A=
  realOffset: Element.Methods.cumulativeScrollOffset,=0A=
=0A=
  offsetParent: Element.Methods.getOffsetParent,=0A=
=0A=
  page: Element.Methods.viewportOffset,=0A=
=0A=
  clone: function(source, target, options) {=0A=
    options =3D options || { };=0A=
    return Element.clonePosition(target, source, options);=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
if (!document.getElementsByClassName) document.getElementsByClassName =
=3D function(instanceMethods){=0A=
  function iter(name) {=0A=
    return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' =
" + name + " ')]";=0A=
  }=0A=
=0A=
  instanceMethods.getElementsByClassName =3D =
Prototype.BrowserFeatures.XPath ?=0A=
  function(element, className) {=0A=
    className =3D className.toString().strip();=0A=
    var cond =3D /\s/.test(className) ? $w(className).map(iter).join('') =
: iter(className);=0A=
    return cond ? document._getElementsByXPath('.//*' + cond, element) : =
[];=0A=
  } : function(element, className) {=0A=
    className =3D className.toString().strip();=0A=
    var elements =3D [], classNames =3D (/\s/.test(className) ? =
$w(className) : null);=0A=
    if (!classNames && !className) return elements;=0A=
=0A=
    var nodes =3D $(element).getElementsByTagName('*');=0A=
    className =3D ' ' + className + ' ';=0A=
=0A=
    for (var i =3D 0, child, cn; child =3D nodes[i]; i++) {=0A=
      if (child.className && (cn =3D ' ' + child.className + ' ') && =
(cn.include(className) ||=0A=
          (classNames && classNames.all(function(name) {=0A=
            return !name.toString().blank() && cn.include(' ' + name + ' =
');=0A=
          }))))=0A=
        elements.push(Element.extend(child));=0A=
    }=0A=
    return elements;=0A=
  };=0A=
=0A=
  return function(className, parentElement) {=0A=
    return $(parentElement || =
document.body).getElementsByClassName(className);=0A=
  };=0A=
}(Element.Methods);=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Element.ClassNames =3D Class.create();=0A=
Element.ClassNames.prototype =3D {=0A=
  initialize: function(element) {=0A=
    this.element =3D $(element);=0A=
  },=0A=
=0A=
  _each: function(iterator) {=0A=
    this.element.className.split(/\s+/).select(function(name) {=0A=
      return name.length > 0;=0A=
    })._each(iterator);=0A=
  },=0A=
=0A=
  set: function(className) {=0A=
    this.element.className =3D className;=0A=
  },=0A=
=0A=
  add: function(classNameToAdd) {=0A=
    if (this.include(classNameToAdd)) return;=0A=
    this.set($A(this).concat(classNameToAdd).join(' '));=0A=
  },=0A=
=0A=
  remove: function(classNameToRemove) {=0A=
    if (!this.include(classNameToRemove)) return;=0A=
    this.set($A(this).without(classNameToRemove).join(' '));=0A=
  },=0A=
=0A=
  toString: function() {=0A=
    return $A(this).join(' ');=0A=
  }=0A=
};=0A=
=0A=
Object.extend(Element.ClassNames.prototype, Enumerable);=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Element.addMethods();
------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/myjs/booster.js?15

=0A=
var Booster =3D (function(){=0A=
	var _reFileNameParts =3D new RegExp('[^\/]+\\.[^\/\?#]+', 'g');=0A=
	var _rePathFromURL =3D new RegExp('(?:[^\/]+\/\/[^\/]+)?(\/.*)');=0A=
	if(!Prototype.Browser.IE) {=0A=
	    if(!window.cpage) window.cpage =3D document.location.href;=0A=
	    if(!window.cint) window.cint =3D setInterval(function(){=0A=
		if(window.cpage !=3D document.location.href) {=0A=
		    window.cpage =3D document.location.href;=0A=
		    if(document.location.hash) {=0A=
			var href;=0A=
			if(document.location.match) href =3D document.location;=0A=
			else href =3D document.location.href;=0A=
			var hash =3D href.match(/#page=3D(.+)/);=0A=
			if(hash && hash[1]) =
Booster.go({'url':hash[1],'ni':1,'nh':Booster.isOldOpera});=0A=
		    } else {=0A=
			Booster.go({'url':document.location.pathname, 'ni':1,'nh':1});=0A=
		    }=0A=
		}=0A=
	    }, 500);=0A=
	}			=0A=
=0A=
	var _inRequest =3D 0;=0A=
	var _loadedScripts =3D {};=0A=
	var _waitingScripts =3D {};=0A=
	var _pv =3D {};		// page vars=0A=
	var _banners =3D {};=0A=
	var _timeouts =3D [];=0A=
	var _intervals =3D [];=0A=
	var _timings =3D {}; _timings.i =3D [];=0A=
	var _supported_counters =3D {=0A=
		'li': 1,=0A=
		'tns': 1,=0A=
		'top': 1=0A=
	};=0A=
	=0A=
	=0A=
	// classes=0A=
	var _clBoosterLink =3D 'bstr-link';=0A=
	var _clBoosterNoHashLink =3D 'bstr-nh-link';=0A=
	var _clNoexecScript =3D 'bstr-noexec';=0A=
	var _attrBoosterConfirm =3D 'bstr-confirm';=0A=
	var _attrBoosterScroll =3D 'bstr-scroll';=0A=
	=0A=
	var ERR_PARSE_DOC =3D 1;=0A=
	var ERR_PARSE_SCRIPT =3D 2;=0A=
	var ERR_TIMEOUT_INCLUDE_SCRIPT =3D 3;=0A=
	var ERR_PARSE_FILE_NAME =3D 4;=0A=
	=0A=
	var AJAX_REQ_MAX_RETRIES =3D 3;=0A=
 	var AJAX_ERROR_TEXT =3D '<div =
class=3D"mf_errorPageH1">=C2=ED=E8=EC=E0=ED=E8=E5!</div>=C2 =
=F0=E5=E7=F3=EB=FC=F2=E0=F2=E5 =EC=ED=EE=E3=EE=EB=E5=F2=ED=E8=F5 =
=E8=F1=F1=EB=E5=E4=EE=E2=E0=ED=E8=E9, =EA=EE=EC=E0=ED=E4=E0 Mail.Ru =
=E2=FB=FF=F1=ED=E8=EB=E0, =EA=E0=EA =F1=E4=E5=EB=E0=F2=FC =CC=E8=F0 =
=EB=F3=F7=F8=E5.<br>=C2 =E4=E0=ED=ED=FB=E9 =
=EA=EE=ED=EA=F0=E5=F2=ED=FB=E9 =EC=EE=EC=E5=ED=F2 =EC=FB =
=E7=E0=E2=E5=F0=F8=E0=E5=EC =F0=E0=E1=EE=F2=F3 =ED=E0=E4 =
=EE=F7=E5=F0=E5=E4=ED=FB=EC =
=FD=F2=E0=EF=EE=EC.<br>=CF=EE=E6=E0=EB=F3=E9=F1=F2=E0, =
=EE=E1=ED=EE=E2=E8=F2=E5 =F1=F2=F0=E0=ED=E8=F6=F3 =F7=E5=F0=E5=E7 30 =
=F1=E5=EA=F3=ED=E4.';=0A=
	var AJAX_ERROR_IMG =3D 'http://img.imgsmail.ru/0.gif';=0A=
	=0A=
	var TIMEOUT_INCLUDE_SCRIPT =3D 5000;=0A=
	=0A=
	//cln=0A=
	var _cln_get =3D 'http://img.imgsmail.ru/0.gif';=0A=
	=0A=
	window.bannerContent =3D {};=0A=
	window.nativeSetTimeout =3D window.setTimeout;=0A=
	window.setTimeout =3D function(a, t) {=0A=
		var t =3D window.nativeSetTimeout(a, t);=0A=
		_timeouts[_timeouts.length] =3D t;=0A=
		return t;=0A=
	}=0A=
	=0A=
	window.nativeSetInterval =3D window.setInterval;=0A=
	window.setInterval =3D function (a, t) {=0A=
		var t =3D window.nativeSetInterval(a, t);=0A=
		_intervals[_intervals.length] =3D t;=0A=
		return t;=0A=
	}=0A=
	=0A=
	var _parseFileName =3D function( url ){=0A=
		=0A=
		var n =3D url.match(_reFileNameParts);=0A=
		if(!n) {=0A=
			Booster.error(ERR_PARSE_FILE_NAME, url);=0A=
			return url;=0A=
		} else {=0A=
			return n[n.length-1];=0A=
		}=0A=
	}=0A=
	var _onResponse =3D function(t){=0A=
		_inRequest =3D 0;=0A=
		_timeInterval('server');=0A=
		_requestCln();=0A=
		Booster.fetchPage( t.responseText );=0A=
		Booster.wait('unset');=0A=
		if(Prototype.Browser.Opera) =0A=
		    for(var i =3D 0;i < document.forms.length;i++) {=0A=
				var f =3D $(document.forms[i]);=0A=
				if(f.getInputs('radio').length) f.update(f.innerHTML);=0A=
		    }=0A=
	}=0A=
	=0A=
	var _requestCln =3D function() {=0A=
		if(!Booster.cln_url) return;=0A=
		if(!Booster.cln_element) {=0A=
			var el =3D new Element('img', {'id': 'bstr-cln', 'width': '0px', =
'height': '0px'});=0A=
			document.body.appendChild(el);=0A=
		}=0A=
		var rnd =3D 0;=0A=
		while(rnd =3D=3D Booster.cln_rnd) rnd =3D Math.floor(Math.random() * =
100000);=0A=
		Booster.cln_rnd =3D rnd;=0A=
		el.src =3D Booster.cln_url + '?' + rnd;		=0A=
	}=0A=
	=0A=
	var _onFail =3D function(t){=0A=
		Booster.retries++;=0A=
		if(t.status > 500 && Booster.retries < AJAX_REQ_MAX_RETRIES) {=0A=
			new Ajax.Request(Booster.ajax_url, Booster.ajax_params);=0A=
		}=0A=
		else {=0A=
			_showError();=0A=
			_inRequest =3D 0; =0A=
			Booster.wait('unset');					=0A=
		}=0A=
	}=0A=
	=0A=
	var _showError =3D function(){=0A=
		if(!Booster.error_container) {=0A=
			Booster.error_container =3D new Element('div');=0A=
			Booster.error_container.id =3D 'bstr-error-container';=0A=
			Booster.error_container.className =3D 'mf_errorPageContainer';=0A=
			Booster.error_container.style.display =3D 'none';=0A=
			Booster.error_container.innerHTML =3D '<div class=3D"mf_errorPage">' +=0A=
				'<a id=3D"bstr-error-close" class=3D"mf_spIco mf_iDel2 =
mf_errorPageClose cp">=E7=E0=EA=F0=FB=F2=FC</a>' +=0A=
				'<div class=3D"mf_errorPageDiv">' +=0A=
				AJAX_ERROR_TEXT + =0A=
				'</div></div>';			=0A=
			document.body.appendChild(Booster.error_container);=0A=
			document.body.appendChild(new Element('img', {=0A=
			    'src':'http://rs.mail.ru/d215980.gif?' + Math.floor(Math.random() =
* 100000),'width':'1','height':'1'}));=0A=
			Booster.error_container.closeBtn =3D $('bstr-error-close');=0A=
			Booster.error_container.closeBtn.observe('click', function() =
{_hideError()});=0A=
		}=0A=
		Booster.error_container.style.display =3D 'block';=0A=
	}=0A=
	=0A=
	var _hideError =3D function() {=0A=
		if(Booster.error_container) Booster.error_container.style.display =3D =
'none';=0A=
	}=0A=
	=0A=
	var _writeScript =3D function( url ){=0A=
        var scr =3D new Element('script',  {'src': url, 'type': =
'text/javascript'} );=0A=
        Booster.storage.appendChild(scr);		=0A=
	}=0A=
	var _enumIncludedScripts =3D function(){=0A=
		var scripts =3D document.getElementsByTagName('script');=0A=
		var scripts_len =3D scripts.length;=0A=
		for(var i =3D 0; i < scripts_len; i++){=0A=
			if(scripts[i].src !=3D '') {=0A=
				_loadedScripts[_parseFileName(scripts[i].src)] =3D 1;=0A=
			}=0A=
		}=0A=
	}=0A=
	var _regoupPage =3D function(){=0A=
		var webagent =3D $('waHolder');=0A=
		if(/*@cc_on!@*/false) {=0A=
			if(webagent) {=0A=
				document.body.style.overflow =3D 'hidden';=0A=
				document.body.style.height =3D '100%';=0A=
				var b =3D document.getElementById('boosterCanvas');=0A=
				b.style.height =3D '100%';=0A=
				b.style.overflow =3D 'auto';=0A=
				b.style.position =3D 'relative';=0A=
				var wa =3D $('waWebAgent');=0A=
				if(/*@cc_on!@*/false) {=0A=
					wa.setAttribute('waNativeFixed', '1');=0A=
					wa.style.removeExpression('filter');=0A=
				}=0A=
				wa.style.top =3D '-22px';=0A=
				wa.style.position =3D 'absolute';=0A=
				webagent.style.position =3D 'absolute';=0A=
				webagent.style.top =3D '100%';=0A=
				webagent.style.width =3D '100%';=0A=
				webagent.style.left =3D '0';=0A=
				wa =3D null;=0A=
				webagent =3D null;=0A=
			}=0A=
		}=0A=
	}=0A=
	var _timeInterval =3D function( t ) {=0A=
		if (!_timings[t]) _timings[t] =3D new Date();=0A=
	    else {=0A=
            _timings.i[_timings.i.length] =3D t + '=3D' + ( (new =
Date()).getTime() - _timings[t].getTime() );=0A=
            delete _timings[t];=0A=
	    }=0A=
	}=0A=
	=0A=
	var _renderTimings =3D function() {=0A=
		if(!Booster.show_timings) return;=0A=
		=0A=
		var _fmt =3D function(a) {=0A=
			return (Math.floor(a*1000)/1000)/1000;=0A=
		};=0A=
		=0A=
		var srv_time =3D 0;=0A=
		var render_time =3D 0;=0A=
		var ti =3D '';=0A=
		var iGet =3D '';=0A=
		for(var i =3D 0; i < _timings.i.length; i++) {=0A=
			if(_timings.i[i].split('=3D')[0] =3D=3D 'server') {=0A=
				srv_time =3D parseInt(_timings.i[i].split('=3D')[1]);=0A=
			}=0A=
			else {=0A=
				ti +=3D _timings.i[i].split('=3D')[0] + ' =3D <b>' + =
_fmt(_timings.i[i].split('=3D')[1]) + '</b> =F1=E5=EA<br>';=0A=
				iGet +=3D ((iGet.length > 0) ? ',' : '') + =
_timings.i[i].split('=3D')[0] + ':' + =
(_fmt(_timings.i[i].split('=3D')[1])*1000);=0A=
				render_time +=3D parseInt(_timings.i[i].split('=3D')[1]);=0A=
			}=0A=
		}=0A=
		var d =3D document.createElement('div');=0A=
		d.id =3D 'renderBlock';=0A=
		d.innerHTML =3D (_fmt(srv_time)) + ' server + ';=0A=
		d.innerHTML +=3D (_fmt(render_time)) + ' rendering(browser) =3D <b>' + =
_fmt( srv_time + render_time ) + '</b> total<br />';=0A=
		d.innerHTML +=3D ti;=0A=
		d.innerHTML +=3D '<div style=3D"position: relative;"><div =
id=3D"renderBlockTOGgLE" style=3D"position: absolute; bottom: 0; left: =
-60px;">TOGgLE</div></div>';=0A=
		//Booster.canvas.appendChild(d);=0A=
		=0A=
		d =3D document.createElement('div');=0A=
		d.id =3D 'radar_graphBlock';=0A=
		d.innerHTML +=3D '<img id=3D"radar_graph" =
src=3D"http://img.imgsmail.ru/0.gif" =
onclick=3D"this.src=3D\'http://img.imgsmail.ru/0.gif\'" />';=0A=
		//Booster.canvas.appendChild(d);=0A=
		=0A=
		d =3D document.createElement('img');=0A=
		d.width =3D '1px'; d.height =3D '1px';=0A=
		d.src=3D'http://my.radar.imgsmail.ru/update?p=3Dmy&t=3D&v=3D' + =
(_fmt(render_time)*1000) + '&i=3D' + iGet + '&rnd=3D' + =
Math.floor(Math.random()*1000*1000) + (this.prevURL ? '&r=3D' + =
escape(this.prevURL) : '') + '';=0A=
		Booster.canvas.appendChild(d);=0A=
		=0A=
		_timings =3D {}; _timings.i =3D [];=0A=
	}=0A=
	=0A=
    var _prepareURL =3D function(url, nohash) {=0A=
    	url =3D url.replace(/%23page%3d[^&]+(&)?/i, '$1');=0A=
    	if(nohash) {=0A=
    		url =3D url.replace(/(&|\?)?(back=3D)[^&]+(&|$)?/i, =
'$1'+'$2'+escape(Booster.currentURL)+'$3');=0A=
    	}=0A=
    	var cln =3D url.match(/^(http:\/\/r.mail.ru\/cln\d+\/)(.*)/);=0A=
    	if(cln && cln.length =3D=3D 3) {=0A=
    		url =3D 'http://' + cln[2];=0A=
    		Booster.cln_url =3D cln[1] + _cln_get;=0A=
    	}=0A=
    	else {=0A=
    		Booster.cln_url =3D '';=0A=
    	}=0A=
        return url;=0A=
    }	=0A=
	=0A=
	var _cleanUp =3D function() {=0A=
		_pv =3D {};=0A=
		_banners =3D {};=0A=
		window.bannerContent =3D {};=0A=
		for(var i =3D 0; i < _timeouts.length; i++) {=0A=
			clearTimeout(_timeouts[i]);=0A=
		}=0A=
		for(var i =3D 0; i < _intervals.length; i++) {=0A=
			clearInterval(_intervals[i]);=0A=
		}=0A=
        var chlds =3D Booster.storage.childNodes;=0A=
        var r_chlds =3D [];=0A=
        for(var i =3D 0; i < chlds.length; i++) {=0A=
			if(chlds[i].tagName.toLowerCase() =3D=3D 'script' && =
chlds[i].readAttribute('src') =3D=3D null) r_chlds[r_chlds.length] =3D =
chlds[i];=0A=
        }        =0A=
        chlds =3D $(document.body).cleanWhitespace().childNodes;=0A=
        for(var i =3D 0; i < chlds.length; i++) {=0A=
        	if(chlds[i].tagName =3D=3D undefined)=0A=
        		continue;=0A=
        	=0A=
			if(chlds[i].tagName.toLowerCase() =3D=3D 'script') =
r_chlds[r_chlds.length] =3D chlds[i];=0A=
        }=0A=
        while(r_chlds.length > 0) {=0A=
			var el =3D r_chlds.pop();=0A=
            var p =3D el.parentNode;=0A=
            p.removeChild(el);=0A=
        }	=0A=
	}=0A=
	=0A=
	var _pageRefresh =3D function() {=0A=
		document.location =3D Booster.currentURL;=0A=
	}=0A=
	=0A=
	=0A=
	=0A=
	return {=0A=
		init: function(show_timings){=0A=
			if(Prototype.Browser.Opera) =0A=
			    if(window.navigator.appVersion.match(/([^\s]+)\s/)[1] < 9.7) =
this.isOldOpera =3D 1;=0A=
//			    else window.history.navigationMode =3D 'compatible';=0A=
			=0A=
			this.show_timings =3D show_timings;=0A=
			_regoupPage();=0A=
			=0A=
			this.canvas =3D $('boosterCanvas');=0A=
			this.storage =3D $('boosterStorage');=0A=
			this.storage.hide();=0A=
			=0A=
			=0A=
			_enumIncludedScripts();=0A=
			=0A=
			this.fetchAnchors();=0A=
			this.inited =3D true;=0A=
			this.cln_url =3D '';=0A=
			if(Prototype.Browser.IE) window.attachEvent('onbeforeunload', =
function(){ _pageRefresh() });=0A=
			else window.addEventListener('beforeunload',function(){ =
_pageRefresh() }, false);=0A=
			if(Prototype.Browser.IE) {=0A=
			    window.hframe =3D new Element('iframe', =
{'id':'history_frame','style':'display:none!important'});=0A=
			    window.hframe.src =3D location.protocol + '//' + location.host + =
'/boost.html?q=3D' + =0A=
				(new Date()).getTime() + '#page=3D' + location.pathname;=0A=
			    document.body.appendChild(window.hframe);=0A=
			}=0A=
			this.currentURL =3D document.location.toString();=0A=
			=0A=
		},=0A=
		go: function(v){=0A=
			if(Object.isString(v)) {=0A=
			    var i =3D 1, a =3D arguments,v =3D {'url':v};=0A=
			    ['m','d','conf','sc','upl','ni','nh','be'].each(function(t){v[t] =
=3D a[i++]});=0A=
			}=0A=
			_hideError();=0A=
			if(_inRequest) return false;=0A=
			if(v.conf) if(!confirm(v.conf)) return false;=0A=
			this.wait();=0A=
			if(!v.m) v.m =3D 'get';=0A=
			if(v.d && v.m.toLowerCase() =3D=3D 'get') v.url +=3D '?' + v.d + (v.d =
=3D '');=0A=
			v.url =3D _prepareURL(v.url, v.nh);=0A=
			if(v.d) v.d =3D _prepareURL(v.d, v.nh);=0A=
			if(Prototype.Browser.IE) {=0A=
			    if(!window.hframe) {=0A=
				window.hframe =3D new Element('iframe', =
{'id':'history_frame','style':'display:none!important'});=0A=
				window.hframe.src =3D 'javascript:;';=0A=
				document.body.appendChild(window.hframe);=0A=
			    }=0A=
			    if(!v.ni) window.hframe.src =3D location.protocol + '//' + =
location.host + '/boost.html?q=3D' + =0A=
				(new Date()).getTime() + '#page=3D' + (v.url.replace(_rePathFromURL, =
'$1') || v.url);=0A=
			}=0A=
			_timeInterval('server');=0A=
			var ajax_url =3D v.url;=0A=
			if(v.m =3D=3D 'get') { =0A=
			    if(ajax_url.indexOf('?') < 0) ajax_url +=3D '?booster=3D1';=0A=
			    else {=0A=
				if(ajax_url.split('?').length =3D=3D 1) ajax_url +=3D 'booster=3D1';=0A=
				else ajax_url +=3D '&booster=3D1';=0A=
			    }=0A=
			    if(v.be) ajax_url +=3D '&boost_enc=3D1';=0A=
			} else {=0A=
			    if(v.d) v.d +=3D '&booster=3D1';=0A=
			    else v.d =3D  'booster=3D1';=0A=
			}=0A=
			this.scroll =3D v.sc;=0A=
			=0A=
			_inRequest =3D 1;=0A=
			if(!v.nh) document.location.hash =3D 'page=3D' + =
v.url.replace(_rePathFromURL, '$1');=0A=
			this.retries =3D 0;=0A=
			this.ajax_url =3D ajax_url;=0A=
			this.ajax_params =3D {=0A=
				method: v.m,=0A=
				parameters: v.d,=0A=
				contentType: v.upl ? 'multipart/form-data' : =
'application/x-www-form-urlencoded',=0A=
				onFailure: _onFail,=0A=
				onSuccess: _onResponse=0A=
			};=0A=
			new Ajax.Request(this.ajax_url, this.ajax_params);=0A=
			if(!v.nh) {=0A=
			    this.prevURL =3D this.currentURL || document.URL;=0A=
			    this.currentURL =3D v.url;=0A=
			    if(!Prototype.Browser.IE) window.cpage =3D document.location.href;=0A=
			}=0A=
			return false;=0A=
		},=0A=
		wait: function(f) {=0A=
		    if(f =3D=3D 'unset') document.body.className =3D '';=0A=
		    else document.body.className =3D 'wait';=0A=
		    return;=0A=
		},=0A=
		checkIframe: function(page) {=0A=
		    if(!page) this.go({'url':document.location.pathname,'ni':1});=0A=
		    var cp =3D document.location.href.match(/#page=3D(.*)/);=0A=
		    if(cp) cp =3D cp[1];=0A=
		    else return;=0A=
		    if(page !=3D cp) this.go({'url':page,'ni':1});=0A=
		},=0A=
		error: function( errno, param ){=0A=
			if(window.console) console.log('Booster error: '+[errno, =
param].join(', '));=0A=
		},=0A=
		=0A=
		fetchPage: function( str ){=0A=
			if(str) {=0A=
				_cleanUp();=0A=
				_timeInterval('render');=0A=
				//str =3D '<script id=3D__onDOMContentLoaded defer =
src=3D//:><\/script>' + str;=0A=
                str =3D '<div style=3D"display: none;"><br></div>' + str;=0A=
				this.canvas.innerHTML =3D str;//.replace(_reScripts, '');=0A=
				this.scrollPage();=0A=
				this.fetchAnchors();=0A=
				_timeInterval('render');=0A=
				this.fetchBanners();=0A=
				this.evaluateScripts();// str.match(_reScripts) );=0A=
				this.insertBanners();=0A=
				this.callCounters();=0A=
				_renderTimings();=0A=
				document.title =3D this.title;=0A=
			}=0A=
		},=0A=
		=0A=
		fetchAnchors: function(c){=0A=
		    if(!c) c =3D this.canvas;=0A=
		    var a =3D c.getElementsByTagName('a');=0A=
		    var a_len =3D a.length;=0A=
		    for(var i =3D 0; i<a_len; i++){=0A=
			if( a[i].className.indexOf(_clBoosterLink) !=3D -1 ) {=0A=
			    a[i].onclick =3D function(){=0A=
				return Booster.go({'url':this.href, =
'conf':$(this).readAttribute(_attrBoosterConfirm), =
'sc':$(this).readAttribute(_attrBoosterScroll)});=0A=
			    };=0A=
			}=0A=
			if( a[i].className.indexOf(_clBoosterNoHashLink) !=3D -1 ) {=0A=
			    a[i].onclick =3D function(){=0A=
				return Booster.go({'url':this.href, =
'conf':$(this).readAttribute(_attrBoosterConfirm), =
'sc':$(this).readAttribute(_attrBoosterScroll),'nh':1});=0A=
			    };=0A=
			}				=0A=
		    }=0A=
			=0A=
		},=0A=
		=0A=
		fetchBanners: function() {=0A=
			var banners =3D this.canvas.select('div[banner]');=0A=
			for(var i =3D 0; i < banners.length; i++) {=0A=
				var idx =3D banners[i].readAttribute('banner').match(/\d+$/)[0];=0A=
				_banners[idx] =3D banners[i].innerHTML;=0A=
				banners[i].innerHTML =3D '';=0A=
			}=0A=
		},=0A=
		=0A=
        insertBanners: function() {=0A=
            var banners =3D this.canvas.select('div[banner]');=0A=
            _timeInterval('banners');=0A=
            for(var i =3D 0; i < banners.length; i++) {=0A=
                var idx =3D =
banners[i].readAttribute('banner').match(/\d+$/)[0];=0A=
                if(Prototype.Browser.IE) {=0A=
	                var s =3D "javascript:{document.write('<scr" + "ipt>"+=0A=
	                        "window.onload =3D function() {"+=0A=
	                        "if(document && document.body) =
{parent.bannerContent["+ idx +"] =3D document.body.innerHTML;" +=0A=
	                        "parent.Booster.moveBannerIE(" + idx + ");" +=0A=
	                        "parent.Booster.showBanner("+idx +");" +=0A=
	                        "}};"+=0A=
	                        "document.domain=3D\\\"mail.ru\\\";" +=0A=
	                        =
"document.write(parent.Booster.getBanner("+idx+"));"+=0A=
	                        "</scr"+"ipt>');document.close();};"            =
    	=0A=
            	}=0A=
            	else {=0A=
	                var s =3D "javascript:{document.write('<scr" + "ipt>"+=0A=
	                        "window.onload =3D function() {"+=0A=
	                        "if(document && document.body) { =
while(document.body.firstChild) {"+=0A=
	                        =
"parent.document.getElementById(\\\"pre_banner_"+idx+"\\\").appendChild(d=
ocument.body.firstChild);}"+=0A=
	                        "parent.Booster.showBanner("+idx +");" +=0A=
	                        "}};"+=0A=
	                        "document.domain=3D\\\"mail.ru\\\";" +=0A=
	                        =
"document.write(parent.Booster.getBanner("+idx+"));"+=0A=
	                        "</scr"+"ipt>');document.close();};";=0A=
                }=0A=
                var iframe =3D new Element('iframe');=0A=
                iframe.id =3D 'banner_frame_' + idx;=0A=
                iframe.style.display =3D 'none';=0A=
                iframe.src =3D s;=0A=
                this.canvas.appendChild(iframe);=0A=
            }=0A=
            _timeInterval('banners');=0A=
        },=0A=
=0A=
        moveBannerIE: function(idx) {=0A=
        	var bc =3D window.bannerContent[idx];=0A=
        	if(!bc || !bc.length) return;=0A=
            var flashvars =3D bc.match(/flashvars\=3D\"([^\"]+)\"/);=0A=
            if(flashvars) flashvars =3D flashvars[1];=0A=
            if(flashvars) {=0A=
                bc =3D bc.replace(/NAME=3D\"FlashVars\" VALUE=3D\"/, =
'name=3D"FlashVars" value=3D"' + flashvars);=0A=
            }=0A=
            $('pre_banner_' + idx).update(bc);=0A=
        },        =0A=
=0A=
        showBanner: function(idx) {=0A=
			var b =3D $('banner_container_'+idx), pb =3D $('pre_banner_' + idx);=0A=
			if(b && pb) b.appendChild(pb);=0A=
            if(this.title) document.title =3D this.title;=0A=
        },=0A=
=0A=
		=0A=
		getBanner: function(idx) {=0A=
			return _banners[idx];				=0A=
		},=0A=
		=0A=
        evaluateScripts: function(){=0A=
        	_timeInterval('scripts');=0A=
            var scripts =3D this.canvas.getElementsByTagName('script');=0A=
            var scripts_len =3D scripts.length;=0A=
=0A=
            if(scripts_len && _pv.incScr =3D=3D undefined)=0A=
            _pv.incScr =3D [];=0A=
            for(var i=3D0; i<scripts_len; i++){=0A=
                if(scripts[i].className.indexOf(_clNoexecScript) =3D=3D =
-1) {=0A=
                    var act =3D false;=0A=
                    var url =3D scripts[i].src;=0A=
                    if( url !=3D undefined && url !=3D '' ){=0A=
                        act =3D ['inc', url];=0A=
                    } else if(scripts[i].text !=3D '') {=0A=
                        act =3D ['evl', scripts[i].text];=0A=
                    }=0A=
=0A=
                    if( act )=0A=
                        _pv.incScr[_pv.incScr.length] =3D act;=0A=
                }=0A=
            }=0A=
            this.evalNextScript();=0A=
            _timeInterval('scripts');=0A=
        },=0A=
                	=0A=
		evalNextScript: function(){=0A=
			if(_pv.incScr !=3D undefined && _pv.incScr.length !=3D 0){=0A=
				var script =3D _pv.incScr.shift();=0A=
				=0A=
				switch(script[0]){=0A=
					case 'inc':=0A=
						this.includeScript(script[1]);=0A=
						break;=0A=
					case 'evl':=0A=
						this.inlineScript(script[1]);=0A=
						break;=0A=
				}=0A=
			}=0A=
		},=0A=
		=0A=
		includeScript: function( url ){=0A=
			=0A=
				=0A=
			var filename =3D _parseFileName( url );=0A=
			if(_loadedScripts[filename] =3D=3D undefined) {=0A=
				=0A=
				_loadedScripts[filename] =3D 1;=0A=
				_writeScript( url );=0A=
				this.evalNextScript();=0A=
			=0A=
			} else if( _waitingScripts[filename] !=3D undefined ) {=0A=
				// already requested, waiting for=0A=
			} else {=0A=
				this.evalNextScript();=0A=
			}=0A=
			=0A=
		},=0A=
		=0A=
        inlineScript: function( script ){=0A=
            var s =3D new Element("script");=0A=
            s.text =3D script;=0A=
            Booster.storage.appendChild(s);=0A=
            this.evalNextScript();=0A=
        },		=0A=
		=0A=
		setPageTitle: function ( title ) {=0A=
			title =3D title.replace(/\r|\n/gi, ' ');=0A=
			this.title =3D title.replace(/\s{2,}/gi, ' ');=0A=
			document.title =3D this.title;=0A=
		},=0A=
		=0A=
		callCounters: function () {=0A=
			_timeInterval('counters');=0A=
			var tc =3D $('top_counters');=0A=
			var bc =3D $('bottom_counters');=0A=
			tc.innerHTML =3D ''; bc.innerHTML =3D '';=0A=
=0A=
			var r =3D escape(this.prevURL ? this.prevURL : document.referrer);=0A=
			var u =3D escape(this.currentURL ? this.currentURL : document.URL);			=0A=
			if(_supported_counters['li']) {=0A=
				var url =3D "http://counter.yadro.ru/hit?r"+=0A=
							r + ((typeof(screen)=3D=3D"undefined") ? "" :=0A=
							";s" + screen.width+"*"+screen.height+"*"+(screen.colorDepth ?=0A=
							screen.colorDepth : screen.pixelDepth) )+ ";u" + u +=0A=
							";" + Math.random();=0A=
				var img =3D new Element('img', {'width': 1, 'height': 1, 'alt': '', =
'src': url});=0A=
				tc.appendChild(img);=0A=
			}=0A=
			if(_supported_counters['tns']) {=0A=
				var url =3D =
"http://www.tns-counter.ru/V13a****mail_ru/ru/CP1251/tmsec=3Dmail_my/?" =
+ Math.floor(Math.random()*1000*1000);=0A=
				var img =3D new Element('img', {'width': 1, 'height': 1, 'alt': '', =
'src': url});=0A=
				bc.appendChild(img);=0A=
			}=0A=
			if(_supported_counters['top']) {=0A=
				var js =3D 13;=0A=
				var a =3D ';r=3D'+r+';j=3D'+navigator.javaEnabled()+=0A=
						';s=3D'+screen.width+'*'+screen.height+=0A=
						';d=3D'+(screen.colorDepth?screen.colorDepth:screen.pixelDepth);=0A=
				var url =3D 'http://top3.mail.ru/counter'+=0A=
							'?id=3D1243438;js=3D'+js+a+';rand=3D'+Math.random();=0A=
				var img =3D new Element('img', {'width': 1, 'height': 1, 'alt': '', =
'src': url});=0A=
				bc.appendChild(img);=0A=
			}=0A=
			_timeInterval('counters');=0A=
		},=0A=
		=0A=
		scrollPage: function () {=0A=
			if(!this.scroll) return;=0A=
			=0A=
			if(this.scroll =3D=3D 'top') {=0A=
				window.scroll(0,0);=0A=
				this.canvas.scrollTop =3D 0;=0A=
			}=0A=
		}=0A=
	}=0A=
})();=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/myjs/mrim-status2.js?4

var MRIM =3D (function(){=0A=
	var _url =3D 'http://status.mail.ru/batch.js?';=0A=
	return {=0A=
		fetch: function(c){=0A=
		    var links =3D document.body.getElementsByTagName('i');=0A=
		    var mrim =3D {'el':[],'em':[]}, mail =3D null;=0A=
		    for(var i =3D 0;i < links.length;i++) {=0A=
				mail =3D $(links[i]).readAttribute('email');=0A=
				if(!mail) continue;=0A=
				mrim.el.push(links[i]);=0A=
				mrim.em.push(mail);=0A=
		    }=0A=
			this.get(mrim);=0A=
		},=0A=
		get: function(links) {=0A=
			this.links =3D links;=0A=
			while(links.em.length) {=0A=
				var sc =3D =
document.body.appendChild(document.createElement('script'));=0A=
				sc.src =3D _url + links.em.splice(0,30).join(',');=0A=
			}=0A=
			return;=0A=
		},=0A=
		update: function(c) {=0A=
			if(!c) return;if(!c.length) return;=0A=
			c =3D c.split('');=0A=
			var els =3D this.links.el.splice(0,30);=0A=
			for(var i =3D 0; i < els.length; i++) =0A=
				els[i].className +=3D ' mrim-'+(c[i] =3D=3D 0?'offline':c[i] =3D=3D =
1?'online':c[i] =3D=3D 2?'away':'offline');=0A=
		}=0A=
	};=0A=
})();=0A=
$(document).observe('dom:loaded', MRIM.fetch.bindAsEventListener(MRIM));=0A=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/myjs/ajax-legacy-support.js?1

function =
AjaxRequest(method,script_name,func_name,args,callback,callback_object)=0A=
{=0A=
    function escapePlus(param){=0A=
        param =3D escape(param);=0A=
        return String(param).replace(/\+/g,'%2B');=0A=
    }=0A=
=0A=
    this.query =3D script_name + "?ajax_call=3D1&func_name=3D" + =
escapePlus(func_name) +=0A=
        "&back=3D" + escapePlus(window.location)+"&data=3D" + =
escapePlus(Object.toJSON(args));=0A=
=0A=
    this.method =3D method;=0A=
    this.callback =3D callback;=0A=
    this.callback_object =3D callback_object;=0A=
=0A=
}=0A=
=0A=
AjaxRequest.prototype.send =3D function () {=0A=
    return new Ajax.Request(this.query,=0A=
                            { method: this.method,=0A=
                              onSuccess: (function (transport) {=0A=
                                              var data =3D =
eval(transport.responseText);=0A=
	                                      var magic =3D data.shift();=0A=
	                                      if(magic !=3D "AjaxResponse") =
return;=0A=
	                                      var result =3D data.shift();=0A=
                                              if(result =3D=3D "OK") {=0A=
	                                          if(this.callback) {=0A=
		                                      =
this.callback.apply(this.callback_object?this.callback_object:window,data=
);=0A=
	                                          }=0A=
                                              }=0A=
                                              if(result =3D=3D =
"Redirect") {=0A=
                                                  window.location =3D =
data;=0A=
                                              }=0A=
                                          }).bind(this)=0A=
                            });=0A=
};=0A=
=0A=
var  ajax_requests =3D [];
------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/myjs/global.js?27

/**=0A=
 * @projectDescription Contains JavaScript functions from MY project =
templates=0A=
 */=0A=
/*=0A=
 * {Common}=0A=
 */=0A=
function showHideBlock(oid){=0A=
    elem =3D $(oid);=0A=
    elem.visible() ? elem.hide() : elem.show();=0A=
}=0A=
=0A=
function has_javascript(){=0A=
    app_name =3D navigator.userAgent.toLowerCase();=0A=
    opera_exist =3D app_name.indexOf("opera");=0A=
    nets_exist =3D app_name.indexOf("netscape");=0A=
    nets_vers =3D parseFloat(app_name.substring(nets_exist + 9, =
app_name.length));=0A=
    opera_vers =3D parseFloat(app_name.substring(opera_exist + 6, =
app_name.length));=0A=
    if ((opera_exist !=3D -1 && opera_vers <=3D 7.5) || (nets_exist !=3D =
-1 && nets_vers < 7.1))=0A=
        return false;=0A=
    return true;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function more_disabled(){=0A=
    disableness =3D 1;=0A=
    $('submit_' + mode + (editing =3D=3D 1 ? '_edit' : '')).disable();=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function less_disabled(){=0A=
    if (disableness =3D=3D 1) {=0A=
        $('submit_' + mode + (editing =3D=3D 1 ? '_edit' : '')).enable();=0A=
    }=0A=
    disableness =3D 0;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} field=0A=
 */=0A=
function disUndisField(field){=0A=
    if ($(field).disabled =3D=3D 0) {=0A=
        Field.disable(field);=0A=
    }=0A=
    else {=0A=
        Field.enable(field);=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} sid=0A=
 */=0A=
function value_select(sid){=0A=
    var el =3D $(sid);=0A=
    if (el =3D=3D undefined)=0A=
        return;=0A=
    el.options.length =3D 1;=0A=
    el.options[0].value =3D '';=0A=
    el.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    el.selectedIndex =3D 0;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} sid=0A=
 */=0A=
function makeother(sid){=0A=
    list =3D $(sid);=0A=
    if (list =3D=3D undefined)=0A=
        return;=0A=
    list.disabled =3D 0;=0A=
    list.options.length =3D 0;=0A=
    list.options.length =3D list.options.length + 1;=0A=
    list.options[0].text =3D '=CD=E5 =E2=FB=E1=F0=E0=ED=EE';=0A=
    list.options.length =3D list.options.length + 1;=0A=
    list.options[1].value =3D 'other';=0A=
    list.options[1].text =3D '=C4=F0=F3=E3=EE=E5';=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} sid=0A=
 */=0A=
function onother(sid){=0A=
    if (sid =3D=3D undefined || sid =3D=3D '')=0A=
        return;=0A=
    suff =3D editing =3D=3D 1 ? "_edit" : "";=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {Object} sel=0A=
 * @param {String} block_on=0A=
 */=0A=
function onblock(sel, block_on){=0A=
    if (sel.value =3D=3D 'other') {=0A=
        Element.show(block_on);=0A=
    }=0A=
    else {=0A=
        Element.hide(block_on);=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} oid=0A=
 */=0A=
function ChooseOtherObj(oid){=0A=
    var list =3D $(oid);=0A=
    if (list.disabled =3D=3D 1)=0A=
        return;=0A=
    list.selectedIndex =3D list.options.length - 1;=0A=
    list.onchange();=0A=
}=0A=
=0A=
/**=0A=
 * =CE=EF=F0=E5=E4=E5=EB=FF=E5=EC top - left =
=EA=EE=EE=F0=E4=E8=ED=E0=F2=FB =E1=EB=EE=EA=E0 obj=0A=
 * @param {Object} obj=0A=
 * @return {Object}=0A=
 */=0A=
function absPosition(obj) {=0A=
    var coords =3D $(obj).cumulativeOffset();=0A=
    return {x: coords[0],y: coords[1]};=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} UserStatus=0A=
 * @param {String} UserName=0A=
 */=0A=
function FriendComplaint(UserStatus, UserName){=0A=
    if (UserStatus) {=0A=
        $('ComplaintButton').value =3D "OK";=0A=
        $('ComplaintText').firstChild.data =3D "=D3=E4=E0=EB=E8=F2=FC " =
+ UserName + " =E8=E7 =F1=EF=E8=F1=EA=E0 =E4=F0=F3=E7=E5=E9 =E8 =
=EE=F2=EF=F0=E0=E2=E8=F2=FC =E6=E0=EB=EE=E1=F3?";=0A=
        $('friendship').value =3D "die";=0A=
    }=0A=
    else {=0A=
        $('ComplaintButton').value =3D =
"=CF=EE=E4=F2=E2=E5=F0=E4=E8=F2=FC =E6=E0=EB=EE=E1=F3";=0A=
        $('ComplaintText').firstChild.data =3D "";=0A=
        $('friendship').value =3D "live";=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Set el class to "bgg"=0A=
 * @param {Object} obj=0A=
 */=0A=
function darker(obj){=0A=
    obj.className =3D "bgg";=0A=
}=0A=
=0A=
/**=0A=
 * Set el class to "bgw"=0A=
 * @param {Object} obj=0A=
 */=0A=
function whiter(obj){=0A=
    obj.className =3D "bgw";=0A=
}=0A=
=0A=
/**=0A=
 * Show cross=0A=
 * @param {Object} obj=0A=
 */=0A=
function showCross(obj){=0A=
    obj.parentNode.parentNode.className =3D 'showCross';=0A=
}=0A=
=0A=
/**=0A=
 * Hide cross=0A=
 * @param {Object} obj=0A=
 */=0A=
function hideCross(obj){=0A=
    obj.parentNode.parentNode.className =3D 'hideCross';=0A=
}=0A=
=0A=
/**=0A=
 * Check input text length=0A=
 * @param {Object} txar=0A=
 */=0A=
function checkLength(txar){=0A=
    var beginer =3D MaxMessageLength;=0A=
    var b =3D $("simbCount1");=0A=
    var span =3D $("strCount1");=0A=
    if (txar.value.length <=3D beginer) {=0A=
        b.update(txar.value.length);=0A=
        span.style.color =3D "#909090";=0A=
    }=0A=
    else {=0A=
        b.update(beginer);=0A=
        span.style.color =3D "#FF0000";=0A=
        txar.value =3D txar.value.substring(0, beginer);=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Disable submit button=0A=
 * @return {Boolean}=0A=
 */=0A=
function dis_sub_but(){=0A=
    var sub_but =3D $("sub_but");=0A=
    if (txar.value.length !=3D "") {=0A=
        sub_but.value =3D "=C8=E4=E5=F2 =EE=F2=EF=F0=E0=E2=EA=E0";=0A=
        sub_but.disable();=0A=
        return true;=0A=
    }=0A=
    else {=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Disable submit button 1=0A=
 * @return {Boolean}=0A=
 */=0A=
function dis_sub_but1(){=0A=
    var val1 =3D $("msg1").value;=0A=
    if (val1 !=3D "") {=0A=
        $("sub_but1").disable();=0A=
        need_block =3D true;=0A=
        return true;=0A=
    }=0A=
    else {=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Disable submit button 2=0A=
 * @return {Boolean}=0A=
 */=0A=
function dis_sub_but2(){=0A=
    var val2 =3D $("msg2").value;=0A=
    if (val2 !=3D "") {=0A=
        $("sub_but2").disable();=0A=
        need_block =3D true;=0A=
        return true;=0A=
    }=0A=
    else {=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Check CTRL+ENTER for messages threads=0A=
 * @param {Object} evt=0A=
 * @param {Object,String} frm=0A=
 * @param {String} mode=0A=
 */=0A=
function checkCtrlEnter(evt, frm, sub){=0A=
	var evt =3D evt || event;=0A=
    if (evt.ctrlKey && evt.keyCode =3D=3D=3D 13) {=0A=
			var res;=0A=
		if (sub) res =3D sub();=0A=
        if (res || !sub) {=0A=
        	if(Booster.inited) {=0A=
        		Booster.go($(frm).action, $(frm).method, $(frm).serialize(), =
0, 0, 0, 0, $(frm).readAttribute('nohash'));=0A=
        	}=0A=
        	else {=0A=
        		$(frm).submit();=0A=
        	}=0A=
        }=0A=
    	}=0A=
}=0A=
=0A=
function thread_checkCtrlEnter(evt){=0A=
    checkCtrlEnter(evt, 'dupdate', dis_sub_but1);=0A=
}=0A=
=0A=
function dialogues_send_checkCtrlEnter(evt){=0A=
    checkCtrlEnter(evt, 'dupdate', dis_sub_but);=0A=
}=0A=
/*=0A=
 * {Audio}=0A=
 */=0A=
/**=0A=
 * Show audio edit block=0A=
 * @param {String} songNum=0A=
 * @param {String} file=0A=
 */=0A=
function audio_showEditBlock(songNum, file){=0A=
    if (!songNum)=0A=
        songNum =3D '';=0A=
    $('edit_author').value =3D $('author_' + songNum).innerHTML;=0A=
    $('edit_name').value =3D $('name_' + songNum).innerHTML;=0A=
    $('edit_text').value =3D $('text_' + songNum).innerHTML;=0A=
    $('edit_num').value =3D songNum;=0A=
    $('edit_file').value =3D file;=0A=
    var edit =3D $('edit');=0A=
    var del =3D $('edit_button_' + songNum);=0A=
    edit.style.top =3D absPosition(del).y + del.offsetHeight;=0A=
    edit.style.display =3D 'block';=0A=
}=0A=
=0A=
/**=0A=
 * Change audio player button image=0A=
 * @param {String} n=0A=
 * @param {String} fname=0A=
 * @param {String} ptime=0A=
 */=0A=
function changePlayerButton(n, fname, ptime){=0A=
    var mytime =3D ptime * 1000;=0A=
    var mydiv =3D $('forflash' + n);=0A=
    mydiv.className =3D 'div_dashed_act';=0A=
    mydiv.update('<object =
classid=3D"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" =
codebase=3D"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swf=
lash.cab#version=3D7,0,0,0" width=3D"297" height=3D"7" id=3D"flash' + n =
+ '"><param name=3D"allowScriptAccess" value=3D"always" /><param =
name=3D"swLiveConnect" value=3D"true" /><param name=3D"movie" =
value=3D"http://img3.imgsmail.ru/r/my/player.swf?file=3D' + fname + =
'&time=3D' + mytime + '&mid=3D' + n + '&vol=3D' + volume + '" /><embed =
src=3D"http://img2.imgsmail.ru/r/my/player.swf?file=3D' + fname + =
'&time=3D' + mytime + '&mid=3D' + n + '&vol=3D' + volume + '" =
width=3D"297" height=3D"7" name=3D"flash' + n + '" id=3D"flashplayer' + =
n + '" allowScriptAccess=3D"always" swLiveConnect=3D"true" =
type=3D"application/x-shockwave-flash" =
pluginspage=3D"http://www.macromedia.com/go/getflashplayer" =
/></object>');=0A=
    set_image_stop_first(n);=0A=
    if (last !=3D 0) {=0A=
        var mydivdestr =3D $('forflash' + last);=0A=
        mydivdestr.update('');=0A=
        mydivdestr.className =3D 'div_dashed';=0A=
        var myimagedistr =3D $('mbutton' + last);=0A=
        myimagedistr.update('<a href=3D"#"><img =
src=3D"http://img1.imgsmail.ru/r/my/play_small.gif" onclick=3D"' + =
lastchange + '"></a>');=0A=
        $('muslink' + last).onClick =3D lastchange;=0A=
        last =3D n;=0A=
        lastchange =3D 'changePlayerButton(' + n + ',\'' + fname + '\',' =
+ ptime + ')';=0A=
    }=0A=
    else {=0A=
        last =3D n;=0A=
        lastchange =3D 'changePlayerButton(' + n + ',\'' + fname + '\',' =
+ ptime + ')';=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Change player button to play=0A=
 * @param {String} n=0A=
 */=0A=
function set_image_play(n){=0A=
    $('mbutton' + n).update('<a href=3D"#"><img =
src=3D"http://img0.imgsmail.ru/r/my/play_small.gif" =
onclick=3D"set_image_stop(' + n + ')"></a>');=0A=
    toplay =3D '0';=0A=
    var myfobj =3D null;=0A=
    if (isIE) {=0A=
        eval('myfobj=3Dwindow.flash' + n + ';');=0A=
    }=0A=
    else {=0A=
        myfobj =3D $('flashplayer' + n);=0A=
    }=0A=
    myfobj.SetVariable("_root.pause", "true");=0A=
}=0A=
=0A=
/**=0A=
 * Change player button to stop first=0A=
 * @param {String} n=0A=
 */=0A=
function set_image_stop_first(n){=0A=
    $('mbutton' + n).update('<a href=3D"#"><img =
src=3D"http://img1.imgsmail.ru/r/my/pause_small.gif" =
onclick=3D"set_image_play(' + n + ')"></a>');=0A=
    toplay =3D '1';=0A=
}=0A=
=0A=
/**=0A=
 * Change player button to stop=0A=
 * @param {String} n=0A=
 */=0A=
function set_image_stop(n){=0A=
    $('mbutton' + n).update('<a href=3D"#"><img =
src=3D"http://img2.imgsmail.ru/r/my/pause_small.gif" =
onclick=3D"set_image_play(' + n + ')"></a>');=0A=
    toplay =3D '1';=0A=
    var myfobj =3D null;=0A=
    if (isIE) {=0A=
        eval('myfobj=3Dwindow.flash' + n + ';');=0A=
    }=0A=
    else {=0A=
        myfobj =3D $('flashplayer' + n);=0A=
    }=0A=
    myfobj.SetVariable("_root.pause", "false");=0A=
}=0A=
=0A=
/**=0A=
 * Unpause player=0A=
 * @param {String} n=0A=
 */=0A=
function unPause(n){=0A=
    $('mbutton' + n).update('<a href=3D"#"><img =
src=3D"http://img3.imgsmail.ru/r/my/pause_small.gif" =
onclick=3D"set_image_play(' + n + ')"></a>');=0A=
    toplay =3D '1';=0A=
}=0A=
=0A=
/**=0A=
 * Set player volume=0A=
 * @param {String} n=0A=
 */=0A=
function setvolume(n){=0A=
    volume =3D n;=0A=
}=0A=
=0A=
/**=0A=
 * On song end=0A=
 * @param {String} n=0A=
 */=0A=
function endMusic(n){=0A=
    iid =3D n + 1;=0A=
    var myimage =3D $('mbutton' + iid);=0A=
    if (!myimage) {=0A=
        endMusic(0);=0A=
    }=0A=
    else {=0A=
        myimage.down().down().onclick();=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {Object} obj=0A=
 * @param {String} AddText=0A=
 * @param {Object} Op=0A=
 * @return {Boolean}=0A=
 */=0A=
function audio_replaceSelectedText(obj, AddText, Op){=0A=
    if (Op.document.selection) //=E4=EB=FF IE =E8 Opera=0A=
    {=0A=
        obj.focus();=0A=
        var s =3D Op.document.selection.createRange();=0A=
        s.text =3D AddText;=0A=
        s.select();=0A=
        return true;=0A=
    }=0A=
    else=0A=
        if (typeof(obj.selectionStart) =3D=3D "number")//=C4=EB=FF FF=0A=
        {=0A=
            var start =3D obj.selectionStart;=0A=
            var end =3D obj.selectionEnd;=0A=
            obj.value =3D obj.value.substr(0, start) + AddText + =
obj.value.substr(end);=0A=
            obj.setSelectionRange(end, end);=0A=
            return true;=0A=
        }=0A=
    return false;=0A=
}=0A=
=0A=
function editChanged(frm){=0A=
    $('name_'+frm.num.value).update(frm.name.value);=0A=
    $('author_'+frm.num.value).update(frm.author.value);=0A=
    $('text_'+frm.num.value).update(frm.text.value);=0A=
    $('edit').style.visibility=3D'hidden';=0A=
    return false;=0A=
}=0A=
=0A=
/*=0A=
 * {Apps}=0A=
 */=0A=
/**=0A=
 * Disable arrows=0A=
 */=0A=
function disable_arrows(){=0A=
    sort_enabled =3D 0;=0A=
    for (i =3D 0; i < AppIDs.length; i++) {=0A=
        $(AppIDs[i] + '_arrows').setOpacity(0.5);=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Enable arrows=0A=
 */=0A=
function enable_arrows(){=0A=
    sort_enabled =3D 1;=0A=
    for (i =3D 0; i < AppIDs.length; i++) {=0A=
        $(AppIDs[i] + '_arrows').setOpacity(1.0);=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * AJAX POSITION CALL=0A=
 * @param {String} appid=0A=
 * @param {String} current_position=0A=
 * @param {String} direction=0A=
 * @return {Boolean}=0A=
 */=0A=
function position(appid, current_position, direction){=0A=
    if (!sort_enabled)=0A=
        return false;=0A=
    var second_id =3D 0;=0A=
    for (i =3D 0; i < AppIDs.length; i++) {=0A=
        if (AppIDs[i] =3D=3D appid && (i + direction) < AppIDs.length && =
(i + direction) >=3D 0) {=0A=
            second_id =3D AppIDs[i + direction];=0A=
        }=0A=
    }=0A=
    disable_arrows();=0A=
    ajax_call('perl_change_app_position', appid, second_id, =
current_position, direction, magic);=0A=
    return false;=0A=
}=0A=
=0A=
/**=0A=
 * @param {String} num=0A=
 * @param {String} direction=0A=
 * @return {Boolean}=0A=
 */=0A=
function magic(num, direction){=0A=
    if (!direction)=0A=
        return false;=0A=
    var cols =3D new Array('pic', 'desc', 'menu');=0A=
    for (i =3D 0; i < cols.length; i++) {=0A=
        var first =3D $('td_' + cols[i] + num);=0A=
        var second =3D $('td_' + cols[i] + (num + direction));=0A=
        var saved =3D first.innerHTML;=0A=
        first.update(second.innerHTML);=0A=
        second.update(saved);=0A=
    }=0A=
    enable_arrows();=0A=
    return false;=0A=
}=0A=
=0A=
/*=0A=
 * {Agent}=0A=
 */=0A=
// Listing with save=0A=
/**=0A=
 * @classDescription agent_SavedListing class=0A=
 * @param {Object} params=0A=
 */=0A=
function agent_SavedListing(params){=0A=
    // SUBMIT=0A=
    this.submit =3D function(){=0A=
        this.save();=0A=
        if (this.finishInput)=0A=
            this.finishInput.value =3D 1;=0A=
        if (this.onSubmitCallback)=0A=
            this.onSubmitCallback(this.getSavedElements());=0A=
        return false;=0A=
    };=0A=
    // CHANGE PAGE=0A=
    this.changePage =3D function(page){=0A=
        this.save(1);=0A=
        this.pageInput.value =3D page;=0A=
        if (this.onPageChangeCallback)=0A=
            this.onPageChangeCallback(this.getSavedElements(), page);=0A=
        this.form.submit();=0A=
        return false;=0A=
    };=0A=
    // SELECT=0A=
    this.select =3D function(){=0A=
        if (this.selectAllCheckbox) {=0A=
            var elements =3D this.form.elements;=0A=
            for (var i =3D 0; i < elements.length; i++) {=0A=
                if (elements[i].type =3D=3D 'checkbox' && =
this.selectAllCheckbox !=3D elements[i]) {=0A=
                    elements[i].checked =3D =
this.selectAllCheckbox.checked ? true : false;=0A=
                }=0A=
            }=0A=
            this.count();=0A=
        }=0A=
    };=0A=
    // SAVE=0A=
    this.save =3D function(pageChange){=0A=
        var value =3D this.getElementsToSave();=0A=
        var count =3D value.length;=0A=
        value =3D value.join(',');=0A=
        this.saveInput.value =3D value;=0A=
        if (this.openerSaveInput && !pageChange)=0A=
            this.openerSaveInput.value =3D value;=0A=
        if (this.countHTMLElement)=0A=
            this.countHTMLElement.innerHTML =3D count;=0A=
        if (this.openerCountHTMLElement && !pageChange)=0A=
            this.openerCountHTMLElement.innerHTML =3D count;=0A=
        if (this.saveInput2) {=0A=
            this.saveInput2.value =3D =
this.getElementsToSave2().join(',');=0A=
            if (this.openerSaveInput2 && !pageChange)=0A=
                this.openerSaveInput2.value =3D this.saveInput2.value;=0A=
        }=0A=
    };=0A=
    // COUNT=0A=
    this.count =3D function(){=0A=
        var value =3D this.getElementsToSave();=0A=
        var count =3D value.length;=0A=
        if (this.countHTMLElement)=0A=
            this.countHTMLElement.innerHTML =3D count;=0A=
        this.checkSelectAllCheckbox();=0A=
    };=0A=
    // LOAD=0A=
    this.load =3D function(){=0A=
        var savedElements =3D this.getSavedElements();=0A=
        if (this.onLoadCallback)=0A=
            this.onLoadCallback(savedElements);=0A=
        var formElements =3D this.form.elements;=0A=
        for (var i =3D 0; i < formElements.length; i++) {=0A=
            var formElement =3D formElements[i];=0A=
            if (formElement.type =3D=3D "checkbox" && =
this.selectAllCheckbox !=3D formElement) {=0A=
                var element =3D formElement.value.replace(/^\s+|\s+$/g, =
"").toLowerCase();=0A=
                for (var k =3D 0; k < savedElements.length; k++) {=0A=
                    if (savedElements[k] =3D=3D element) {=0A=
                        formElement.checked =3D true;=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        this.checkSelectAllCheckbox();=0A=
        this.save(1);=0A=
    };=0A=
    // CHECK COUNTER=0A=
    this.checkSelectAllCheckbox =3D function(){=0A=
        if (this.selectAllCheckbox) {=0A=
            var elements =3D this.form.elements;=0A=
            var checked =3D true;=0A=
            for (var i =3D 0; i < elements.length; i++) {=0A=
                if (elements[i].type =3D=3D 'checkbox' && =
!elements[i].checked && elements[i] !=3D this.selectAllCheckbox) {=0A=
                    checked =3D false;=0A=
                    break;=0A=
                }=0A=
            }=0A=
            this.selectAllCheckbox.checked =3D checked;=0A=
        }=0A=
    }=0A=
    // GET SAVED ELEMENTS=0A=
    this.getSavedElements =3D function(){=0A=
        var elements =3D this.openerSaveInput && this.isJustOpen() ? =
saveInput.value + ',' + openerSaveInput.value : saveInput.value;=0A=
        return this.uniq(elements.split(','));=0A=
    };=0A=
    // GET SAVED ELEMENTS2=0A=
    this.getSavedElements2 =3D function(){=0A=
        var elements =3D this.openerSaveInput2 && this.isJustOpen() ? =
saveInput2.value + ',' + openerSaveInput2.value : saveInput2.value;=0A=
        return this.uniq(elements.split(','), 1);=0A=
    };=0A=
    // GET ELEMENTS TO SAVE=0A=
    this.getElementsToSave =3D function(){=0A=
        var formElements =3D this.form.elements;=0A=
        var savedElements =3D this.getSavedElements();=0A=
        for (var i =3D 0; i < formElements.length; i++) {=0A=
            var formElement =3D formElements[i];=0A=
            if (formElement.type =3D=3D "checkbox" && =
this.selectAllCheckbox !=3D formElement) {=0A=
                if (formElement.checked) {=0A=
                    savedElements[savedElements.length] =3D =
formElement.value;=0A=
                }=0A=
                else {=0A=
                    var element =3D =
formElement.value.replace(/^\s+|\s+$/g, "").toLowerCase();=0A=
                    for (var k =3D 0; k < savedElements.length; k++) {=0A=
                        if (savedElements[k] =3D=3D element)=0A=
                            savedElements[k] =3D '';=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        return this.uniq(savedElements);=0A=
    };=0A=
    // GET ELEMENTS TO SAVE2=0A=
    this.getElementsToSave2 =3D function(){=0A=
        var formElements =3D this.form.elements;=0A=
        var savedElements =3D this.getSavedElements2();=0A=
        for (var i =3D 0; i < formElements.length; i++) {=0A=
            var formElement =3D formElements[i];=0A=
            if (formElement.type =3D=3D "checkbox" && =
this.selectAllCheckbox !=3D formElement) {=0A=
                if (formElement.checked) {=0A=
                    savedElements[savedElements.length] =3D =
this.input2Callback(formElement.value);=0A=
                }=0A=
                else {=0A=
                    var element =3D =
this.input2Callback(formElement.value);=0A=
                    for (var k =3D 0; k < savedElements.length; k++) {=0A=
                        if (savedElements[k] =3D=3D element)=0A=
                            savedElements[k] =3D '';=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        return this.uniq(savedElements, 1);=0A=
    };=0A=
    // IS JUST OPEN=0A=
    this.isJustOpen =3D function(){=0A=
        if (navigator.userAgent.indexOf("Firefox") !=3D -1) {=0A=
            return history.length =3D=3D 1 ? 1 : 0;=0A=
        }=0A=
        else {=0A=
            return history.length =3D=3D 0 ? 1 : 0;=0A=
        }=0A=
    }=0A=
    // UNIQ=0A=
    this.uniq =3D function(arr, dontModify){=0A=
        var retArr =3D new Array();=0A=
        if (arr.length) {=0A=
            for (var i =3D 0; i < arr.length; i++) {=0A=
                var element =3D arr[i].replace(/^\s+|\s+$/g, "");=0A=
                if (!dontModify)=0A=
                    element =3D element.toLowerCase();=0A=
                if (!element || element =3D=3D '')=0A=
                    continue;=0A=
                var elementNotExists =3D true;=0A=
                for (var k =3D 0; k < retArr.length; k++) {=0A=
                    if (retArr[k] =3D=3D element)=0A=
                        elementNotExists =3D false;=0A=
                }=0A=
                if (elementNotExists)=0A=
                    retArr[retArr.length] =3D element;=0A=
            }=0A=
        }=0A=
        return retArr;=0A=
    };=0A=
    // ERROR=0A=
    this.error =3D function(msg){=0A=
        throw ('Error in agent_SavedListing: ' + msg);=0A=
    };=0A=
    // CONSTRUCTOR=0A=
    if (listing)=0A=
        this.error('constructor'); // Silly Singleton=0A=
    if (params.form && params.saveInput && params.pageInput) {=0A=
        this.form =3D params.form;=0A=
        this.saveInput =3D params.saveInput;=0A=
        this.pageInput =3D params.pageInput;=0A=
    }=0A=
    else {=0A=
        this.error('constructor');=0A=
    }=0A=
    this.saveInput2 =3D params.saveInput2 ? params.saveInput2 : null;=0A=
    this.countHTMLElement =3D params.countHTMLElement ? =
params.countHTMLElement : null;=0A=
    this.openerSaveInput =3D params.openerSaveInput ? =
params.openerSaveInput : null;=0A=
    this.openerSaveInput2 =3D params.openerSaveInput2 ? =
params.openerSaveInput2 : null;=0A=
    this.openerCountHTMLElement =3D params.openerCountHTMLElement ? =
params.openerCountHTMLElement : null;=0A=
    this.onLoadCallback =3D params.onLoad ? params.onLoad : null;=0A=
    this.onSubmitCallback =3D params.onSubmit ? params.onSubmit : null;=0A=
    this.onPageChangeCallback =3D params.onPageChange ? =
params.onPageChange : null;=0A=
    this.input2Callback =3D params.input2Callback ? =
params.input2Callback : null;=0A=
    if (this.openerSaveInput2 && !this.saveInput2)=0A=
        this.error('constructor');=0A=
    if (this.saveInput2 && !this.input2Callback)=0A=
        this.error('constructor');=0A=
    if (params.selectAllCheckbox) {=0A=
        this.selectAllCheckbox =3D params.selectAllCheckbox;=0A=
        this.selectAllCheckbox.onclick =3D function(){=0A=
            if (this.checked) {=0A=
                $('save').value =3D $('allemails').value=0A=
                var elements =3D this.form.elements;=0A=
                for (var i =3D 0; i < elements.length; i++) {=0A=
                    if (elements[i].type =3D=3D 'checkbox' && this !=3D =
elements[i]) {=0A=
                        elements[i].checked =3D true;=0A=
                    }=0A=
                }=0A=
            }=0A=
            else {=0A=
                $('save').value =3D ''=0A=
                var elements =3D this.form.elements;=0A=
                for (var i =3D 0; i < elements.length; i++) {=0A=
                    if (elements[i].type =3D=3D 'checkbox' && this !=3D =
elements[i]) {=0A=
                        elements[i].checked =3D false;=0A=
                    }=0A=
                }=0A=
            }=0A=
            listing.select();=0A=
        };=0A=
    }=0A=
    else {=0A=
        this.selectAllCheckbox =3D null;=0A=
    }=0A=
    if (params.finishInput) {=0A=
        this.finishInput =3D params.finishInput;=0A=
        this.finishInput.value =3D 0;=0A=
    }=0A=
    else {=0A=
        this.finishInput =3D null;=0A=
    }=0A=
=0A=
    this.load();=0A=
    return this;=0A=
}=0A=
=0A=
// Listing emails with save end=0A=
=0A=
/*=0A=
 * {Career}=0A=
 */=0A=
/**=0A=
 * Geo ajax call for career=0A=
 * @param {String} geo_id=0A=
 */=0A=
function career_ajax_geo_call(geo_id){=0A=
    more_disabled();=0A=
    ajax_call('perl_get_geo', geo_id, career_FillGeo);=0A=
}=0A=
=0A=
/**=0A=
 * Edit ajax call for career=0A=
 * @param {String} cid=0A=
 */=0A=
function career_ajax_edit_call(cid){=0A=
    more_disabled();=0A=
    ajax_call('perl_fetch_career', cid, career_FillEdit);=0A=
}=0A=
=0A=
/**=0A=
 * Reset career form=0A=
 * @param {String} level=0A=
 */=0A=
function career_form_empty(level){=0A=
    var suff =3D '';=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D '_edit';=0A=
    if (level < 1) {=0A=
        $('position_' + mode + suff).value =3D '';=0A=
    }=0A=
    if (level < 2) {=0A=
        $('region_id_' + mode + suff).options.length =3D 1;=0A=
        $('region_id_' + mode + suff).options[0].value =3D '';=0A=
        $('region_id_' + mode + suff).options[0].text =3D =
'=C2=FB=E1=F0=E0=F2=FC';=0A=
        $('region_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('region_id_' + mode + suff).disabled =3D 1;=0A=
        //list_enter =3D $('enteryear_company');=0A=
        //list_leave =3D $('leaveyear_company');=0A=
        //list_enter.selectedIndex =3D list_enter.options.length - 1;=0A=
        //list_leave.selectedIndex =3D list_leave.options.length - 1;=0A=
    }=0A=
    if (level < 3) {=0A=
        $('city_id_' + mode + suff).options.length =3D 1;=0A=
        $('city_id_' + mode + suff).options[0].value =3D '';=0A=
        $('city_id_' + mode + suff).options[0].text =3D =
'=C2=FB=E1=F0=E0=F2=FC';=0A=
        $('city_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('city_id_' + mode + suff).disabled =3D 1;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Fill geo in career=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 * @param {String} type=0A=
 * @param {String} level=0A=
 * @param {String} special=0A=
 */=0A=
function career_FillGeo(names, ids, type, level, special){=0A=
    var no_list =3D 0;=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    //alert(names.length+' '+type+' '+level);=0A=
    var list;=0A=
    if (type =3D=3D 1) {=0A=
        list =3D $('country_id_' + mode + suff);=0A=
        career_form_empty(1);=0A=
    }=0A=
    else=0A=
        if (type =3D=3D 2) {=0A=
            career_form_empty(2);=0A=
            list =3D $('region_id_' + mode + suff);=0A=
            $('region_id_' + mode + suff).enable();=0A=
=0A=
            $('city_id_' + mode + suff).disable();=0A=
            $('city_id_' + mode + suff).options.length =3D 0;=0A=
            $('city_id_' + mode + suff).options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
            if (suff !=3D '') {=0A=
                $('ab_compose_2').disable();=0A=
            }=0A=
            else {=0A=
                $('ab_compose_1').disable();=0A=
            }=0A=
        //          $('tr_search_comp'+suff).style.display=3D'none';=0A=
=0A=
        }=0A=
        else=0A=
            if (type =3D=3D 3) {=0A=
                if (level !=3D 3) { // Not a Russia, disabling region =
menu=0A=
                    $('region_id_' + mode + suff).options.length =3D 0;=0A=
                    $('region_id_' + mode + suff).options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
                    $('region_id_' + mode + suff).disable();=0A=
                }=0A=
                career_form_empty(3);=0A=
                $('city_id_' + mode + suff).enable();=0A=
                list =3D $('city_id_' + mode + suff);=0A=
            /* if (!editing){=0A=
         $('ab_compose_1').disabled=3D0;=0A=
         //          $('tr_search_comp').style.display=3D'block';} */=0A=
            }=0A=
            else {=0A=
                no_list =3D 1;=0A=
                $('city_id_' + mode + suff).options.length =3D 0;=0A=
                $('city_id_' + mode + suff).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
                $('city_id_' + mode + suff).enable();=0A=
                $('city_id_' + mode + suff + '_other').show()=0A=
                if (suff !=3D '') {=0A=
                    $('ab_compose_2').enable();=0A=
                }=0A=
                else {=0A=
                    $('ab_compose_1').enable();=0A=
                }=0A=
            //          $('tr_search_comp'+suff).style.display=3D'none';=0A=
            }=0A=
    less_disabled();=0A=
    if (no_list =3D=3D 0) {=0A=
        var nl =3D 0;=0A=
        if (names !=3D undefined)=0A=
            nl =3D names.length;=0A=
        list.options.length =3D 0;=0A=
        var addon =3D 0;=0A=
        //if (editing !=3D 1) {=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        addon =3D 1;=0A=
        //}=0A=
        for (var i =3D 0; i < nl; i++) {=0A=
            list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
            if (special > 0) {=0A=
                list.options[i + addon].style.fontWeight =3D "bold";=0A=
                special--;=0A=
            }=0A=
        }=0A=
        if (type =3D=3D 3) {=0A=
            list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
=0A=
        }=0A=
        if (type =3D=3D 1 || (type =3D=3D 3 && is_capital =3D=3D =
1))//(set default country -> Russia) OR (set default city -> capital)=0A=
        {=0A=
            list.selectedIndex =3D 1;=0A=
            list.onchange();=0A=
=0A=
        }=0A=
        else {=0A=
            if (suff !=3D '') {=0A=
                $('ab_compose_2').disable();=0A=
            }=0A=
            else {=0A=
                $('ab_compose_1').disable();=0A=
            }=0A=
            //          $('tr_search_comp'+suff).style.display=3D'none';=0A=
        }=0A=
        if (need_switch_star) {=0A=
            career_switchStarOfFieldCallback();=0A=
        }=0A=
        /* if (!editing){=0A=
         $('ab_compose_1').disabled=3D0;=0A=
         //          $('tr_search_comp').style.display=3D'block';} */=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * @param {Object} sel=0A=
 * @param {String} block_on=0A=
 */=0A=
function career_onblock(sel, block_on){=0A=
    if (sel.value =3D=3D 'other') {=0A=
        Element.hide(block_on);=0A=
        onother(sel.id);=0A=
        if (editing) {=0A=
            suff =3D '_edit'=0A=
        }=0A=
        else {=0A=
            suff =3D ''=0A=
        }=0A=
        if (suff !=3D '') {=0A=
            $('ab_compose_2').enable();=0A=
        }=0A=
        else {=0A=
            $('ab_compose_1').enable();=0A=
        }=0A=
        //          $('tr_search_comp'+suff).style.display=3D'none';=0A=
=0A=
    }=0A=
    else {=0A=
        Element.hide(block_on);=0A=
        if (sel.value !=3D '') {=0A=
            if (editing) {=0A=
                suff =3D '_edit'=0A=
            }=0A=
            else {=0A=
                suff =3D ''=0A=
            }=0A=
            if (suff !=3D '') {=0A=
                $('ab_compose_2').enable();=0A=
            }=0A=
            else {=0A=
                $('ab_compose_1').enable();=0A=
            }=0A=
            //              =
$('tr_search_comp'+suff).style.display=3D'block';=0A=
=0A=
        }=0A=
        else {=0A=
            if (editing) {=0A=
                suff =3D '_edit'=0A=
            }=0A=
            else {=0A=
                suff =3D ''=0A=
            }=0A=
            if (suff !=3D '') {=0A=
                $('ab_compose_2').disable();=0A=
            }=0A=
            else {=0A=
                $('ab_compose_1').disable();=0A=
            }=0A=
            //          $('tr_search_comp'+suff).style.display=3D'none';=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Fill career list=0A=
 * @param {String} oid=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 * @param {String} sid=0A=
 */=0A=
function career_FillList(oid, names, ids, sid){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    //alert("career_FillList |"+oid+mode+suff+"|");=0A=
    var list =3D $(oid + mode + suff);=0A=
    if (list =3D=3D undefined || list =3D=3D null)=0A=
        return;=0A=
    if (names =3D=3D '0' || names =3D=3D 0) {=0A=
        list.disable();=0A=
        return;=0A=
    }=0A=
    //alert("career_FillList running "+names);=0A=
    list.enable();=0A=
    var nl =3D 0;=0A=
    if (names !=3D undefined)=0A=
        nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    var addon =3D 0;=0A=
    if (editing !=3D 1) {=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        list.selectedIndex =3D 0;=0A=
        addon =3D 1;=0A=
    }=0A=
    if (editing =3D=3D 1 && (oid =3D=3D 'department_id_' || oid =3D=3D =
'kafedra_id_')) {=0A=
        list.options[0] =3D new Option('=CD=E5 =E2=FB=E1=F0=E0=ED=EE', =
'');=0A=
        list.selectedIndex =3D 0;=0A=
        addon =3D 1;=0A=
    }=0A=
    for (var i =3D 0; i < nl; i++) {=0A=
        list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
        if (ids[i] =3D=3D sid)=0A=
            list.options[i + addon].selected =3D 1;=0A=
    }=0A=
    if (oid =3D=3D 'city_id_' || oid =3D=3D 'institute_id_' || oid =
=3D=3D 'department_id_' || oid =3D=3D 'kafedra_id_') {=0A=
        var le =3D list.options.length;=0A=
        list.options[le] =3D new Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
        if (le =3D=3D 0) {=0A=
            var elem =3D $(oid + mode + suff + '_other');=0A=
            if (elem !=3D undefined)=0A=
                elem.show();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
//function career_CheckList(oid, sid, sh){=0A=
//    var suff =3D "";=0A=
//    var _editing =3D editing;=0A=
//    var lift =3D (sh =3D=3D 0) ? 0 : 1;=0A=
//    if (_editing =3D=3D 1)=0A=
//        suff =3D "_edit";=0A=
//    var list =3D $(oid + mode + suff);=0A=
//    if (list =3D=3D undefined || list =3D=3D null)=0A=
//        return;=0A=
//    list.disabled =3D 0;=0A=
//    for (var i =3D 0; i < list.options.length - lift; i++) {=0A=
//        if (list.options[i].value =3D=3D sid)=0A=
//            list.options[i].selected =3D 1;=0A=
//    }=0A=
//}=0A=
=0A=
/**=0A=
 * Fill career field=0A=
 * @param {String} oid=0A=
 * @param {String} valu=0A=
 */=0A=
function career_FillField(oid, valu){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var field =3D $(oid + mode + suff);=0A=
    if (field =3D=3D undefined || field =3D=3D null)=0A=
        return;=0A=
    field.value =3D valu;=0A=
}=0A=
=0A=
/**=0A=
 * Fill career select=0A=
 * @param {String} oid=0A=
 * @param {String} valu=0A=
 */=0A=
function career_FillSelect(oid, valu){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var field =3D $(oid + mode + suff);=0A=
    if (field =3D=3D undefined || field =3D=3D null)=0A=
        return;=0A=
    for (var i =3D 0; i < field.options.length; i++) {=0A=
        if (field.options[i].value =3D=3D valu) {=0A=
            field.selectedIndex =3D i;=0A=
            return;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Fill career edit=0A=
 * @param {String} careerId=0A=
 * @param {Array} cNames=0A=
 * @param {Array} cIds=0A=
 * @param {String} cId=0A=
 * @param {Array} rNames=0A=
 * @param {Array} rIds=0A=
 * @param {String} rId=0A=
 * @param {Array} tNames=0A=
 * @param {Array} tIds=0A=
 * @param {String} tId=0A=
 * @param {String} companyName=0A=
 * @param {String} position=0A=
 * @param {String} enterYear=0A=
 * @param {String} enterMonth=0A=
 * @param {String} leaveYear=0A=
 * @param {String} leaveMonth=0A=
 * @param {String} stillHere=0A=
 */=0A=
function career_FillEdit(careerId, cNames, cIds, cId, rNames, rIds, rId, =
tNames, tIds, tId, companyName, position, enterYear, enterMonth, =
leaveYear, leaveMonth, stillHere){=0A=
    //ajax perl_fetch_career callback, filling edit form=0A=
    //receiving all data, checked.=0A=
    career_FillSelect('enteryear_', enterYear);=0A=
    career_FillSelect('leaveyear_', leaveYear);=0A=
    career_FillSelect('entermonth_', enterMonth);=0A=
    career_FillSelect('leavemonth_', leaveMonth);=0A=
=0A=
    career_FillField('position_', position, 0);=0A=
    //  career_FillField('name_',companyName,0);=0A=
    if (editing =3D=3D 1) {=0A=
        $('ab_compose_2').value =3D companyName;=0A=
    }=0A=
    else {=0A=
        $('ab_compose_1').value =3D companyName;=0A=
    }=0A=
    career_FillField('cid_', careerId, 0);=0A=
=0A=
    career_FillList('country_id_', cNames, cIds, cId);=0A=
    career_FillList('region_id_', rNames, rIds, rId);=0A=
    if (need_switch_star) {=0A=
        career_switchStarOfFieldCallback();=0A=
    }=0A=
    career_FillList('city_id_', tNames, tIds, tId);=0A=
    if (stillHere =3D=3D 1) {=0A=
        //      $('leaveyear_company_edit').options.length=3D1;=0A=
        //      $('leaveyear_company_edit').options[0].value=3D'';=0A=
        $('leaveyear_company_edit').disable();=0A=
        //      $('leavemonth_company_edit').options.length=3D1;=0A=
        //      $('leavemonth_company_edit').options[0].value=3D'';=0A=
        $('leavemonth_company_edit').disable();=0A=
        $('stillhere_company_edit').checked =3D 1;=0A=
        switchStarByDisable('leaveyear_company_edit', =
'leaveyear_star_company_edit');=0A=
    }=0A=
    less_disabled();=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} fieldName=0A=
 * @param {String} starName=0A=
 */=0A=
function career_switchStarOfField(fieldName, starName){=0A=
    star_field =3D fieldName;=0A=
    star_name =3D starName;=0A=
    need_switch_star =3D true;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function career_switchStarOfFieldCallback(){=0A=
    if ($(star_field).disabled =3D=3D 0) {=0A=
        $(star_name).className =3D 'red';=0A=
    }=0A=
    else {=0A=
        $(star_name).className =3D 'white';=0A=
    }=0A=
    need_switch_star =3D false;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} formName=0A=
 * @param {String} fieldName=0A=
 * @param {String} errorText=0A=
 * @return {String}=0A=
 */=0A=
function career_CheckFieldByNull(formName, fieldName, errorText){=0A=
    if (formName.elements[fieldName].value =3D=3D null || =
formName.elements[fieldName].value =3D=3D undefined || =
formName.elements[fieldName].value =3D=3D "") {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} formName=0A=
 * @return {Boolean}=0A=
 */=0A=
function career_CheckFormByNull(formName){=0A=
    more_disabled();=0A=
    var errors =3D "";=0A=
    var suff =3D "";=0A=
    if (editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
=0A=
    errors +=3D career_CheckFieldByNull(formName, 'country_id_' + mode + =
suff, "=CF=EE=EB=E5 =D1=D2=D0=C0=CD=C0 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    if (formName.elements['region_id_' + mode + suff].disabled !=3D 1) {=0A=
        errors +=3D career_CheckFieldByNull(formName, 'region_id_' + =
mode + suff, "=CF=EE=EB=E5 =D0=C5=C3=C8=CE=CD =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
    errors +=3D career_CheckFieldByNull(formName, 'city_id_' + mode + =
suff, "=CF=EE=EB=E5 =C3=CE=D0=CE=C4 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    if (formName.elements['city_id_' + mode + suff].value =3D=3D =
'other') {=0A=
        errors +=3D career_CheckFieldByNull(formName, 'city_name', =
"=CF=EE=EB=E5 =C4=D0=D3=C3=CE=C9 =C3=CE=D0=CE=C4 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
=0A=
    if (editing =3D=3D 1) {=0A=
        errors +=3D career_CheckFieldByNull(formName, 'ab_compose_2', =
"=CF=EE=EB=E5 =CA=CE=CC=CF=C0=CD=C8=DF =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
    else {=0A=
        errors +=3D career_CheckFieldByNull(formName, 'ab_compose_1', =
"=CF=EE=EB=E5 =CA=CE=CC=CF=C0=CD=C8=DF =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
=0A=
    errors +=3D career_CheckFieldByNull(formName, 'enteryear_' + mode + =
suff, "=CF=EE=EB=E5 =CD=C0=D7=C0=CB=CE =D0=C0=C1=CE=D2=DB - =C3=CE=C4 =
=ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    errors +=3D career_CheckFieldByNull(formName, 'entermonth_' + mode + =
suff, "=CF=EE=EB=E5 =CD=C0=D7=C0=CB=CE =D0=C0=C1=CE=D2=DB - =
=CC=C5=D1=DF=D6 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
=0A=
    if (formName.elements['leaveyear_' + mode + suff].disabled !=3D 1) {=0A=
        errors +=3D career_CheckFieldByNull(formName, 'leaveyear_' + =
mode + suff, "=CF=EE=EB=E5 =CE=CA=CE=CD=D7=C0=CD=C8=C5 =
=D0=C0=C1=CE=D2=DB - =C3=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
    if (formName.elements['leavemonth_' + mode + suff].disabled !=3D 1) {=0A=
        errors +=3D career_CheckFieldByNull(formName, 'leavemonth_' + =
mode + suff, "=CF=EE=EB=E5 =CE=CA=CE=CD=D7=C0=CD=C8=C5 =
=D0=C0=C1=CE=D2=DB - =CC=C5=D1=DF=D6 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
=0A=
    /*=0A=
     if(formName.elements['startdate'])=0A=
     {=0A=
     buff =3D career_CheckFieldByNull(formName,'startdate',"=CF=EE=EB=E5 =
=DF =CF=CE=D8=A8=CB =C2 =CF=C5=D0=C2=DB=C9 =CA=CB=C0=D1=D1 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     if (buff !=3D '')=0A=
     {=0A=
     errors +=3Dbuff;=0A=
     } else {=0A=
     if(isNaN(formName.elements['startdate'].value) =3D=3D true){=0A=
     errors +=3D "=C2 =CF=EE=EB=E5 =DF =CF=CE=D8=A8=CB =C2 =
=CF=C5=D0=C2=DB=C9 =CA=CB=C0=D1=D1 =EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =
=F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB\n";=0A=
     }=0A=
     if(formName.elements['startdate'].value.indexOf('+') =3D=3D true || =
formName.elements['startdate'].value.indexOf('-') =3D=3D true){=0A=
     errors +=3D "=C2 =CF=EE=EB=E5 =DF =CF=CE=D8=A8=CB =C2 =
=CF=C5=D0=C2=DB=C9 =CA=CB=C0=D1=D1 =EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =
=F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB =
=EF=EE=EB=EE=E6=E8=F2=E5=EB=FC=ED=FB=E5 =F6=E8=F4=F0=FB\n";=0A=
     }=0A=
     }=0A=
     }=0A=
     */=0A=
    /*=0A=
     errors =
+=3Dcareer_CheckFieldByNull(formName,'enterdate',"=CF=EE=EB=E5 " + =
enterdate_field_name + " =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     errors =
+=3Dcareer_CheckFieldByNull(formName,'leavedate',"=CF=EE=EB=E5 =
=CE=CA=CE=CD=D7=C0=CD=C8=C5 =CE=C1=D3=D7=C5=CD=C8=DF =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     */=0A=
    /*=0A=
     if(formName.elements['enterdate']!=3D'' && =
isNaN(formName.elements['enterdate'].value)=3D=3Dtrue)=0A=
     {=0A=
     errors +=3D "=C2 =CF=EE=EB=E5 " + enterdate_field_name + " =
=EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =F2=EE=EB=FC=EA=EE =
=F6=E8=F4=F0=FB\n";=0A=
     }=0A=
     if(formName.elements['leavedate']!=3D'' && =
isNaN(formName.elements['leavedate'].value)=3D=3Dtrue)=0A=
     {=0A=
     errors +=3D "=C2 =CF=EE=EB=E5 =CE=CA=CE=CD=D7=C0=CD=C8=C5 =
=CE=C1=D3=D7=C5=CD=C8=DF =EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =
=F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB\n";=0A=
     }=0A=
     */=0A=
    if (errors !=3D null && errors !=3D "") {=0A=
        alert(errors);=0A=
        less_disabled();=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} field_id=0A=
 * @param {String} star_id=0A=
 */=0A=
function switchStarByDisable(field_id, star_id){=0A=
    if ($(field_id).disabled =3D=3D 0) {=0A=
        $(star_id).className =3D 'red';=0A=
    }=0A=
    else {=0A=
        $(star_id).className =3D 'white';=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function edit_company_to_orig(){=0A=
    if (editing_company =3D=3D '')=0A=
        return;=0A=
    html =3D $(editing_company).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(editing_company).hide();=0A=
    $(editing_company).update('');=0A=
    $('orig_div_for_company').update(html);=0A=
    editing_company =3D '';=0A=
    editing =3D 0;=0A=
}=0A=
=0A=
/**=0A=
 * Edit company by ID=0A=
 * @param {String} cid=0A=
 * @return {Boolean}=0A=
 */=0A=
function edit_company_by_id(cid){=0A=
    if (editing =3D=3D 1) {=0A=
        if (editing_company =3D=3D 'div_for_company_' + cid)=0A=
            return false;=0A=
        edit_company_to_orig();=0A=
    }=0A=
    mode =3D 'company';=0A=
    editing =3D 1;=0A=
    src_div =3D 'orig_div_for_company';=0A=
    if (editing_company !=3D '') {=0A=
        $(editing_company).hide();=0A=
        src_div =3D editing_company;=0A=
    }=0A=
    editing_company =3D 'div_for_company_' + cid;=0A=
    if (src_div =3D=3D editing_company)=0A=
        return;=0A=
    html =3D $(src_div).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(src_div).update('');=0A=
    $(editing_company).update(html);=0A=
    career_form_empty(0);=0A=
    $(editing_company).show();=0A=
    career_switchStarOfField('region_id_company_edit', =
'company_edit_star_reg');=0A=
    if ($('stillhere_company_edit').check =3D=3D 1) {=0A=
        disUndisField('leaveyear_company_edit');=0A=
        disUndisField('leavemonth_company_edit');=0A=
    }=0A=
    var olist =3D ['country_id_company_edit', 'region_id_company_edit', =
'city_id_company_edit'];=0A=
    for (var i =3D 0; i < olist.length; i++) {=0A=
        $(olist[i]).options[0].text =3D '=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
=0A=
    divs =3D $$('div');=0A=
    for (var i in divs) {=0A=
        if (typeof(divs[i]) =3D=3D 'object' &&=0A=
        divs[i].className =3D=3D 'dynamic_ab_placeholder') {=0A=
            divs[i].parentNode.removeChild(divs[i]);=0A=
        }=0A=
    }=0A=
=0A=
    dynamic_ab.ab_compose_2 =3D undefined;=0A=
    dynamic_ab.ab_compose_2_items =3D new Array();=0A=
    dynamic_ab.ab_compose_1 =3D undefined;=0A=
    dynamic_ab.ab_compose_1_items =3D new Array();=0A=
    if ($('ab_compose_2'))=0A=
        $('ab_compose_2').value =3D '';=0A=
    if ($('ab_compose_1'))=0A=
        $('ab_compose_1').value =3D '';=0A=
=0A=
    career_ajax_edit_call(cid);=0A=
}=0A=
=0A=
/**=0A=
 * Add company=0A=
 */=0A=
function add_company(){=0A=
    mode =3D 'company';=0A=
    editing =3D 0;=0A=
    if ($('company_table').visible() && show_career !=3D 1) {=0A=
        $('company_table').hide();=0A=
    }=0A=
    else {=0A=
        $('company_table').show();=0A=
        $("country_id_company").options.length =3D 1;=0A=
        $("country_id_company").options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
        career_ajax_geo_call(1);=0A=
    }=0A=
    switchStarByDisable('leaveyear_' + mode, 'leaveyear_star_' + mode);=0A=
}=0A=
=0A=
/**=0A=
 * Fill company=0A=
 * @param {String} id=0A=
 * @param {Object} obj=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 */=0A=
function FillCompany(id, obj, names, ids){=0A=
    //        list=3D$('company_name_'+id);=0A=
=0A=
    //  if (!names.length) {=0A=
    //      list.disabled=3D1;=0A=
    //      list.options.length=3D1;=0A=
    //      list.options[0].value=3D'';=0A=
    //      list.options[0].text=3D'';=0A=
    //  } else {=0A=
    //      list.disabled=3D0;=0A=
    //      list.options.length=3Dnames.length+1;=0A=
    //      list.options[0].value=3D'';=0A=
    //      for (i=3D0;i<names.length;i++) {=0A=
    //          list.options[i+1].text=3Dnames[i];=0A=
    //          list.options[i+1].value=3Dids[i];=0A=
    //      }=0A=
=0A=
=0A=
=0A=
    if (typeof(dynamic_ab['ab_compose_' + id]) =3D=3D 'object') {=0A=
        var div =3D dynamic_ab['ab_compose_' + id].ab.parentNode;=0A=
        div.parentNode.removeChild(div);=0A=
        dynamic_ab['ab_compose_' + id] =3D undefined;=0A=
    }=0A=
    dynamic_ab['ab_compose_' + id + '_items'] =3D names;=0A=
=0A=
    //      // FillAB('company', id);=0A=
    //  }=0A=
=0A=
    // ab_keyup(LoadCompaniesObject, 1, LoadCompaniesEvent);=0A=
=0A=
    CompaniesLoaded[id - 1] =3D true;=0A=
    RequestSent[id - 1] =3D false;=0A=
=0A=
    var ab =3D ab_get(obj);=0A=
    ab.draw();=0A=
    if (ab.found) {=0A=
        ab.show();=0A=
        ab.movetop();=0A=
    }=0A=
=0A=
    ab_keyup(obj, LoadCompaniesEvent[id - 1]);=0A=
=0A=
}=0A=
=0A=
/**=0A=
 * Load companies=0A=
 * @param {Object} obj=0A=
 * @param {String} id=0A=
 * @param {String} e=0A=
 */=0A=
function LoadCompanies(obj, id, e){=0A=
    if (editing) {=0A=
        suff =3D '_edit';=0A=
    }=0A=
    else {=0A=
        suff =3D '';=0A=
    }=0A=
    if (obj.value.length < 3) {=0A=
        if (CompaniesLoaded[id - 1]) {=0A=
            // alert('no companies');=0A=
            CompaniesLoaded[id - 1] =3D false;=0A=
            var ab =3D ab_get(obj, id);=0A=
            ab.hide();=0A=
        }=0A=
    }=0A=
    else {=0A=
        if (!RequestSent[id - 1]) {=0A=
            if (CompaniesLoaded[id - 1])=0A=
                return ab_keyup(obj, e);=0A=
            if (LoadedCompaniesPrefix[id - 1].length > 0 && =
LoadedCompaniesPrefix[id - 1] =3D=3D obj.value.length) {=0A=
                CompaniesLoaded[id - 1] =3D true;=0A=
                return ab_keyup(obj, e);=0A=
            }=0A=
            else {=0A=
                //alert('loading: '+obj.value);=0A=
                $('ab_compose_' + id).disable =3D '1';=0A=
                RequestSent[id - 1] =3D true;=0A=
                LoadCompaniesObject[id - 1] =3D obj;=0A=
                LoadCompaniesEvent[id - 1] =3D e;=0A=
                LoadedCompaniesPrefix[id - 1] =3D obj.value;=0A=
                ajax_call('perl_get_company', $F('city_id_company' + =
suff), $F('ab_compose_' + id), function(names, ids){=0A=
                    FillCompany(id, obj, names, ids)=0A=
                });=0A=
            }=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
//function career_show_search_input(type, id){=0A=
//    $('ab_compose_' + id).value =3D '';=0A=
//    $(type + '_search_' + id).style.display =3D 'block';=0A=
//    $('choose_other_' + id).style.display =3D 'none';=0A=
//    RequestSent[id - 1] =3D false;=0A=
//    CompaniesLoaded[id - 1] =3D false;=0A=
//    LoadedCompaniesPrefix[id - 1] =3D '';=0A=
//=0A=
//    return false;=0A=
//}=0A=
=0A=
//function hide_search_input(type, id){=0A=
//    $('ab_compose_' + id).value =3D '';=0A=
//    $(type + '_search_' + id).style.display =3D 'none';=0A=
//    $('choose_other_' + id).style.display =3D 'block';=0A=
//}=0A=
=0A=
/*=0A=
 * {change-photo.tmpl}=0A=
 */=0A=
/**=0A=
 * Change photo AJAX call=0A=
 * @return {Boolean}=0A=
 */=0A=
function change_photo_ajax_call(){=0A=
    var args =3D change_photo_ajax_call.arguments;=0A=
    var func_name =3D args[0];=0A=
    var func_args =3D [];=0A=
    var callback;=0A=
    var callback_object;=0A=
    func_args[0] =3D PhotoEmail; //hack to get photouser in ajax calls=0A=
    for (var i =3D 1; i < args.length; i++) {=0A=
        if ((typeof(args[i]) !=3D "undefined") && (args[i].constructor =
=3D=3D Function)) {=0A=
            callback =3D args[i];=0A=
            if (args.length > i + 1) {=0A=
                callback_object =3D args[i + 1];=0A=
            }=0A=
            break;=0A=
        }=0A=
        else {=0A=
            func_args[func_args.length] =3D args[i];=0A=
        }=0A=
    }=0A=
    var pos =3D ajax_requests.length;=0A=
    var request =3D new AjaxRequest("POST", 'http://' + MyMailHost + =
'/cgi-bin/photo/ajax', func_name, func_args, callback, callback_object);=0A=
    ajax_requests[pos] =3D request;=0A=
    if (!request.send()) {=0A=
        ajax_requests.splice(ajax_requests.length - 1, 1);=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        return true;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Set photo as main=0A=
 * @param {String} oldMainAvatarId=0A=
 * @param {String} oldMainAvatarCount=0A=
 */=0A=
function photo_make_main(oldMainAvatarId, oldMainAvatarCount){=0A=
    if ($('change_main_' + MainAvatarId))=0A=
        $('change_main_' + MainAvatarId).update("<a href=3D\"#\" =
onclick=3D\"change_photo_ajax_call('perl_set_avatar'," + MainAvatarId + =
"," + MainAvatarCount + ",setAvatarCallback); return =
false;\">=D1=E4=E5=EB=E0=F2=FC =EE=F1=ED=EE=E2=ED=FB=EC</a>");=0A=
    MainAvatarId =3D oldMainAvatarId;=0A=
    if ($('bordForVertId_' + MainAvatarCount))=0A=
        $('bordForVertId_' + MainAvatarCount).className =3D =
'avatar120_photo';=0A=
    MainAvatarCount =3D oldMainAvatarCount;=0A=
}=0A=
=0A=
/**=0A=
 * Set avatar callback function=0A=
 * @param {String} isSuccess=0A=
 * @param {String} newavatarId=0A=
 * @param {String} Count=0A=
 * @param {String} errorText=0A=
 */=0A=
function setAvatarCallback(isSuccess, newavatarId, Count, errorText){=0A=
    if (!isSuccess) {=0A=
        alert('=CE=F8=E8=E1=EA=E0 : ' + errorText);=0A=
    }=0A=
    else {=0A=
        //alert(Count);=0A=
        $('change_main_' + =
newavatarId).update('<span>=CE=F1=ED=EE=E2=ED=EE=E5 =
=F4=EE=F2=EE</span>');=0A=
        $('bordForVertId_' + Count).className =3D 'avatar120_photo_best';=0A=
        $('main_avatar').style.backgroundImage =3D =
'url(http://avt.foto.mail.ru' + ActiveDir + '_avatar180?' + newavatarId =
+ ')';=0A=
        photo_make_main(newavatarId, Count);=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {classmates.tmpl}=0A=
 */=0A=
/**=0A=
 * Change study type=0A=
 * @param {Object} sel=0A=
 */=0A=
function classmates_changeStudyType(sel){=0A=
    var typeArray =3D ["=D8=EA=EE=EB=E0", "=CA=EE=EB=EB=E5=E4=E6 =
=E8=EB=E8 =CF=D2=D3", "=C2=D3=C7"];=0A=
    var cross =3D ["0", "0", "0", "1", "2"];=0A=
    val =3D cross[sel.value];=0A=
    classmates_handleGeoLink();=0A=
    $('institute_other').hide();=0A=
    $("studyTypeId").update(typeArray[val]);=0A=
    $("univDataId").style.display =3D (val !=3D 0) ? "" : "none";=0A=
    $("univYearId").style.display =3D (val !=3D 0) ? "" : "none";=0A=
    $("schoolDataId").style.display =3D (val =3D=3D 0) ? "" : "none";=0A=
    $("fakultetId").style.display =3D (val =3D=3D 0) ? "none" : "";=0A=
    $("kafedraId").style.display =3D (val =3D=3D 2) ? "" : "none";=0A=
}=0A=
=0A=
/**=0A=
 * Reset classmates form=0A=
 * @param {String} level=0A=
 */=0A=
function classmates_form_empty(level){=0A=
    if (level < 2) {=0A=
        $('region_id').disable();=0A=
        $('region_id').options.length =3D 1;=0A=
        $('region_id').options[0].value =3D '';=0A=
        $('region_id').options[0].text =3D '';=0A=
    }=0A=
    if (level < 3) {=0A=
        $('city_id').disable();=0A=
        $('city_id').options.length =3D 1;=0A=
        $('city_id').options[0].value =3D '';=0A=
        $('city_id').options[0].text =3D '';=0A=
    }=0A=
    if (level < 4) {=0A=
        $('institute_id').disable();=0A=
        $('institute_id').options.length =3D 1;=0A=
        $('institute_id').options[0].value =3D '';=0A=
        $('institute_id').options[0].text =3D '';=0A=
    }=0A=
    if (level < 5 && $('type').value !=3D 1) {=0A=
        $('faculty_id').disable();=0A=
        $('faculty_id').options.length =3D 1;=0A=
        $('faculty_id').options[0].value =3D '';=0A=
        $('faculty_id').options[0].text =3D '';=0A=
    }=0A=
    if (level < 6 && $('type').value =3D=3D 4) {=0A=
        $('subfaculty_id').disable();=0A=
        $('subfaculty_id').options.length =3D 1;=0A=
        $('subfaculty_id').options[0].value =3D '';=0A=
        $('subfaculty_id').options[0].text =3D '';=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function classmates_handleGeoLink(){=0A=
    switch ($('type').value) {=0A=
        case '1':=0A=
            _show =3D 'school';=0A=
            break;=0A=
        case '3':=0A=
            _show =3D 'ssuz';=0A=
            break;=0A=
        case '4':=0A=
            _show =3D 'institute';=0A=
            break;=0A=
        default:=0A=
            _show =3D 'school';=0A=
    }=0A=
    geo_id =3D $F('city_id') ? $F('city_id') : ($F('country_id') ? =
$F('country_id') : '');=0A=
    $('geo_azer_href').href =3D '/my/history?show_' + _show + =
'=3D1&add_geo_id=3D' + geo_id;=0A=
}=0A=
=0A=
/**=0A=
 * Fill classmates geo=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 * @param {String} type=0A=
 * @param {String} level=0A=
 * @param {String} special=0A=
 */=0A=
function classmates_FillGeo(names, ids, type, level, special){=0A=
    $('institute_other').hide();=0A=
    if (type =3D=3D 2) {=0A=
        list =3D $('region_id');=0A=
        //$('region_id').disabled=3D0;=0A=
        $('city_id').disable();=0A=
        $('city_id').options.length =3D 1;=0A=
        $('city_id').options[0].value =3D '';=0A=
        $('city_id').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
    }=0A=
    else {=0A=
        //if (type=3D=3D3) {=0A=
        if (level !=3D 3) { // Not a Russia, disabling region menu=0A=
            $('region_id').options.length =3D 1;=0A=
            $('region_id').options[0].value =3D '';=0A=
            $('region_id').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
            $('region_id').disable();=0A=
        }=0A=
        //$('city_id').disabled=3D0;=0A=
        list =3D $('city_id');=0A=
    }=0A=
    if (names.length) {=0A=
        list.enable();=0A=
    }=0A=
    else {=0A=
        classmates_handleGeoLink();=0A=
        $('othercity').show();=0A=
        return;=0A=
    }=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        if (special > 0) {=0A=
            list.options[i + 1].style.fontWeight =3D "bold";=0A=
            special--;=0A=
        }=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
    if (type =3D=3D 1 || (type =3D=3D 3 && is_capital =3D=3D 1))//(set =
default country -> Russia) OR (set default city -> capital)=0A=
    {=0A=
        list.selectedIndex =3D 1;=0A=
        list.onchange();=0A=
    }=0A=
    if (need_switch_star) {=0A=
        classmates_switchStarOfFieldCallback();=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Fill classmates studies=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 */=0A=
function classmates_FillStudies(names, ids){=0A=
    list =3D $('institute_id');=0A=
    if (!names.length) {=0A=
        list.disable();=0A=
        list.options.length =3D 1;=0A=
        list.options[0].value =3D '';=0A=
        list.options[0].text =3D '';=0A=
        switch ($F('type')) {=0A=
            case '1':=0A=
                _show =3D 'school';=0A=
                break;=0A=
            case '3':=0A=
                _show =3D 'ssuz';=0A=
                break;=0A=
            case '4':=0A=
                _show =3D 'institute';=0A=
                break;=0A=
            default:=0A=
                _show =3D 'school';=0A=
        }=0A=
        geo_id =3D $F('city_id') ? $F('city_id') : '';=0A=
        $('inst_azer_href').href =3D '/my/history?show_' + _show + =
'=3D1&add_geo_id=3D' + geo_id;=0A=
        $('institute_other').show();=0A=
        return;=0A=
    }=0A=
    list.enable();=0A=
    $('institute_other').hide();=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Fill classmates departments=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 */=0A=
function classmates_FillDepartments(names, ids){=0A=
    list =3D $("faculty_id");=0A=
    if (!names.length) {=0A=
        list.disable();=0A=
        list.options.length =3D 1;=0A=
        list.options[0].value =3D '';=0A=
        list.options[0].text =3D '';=0A=
        return;=0A=
    }=0A=
    list.enable();=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=CB=FE=E1=EE=E9';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Fill classmates kafedras=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 */=0A=
function classmates_FillKafedra(names, ids){=0A=
    list =3D $("subfaculty_id");=0A=
    if (!names.length) {=0A=
        list.disable();=0A=
        list.options.length =3D 1;=0A=
        list.options[0].value =3D '';=0A=
        list.options[0].text =3D '';=0A=
        return;=0A=
    }=0A=
    list.enable();=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=CB=FE=E1=E0=FF';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} formName=0A=
 * @param {String} fieldName=0A=
 * @param {String} errorText=0A=
 * @return {String}=0A=
 */=0A=
function classmates_CheckFieldByNull(formName, fieldName, errorText){=0A=
    if (formName.elements[fieldName].value =3D=3D null || =
formName.elements[fieldName].value =3D=3D undefined || =
formName.elements[fieldName].value =3D=3D "") {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
//function classmates_set_mode(v){=0A=
//    v =3D parseInt(v);=0A=
//    switch (v) {=0A=
//        case 1:=0A=
//            mode =3D 'school';=0A=
//            break;=0A=
//        case 3:=0A=
//            mode =3D 'ssuz';=0A=
//            break;=0A=
//        case 4:=0A=
//            mode =3D 'vuz';=0A=
//            break;=0A=
//    }=0A=
//}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} formName=0A=
 * @return {Boolean}=0A=
 */=0A=
function classmates_CheckFormByNull(formName){=0A=
    var errors =3D "";=0A=
    var institute_field_name =3D "=D8=CA=CE=CB=C0";=0A=
    var start_year =3D "=CF=CE=D8=A8=CB =C2 =CF=C5=D0=C2=DB=C9 =
=CA=CB=C0=D1=D1";=0A=
=0A=
    if (mode =3D=3D 'ssuz') {=0A=
        institute_field_name =3D "=CA=CE=CB=CB=C5=C4=C6 =C8=CB=C8 =
=CF=D2=D3";=0A=
        start_year =3D "=CD=C0=D7=C0=CB =D3=D7=C8=D2=DC=D1=DF =C2";=0A=
    }=0A=
    if (mode =3D=3D 'vuz') {=0A=
        institute_field_name =3D "=C2=D3=C7";=0A=
        start_year =3D "=CD=C0=D7=C0=CB =D3=D7=C8=D2=DC=D1=DF =C2";=0A=
    }=0A=
=0A=
    errors +=3D classmates_CheckFieldByNull(formName, 'country_id', =
"=CF=EE=EB=E5 =D1=D2=D0=C0=CD=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    if (formName.elements['region_id'].disabled !=3D 1) {=0A=
        errors +=3D classmates_CheckFieldByNull(formName, 'region_id', =
"=CF=EE=EB=E5 =D0=C5=C3=C8=CE=CD =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
    errors +=3D classmates_CheckFieldByNull(formName, 'city_id', =
"=CF=EE=EB=E5 =C3=CE=D0=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    errors +=3D classmates_CheckFieldByNull(formName, 'institute_id', =
"=CF=EE=EB=E5 " + institute_field_name + " =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
=0A=
    if (formName.elements['start_year'] !=3D '' && =
isNaN(formName.elements['start_year'].value) =3D=3D true) {=0A=
        errors +=3D "=C2 =CF=EE=EB=E5 " + start_year + " =EC=EE=E6=ED=EE =
=E2=E2=EE=E4=E8=F2=FC =F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB\n";=0A=
    }=0A=
    if (formName.elements['start_course'] !=3D '' && =
isNaN(formName.elements['start_course'].value) =3D=3D true) {=0A=
        errors +=3D "=C2 =CF=EE=EB=E5 =CA=D3=D0=D1 =EC=EE=E6=ED=EE =
=E2=E2=EE=E4=E8=F2=FC =F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB\n";=0A=
    }=0A=
=0A=
    if (errors !=3D null && errors !=3D "") {=0A=
        alert(errors);=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        $('but_find').disable();=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} fieldName=0A=
 * @param {String} starName=0A=
 */=0A=
function classmates_switchStarOfField(fieldName, starName){=0A=
    star_field =3D fieldName;=0A=
    star_name =3D starName;=0A=
    need_switch_star =3D true;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function classmates_switchStarOfFieldCallback(){=0A=
    if (!$(star_field).visible()) {=0A=
        $(star_name).className =3D 'red starr';=0A=
    }=0A=
    else {=0A=
        $(star_name).className =3D 'white';=0A=
    }=0A=
    need_switch_star =3D false;=0A=
}=0A=
=0A=
/**=0A=
 * Check studied here=0A=
 */=0A=
function classmates_checkStudiedHere(){=0A=
    var show =3D 1;=0A=
    if (!$F('country_id'))=0A=
        show =3D 0;=0A=
    if ($F('country_id') =3D=3D 24 && !$F('region_id'))=0A=
        show =3D 0;=0A=
    if (!$F('city_id'))=0A=
        show =3D 0;=0A=
    if (!$F('institute_id'))=0A=
        show =3D 0;=0A=
    if (!$F('start_year_id'))=0A=
        show =3D 0;=0A=
/*  if ($F('type') !=3D 1) {=0A=
        if (!$F('start_course_id'))=0A=
            show =3D 0;=0A=
    }=0A=
*/=0A=
	if(document.getElementById('me_studied_here_tab')) {=0A=
    	$('me_studied_here_tab').style.display =3D show ? 'block' : 'none';=0A=
    	$('me_studied_here_tab').disabled =3D 1 - show;=0A=
	}=0A=
}=0A=
=0A=
/*=0A=
 * {additem.tmpl}=0A=
 */=0A=
/**=0A=
 * GENERATE ID=0A=
 * @param {String} oid=0A=
 * @return {String}=0A=
 */=0A=
function items_gid(oid){=0A=
    if (oid) {=0A=
        var add =3D items_gadd(oid);=0A=
        if (editing) {=0A=
            return oid + "_edit" + add;=0A=
        }=0A=
        else {=0A=
            return oid + "_ins" + add;=0A=
        }=0A=
    }=0A=
    else {=0A=
        return editing ? 'edit' : 'ins';=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Generate postfix for items_gid=0A=
 * @see items_gid=0A=
 * @param {String} oid=0A=
 * @return {String}=0A=
 */=0A=
function items_gadd(oid){=0A=
    if (oid) {=0A=
        if (oid.match(/^brend/)) {=0A=
            return '_b'=0A=
        }=0A=
        if (oid.match(/^model/)) {=0A=
            return '_m'=0A=
        }=0A=
        if (oid.match(/^modification/)) {=0A=
            return '_m2'=0A=
        }=0A=
    }=0A=
    return '';=0A=
}=0A=
=0A=
=0A=
/**=0A=
 * Disable submit=0A=
 */=0A=
function items_disable_submit(){=0A=
    =
$('BlockSubmit').getElementsBySelector('input').each(function(el){el.disa=
ble()});=0A=
    disableness =3D 1;=0A=
}=0A=
=0A=
/**=0A=
 * Enable submit=0A=
 */=0A=
function items_enable_submit(){=0A=
    if (disableness =3D=3D 1)=0A=
        =
$('BlockSubmit').getElementsBySelector('input').each(function(el){el.disa=
ble()});=0A=
    disableness =3D 0;=0A=
}=0A=
=0A=
/**=0A=
 * FILL LIST=0A=
 * @param {String} oid=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 * @param {String} sid=0A=
 */=0A=
function items_FillList(oid, names, ids, sid){=0A=
    var list =3D $(items_gid(oid));=0A=
    if (!list)=0A=
        throw 'Error items_FillList object: ' + items_gid(oid) + ' not =
found';=0A=
    // Used only for Brend, Model, Modification=0A=
    list.disabled =3D false;=0A=
    var nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
    if (nl !=3D '0') {=0A=
        for (var i =3D 0; i < nl; i++) {=0A=
            var index =3D list.options.length;=0A=
            list.options[index] =3D new Option(names[i], ids[i]);=0A=
            if (ids[i] =3D=3D sid)=0A=
                list.options[index].selected =3D true;=0A=
        }=0A=
    }=0A=
    var elem =3D $(items_gid(oid) + '_other');=0A=
    if (elem && elem.style)=0A=
        elem.show();=0A=
    list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
    return;=0A=
}=0A=
=0A=
/**=0A=
 * FORM EMPTY=0A=
 * @param {String} level=0A=
 */=0A=
function items_form_empty(level){=0A=
    if (level < 1) {=0A=
        var id =3D $('brend_name');=0A=
        //        $(items_gid('position')).value=3D'';=0A=
        $('brend_name_other').hide();=0A=
    }=0A=
    if (level < 2) {=0A=
        var id =3D $('model_name');=0A=
        id.options.length =3D 1;=0A=
        id.options[0].value =3D '';=0A=
        id.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
        id.selectedIndex =3D 0;=0A=
        id.disable();=0A=
        $('model_name_other').hide();=0A=
    }=0A=
    if (level < 3) {=0A=
        var id =3D $('modification_name');=0A=
        id.options.length =3D 1;=0A=
        id.options[0].value =3D '';=0A=
        id.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
        id.selectedIndex =3D 0;=0A=
        id.disable();=0A=
        $('modification_name_other').hide();=0A=
    }=0A=
}=0A=
=0A=
/* AJAX CALLS =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
*/=0A=
=0A=
/**=0A=
 * AJAX ITEM CALL=0A=
 * @param {String} parent_id=0A=
 * @param {String} type_name=0A=
 * @param {String} category_name=0A=
 */=0A=
function items_ajax_item_call(parent_id, type_name, category_name){=0A=
    items_disable_submit();=0A=
    ajax_call('perl_get_items_dictionary', parent_id, type_name, =
category_name, items_FillItemNames);=0A=
}=0A=
=0A=
/**=0A=
 * AJAX ITEM SEARCH CALL=0A=
 * @param {String} parent_id=0A=
 * @param {String} type_name=0A=
 * @param {String} category_name=0A=
 * @param {String} search_pattern=0A=
 */=0A=
function items_ajax_item_search_call(parent_id, type_name, =
category_name, search_pattern){=0A=
    items_disable_submit();=0A=
    ajax_call('perl_get_items_dictionary', parent_id, type_name, =
category_name, search_pattern, FillAB);=0A=
}=0A=
=0A=
/* FILLS =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D */=0A=
=0A=
/**=0A=
 * FILL GEO=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 * @param {String} type=0A=
 */=0A=
function items_FillItemNames(names, ids, type){=0A=
    //alert('items_FillItemNames');=0A=
    var no_list =3D 0;=0A=
    var list =3D $(type + '_name');=0A=
    if (editing) {=0A=
        var td_a =3D type + '_star_edit';=0A=
    }=0A=
    else {=0A=
        var td_a =3D type + '_star_add';=0A=
    }=0A=
    if (type =3D=3D 'brend') {=0A=
        items_form_empty(1);=0A=
        $('brend_name').enable();=0A=
        $('model_name').disable();=0A=
        $('modification_name').disable();=0A=
        $('model_name').options.length =3D 0;=0A=
        if (!editing)=0A=
            $('model_name').options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        $(td_a).update('<b class=3D"red">*</b>');=0A=
    }=0A=
    else=0A=
        if (type =3D=3D 'model') {=0A=
            items_form_empty(2);=0A=
            $('model_name').enable();=0A=
            $('modification_name').disable();=0A=
            $('modification_name').options.length =3D 0;=0A=
            if (!editing)=0A=
                $('modification_name').options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
            $(td_a).update('<b class=3D"red">*&nbsp;</b>');=0A=
        }=0A=
        else=0A=
            if (type =3D=3D 'modification') {=0A=
                items_form_empty(3);=0A=
                $('modification_name').enable();=0A=
                $(td_a).update('<img =
src=3D"http://img0.imgsmail.ru/0.gif" width=3D"16" height=3D"15" =
alt=3D"" class=3D"load">');=0A=
            }=0A=
    items_enable_submit();=0A=
=0A=
    var nl =3D 0;=0A=
    list.options.length =3D 0;=0A=
    var addon =3D 0;=0A=
    list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
    addon =3D 1;=0A=
    if (names !=3D undefined) {=0A=
        nl =3D names.length;=0A=
        for (var i =3D 0; i < nl; i++) {=0A=
            list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
        }=0A=
    }=0A=
    else {=0A=
        if (type =3D=3D 'brend') {=0A=
            $('brend_name_other').show();=0A=
            $('model_name_other').show();=0A=
            $('model_name').options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
            $('model_name').enable();=0A=
            $('modification_name_other').show();=0A=
            $('modification_name').options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
            $('modification_name').enable();=0A=
        }=0A=
        else=0A=
            if (type =3D=3D 'model') {=0A=
                $('model_name_other').show();=0A=
                $('modification_name_other').show();=0A=
                $('modification_name').options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
                $('modification_name').enable();=0A=
            }=0A=
    }=0A=
    list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
    if (window[type + '_name_dd'])=0A=
        window[type + '_name_dd'].init();=0A=
}=0A=
=0A=
/**=0A=
 * FILL EDIT FORM -- !!!!!!TODO!!!!!=0A=
 * @param {String} aid=0A=
 * @param {Array} brend_names=0A=
 * @param {Array} brend_ids=0A=
 * @param {String} brend_id=0A=
 * @param {Array} model_names=0A=
 * @param {Array} model_ids=0A=
 * @param {String} model_id=0A=
 * @param {Array} modification_names=0A=
 * @param {Array} modification_ids=0A=
 * @param {String} modification_id=0A=
 * @param {String} ProductionYear=0A=
 * @param {String} BuyYear=0A=
 * @param {String} SellYear=0A=
 * @param {String} BuyMonth=0A=
 * @param {String} SellMonth=0A=
 * @param {String} current_time=0A=
 */=0A=
function items_FillEditForm(aid, brend_names, brend_ids, brend_id, =
model_names, model_ids, model_id, modification_names, modification_ids, =
modification_id, ProductionYear, BuyYear, SellYear, BuyMonth, SellMonth, =
current_time){=0A=
    if (aid =3D=3D old_aid)=0A=
        return;=0A=
=0A=
    var cont =3D $("edit_form_container_" + aid);=0A=
    var old_cont =3D $("edit_form_container_" + old_aid);=0A=
    var form =3D $("edit_form");=0A=
    editing =3D 1;=0A=
    old_cont.hide();=0A=
    cont.update(old_cont.innerHTML);=0A=
    old_cont.update('');=0A=
    $('update_aid').value =3D aid;=0A=
    old_aid =3D aid;=0A=
=0A=
    $(items_gid('brend_id')).hide();=0A=
    $(items_gid('brend_id')).value =3D '';=0A=
    $(items_gid('model_id')).hide();=0A=
    $(items_gid('model_id')).value =3D '';=0A=
    $(items_gid('modification_id')).hide();=0A=
    $(items_gid('modification_id')).value =3D '';=0A=
    $('current_time_edit').checked =3D false;=0A=
=0A=
    if (brend_names.length)=0A=
        items_FillList('brend_id', brend_names, brend_ids, brend_id);=0A=
    if (model_names.length)=0A=
        items_FillList('model_id', model_names, model_ids, model_id);=0A=
    if (modification_names.length)=0A=
        items_FillList('modification_id', modification_names, =
modification_ids, modification_id);=0A=
=0A=
    if (period_from) {=0A=
        var from =3D $('period_from_edit').options;=0A=
        for (var i =3D 0; i < from.length; i++) {=0A=
            if (from[i].value =3D=3D period_from) {=0A=
                from[i].selected =3D true;=0A=
                break;=0A=
            }=0A=
        }=0A=
    }=0A=
    if (period_to) {=0A=
        var to =3D $('toTime_edit').options;=0A=
        for (var i =3D 0; i < to.length; i++) {=0A=
            if (to[i].value =3D=3D period_to) {=0A=
                to[i].selected =3D true;=0A=
                break;=0A=
            }=0A=
        }=0A=
    }=0A=
    if (current_time) {=0A=
        $('current_time_edit').checked =3D current_time;=0A=
        $('toTime_edit').disable();=0A=
    }=0A=
    if (house_names.length) {=0A=
        for (var i =3D 0; i < house_ids.length; i++) {=0A=
            if (house_ids[i] =3D=3D house_id) {=0A=
                $('house_edit').value =3D house_names[i];=0A=
                break;=0A=
            }=0A=
        }=0A=
    }=0A=
    var activity =3D $('activity_id_edit').options;=0A=
    for (var i =3D 0; i < activity.length; i++) {=0A=
        if (activity[i].value =3D=3D type) {=0A=
            activity[i].selected =3D true;=0A=
            if (activity[i].value =3D=3D 0) {=0A=
                $('activity_name_edit').value =3D type_own;=0A=
                $('activity_name_edit').show();=0A=
            }=0A=
            break;=0A=
        }=0A=
    }=0A=
    cont.show();=0A=
}=0A=
=0A=
/* ONCHANGE =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D */=0A=
=0A=
/**=0A=
 *=0A=
 * @param {Object} obj=0A=
 */=0A=
function items_onChangeBrend(obj){=0A=
    var value =3D obj.value;=0A=
    items_form_empty(1);=0A=
    $('model_name').disable();=0A=
    $('model_name').options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    if (editing) {=0A=
        var td_a =3D 'model_star_edit';=0A=
    }=0A=
    else {=0A=
        var td_a =3D 'model_star_add';=0A=
    }=0A=
    Element.hide('brend_name_other');=0A=
    Element.hide('model_name_other');=0A=
    $('model_name_dd').value =3D '';=0A=
    $('modification_name_dd').value =3D '';=0A=
    Element.hide('modification_name_other');=0A=
    if (value && value !=3D 'other' && value !=3D 'other_select') {=0A=
        items_ajax_item_call(obj.value, 'model');=0A=
        $(td_a).update('<img =
src=3D"http://img1.imgsmail.ru/r/my/loading.gif" width=3D"16" =
height=3D"15" alt=3D"" class=3D"load">');=0A=
        $('model_name').options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
    else {=0A=
        if (value =3D=3D 'other_select' || value =3D=3D 'other') {=0A=
            if (value =3D=3D 'other_select') {=0A=
                $('brend_name_other').show();=0A=
                $('brend_name_dd').value =3D '';=0A=
                $('brend_name_dd').focus();=0A=
            }=0A=
            else=0A=
                $('brend_name_dd').value =3D =
obj.options[obj.selectedIndex].text;=0A=
            $('model_name').options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
            $('model_name').enable();=0A=
            Element.show('model_name_other');=0A=
            $('modification_name').options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
            $('modification_name').enable();=0A=
            Element.show('modification_name_other');=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {Object} obj=0A=
 */=0A=
function items_onChangeModel(obj){=0A=
    var value =3D obj.value;=0A=
    items_form_empty(2);=0A=
    $('modification_name').disable();=0A=
    $('modification_name').options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    if (editing) {=0A=
        var td_a =3D 'modification_star_edit';=0A=
    }=0A=
    else {=0A=
        var td_a =3D 'modification_star_add';=0A=
    }=0A=
    $('model_name_other').hide();=0A=
    $('modification_name_other').hide();=0A=
    $('modification_name_dd').value =3D '';=0A=
    if (value && value !=3D 'other' && value !=3D 'other_select') {=0A=
        items_ajax_item_call(obj.value, 'modification');=0A=
        $(td_a).update('<img =
src=3D"http://img2.imgsmail.ru/r/my/loading.gif" width=3D"16" =
height=3D"15" alt=3D"" class=3D"load">');=0A=
        $('modification_name').options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
    else {=0A=
        if (value =3D=3D 'other_select' || value =3D=3D 'other') {=0A=
            if (value =3D=3D 'other_select') {=0A=
                $('model_name_other').show();=0A=
                $('model_name_dd').value =3D '';=0A=
                $('model_name_dd').focus();=0A=
            }=0A=
            else=0A=
                $('model_name_dd').value =3D =
obj.options[obj.selectedIndex].text;=0A=
            $('modification_name').options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other_select');=0A=
            $('modification_name').enable();=0A=
            $('modification_name_other').show();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {Object} obj=0A=
 */=0A=
function items_onChangeModification(obj){=0A=
    var value =3D obj.value;=0A=
    Element.hide('modification_name_other');=0A=
    if (value && value =3D=3D 'other_select') {=0A=
        Element.show('modification_name_other');=0A=
        $('modification_name_dd').value =3D '';=0A=
        $('modification_name_dd').focus();=0A=
    }=0A=
    else=0A=
        $('modification_name_dd').value =3D =
obj.options[obj.selectedIndex].text;=0A=
    ;=0A=
}=0A=
=0A=
/**=0A=
 * DISABLE SELLDATE=0A=
 */=0A=
function disable_selldate(){=0A=
    if (document.forms['item_edit'].elements['SellYear'].disabled =3D=3D =
0 && document.forms['item_edit'].elements['SellMonth'].disabled =3D=3D =
0) {=0A=
        document.forms['item_edit'].elements['SellMonth'].disabled =3D 1;=0A=
        document.forms['item_edit'].elements['SellYear'].disabled =3D 1;=0A=
    }=0A=
    else=0A=
        if (document.forms['item_edit'].elements['SellYear'].disabled =
=3D=3D 1 && document.forms['item_edit'].elements['SellMonth'].disabled =
=3D=3D 1) {=0A=
            document.forms['item_edit'].elements['SellMonth'].disabled =
=3D 0;=0A=
            document.forms['item_edit'].elements['SellYear'].disabled =
=3D 0;=0A=
        }=0A=
}=0A=
=0A=
function items_check_sub_but(){=0A=
    var type =3D $F('category');=0A=
    var en =3D false;=0A=
    switch(type){=0A=
        case 'Auto': if($F('ProductionYear')) en =3D true; break;=0A=
        case 'Other': if($F('item_name')) en =3D true; break;=0A=
        default: if($F('model_name')) en =3D true; break;=0A=
    };=0A=
    en ? $('submit_item').enable() : $('submit_item').disable();=0A=
}=0A=
=0A=
/**=0A=
 * Add item photo=0A=
 */=0A=
function items_add_photo(){=0A=
    if (popup)=0A=
        popup.close();=0A=
    popup =3D window.open('http://' + PhotoImagineHost + =
'/cgi-bin/photo/addphoto?items=3D1&My=3D1&Title=3D', 'add_pict', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
    if (popup)=0A=
        popup.focus();=0A=
}=0A=
=0A=
/**=0A=
 * Redraw items=0A=
 * @param {String} no_update=0A=
 */=0A=
function items_redraw(no_update){=0A=
    // Type=0A=
    var Type =3D '';=0A=
    if ($('type_wish') && $('type_wish').checked) {=0A=
        Type =3D 'Wish'=0A=
    };=0A=
    if ($('type_have') && $('type_have').checked) {=0A=
        Type =3D 'Have'=0A=
    };=0A=
    if ($('type_selling') && $('type_selling').checked) {=0A=
        Type =3D 'Selling'=0A=
    };=0A=
    if ($('type_presenting') && $('type_presenting').checked) {=0A=
        Type =3D 'Presenting'=0A=
    };=0A=
=0A=
    // Category=0A=
    var Category =3D 'Other';=0A=
    var list =3D $('category');=0A=
    for (i =3D 0; i < list.length; i++) {=0A=
        if (list[i].selected) {=0A=
            Category =3D list[i].value;=0A=
        }=0A=
    }=0A=
=0A=
    // Disabling all=0A=
    $('BlockDescription').hide();=0A=
    $('BlockLink').hide();=0A=
    $('BlockPrice').hide();=0A=
    $('BlockTags').hide();=0A=
=0A=
=0A=
    $('BlockName').hide();=0A=
    $('item_name').disable();=0A=
=0A=
    $('BlockBrend').hide();=0A=
    $('brend_name').disable();=0A=
    $('BlockModel').hide();=0A=
    $('model_name').disable();=0A=
=0A=
    $('BlockModification').hide();=0A=
    $('modification_name').disable();=0A=
    $('BlockProduction').hide();=0A=
    $('ProductionYear').disable();=0A=
=0A=
    $('BlockBuy').hide();=0A=
    $('BuyYear').disable();=0A=
    $('BuyMonth').disable();=0A=
    $('BlockSell').hide();=0A=
    $('SellYear').disable();=0A=
    $('SellMonth').disable();=0A=
    $('BlockCurrent').hide();=0A=
    $('current_time_id').disable();=0A=
=0A=
    //Enabling needed=0A=
    //// COMMON=0A=
    if (Type) {=0A=
        $('BlockDescription').show();=0A=
        $('BlockLink').show();=0A=
        $('BlockPrice').show();=0A=
        $('BlockTags').show();=0A=
    }=0A=
    //// OTHER=0A=
    if (Type && Category =3D=3D 'Other') {=0A=
        $('BlockName').show();=0A=
        $('item_name').enable();=0A=
    }=0A=
    //// ITEM=0A=
    if (Type && Category && Category !=3D 'Other') {=0A=
        $('BlockBrend').show();=0A=
        $('brend_name').enable();=0A=
        if (!no_update)=0A=
            items_ajax_item_call(0, 'brend', Category);=0A=
        $('BlockModel').show();=0A=
        if ($F('brend_name'))=0A=
            $('model_name').enable();=0A=
        Element.hide('brend_name_other');=0A=
    }=0A=
    //// AUTO=0A=
    if (Type && Category =3D=3D 'Auto') {=0A=
        $('BlockModification').show();=0A=
        if ($F('model_name'))=0A=
            $('modification_name').enable();=0A=
        $('BlockProduction').show();=0A=
        $('ProductionYear').enable();=0A=
        //// DATES=0A=
        if (Type !=3D 'Wish') {=0A=
            $('BlockBuy').show();=0A=
            $('BuyYear').enable();=0A=
            $('BuyMonth').enable();=0A=
            $('BlockSell').show();=0A=
            $('SellYear').enable();=0A=
            $('SellMonth').enable();=0A=
            $('BlockCurrent').show();=0A=
            $('current_time_id').enable();=0A=
        }=0A=
    }=0A=
    if ($F('brend_name'))=0A=
        $('brend_name').enable();=0A=
    if ($F('model_name'))=0A=
        $('modification_name').enable();=0A=
    if ($F('model_name'))=0A=
        $('modification_name').enable();=0A=
}=0A=
=0A=
/**=0A=
 * Count symbols=0A=
 */=0A=
function items_count_symbols(){=0A=
    num =3D $F('description_text').length;=0A=
    digit =3D num % 10;=0A=
    dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
    ent =3D '=CD=E0=E1=F0=E0=ED=EE';=0A=
    switch (digit) {=0A=
        case 1:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB';=0A=
            ent =3D '=CD=E0=E1=F0=E0=ED';=0A=
            break;=0A=
        case 2:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
        case 3:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
    }=0A=
    digit =3D num % 100;=0A=
    if (digit > 10 && digit < 20) {=0A=
        dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
        ent =3D '=CD=E0=E1=F0=E0=ED=EE';=0A=
    }=0A=
    $('text_symbols').update(ent + ': ' + num + ' ' + dig + ' =
(=EC=E0=EA=F1=E8=EC=F3=EC 500)');=0A=
    if (num > 500) {=0A=
        $('text_symbols').style.color =3D '#C00'=0A=
    }=0A=
    if (num <=3D 500) {=0A=
        $('text_symbols').style.color =3D '#999'=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {addwish.tmpl}=0A=
 */=0A=
/**=0A=
 * Add wish photo=0A=
 */=0A=
function wishes_add_photo(){=0A=
    if (popup)=0A=
        popup.close();=0A=
    popup =3D =
window.open('http://'+PhotoImagineHost+'/cgi-bin/photo/addphoto?items=3D1=
&My=3D1&Title=3D', 'add_pict', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
    if (popup)=0A=
        popup.focus();=0A=
}=0A=
=0A=
/**=0A=
 * Show need status=0A=
 */=0A=
function show_need_status(){=0A=
    //alert(document.forms['wish_edit'].elements['Status'].value);=0A=
    if (document.forms['wish_edit'].elements['Status'].value =3D=3D '1') =
{=0A=
        document.forms['wish_edit'].elements['Need'].disabled =3D false;=0A=
    }=0A=
    else {=0A=
        document.forms['wish_edit'].elements['Need'].disabled =3D true;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Count symbols=0A=
 */=0A=
function wishes_count_symbols(){=0A=
    num =3D $F('description_text').length;=0A=
    digit =3D num % 10;=0A=
    dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
    ent =3D '=CD=E0=E1=F0=E0=ED=EE';=0A=
    switch (digit) {=0A=
        case 1:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB';=0A=
            ent =3D '=CD=E0=E1=F0=E0=ED';=0A=
            break;=0A=
        case 2:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
        case 3:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
    }=0A=
    digit =3D num % 100;=0A=
    if (digit > 10 && digit < 20) {=0A=
        dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
        ent =3D '=CD=E0=E1=F0=E0=ED=EE';=0A=
    }=0A=
    $('text_symbols').update(ent + ': ' + num + ' ' + dig + ' =
(=EC=E0=EA=F1=E8=EC=F3=EC 500)');=0A=
    if (num > 500) {=0A=
        $('text_symbols').style.color =3D '#C00'=0A=
    }=0A=
    if (num <=3D 500) {=0A=
        $('text_symbols').style.color =3D '#CCC'=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {colleagues.tmpl}=0A=
 */=0A=
//function colleagues_changeStudyType(sel){=0A=
//    var typeArray =3D ["=D8=EA=EE=EB=E0", "=CA=EE=EB=EB=E5=E4=E6 =
=E8=EB=E8 =CF=D2=D3", "=C2=D3=C7"];=0A=
//    var cross =3D ["0", "0", "0", "1", "2"];=0A=
//    val =3D cross[sel.value];=0A=
//    $("studyTypeId").innerHTML =3D typeArray[val];=0A=
//    $("univDataId").style.display =3D (val !=3D 0) ? "" : "none";=0A=
//    $("univYearId").style.display =3D (val !=3D 0) ? "" : "none";=0A=
//    $("schoolDataId").style.display =3D (val =3D=3D 0) ? "" : "none";=0A=
//    $("fakultetId").style.display =3D (val =3D=3D 0) ? "none" : "";=0A=
//    $("kafedraId").style.display =3D (val =3D=3D 2) ? "" : "none";=0A=
//}=0A=
=0A=
/**=0A=
 * Reset colleagues form=0A=
 * @param {String} level=0A=
 */=0A=
=0A=
function colleagues_form_empty(level){=0A=
    if (level < 2) {=0A=
        $('RegionID').disable();=0A=
        $('RegionID').options.length =3D 1;=0A=
        $('RegionID').options[0].value =3D '';=0A=
        $('RegionID').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
    }=0A=
    if (level < 3) {=0A=
        $('city_id').disable();=0A=
        $('city_id').options.length =3D 1;=0A=
        $('city_id').options[0].value =3D '';=0A=
        $('city_id').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
    }=0A=
    if (level < 4) {=0A=
        $('company_name').disable();=0A=
        $('company_name').value =3D '=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Fill colleaguess geo=0A=
 * @param {Array} names=0A=
 * @param {Array} ids=0A=
 * @param {String} type=0A=
 * @param {String} level=0A=
 * @param {String} special=0A=
 */=0A=
function colleagues_FillGeo(names, ids, type, level, special){=0A=
    if (type =3D=3D 2) {=0A=
        list =3D $('RegionID');=0A=
        $('RegionID').enable();=0A=
        $('city_id').disable();=0A=
        $('city_id').options.length =3D 1;=0A=
        $('city_id').options[0].value =3D '';=0A=
        $('city_id').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
    }=0A=
    else {=0A=
        //if (type=3D=3D3) {=0A=
        if (level !=3D 3) { // Not a Russia, disabling region menu=0A=
            $('RegionID').options.length =3D 1;=0A=
            $('RegionID').options[0].value =3D '';=0A=
            $('RegionID').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
            $('RegionID').disable();=0A=
        }=0A=
        //$('city_id').disabled=3D0;=0A=
        list =3D $('city_id');=0A=
    }=0A=
    if (names.length) {=0A=
        list.enable();=0A=
    }=0A=
    else {=0A=
        geo_id =3D $F('city_id') ? $F('city_id') : ($F('country_id') ? =
$F('country_id') : '');=0A=
        $('geo_azer_href').href =3D =
'/my/career?show_career=3D1&add_geo_id=3D' + geo_id;=0A=
        $('othercity').show();=0A=
        return;=0A=
    }=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        if (special > 0) {=0A=
            list.options[i + 1].style.fontWeight =3D "bold";=0A=
            special--;=0A=
        }=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
    if (type =3D=3D 1 || (type =3D=3D 3 && is_capital =3D=3D 1))//(set =
default country -> Russia) OR (set default city -> capital)=0A=
    {=0A=
        list.selectedIndex =3D 1;=0A=
        list.onchange();=0A=
    }=0A=
    if (need_switch_star) {=0A=
        colleagues_switchStarOfFieldCallback();=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} formName=0A=
 * @param {String} fieldName=0A=
 * @param {String} errorText=0A=
 * @return {String}=0A=
 */=0A=
function colleagues_CheckFieldByNull(formName, fieldName, errorText){=0A=
    if (formName.elements[fieldName].value =3D=3D null || =
formName.elements[fieldName].value =3D=3D undefined || =
formName.elements[fieldName].value =3D=3D "") {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
//function colleagues_set_mode(v){=0A=
//    v =3D parseInt(v);=0A=
//    switch (v) {=0A=
//        case 1:=0A=
//            mode =3D 'company';=0A=
//            break;=0A=
//    }=0A=
//}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} formName=0A=
 * @return {Boolean}=0A=
 */=0A=
function colleagues_CheckFormByNull(formName){=0A=
    var errors =3D "";=0A=
    errors +=3D colleagues_CheckFieldByNull(formName, 'country_id', =
"=CF=EE=EB=E5 =D1=D2=D0=C0=CD=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    if (formName.elements['RegionID'].disabled !=3D 1) {=0A=
        errors +=3D colleagues_CheckFieldByNull(formName, 'RegionID', =
"=CF=EE=EB=E5 =D0=C5=C3=C8=CE=CD =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
    errors +=3D colleagues_CheckFieldByNull(formName, 'city_id', =
"=CF=EE=EB=E5 =C3=CE=D0=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    errors +=3D colleagues_CheckFieldByNull(formName, 'company_name', =
"=CF=EE=EB=E5 =CD=C0=C7=C2=C0=CD=C8=C5 =CA=CE=CC=CF=C0=CD=C8=C8 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
=0A=
    if (errors !=3D null && errors !=3D "") {=0A=
        alert(errors);=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        $('but_find').disable();=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} fieldName=0A=
 * @param {String} starName=0A=
 */=0A=
function colleagues_switchStarOfField(fieldName, starName){=0A=
    star_field =3D fieldName;=0A=
    star_name =3D starName;=0A=
    need_switch_star =3D true;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function colleagues_switchStarOfFieldCallback(){=0A=
    if ($(star_field).disabled =3D=3D 0) {=0A=
        $(star_name).className =3D 'red starr';=0A=
    }=0A=
    else {=0A=
        $(star_name).className =3D 'white';=0A=
    }=0A=
    need_switch_star =3D false;=0A=
}=0A=
=0A=
//function colleagues_switch_result(){=0A=
//    if ($('result_txt').innerHTML.match(/=D1=EA=F0=FB=F2=FC/)) {=0A=
//        $('result_txt').innerHTML =3D "=CF=EE=EA=E0=E7=E0=F2=FC =
=EF=E0=F0=E0=EC=E5=F2=F0=FB =EF=EE=E8=F1=EA=E0";=0A=
//        $('result_img_plus').style.display =3D "block";=0A=
//        $('result_img_minus').style.display =3D "none";=0A=
//        $('condition_table').style.display =3D "none";=0A=
//=0A=
//    }=0A=
//    else {=0A=
//        $('result_txt').innerHTML =3D "=D1=EA=F0=FB=F2=FC =
=EF=E0=F0=E0=EC=E5=F2=F0=FB =EF=EE=E8=F1=EA=E0";=0A=
//        $('result_img_plus').style.display =3D "none";=0A=
//        $('result_img_minus').style.display =3D "block";=0A=
//        $('condition_table').style.display =3D "block";=0A=
//    }=0A=
//    return false=0A=
//}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function colleagues_switch_result(){=0A=
    var show =3D 1;=0A=
    if (!$F('country_id'))=0A=
        show =3D 0;=0A=
    if (!$F('city_id'))=0A=
        show =3D 0;=0A=
    if (!$F('company_name'))=0A=
        show =3D 0;=0A=
    if (!$F('enteryear_company'))=0A=
        show =3D 0;=0A=
/*    if (!$F('entermonth_company'))=0A=
        show =3D 0;=0A=
*/=0A=
    if (!$('stillhere_company').checked) {=0A=
        if (!$F('leaveyear_company'))=0A=
            show =3D 0;=0A=
        /*if (!$F('leavemonth_company'))=0A=
            show =3D 0;*/=0A=
    }=0A=
	if(document.getElementById('enteryear_company').value =3D=3D '') {=0A=
		$('entermonth_company').disabled =3D true;=0A=
	} else {=0A=
		$('entermonth_company').disabled =3D false;=0A=
	}	=0A=
	if(document.getElementById('had_worked_table')) {=0A=
    	$('had_worked_table').style.display =3D show ? 'block' : 'none';=0A=
    	$('had_worked').disabled =3D 1 - show;=0A=
	}=0A=
    $('but_find').disabled =3D (!$('country_id').value || =
!$('city_id').value || !$('company_name').value);=0A=
}=0A=
=0A=
/*=0A=
 * {common-friends.tmpl}=0A=
 */=0A=
/**=0A=
 * =C2=FB=E4=E5=EB=FF=E5=EC =E2=F1=E5 checkbox=0A=
 */=0A=
function common_friends_select_all_checkboxes(){=0A=
    var form  =3D $('invitation_form');=0A=
    var label =3D $('select_all_checkboxes_label');=0A=
    var working_mode;=0A=
=0A=
    if( $('select_all_checkbox').checked ){=0A=
        working_mode =3D 1;=0A=
    } else {=0A=
        working_mode =3D 0;=0A=
    }=0A=
=0A=
    for(var i=3D0; i<form.elements.length; i++){=0A=
        if( form.elements[i].type =3D=3D 'checkbox' && =
form.elements[i].id !=3D 'select_all_checkboxes' ){=0A=
            form.elements[i].checked =3D working_mode ? true : false;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * =CE=E1=F0=E0=E1=EE=F2=EA=E0 =EE=F2=E2=E5=F2=E0=0A=
 * @param {String} result=0A=
 * @param {String} id=0A=
 */=0A=
function common_friends_addToFriendResult(result, id) {=0A=
    var span =3D $(id);=0A=
    var link =3D $(id + '_friends_link');=0A=
=0A=
    if(result =3D=3D 'friendship_offer') {=0A=
        span.update("=CF=F0=E8=E3=EB=E0=F8=E5=ED=E8=E5 =
=EE=F2=EF=F0=E0=E2=EB=E5=ED=EE");=0A=
        link.show();=0A=
        common_friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'friend_added') {=0A=
        span.update("=D3=F0=E0! =C2=FB =F1=F2=E0=EB=E8 =
=E4=F0=F3=E7=FC=FF=EC=E8!");=0A=
        link.show();=0A=
        common_friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'my_invitation_sent' ) {=0A=
        span.update("=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FE =
=E2=FB=F1=EB=E0=ED=EE =EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5 =
=F1=EE=E7=E4=E0=F2=FC =F1=E2=EE=E9 =EC=E8=F0");=0A=
        link.show();=0A=
        common_friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'world_invitation_sent' ) {=0A=
        span.update("=C2=FB =EF=F0=E8=E3=EB=E0=F1=E8=EB=E8 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =EF=EE=F1=E8=F2=E8=F2=FC =
=F1=E2=EE=E9 =EC=E8=F0");=0A=
        link.show();=0A=
        common_friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'already_friends' ) {=0A=
        span.update("=C2=FB =F3=E6=E5 =E4=F0=F3=E7=FC=FF");=0A=
        link.show();=0A=
        common_friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'already_friendship_offer_sent' ) {=0A=
        span.update("=C2=FB =F3=E6=E5 =E2=FB=F1=EB=E0=EB=E8 =
=EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5");=0A=
        link.show();=0A=
        common_friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'invalid_emails' ) {=0A=
        span.update("=CD=E5=E2=E5=F0=ED=FB=E9 email");=0A=
        common_friends_tempDiv(false);=0A=
    } else {=0A=
        common_friends_tempDiv(false);=0A=
        alert('=CF=F0=E8 =EE=E1=F0=E0=E1=EE=F2=EA=E5 =
=E7=E0=EF=F0=EE=F1=E0 =EF=F0=EE=E8=E7=EE=F8=EB=E0 =EE=F8=E8=E1=EA=E0. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=EF=FB=F2=EA=F3 =F1=ED=EE=E2=E0.');=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} id=0A=
 * @param {String} email=0A=
 * @return {Boolean}=0A=
 */=0A=
function common_friends_addToFriendOnMy(id, email){=0A=
    common_friends_tempDiv(true, id);=0A=
    ajax_call('perl_add_friend', email, id, =
common_friends_addToFriendResult);=0A=
    return false;=0A=
}=0A=
=0A=
/**=0A=
 * @return {Boolean}=0A=
 */=0A=
function common_friends_check_on_invitation_send(){=0A=
    var check   =3D 0;=0A=
    if( $('invitation_form') ){=0A=
        var form =3D $('invitation_form');=0A=
        for(var i=3D0; i<form.elements.length; i++){=0A=
            if( form.elements[i].type =3D=3D 'checkbox' && =
form.elements[i].checked ) check =3D 1;=0A=
        }=0A=
    }=0A=
    if(check){=0A=
        return true;=0A=
    } else {=0A=
        alert('=C2=FB =ED=E5 =E2=E2=E5=EB=E8 =ED=E8 =EE=E4=ED=EE=E3=EE =
e-mail');=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} flag=0A=
 * @param {String} id=0A=
 */=0A=
function common_friends_tempDiv(flag, id) {=0A=
    var div;=0A=
    var span =3D $(id);=0A=
    if (!$("addFriendProcessingId")) {=0A=
		var div =3D new Element('div', {'id': 'addFriendProcessingId'});=0A=
		div.setStyle({=0A=
			position: 'absolute',=0A=
			top: 0,=0A=
			left: 0,=0A=
			display: 'none',=0A=
			border: '1px solid #000',=0A=
			'background-color': '#FFF000',=0A=
			padding: '10px 30px',=0A=
			font: '12px arial'=0A=
		});=0A=
        div.update("=C7=E0=EF=F0=EE=F1 =
=EE=E1=F0=E0=E1=E0=F2=FB=E2=E0=E5=F2=F1=FF...");=0A=
        document.body.appendChild(div);=0A=
    } else div =3D $("addFriendProcessingId");=0A=
    if (flag) {=0A=
        div.style.top =3D absPosition(span).y;=0A=
        div.style.left =3D absPosition(span).x;=0A=
        div.show();=0A=
    } else div.hide();=0A=
}=0A=
=0A=
/*=0A=
 * {communities-invitation.tmpl}=0A=
 */=0A=
/**=0A=
 * @classDescription communities_SavedListing class=0A=
 * @param {Object} params=0A=
 */=0A=
function communities_SavedListing( params ){=0A=
    // SUBMIT=0A=
    this.submit =3D function() {=0A=
        this.save();=0A=
        if(this.finishInput) this.finishInput.value =3D 1;=0A=
        if(this.onSubmitCallback) =
this.onSubmitCallback(this.getSavedElements());=0A=
        this.form.submit();=0A=
        return false;=0A=
    };=0A=
    // CHANGE PAGE=0A=
    this.changePage =3D function( page ) {=0A=
        this.save(1);=0A=
        this.pageInput.value =3D page;=0A=
        if(this.onPageChangeCallback) =
this.onPageChangeCallback(this.getSavedElements(), page);=0A=
        this.form.submit();=0A=
        return false;=0A=
    };=0A=
    // SELECT=0A=
    this.select =3D function() {=0A=
        if( this.selectAllCheckbox ){=0A=
            var elements =3D this.form.elements;=0A=
            for(var i=3D0; i < elements.length; i++){=0A=
                if( elements[i].type =3D=3D 'checkbox' && =
this.selectAllCheckbox !=3D elements[i] ){=0A=
                    elements[i].checked =3D =
this.selectAllCheckbox.checked ? true : false;=0A=
                }=0A=
            }=0A=
            this.count();=0A=
        }=0A=
    };=0A=
    // SAVE=0A=
    this.save =3D function( pageChange ) {=0A=
        var value =3D this.getElementsToSave();=0A=
        var count =3D value.length;=0A=
            value =3D value.join(',');=0A=
        this.saveInput.value =3D value;=0A=
        if(this.openerSaveInput && !pageChange) =
this.openerSaveInput.value =3D value;=0A=
        if(this.countHTMLElement) this.countHTMLElement.innerHTML =3D =
count;=0A=
        if(this.openerCountHTMLElement && !pageChange) =
this.openerCountHTMLElement.innerHTML =3D count;=0A=
        if( this.saveInput2 ){=0A=
            this.saveInput2.value =3D =
this.getElementsToSave2().join(',');=0A=
            if(this.openerSaveInput2 && !pageChange) =
this.openerSaveInput2.value =3D this.saveInput2.value;=0A=
        }=0A=
    };=0A=
    // COUNT=0A=
    this.count =3D function() {=0A=
        var value =3D this.getElementsToSave();=0A=
        var count =3D value.length;=0A=
        if(this.countHTMLElement) this.countHTMLElement.innerHTML =3D =
count;=0A=
        this.checkSelectAllCheckbox();=0A=
    };=0A=
    // LOAD=0A=
    this.load =3D function() {=0A=
        var savedElements   =3D this.getSavedElements();=0A=
        if(this.onLoadCallback) this.onLoadCallback(savedElements);=0A=
        var formElements    =3D this.form.elements;=0A=
        for(var i=3D0; i < formElements.length; i++){=0A=
            var formElement =3D formElements[i];=0A=
            if(formElement.type =3D=3D "checkbox" && =
this.selectAllCheckbox !=3D formElement){=0A=
                var element =3D =
formElement.value.replace(/^\s+|\s+$/g,"").toLowerCase();=0A=
                for(var k=3D0; k < savedElements.length; k++){=0A=
                    if(savedElements[k] =3D=3D element){=0A=
                        formElement.checked =3D true;=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        this.checkSelectAllCheckbox();=0A=
        this.save(1);=0A=
    };=0A=
    // CHECK COUNTER=0A=
    this.checkSelectAllCheckbox =3D function(){=0A=
        if( this.selectAllCheckbox ){=0A=
            var elements    =3D this.form.elements;=0A=
            var checked     =3D true;=0A=
            for(var i=3D0; i < elements.length; i++){=0A=
                if( elements[i].type =3D=3D 'checkbox' && =
!elements[i].checked && elements[i] !=3D this.selectAllCheckbox ){=0A=
                    checked =3D false;=0A=
                    break;=0A=
                }=0A=
            }=0A=
            this.selectAllCheckbox.checked =3D checked;=0A=
        }=0A=
    }=0A=
    // GET SAVED ELEMENTS=0A=
    this.getSavedElements =3D function(){=0A=
        var elements =3D this.openerSaveInput && this.isJustOpen() ? =
saveInput.value + ',' + openerSaveInput.value : saveInput.value;=0A=
        return this.uniq(elements.split(','));=0A=
    };=0A=
    // GET SAVED ELEMENTS2=0A=
    this.getSavedElements2 =3D function(){=0A=
        var elements =3D this.openerSaveInput2 && this.isJustOpen() ? =
saveInput2.value + ',' + openerSaveInput2.value : saveInput2.value;=0A=
        return this.uniq(elements.split(','), 1);=0A=
    };=0A=
    // GET ELEMENTS TO SAVE=0A=
    this.getElementsToSave  =3D function(){=0A=
        var formElements    =3D this.form.elements;=0A=
        var savedElements   =3D this.getSavedElements();=0A=
        for(var i=3D0; i < formElements.length; i++){=0A=
            var formElement =3D formElements[i];=0A=
            if(formElement.type =3D=3D "checkbox" && =
this.selectAllCheckbox !=3D formElement){=0A=
                if(formElement.checked){=0A=
                    savedElements[savedElements.length] =3D =
formElement.value;=0A=
                } else {=0A=
                    var element =3D =
formElement.value.replace(/^\s+|\s+$/g,"").toLowerCase();=0A=
                    for(var k=3D0; k < savedElements.length; k++){=0A=
                        if(savedElements[k] =3D=3D element) =
savedElements[k] =3D '';=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        return this.uniq(savedElements);=0A=
    };=0A=
    // GET ELEMENTS TO SAVE2=0A=
    this.getElementsToSave2 =3D function(){=0A=
        var formElements    =3D this.form.elements;=0A=
        var savedElements   =3D this.getSavedElements2();=0A=
        for(var i=3D0; i < formElements.length; i++){=0A=
            var formElement =3D formElements[i];=0A=
            if(formElement.type =3D=3D "checkbox" && =
this.selectAllCheckbox !=3D formElement){=0A=
                if(formElement.checked){=0A=
                    savedElements[savedElements.length] =3D =
this.input2Callback(formElement.value);=0A=
                } else {=0A=
                    var element =3D =
this.input2Callback(formElement.value);=0A=
                    for(var k=3D0; k < savedElements.length; k++){=0A=
                        if(savedElements[k] =3D=3D element) =
savedElements[k] =3D '';=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        return this.uniq(savedElements, 1);=0A=
    };=0A=
    // IS JUST OPEN=0A=
    this.isJustOpen =3D function(){=0A=
        if(navigator.userAgent.indexOf("Firefox")!=3D-1){=0A=
            return history.length =3D=3D 1 ? 1 : 0 ;=0A=
        } else {=0A=
            return history.length =3D=3D 0 ? 1 : 0 ;=0A=
        }=0A=
    }=0A=
    // UNIQ=0A=
    this.uniq =3D function(arr, dontModify){=0A=
        var retArr =3D new Array();=0A=
        if(arr.length){=0A=
            for(var i=3D0; i<arr.length; i++){=0A=
                var element =3D arr[i].replace(/^\s+|\s+$/g,"");=0A=
                if(!dontModify) element =3D element.toLowerCase();=0A=
                if( !element || element =3D=3D '' ) continue;=0A=
                var elementNotExists =3D true;=0A=
                for(var k=3D0; k<retArr.length; k++){=0A=
                    if( retArr[k] =3D=3D element ) elementNotExists =3D =
false;=0A=
                }=0A=
                if(elementNotExists) retArr[retArr.length] =3D element;=0A=
            }=0A=
        }=0A=
        return retArr;=0A=
    };=0A=
    // ERROR=0A=
    this.error =3D function(msg){=0A=
        throw('Error in communities_SavedListing: ' + msg);=0A=
    };=0A=
    // CONSTRUCTOR=0A=
    if( listing ) this.error('constructor'); // Silly Singleton=0A=
    if( params.form && params.saveInput && params.pageInput ){=0A=
        this.form               =3D params.form;=0A=
        this.saveInput          =3D params.saveInput;=0A=
        this.pageInput          =3D params.pageInput;=0A=
    } else {=0A=
        this.error('constructor');=0A=
    }=0A=
    this.saveInput2             =3D params.saveInput2 ? =
params.saveInput2 : null;=0A=
    this.countHTMLElement       =3D params.countHTMLElement ? =
params.countHTMLElement : null;=0A=
    this.openerSaveInput        =3D params.openerSaveInput ? =
params.openerSaveInput : null;=0A=
    this.openerSaveInput2       =3D params.openerSaveInput2 ? =
params.openerSaveInput2 : null;=0A=
    this.openerCountHTMLElement =3D params.openerCountHTMLElement ? =
params.openerCountHTMLElement : null;=0A=
    this.onLoadCallback         =3D params.onLoad ? params.onLoad : null;=0A=
    this.onSubmitCallback       =3D params.onSubmit ? params.onSubmit : =
null;=0A=
    this.onPageChangeCallback   =3D params.onPageChange ? =
params.onPageChange : null;=0A=
    this.input2Callback         =3D params.input2Callback ? =
params.input2Callback : null;=0A=
    if( this.openerSaveInput2 && !this.saveInput2 ) =
this.error('constructor');=0A=
    if( this.saveInput2 && !this.input2Callback ) =
this.error('constructor');=0A=
    if( params.selectAllCheckbox ){=0A=
        this.selectAllCheckbox =3D params.selectAllCheckbox;=0A=
        this.selectAllCheckbox.onclick =3D function(){=0A=
            listing.select();=0A=
        }=0A=
    } else {=0A=
        this.selectAllCheckbox =3D null;=0A=
    }=0A=
    if( params.finishInput ){=0A=
        this.finishInput =3D params.finishInput;=0A=
        this.finishInput.value =3D 0;=0A=
    } else {=0A=
        this.finishInput =3D null;=0A=
    }=0A=
=0A=
    this.load();=0A=
    return this;=0A=
}=0A=
=0A=
/*=0A=
 * {community-main.tmpl}=0A=
 */=0A=
/**=0A=
 *=0A=
 * @param {Object} el=0A=
 * @param {String} id=0A=
 * @param {String} email=0A=
 * @return {Boolean}=0A=
 */=0A=
function community_showSpamComplaintDiv(el, id, email){=0A=
    ajax_call('perl_is_friend', email, id, FriendComplaint);=0A=
    var div =3D $('SpamComplaintDiv');=0A=
    div.style.top =3D absPosition(el).y + el.offsetHeight;=0A=
//    div.style.left =3D absPosition(el.parentNode).x;=0A=
    document.complaint.gb_message.value =3D id;=0A=
    document.complaint.spamer.value =3D email;=0A=
    if (IsChecked) $("message").checked =3D true;=0A=
    div.show();=0A=
    return false;=0A=
}=0A=
=0A=
/*=0A=
 * {conference_create.tmpl}=0A=
 */=0A=
/**=0A=
 * Check conference message=0A=
 */=0A=
function conference_checkMessage(){=0A=
    var len1 =3D $('topic1').value.length;=0A=
    var len2 =3D $('msg1').value.length;=0A=
    var friends =3D $('friends').value;=0A=
    var len3 =3D friends.split(',').length;=0A=
    if (len1 =3D=3D 0) {=0A=
        alert('=D3=EA=E0=E6=E8=F2=E5 =F2=E5=EC=F3 =
=EA=EE=ED=F4=E5=F0=E5=ED=F6=E8=E8');=0A=
    }=0A=
    else=0A=
        if (len2 =3D=3D 0) {=0A=
            alert('=C2=E2=E5=E4=E8=F2=E5 =EF=E5=F0=E2=EE=E5 =
=F1=EE=EE=E1=F9=E5=ED=E8=E5');=0A=
        }=0A=
        else=0A=
            if (len3 + 1 > MaxMembers) {=0A=
                alert('=D7=E8=F1=EB=EE =F3=F7=E0=F1=F2=ED=E8=EA=EE=E2, =
=E2=EA=EB=FE=F7=E0=FF =E2=E0=F1, =E4=EE=EB=E6=ED=EE =E1=FB=F2=FC =ED=E5 =
=E1=EE=EB=E5=E5 ' + MaxMembers);=0A=
            }=0A=
            else=0A=
                if (!friends) {=0A=
                    alert('=D1=ED=E0=F7=E0=EB=E0 =
=EF=F0=E8=E3=EB=E0=F1=E8=F2=E5 =E2 =EA=EE=ED=F4=E5=F0=E5=ED=F6=E8=FE =
=F5=EE=F2=FF =E1=FB =EE=E4=ED=EE=E3=EE =E4=F0=F3=E3=E0.');=0A=
                }=0A=
                else {=0A=
                    var sub_but =3D $("sub_but");=0A=
                    sub_but.value =3D "=C8=E4=E5=F2 =
=EE=F2=EF=F0=E0=E2=EA=E0";=0A=
                    sub_but.disable();=0A=
			        if(Booster.inited) {=0A=
			        	Booster.go($('dupdate').action, $('dupdate').method, =
$('dupdate').serialize());=0A=
			    	}=0A=
			    	else {=0A=
			    		$('dupdate').submit();=0A=
			    	}=0A=
                }=0A=
}=0A=
=0A=
/**=0A=
 * Remove conference member=0A=
 * @param {Object} el=0A=
 */=0A=
function conferenceRemoveMember(el){=0A=
    function traverse(node){=0A=
        node =3D node.parentNode;=0A=
        while (!node.id)=0A=
            node =3D node.parentNode=0A=
        return node;=0A=
    }=0A=
=0A=
    function grep(what, where){=0A=
        var e =3D where.split(/, ?/), r =3D Array();=0A=
        for (var i =3D 0; i < e.length; i++)=0A=
            if (e[i] =3D=3D what)=0A=
                return i;=0A=
        return -1;=0A=
    }=0A=
=0A=
    function trim(j, where){=0A=
        var e =3D where.split(/, ?/), r =3D Array();=0A=
        for (var i =3D 0; i < e.length; i++)=0A=
            if (j !=3D i)=0A=
                r.push(e[i]);=0A=
        return r.join(', ');=0A=
    }=0A=
=0A=
    el =3D traverse(el);=0A=
=0A=
    var i =3D grep(el.id, $('save').value);=0A=
    $('send').value =3D trim(i, $F('send'));=0A=
    $('friends').value =3D trim(i, $F('friends'));=0A=
    $('save').value =3D trim(i, $F('save'));=0A=
    $('save2').value =3D trim(i, $F('save2'));=0A=
    el.parentNode.removeChild(el);=0A=
}=0A=
=0A=
/**=0A=
 * Render conference member=0A=
 * @param {Object} elem=0A=
 * @return {HTMLElement}=0A=
 */=0A=
function conferenceRenderMemeber(elem){=0A=
    var el =3D new Element('div');=0A=
=0A=
    var email2dir =3D function(email){=0A=
        return email.replace(/([^@]+)@([^.]+).*/, "/$2/$1/");=0A=
    };=0A=
=0A=
	var bstr_on_click =3D '';=0A=
	if(Booster.inited) bstr_on_click =3D 'onclick=3D"return =
Booster.go(this.href);"';=0A=
    var online =3D '<div><a =
href=3D"/my/dialogues?sendmsg=3D'+MyMailEmail+'" class=3D"mf_o45" '+ =
bstr_on_click +'>=ED=E0&nbsp;=F1=E0=E9=F2=E5</a></div>';=0A=
    var template =3D '<div class=3D"cr_one"><a href=3D"$Dir" =
class=3D"mf_a45" style=3D"background-image: =
url(http://$AvtHost$Dir_avatarsmall);" '+ bstr_on_click =
+'></a>$online<div class=3D"mf_t95"><a =
href=3D"http://www.mail.ru/agent?message&to=3D$Email"><img =
src=3D"http://status.mail.ru/?$Email&9x9" width=3D"9" height=3D"9" =
alt=3D"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5" =
class=3D"mr2"></a><a href=3D"$Dir" '+ bstr_on_click +'>$name</a></div><a =
href=3D"#" onClick=3D"conferenceRemoveMember(this); return false;" =
class=3D"mf_spIco mf_iDel2">=F3=E4=E0=EB=E8=F2=FC</a></div>';=0A=
=0A=
    template =3D template.replace(/\$AvtHost/g, PhotoAvtHost);=0A=
    template =3D template.replace(/\$Email/g, elem.Email);=0A=
    template =3D template.replace(/\$Dir/g, email2dir(elem.Email));=0A=
    template =3D template.replace(/\$online/g, elem.Online ? online : =
'');=0A=
=0A=
    var name =3D (elem.FirstName || elem.LastName) ? elem.FirstName + ' =
' + elem.LastName : elem.Nick ? elem.Nick : elem.Email;=0A=
=0A=
    template =3D template.replace(/\$name/g, name.replace(/(\S{9})/g, =
"<span>$1</span>"));=0A=
=0A=
    el.update(template);=0A=
    el.firstChild.id =3D elem.Email;=0A=
    return el.firstChild;=0A=
}=0A=
=0A=
/*=0A=
 * {conference_thread.tmpl}=0A=
 */=0A=
/**=0A=
 * Check conference thread message=0A=
 */=0A=
function conference_thread_checkMessage(){=0A=
    var len2 =3D $F('msg1').length;=0A=
    if (len2 =3D=3D 0) {=0A=
        $('error2').show();=0A=
    }=0A=
    else {=0A=
        $('error2').hide();=0A=
        $('dupdate').submit();=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Count symbols=0A=
 */=0A=
function conference_thread_count_symbols(){=0A=
    num =3D $F('msg1').length;=0A=
    $('simbCount1').update(num);=0A=
    if (num > 4000) {=0A=
        $('strCount1').style.color =3D '#C00'=0A=
    }=0A=
    if (num <=3D 4000) {=0A=
        $('strCount1').style.color =3D '#999'=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * Check submit buttons=0A=
 */=0A=
function checkSubButs(but_id, msg_field_id){=0A=
    var stts =3D 1;=0A=
    stts =3D ($F(msg_field_id||'msg1').length <=3D 0) || need_block;=0A=
    var b =3D $(but_id||'sub_but1');=0A=
    if(b) b.disabled =3D stts;=0A=
}=0A=
=0A=
/*=0A=
 * {conference_threads_list.tmpl}=0A=
 */=0A=
/**=0A=
 * Show conference thread list=0A=
 * @param {String} nick=0A=
 */=0A=
function conference_threads_list_show(nick){=0A=
    name_link =3D "hid_link_" + nick;=0A=
    linka =3D $(name_link);=0A=
    linka.show();=0A=
}=0A=
=0A=
/**=0A=
 * Hide conference thread list=0A=
 * @param {String} nick=0A=
 */=0A=
function conference_threads_list_hide(nick){=0A=
    name_link =3D "hid_link_" + nick;=0A=
    linka =3D $(name_link);=0A=
    linka.hide();=0A=
}=0A=
=0A=
/*=0A=
 * {dialogues_send.tmpl}=0A=
 */=0A=
/**=0A=
 * Check sended dialogues message=0A=
 */=0A=
function dialogues_send_checkMessage(sub_but_id){=0A=
    var len1 =3D $F('friendsMailId').length;=0A=
    var len2 =3D $F('msg1').length;=0A=
    if (len1 =3D=3D 0) {=0A=
        $('error1').show();=0A=
        $('error2').hide();=0A=
    }=0A=
    else {=0A=
        if (len2 =3D=3D 0) {=0A=
            $('error1').hide();=0A=
            $('error2').show();=0A=
        }=0A=
        else {=0A=
            $('error1').hide();=0A=
            $('error2').hide();=0A=
            var sub_but =3D $(sub_but_id||"sub_but");=0A=
            sub_but.value =3D "=C8=E4=E5=F2 =EE=F2=EF=F0=E0=E2=EA=E0";=0A=
            sub_but.disable();=0A=
            return 1;=0A=
        }=0A=
    }=0A=
    return 0;=0A=
}=0A=
=0A=
/*=0A=
 * {dialogues_thread.tmpl}=0A=
 */=0A=
/**=0A=
 * Check dialogue thread message=0A=
 */=0A=
function dialogues_thread_checkMessage(){=0A=
    var len2 =3D $F('msg1').length;=0A=
    if (len2 =3D=3D 0) {=0A=
        $('error1').hide();=0A=
        $('error2').show();=0A=
    }=0A=
    else {=0A=
        $('error1').hide();=0A=
        $('error2').hide();=0A=
=0A=
        $('dupdate').submit();=0A=
    }=0A=
}=0A=
=0A=
function dialogues_thread_count_symbols(){=0A=
    num =3D $F('msg1').length;=0A=
    $('simbCount1').update(num);=0A=
    if (num > 4000) {=0A=
        $('strCount1').style.color =3D '#C00'=0A=
    }=0A=
    if (num <=3D 4000) {=0A=
        $('strCount1').style.color =3D '#999'=0A=
    }=0A=
}=0A=
=0A=
function dialogues_thread_showSpamComplaintDiv(el, id){=0A=
    var div =3D $('SpamComplaintDiv');=0A=
    div.style.top =3D absPosition(el).y + el.offsetHeight;=0A=
    div.style.left =3D absPosition(el.parentNode).x;=0A=
    document.complaint.message.value =3D id;=0A=
    document.complaint.del[0].checked =3D 1;=0A=
    div.show();=0A=
    return false;=0A=
}=0A=
=0A=
/*=0A=
 * {editblacklist.tmpl}=0A=
 */=0A=
function editblacklist_add_user(email){=0A=
    var bl_name =3D "add_friend_";=0A=
    var new_field =3D false;=0A=
    if (email =3D=3D '' || =
document.forms["Compose"].elements["add_email_" + user_count].value !=3D =
'') {=0A=
        user_count++;=0A=
        var current =3D $(bl_name + user_count);=0A=
        if (!current)=0A=
            return false;=0A=
        var parent =3D current.parentNode;=0A=
        if (!parent)=0A=
            return false;=0A=
        var add_block =3D new Element('div', {id: bl_name + =
user_count}).update(=0A=
			"<table class=3D\"cell\">" +=0A=
            "<tr>" +=0A=
            "<td><b>" +=0A=
            user_count +=0A=
            ".</b></td>" +=0A=
            "<td class=3D\"w100\"><input type=3D\"text\" =
name=3D\"add_email_" +=0A=
            user_count +=0A=
            "\" value=3D\"\" class=3Dinp></td>" +=0A=
            "</tr>" +=0A=
            "</table>"=0A=
		);=0A=
        parent.replaceChild(add_block, current);=0A=
        new_field =3D true;=0A=
    }=0A=
    if (email !=3D '') {=0A=
        var values =3D email.split('@');=0A=
        var domain_found =3D false;=0A=
        if (values.length =3D=3D 2 && values[0] !=3D '' && values[1] =
!=3D '') {=0A=
            var address =3D values[0];=0A=
            var domain =3D values[1];=0A=
            var options =3D =
document.forms["Compose"].elements["add_domain_" + user_count].options;=0A=
            for (var i =3D 0; i < options.length; i++) {=0A=
                if (options[i].value =3D=3D domain) {=0A=
                    options[i].selected =3D true;=0A=
                    document.forms["Compose"].elements["add_email_" + =
user_count].value =3D address;=0A=
                    domain_found =3D true;=0A=
                    break;=0A=
                }=0A=
            }=0A=
        }=0A=
        if (!domain_found)=0A=
            document.forms["Compose"].elements["add_email_" + =
user_count].value =3D email;=0A=
    }=0A=
=0A=
    if (new_field) {=0A=
        var num =3D user_count + 1;=0A=
		add_block =3D new Element('div', {id: bl_name + num}).update(=0A=
			"<table class=3D\"cell\">" +=0A=
	        "<tr>" +=0A=
	        "<td><b>" +=0A=
	        num +=0A=
	        ".</b></td><td class=3D\"w100\"><a onclick=3D\"return =
editblacklist_add_user('');\" href=3D\"\" class=3D\"grey2 =
t95\">=C5=F9=B8 =EE=E4=ED=EE =EF=EE=EB=E5</a></td>" +=0A=
	        "</tr>" +=0A=
	        "</table>"=0A=
		);=0A=
        parent.appendChild(add_block);=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function editblacklist_CheckedOnLoad(){=0A=
    if (DOM) {=0A=
        var thisCheckBoxes =3D $$('input');=0A=
        for (var i =3D 1; i < thisCheckBoxes.length; i++) {=0A=
            var chb =3D thisCheckBoxes[i];=0A=
            if (chb.name =3D=3D 'delete') {=0A=
                if (chb.checked) {=0A=
                    chb.enable();=0A=
                    editblacklist_Colorize($(cb.id.replace('box_', =
'str')), cb);=0A=
                }=0A=
            }=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function editblacklist_Colorize(element, CHBElement){=0A=
    if (element && CHBElement) {=0A=
        element.className =3D (CHBElement.checked ? 'bgg' : 'bgw');=0A=
    }=0A=
}=0A=
=0A=
function editblacklist_sel_tr(element){=0A=
    if (DOM) {=0A=
        thisCheckbox =3D $(element.id.replace('row_', 'box_'));=0A=
        thisCheckbox.checked =3D !thisCheckbox.checked;=0A=
        editblacklist_Colorize(element, thisCheckbox);=0A=
    }=0A=
    var all_chB =3D 0;=0A=
    var ch_chB =3D 0;=0A=
    var i =3D 0;=0A=
    for (i =3D 0; i < document.listing.elements.length; i++) {=0A=
        if ((document.listing.elements[i].checked =3D=3D true) && =
(document.listing.elements[i].name =3D=3D "delete")) {=0A=
            ch_chB =3D ch_chB + 1;=0A=
        }=0A=
        if (document.listing.elements[i].name =3D=3D "delete") {=0A=
            all_chB =3D all_chB + 1;=0A=
        }=0A=
    }=0A=
    if (ch_chB !=3D all_chB) {=0A=
        document.listing.mainCheck.checked =3D false=0A=
    }=0A=
    else {=0A=
        document.listing.mainCheck.checked =3D true=0A=
    }=0A=
=0A=
=0A=
}=0A=
=0A=
function editblacklist_sel_box(element){=0A=
    if (DOM) {=0A=
        if ($(element.id.replace('box_', 'row_'))) {=0A=
            element.checked =3D !element.checked;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function editblacklist_sel_all(element, Name){=0A=
    var Name =3D "delete";=0A=
    if (DOM) {=0A=
        thisCheckBoxes =3D =
element.parentNode.parentNode.parentNode.getElementsByTagName('input');=0A=
        for (i =3D 1; i < thisCheckBoxes.length; i++) {=0A=
            if (thisCheckBoxes[i].name =3D=3D Name) {=0A=
                thisCheckBoxes[i].checked =3D element.checked;=0A=
                =
editblacklist_Colorize($(thisCheckBoxes[i].id.replace('box_', 'row_')), =
thisCheckBoxes[i]);=0A=
            }=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {editcommunity.tmpl}=0A=
 */=0A=
function editcommunity_access_wr(sel){=0A=
    var td_for =3D $("td_for_wr");=0A=
    var writesel =3D $("writesel");=0A=
    var sel0 =3D writesel.value =3D=3D 0 ? 'selected' : '';=0A=
    var sel1 =3D writesel.value =3D=3D 1 ? 'selected' : '';=0A=
    switch (sel.value) {=0A=
        case "0":=0A=
            td_for.update("<select id=3D'writesel' class=3Dinp =
name=3D\"WriteAccess\"><option value=3D\"0\" " + sel0 + =
">=F2=EE=EB=FC=EA=EE =F3=F7=E0=F1=F2=ED=E8=EA=E8</option><option =
value=3D\"1\" " + sel1 + ">=F2=EE=EB=FC=EA=EE =
=E7=E0=F0=E5=E3=E8=F1=F2=F0=E8=F0=EE=E2=E0=ED=ED=FB=E5 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8</option></select>");=0A=
            break;=0A=
        case "1":=0A=
            td_for.update("<select id=3D'writesel' class=3Dinp =
name=3D\"WriteAccess\"><option value=3D\"0\">=F2=EE=EB=FC=EA=EE =
=F3=F7=E0=F1=F2=ED=E8=EA=E8</option></select>");=0A=
            break;=0A=
        case "2":=0A=
            td_for.update("<select id=3D'writesel' class=3Dinp =
name=3D\"WriteAccess\"><option value=3D\"0\" " + sel0 + =
">=F2=EE=EB=FC=EA=EE =F3=F7=E0=F1=F2=ED=E8=EA=E8</option><option =
value=3D\"1\" " + sel1 + ">=F2=EE=EB=FC=EA=EE =
=E7=E0=F0=E5=E3=E8=F1=F2=F0=E8=F0=EE=E2=E0=ED=ED=FB=E5 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8</option></select>");=0A=
            break;=0A=
        default:=0A=
            break;=0A=
    }=0A=
    td_for =3D $("td_for_comm");=0A=
    var commsel =3D $("commsel");=0A=
    sel0 =3D commsel.value =3D=3D 0 ? 'selected' : '';=0A=
    sel1 =3D commsel.value =3D=3D 1 ? 'selected' : '';=0A=
    var sel2 =3D commsel.value =3D=3D 2 ? 'selected' : '';=0A=
    switch (sel.value) {=0A=
        case "0":=0A=
            td_for.update("<select id=3D'commsel' class=3Dinp =
name=3D\"CommentAccess\"><option value=3D\"0\" " + sel0 + =
">=E2=F1=E5</option><option value=3D\"1\" " + sel1 + =
">=F2=EE=EB=FC=EA=EE =F3=F7=E0=F1=F2=ED=E8=EA=E8</option><option =
value=3D\"2\" " + sel2 + ">=F2=EE=EB=FC=EA=EE =
=E7=E0=F0=E5=E3=E8=F1=F2=F0=E8=F0=EE=E2=E0=ED=ED=FB=E5 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8</option></select>");=0A=
            break;=0A=
        case "1":=0A=
            td_for.update("<select id=3D'commsel' class=3Dinp =
name=3D\"CommentAccess\"><option value=3D\"1\">=F2=EE=EB=FC=EA=EE =
=F3=F7=E0=F1=F2=ED=E8=EA=E8</select>");=0A=
            break;=0A=
        case "2":=0A=
            td_for.update("<select id=3D'commsel' class=3Dinp =
name=3D\"CommentAccess\"><option value=3D\"1\" " + sel1 + =
">=F2=EE=EB=FC=EA=EE =F3=F7=E0=F1=F2=ED=E8=EA=E8</option><option =
value=3D\"2\" " + sel2 + ">=F2=EE=EB=FC=EA=EE =
=E7=E0=F0=E5=E3=E8=F1=F2=F0=E8=F0=EE=E2=E0=ED=ED=FB=E5 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E8</option></select>");=0A=
            break;=0A=
        default:=0A=
            break;=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {editinfon.tmpl}=0A=
 */=0A=
function editinfon_newSiteForm(el){=0A=
    var num =3D el.getAttribute('num');=0A=
    num++;=0A=
    var addText =3D $('add_site_text');=0A=
    addText.setAttribute('num', num);=0A=
    var place =3D $('anketa_tbl');=0A=
    var TR1 =3D new Element('tr', {=0A=
    });=0A=
    var TR2 =3D new Element('tr', {=0A=
    });=0A=
    var TD11 =3D new Element('th', {=0A=
    });=0A=
    var TD21 =3D new Element('th', {=0A=
    });=0A=
    var TD12 =3D new Element('td', {=0A=
    });=0A=
    var TD22 =3D new Element('td', {=0A=
    });=0A=
    var NAME_IN =3D new Element('input', {=0A=
        'class': 'inp',=0A=
        'type' : 'text',=0A=
        'name' : 'Project_' + num + '_Name',=0A=
        'id'   : 'site_' + num + '_name'=0A=
    });=0A=
    var URL_IN =3D new Element('input', {=0A=
        'class': 'inp',=0A=
        'type' : 'text',=0A=
        'name' : 'Project_' + num + '_URL',=0A=
        'id'   : 'site_' + num + '_url'=0A=
    });=0A=
    var ID_IN =3D new Element('input', {=0A=
        'type' : 'hidden',=0A=
        'name' : 'Project_' + num + '_ID',=0A=
        'value': '0'=0A=
    });=0A=
    place.appendChild(TR1);=0A=
    TR1.appendChild(TD11);=0A=
    TD11.update("<strong>" + num + ".</strong>&nbsp =
=CD=E0=E7=E2=E0=ED=E8=E5");=0A=
    TR1.appendChild(TD12);=0A=
    TD12.appendChild(NAME_IN);=0A=
    place.appendChild(TR2);=0A=
    TR2.appendChild(TD21);=0A=
    TD21.update("&nbsp&nbsp&nbsp&nbsp URL");=0A=
    TR2.appendChild(TD22);=0A=
    TD22.appendChild(ID_IN);=0A=
    TD22.appendChild(URL_IN);=0A=
}=0A=
=0A=
/*=0A=
 * {friend_delete.tmpl}=0A=
 */=0A=
function friend_delete_checkCtrlEnter(evt) {=0A=
    checkCtrlEnter(evt, 'frm_emails');=0A=
}=0A=
=0A=
/*=0A=
 * {friends_popup.tmpl}=0A=
 */=0A=
// Listing with save=0A=
function friends_popup_SavedListing( params ){=0A=
    // SUBMIT=0A=
    this.submit =3D function() {=0A=
        this.save();=0A=
        this.finishInput.value =3D 1;=0A=
        if(this.onSubmitCallback) =
this.onSubmitCallback(this.getSavedElements());=0A=
        this.form.submit();=0A=
        return false;=0A=
    };=0A=
    // CHANGE PAGE=0A=
    this.changePage =3D function( page ) {=0A=
        this.save(1);=0A=
        this.pageInput.value =3D page;=0A=
        if(this.onPageChangeCallback) =
this.onPageChangeCallback(this.getSavedElements(), page);=0A=
        this.form.submit();=0A=
        return false;=0A=
    };=0A=
    // SELECT=0A=
    this.select =3D function() {=0A=
        if( this.selectAllCheckbox ){=0A=
            var elements =3D this.form.elements;=0A=
            for(var i=3D0; i < elements.length; i++){=0A=
                if( (elements[i].type =3D=3D 'checkbox' || =
elements[i].type =3D=3D 'radio') && this.selectAllCheckbox !=3D =
elements[i] ){=0A=
                    elements[i].checked =3D =
this.selectAllCheckbox.checked ? true : false;=0A=
                }=0A=
            }=0A=
            this.count();=0A=
        }=0A=
    };=0A=
    // SAVE=0A=
    this.save =3D function( pageChange ) {=0A=
        var value =3D this.getElementsToSave();=0A=
        var count =3D value.length;=0A=
            value =3D value.join(',');=0A=
        this.saveInput.value =3D value;=0A=
        if(this.openerSaveInput && !pageChange) =
this.openerSaveInput.value =3D value;=0A=
        if(this.countHTMLElement) this.countHTMLElement.innerHTML =3D =
count;=0A=
        if(this.openerCountHTMLElement && !pageChange) =
this.openerCountHTMLElement.innerHTML =3D count;=0A=
        if( this.saveInput2 ){=0A=
            this.saveInput2.value =3D =
this.getElementsToSave2().join(',');=0A=
            if(this.openerSaveInput2 && !pageChange) =
this.openerSaveInput2.value =3D this.saveInput2.value;=0A=
        }=0A=
    };=0A=
    // COUNT=0A=
    this.count =3D function() {=0A=
        var value =3D this.getElementsToSave();=0A=
        var count =3D value.length;=0A=
        if(this.countHTMLElement) this.countHTMLElement.innerHTML =3D =
count;=0A=
        this.checkSelectAllCheckbox();=0A=
    };=0A=
    // LOAD=0A=
    this.load =3D function() {=0A=
        var savedElements   =3D this.getSavedElements();=0A=
        if(this.onLoadCallback) this.onLoadCallback(savedElements);=0A=
        var formElements    =3D this.form.elements;=0A=
        for(var i=3D0; i < formElements.length; i++){=0A=
            var formElement =3D formElements[i];=0A=
            if((formElement.type =3D=3D "checkbox" || formElement.type =
=3D=3D "radio") && this.selectAllCheckbox !=3D formElement){=0A=
                var element =3D =
formElement.value.replace(/^\s+|\s+$/g,"").toLowerCase();=0A=
                for(var k=3D0; k < savedElements.length; k++){=0A=
                    if(savedElements[k] =3D=3D element){=0A=
                        formElement.checked =3D true;=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        this.checkSelectAllCheckbox();=0A=
        this.save(1);=0A=
    };=0A=
    // CHECK COUNTER=0A=
    this.checkSelectAllCheckbox =3D function(){=0A=
        if( this.selectAllCheckbox ){=0A=
            var elements    =3D this.form.elements;=0A=
            var checked     =3D true;=0A=
            for(var i=3D0; i < elements.length; i++){=0A=
                if( (elements[i].type =3D=3D 'checkbox' || =
elements[i].type =3D=3D 'radio') && !elements[i].checked && elements[i] =
!=3D this.selectAllCheckbox ){=0A=
                    checked =3D false;=0A=
                    break;=0A=
                }=0A=
            }=0A=
            this.selectAllCheckbox.checked =3D checked;=0A=
        }=0A=
    }=0A=
    // GET SAVED ELEMENTS=0A=
    this.getSavedElements =3D function(){=0A=
        var elements =3D this.openerSaveInput && this.isJustOpen() ? =
saveInput.value + ',' + openerSaveInput.value : saveInput.value;=0A=
        return this.uniq(elements.split(','));=0A=
    };=0A=
    // GET SAVED ELEMENTS2=0A=
    this.getSavedElements2 =3D function(){=0A=
        var elements =3D this.openerSaveInput2 && this.isJustOpen() ? =
saveInput2.value + ',' + openerSaveInput2.value : saveInput2.value;=0A=
        return this.uniq(elements.split(','), 1);=0A=
    };=0A=
    // GET ELEMENTS TO SAVE=0A=
    this.getElementsToSave  =3D function(){=0A=
        var formElements    =3D this.form.elements;=0A=
        var savedElements   =3D this.getSavedElements();=0A=
        for(var i=3D0; i < formElements.length; i++){=0A=
            var formElement =3D formElements[i];=0A=
            if((formElement.type =3D=3D "checkbox" || formElement.type =
=3D=3D "radio") && this.selectAllCheckbox !=3D formElement){=0A=
                if(formElement.checked){=0A=
                    savedElements[savedElements.length] =3D =
formElement.value;=0A=
                } else {=0A=
                    var element =3D =
formElement.value.replace(/^\s+|\s+$/g,"").toLowerCase();=0A=
                    for(var k=3D0; k < savedElements.length; k++){=0A=
                        if(savedElements[k] =3D=3D element) =
savedElements[k] =3D '';=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        return this.uniq(savedElements);=0A=
    };=0A=
    // GET ELEMENTS TO SAVE2=0A=
    this.getElementsToSave2 =3D function(){=0A=
        var formElements    =3D this.form.elements;=0A=
        var savedElements   =3D this.getSavedElements2();=0A=
        for(var i=3D0; i < formElements.length; i++){=0A=
            var formElement =3D formElements[i];=0A=
            if((formElement.type =3D=3D "checkbox" || formElement.type =
=3D=3D "radio") && this.selectAllCheckbox !=3D formElement){=0A=
                if(formElement.checked){=0A=
                    savedElements[savedElements.length] =3D =
this.input2Callback(formElement.value);=0A=
                } else {=0A=
                    var element =3D =
this.input2Callback(formElement.value);=0A=
                    for(var k=3D0; k < savedElements.length; k++){=0A=
                        if(savedElements[k] =3D=3D element) =
savedElements[k] =3D '';=0A=
                    }=0A=
                }=0A=
            }=0A=
        }=0A=
        return this.uniq(savedElements, 1);=0A=
    };=0A=
    // IS JUST OPEN=0A=
    this.isJustOpen =3D function(){=0A=
        if(navigator.userAgent.indexOf("Firefox")!=3D-1){=0A=
            return history.length =3D=3D 1 ? 1 : 0 ;=0A=
        } else {=0A=
            return history.length =3D=3D 0 ? 1 : 0 ;=0A=
        }=0A=
    }=0A=
    // UNIQ=0A=
    this.uniq =3D function(arr, dontModify){=0A=
        var retArr =3D new Array();=0A=
        if(arr.length){=0A=
            for(var i=3D0; i<arr.length; i++){=0A=
                var element =3D arr[i].replace(/^\s+|\s+$/g,"");=0A=
                if(!dontModify) element =3D element.toLowerCase();=0A=
                if( !element || element =3D=3D '' ) continue;=0A=
                var elementNotExists =3D true;=0A=
                for(var k=3D0; k<retArr.length; k++){=0A=
                    if( retArr[k] =3D=3D element ) elementNotExists =3D =
false;=0A=
                }=0A=
                if(elementNotExists) retArr[retArr.length] =3D element;=0A=
            }=0A=
        }=0A=
        return retArr;=0A=
    };=0A=
    // ERROR=0A=
    this.error =3D function(msg){=0A=
        throw('Error in friends_popup_SavedListing: ' + msg);=0A=
    };=0A=
    // CONSTRUCTOR=0A=
    if( listing ) this.error('constructor'); // Silly Singleton=0A=
    if( params.form && params.saveInput && params.pageInput && =
params.finishInput ){=0A=
        this.form               =3D params.form;=0A=
        this.saveInput          =3D params.saveInput;=0A=
        this.pageInput          =3D params.pageInput;=0A=
        this.finishInput        =3D params.finishInput;=0A=
        this.finishInput.value  =3D 0;=0A=
    } else {=0A=
        this.error('constructor');=0A=
    }=0A=
    this.saveInput2             =3D params.saveInput2 ? =
params.saveInput2 : null;=0A=
    this.countHTMLElement       =3D params.countHTMLElement ? =
params.countHTMLElement : null;=0A=
    this.openerSaveInput        =3D params.openerSaveInput ? =
params.openerSaveInput : null;=0A=
    this.openerSaveInput2       =3D params.openerSaveInput2 ? =
params.openerSaveInput2 : null;=0A=
    this.openerCountHTMLElement =3D params.openerCountHTMLElement ? =
params.openerCountHTMLElement : null;=0A=
    this.onLoadCallback         =3D params.onLoad ? params.onLoad : null;=0A=
    this.onSubmitCallback       =3D params.onSubmit ? params.onSubmit : =
null;=0A=
    this.onPageChangeCallback   =3D params.onPageChange ? =
params.onPageChange : null;=0A=
    this.input2Callback         =3D params.input2Callback ? =
params.input2Callback : null;=0A=
    if( this.openerSaveInput2 && !this.saveInput2 ) =
this.error('constructor');=0A=
    if( this.saveInput2 && !this.input2Callback ) =
this.error('constructor');=0A=
    if( params.selectAllCheckbox ){=0A=
        this.selectAllCheckbox =3D params.selectAllCheckbox;=0A=
        this.selectAllCheckbox.onclick =3D function(){=0A=
            listing.select();=0A=
        }=0A=
    } else {=0A=
        this.selectAllCheckbox =3D null;=0A=
    }=0A=
=0A=
    this.load();=0A=
    return this;=0A=
}=0A=
// Listing emails with save end=0A=
=0A=
function friends_popup_clickField(id){=0A=
    cur_radio =3D id;=0A=
    $('save').enable();=0A=
}=0A=
=0A=
function friends_popup_saveIt() {=0A=
        if (opener !=3D undefined) {=0A=
        var inputs =3D =
document.forms.select_friend.getElementsByTagName("INPUT");=0A=
        var i =3D 0;=0A=
        while (!inputs[i].checked && (i < inputs.length)) i++;=0A=
        if (i < inputs.length) {=0A=
            =
opener.$('PartnerNick').value=3Dinputs[i].nextSibling.nextSibling.innerHT=
ML;=0A=
            opener.$('PartnerEmail').value=3Dinputs[i].value;=0A=
        }=0A=
    }=0A=
    window.close();=0A=
}=0A=
=0A=
function friends_popup_unchckCurRadio(){=0A=
    if (cur_radio =3D=3D '')=0A=
        return;=0A=
    $(cur_radio).checked =3D 0;=0A=
    cur_radio =3D '';=0A=
    $('save').disable();=0A=
}=0A=
=0A=
function friends_popup_newCoo(t,l,w,h) {=0A=
    //alert('friends_popup_newCoo '+t+' '+l+' '+w+' '+h);=0A=
    $('coo_top').value =3D parseInt(t);=0A=
    $('coo_left').value =3D parseInt(l);=0A=
    $('coo_width').value =3D parseInt(w);=0A=
    $('coo_height').value =3D parseInt(h);=0A=
}=0A=
=0A=
function friends_popup_startCheckInterval() {=0A=
    check_int =3D setInterval('friends_popup_checkFilter()',500);=0A=
}=0A=
=0A=
function friends_popup_genHtml(num) {=0A=
    return '<input id=3D"rdbx'+num+'" type=3D"radio" name=3D"personid" =
onclick=3D"friends_popup_clickField(\'rdbx'+num+'\')" =
value=3D"'+friends_list[num]['ID']+'"> <a =
href=3D"http://'+MyPerlHost+friends_list[num]['Dir']+'" =
target=3D"_blank" =
onclick=3D"$(\'rdbx'+num+'\').checked=3D1;friends_popup_clickField(\'rdbx=
'+num+'\');return false;">'+friends_list[num]['Name']+'</a><br>';=0A=
}=0A=
=0A=
function friends_popup_checkFilter() {=0A=
    var new_filter =3D $F('personname').toLowerCase();=0A=
    if (old_filter =3D=3D new_filter) return;=0A=
    /*=0A=
    if ((new_filter.indexOf(old_filter) =3D=3D 0) && (old_filter !=3D =
'')) { // =E4=EE=EF=EE=EB=ED=E5=ED=E8=E5 =F4=E8=EB=FC=F2=F0=E0=0A=
=0A=
    } else { // =E8=E7=EC=E5=ED=E5=ED=E8=E5 =F4=E8=EB=FC=F2=F0=E0=0A=
=0A=
    }=0A=
    */=0A=
    filtered_list.length =3D 0;=0A=
    var html =3D '';=0A=
    for (var i =3D 1; i < friends_list.length; i++) {=0A=
        if ((friends_list[i]['LCName'].indexOf(new_filter) =3D=3D 0) || =
(friends_list[i]['LCName'].indexOf(' '+new_filter) > 0)) {=0A=
            filtered_list.length++;=0A=
            filtered_list[filtered_list.length-1] =3D i;=0A=
            html +=3D friends_popup_genHtml(i);=0A=
        }=0A=
    }=0A=
    if ((html !=3D '') && !((filtered_list.length =3D=3D old_filter_len) =
&& (filtered_list.length =3D=3D (friends_list.length-1)))) {=0A=
        $('for_friends').update('');=0A=
        $('for_friends').update(html);=0A=
        old_filter_len =3D filtered_list.length;=0A=
    }=0A=
    old_filter =3D new_filter;=0A=
}=0A=
=0A=
/*=0A=
 * {friends.tmpl}=0A=
 */=0A=
/**=0A=
 * =C2=FB=E4=E5=EB=FF=E5=EC =E2=F1=E5 checkbox=0A=
 */=0A=
function friends_select_all_checkboxes(){=0A=
    var form  =3D $('invitation_form');=0A=
    var label =3D $('select_all_checkboxes_label');=0A=
    var working_mode;=0A=
=0A=
    if( $('select_all_checkbox').checked ){=0A=
        working_mode =3D 1;=0A=
    } else {=0A=
        working_mode =3D 0;=0A=
    }=0A=
=0A=
    for(var i=3D0; i<form.elements.length; i++){=0A=
        if( form.elements[i].type =3D=3D 'checkbox' && =
form.elements[i].id !=3D 'select_all_checkboxes' ){=0A=
            form.elements[i].checked =3D working_mode ? true : false;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * =CE=E1=F0=E0=E1=EE=F2=EA=E0 =EE=F2=E2=E5=F2=E0=0A=
 * @param {String} result=0A=
 * @param {String} id=0A=
 */=0A=
function addToFriendResult(result, id) {=0A=
    var span =3D $(id);=0A=
    var link =3D $(id + '_friends_link');=0A=
=0A=
    if(result =3D=3D 'friendship_offer') {=0A=
        span.update("=CF=F0=E8=E3=EB=E0=F8=E5=ED=E8=E5 =
=EE=F2=EF=F0=E0=E2=EB=E5=ED=EE");=0A=
        link.show();=0A=
        friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'friend_added') {=0A=
        span.update("=D3=F0=E0! =C2=FB =F1=F2=E0=EB=E8 =
=E4=F0=F3=E7=FC=FF=EC=E8!");=0A=
        link.show();=0A=
        friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'my_invitation_sent' ) {=0A=
        span.update("=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FE =
=E2=FB=F1=EB=E0=ED=EE =EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5 =
=F1=EE=E7=E4=E0=F2=FC =F1=E2=EE=E9 =EC=E8=F0");=0A=
        link.show();=0A=
        friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'world_invitation_sent' ) {=0A=
        span.update("=C2=FB =EF=F0=E8=E3=EB=E0=F1=E8=EB=E8 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =EF=EE=F1=E8=F2=E8=F2=FC =
=F1=E2=EE=E9 =EC=E8=F0");=0A=
        link.show();=0A=
        friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'already_friends' ) {=0A=
        span.update("=C2=FB =F3=E6=E5 =E4=F0=F3=E7=FC=FF");=0A=
        link.show();=0A=
        friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'already_friendship_offer_sent' ) {=0A=
        span.update("=C2=FB =F3=E6=E5 =E2=FB=F1=EB=E0=EB=E8 =
=EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5");=0A=
        link.show();=0A=
        friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'invalid_emails' ) {=0A=
        span.update("=CD=E5=E2=E5=F0=ED=FB=E9 email");=0A=
        friends_tempDiv(false);=0A=
    } else if(result =3D=3D 'ratelimited_emails' ) {=0A=
        span.update("=CB=E8=EC=E8=F2 =EE=F2=EF=F0=E0=E2=EA=E8 =
=EF=F0=E8=E3=EB=E0=F8=E5=ED=E8=E9 =E4=F0=F3=E6=E1=FB =
=E8=F1=F7=E5=F0=EF=E0=ED. =CF=EE=EF=F0=EE=E1=F3=E9=F2=E5 =
=EF=EE=E2=F2=EE=F0=E8=F2=FC =EF=EE=EF=FB=F2=EA=F3 =F7=E5=F0=E5=E7 20 =
=EC=E8=ED=F3=F2.");=0A=
        friends_tempDiv(false);=0A=
    } else {=0A=
        friends_tempDiv(false);=0A=
        alert('=CF=F0=E8 =EE=E1=F0=E0=E1=EE=F2=EA=E5 =
=E7=E0=EF=F0=EE=F1=E0 =EF=F0=EE=E8=E7=EE=F8=EB=E0 =EE=F8=E8=E1=EA=E0. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=EF=FB=F2=EA=F3 =F1=ED=EE=E2=E0.');=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} id=0A=
 * @param {String} email=0A=
 */=0A=
function addToFriendOnMy(id, email) {=0A=
    friends_tempDiv(true, id);=0A=
        ajax_call('perl_add_friend', email, id, addToFriendResult);=0A=
        return false;=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 */=0A=
function friends_check_on_invitation_send(){=0A=
    var check   =3D 0;=0A=
    if( $('invitation_form') ){=0A=
        var form =3D $('invitation_form');=0A=
        for(var i=3D0; i<form.elements.length; i++){=0A=
            if( form.elements[i].type =3D=3D 'checkbox' && =
form.elements[i].checked ) check =3D 1;=0A=
        }=0A=
    }=0A=
    if(check){=0A=
        return true;=0A=
    } else {=0A=
        alert('=C2=FB =ED=E5 =E2=E2=E5=EB=E8 =ED=E8 =EE=E4=ED=EE=E3=EE =
e-mail');=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} flag=0A=
 * @param {String} id=0A=
 */=0A=
function friends_tempDiv(flag, id) {=0A=
    var div;=0A=
    var span =3D $(id);=0A=
    if (!$("addFriendProcessingId")) {=0A=
		div =3D new Element('div', {id: 'addFriendProcessingId'});=0A=
		div.setStyle({=0A=
			position: 'absolute',=0A=
			top: 0,=0A=
			left: 0,=0A=
			display: 'none',=0A=
			border: '1px solid #000',=0A=
			'background-color': '#FFF',=0A=
			padding: '10px 30px',=0A=
			font: '12px arial'=0A=
		});=0A=
        div.update("=C7=E0=EF=F0=EE=F1 =
=EE=E1=F0=E0=E1=E0=F2=FB=E2=E0=E5=F2=F1=FF...");=0A=
        document.body.appendChild(div);=0A=
    } else div =3D $("addFriendProcessingId");=0A=
    if (flag) {=0A=
        div.style.top =3D absPosition(span).y;=0A=
        div.style.left =3D absPosition(span).x;=0A=
        div.show();=0A=
    } else div.hide();=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} email=0A=
 * @param {String} id=0A=
 */=0A=
function setBestFriend(email, id) {=0A=
    if (ajax_call('perl_set_best', email, id, bestFriendSaved)) {=0A=
=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} email=0A=
 * @param {String} id=0A=
 */=0A=
function unsetBestFriend(email, id) {=0A=
    if (ajax_call('perl_unset_best', email, id, bestFriendSaved)) {=0A=
=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 *=0A=
 * @param {String} id=0A=
 * @param {String} best=0A=
 * @param {String} result=0A=
 */=0A=
function bestFriendSaved(id, best, result) {=0A=
    if (best) {=0A=
        if (result=3D=3D0) {=0A=
            $('best_friend_'+id).show();=0A=
            $('unset_best_friend_'+id).show();=0A=
            $('set_best_friend_'+id).hide();=0A=
=0A=
            $('best_friend_avatar_'+id).className=3D'ava90_best';=0A=
        } else {=0A=
            alert(result);=0A=
        }=0A=
    } else {=0A=
        if (result=3D=3D0) {=0A=
            $('best_friend_'+id).hide();=0A=
            $('unset_best_friend_'+id).hide();=0A=
            $('set_best_friend_'+id).show();=0A=
=0A=
            $('best_friend_avatar_'+id).className=3D'ava90';=0A=
        } else {=0A=
            alert(result);=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {gift_send.tmpl}=0A=
 */=0A=
function getGiftGroup(group){=0A=
    var gifts =3D [];=0A=
    if (group !=3D '') {=0A=
        if (giftsByType[group]) {=0A=
            gifts =3D giftsByType[group];=0A=
        }=0A=
        else=0A=
            if (group =3D=3D 'new') {=0A=
                for (var i =3D 0; i < GiftTypes.length; i++) {=0A=
                    var j =3D 0;=0A=
                    while ((j < NewGifts.length) && (NewGifts[j] !=3D =
GiftTypes[i][0]))=0A=
                        j++;=0A=
                    if (j < NewGifts.length) {=0A=
                        gifts.push(GiftTypes[i]);=0A=
                    }=0A=
                }=0A=
                giftsByType[group] =3D gifts;=0A=
            }=0A=
            else {=0A=
                for (var i =3D 0; i < GiftTypes.length; i++) {=0A=
                    if (GiftTypes[i][3] =3D=3D group) {=0A=
                        gifts.push(GiftTypes[i]);=0A=
                    }=0A=
                }=0A=
                giftsByType[group] =3D gifts;=0A=
            }=0A=
    }=0A=
    else {=0A=
        gifts =3D GiftTypes;=0A=
    }=0A=
    return gifts;=0A=
}=0A=
=0A=
function cmpGifts(a, b){=0A=
    if (sort =3D=3D 'pop_d') {=0A=
        return b[4] - a[4];=0A=
    } else if (sort =3D=3D 'pop_a') {=0A=
        return a[4] - b[4];=0A=
    } else if (sort =3D=3D 'name_a') {=0A=
        return a[2].localeCompare(b[2]);=0A=
    } else if (sort =3D=3D 'name_d') {=0A=
        return b[2].localeCompare(a[2]);=0A=
    } else {=0A=
        return b[4] - a[4];=0A=
    }=0A=
}=0A=
=0A=
function showGifts(group, page, sortBy){=0A=
    if (sortBy !=3D undefined) {=0A=
        sort =3D sortBy;=0A=
    }=0A=
    var div =3D $('gifts_gr' + group + '_' + page + '_' + sort);=0A=
    if (div =3D=3D null) {=0A=
        var gifts =3D getGiftGroup(group);=0A=
        gifts.sort(cmpGifts);=0A=
		div =3D new Element('div', {id: 'gifts_gr' + group + '_' + page + '_' =
+ sort}).hide();=0A=
        $('giftsContainer').appendChild(div);=0A=
        var st =3D '<table style=3D"margin:0 0 20px 0;">';=0A=
        var start =3D (page - 1) * per_page;=0A=
        var end =3D start + per_page;=0A=
        if (end > gifts.length) {=0A=
            end =3D gifts.length;=0A=
        }=0A=
        for (var i =3D start; i < end; i++) {=0A=
            if (i % 4 =3D=3D 0)=0A=
                st +=3D '<tr>';=0A=
            st +=3D '<td width=3D25% valign=3D"top" =
align=3D"left"><table cellpadding=3D0 cellspacing=3D2><tr><td></td>';=0A=
            st +=3D '<td><label for=3D"gr' + group + 'gift_id_' + =
gifts[i][0] + '"><img src=3D"http://img3.imgsmail.ru/r/my/gifts/';=0A=
            st +=3D gifts[i][1] + '" onclick=3D"$(\'gr' + group + =
'gift_id_' + gifts[i][0] + '\').checked=3Dtrue;" /></label></td></tr>';=0A=
            st +=3D '<tr><td valign=3D"top"><input type=3D"radio" =
id=3D"gr' + group + 'gift_id_' + gifts[i][0] + '" name=3D"gift_id"';=0A=
            st +=3D ' value=3D"' + gifts[i][0] + '"></td><td =
valign=3D"top"><label for=3D"gr' + group + 'gift_id_' + gifts[i][0] + =
'">';=0A=
            st +=3D '<span class=3Dv>' + gifts[i][2] + =
'</span></label></td></tr></table></td>';=0A=
            if (i % 4 =3D=3D 3)=0A=
                st +=3D '</tr><tr><td>&nbsp;</td></tr>';=0A=
        }=0A=
        st +=3D '</table>';=0A=
        div.update(st);=0A=
    }=0A=
    $(cur_gifts).hide();=0A=
    div.show();=0A=
    showTabs(group);=0A=
    showPageNav(group, page);=0A=
    cur_gifts =3D div.id;=0A=
    return false;=0A=
}=0A=
=0A=
function showTabs(group){=0A=
    var st =3D '';=0A=
    for (var i =3D 0; i < grNames.length; i++) {=0A=
        st +=3D '<span>';=0A=
        st +=3D ('' + group =3D=3D '' + grNames[i][0]) ? '<b>' + =
grNames[i][1] + '</b>' : getLink(grNames[i][0], 1, grNames[i][1]);=0A=
        st +=3D '</span>';=0A=
    }=0A=
    st +=3D ' <span =
class=3D"sort">=D1=EE=F0=F2=E8=F0=EE=E2=E0=F2=FC:&nbsp;';=0A=
    var cl =3D (sort =3D=3D 'pop_a' ? 'bold_d' : '') + (sort =3D=3D =
'pop_d' ? 'bold_a' : '');=0A=
    st +=3D '<span' + (cl =3D=3D '' ? '' : ' class=3D"' + cl + '"') + =
'>' + getLink(group, 1, =
'=CF=EE&nbsp;=EF=EE=EF=F3=EB=FF=F0=ED=EE=F1=F2=E8', sort =3D=3D 'pop_d' =
? 'pop_a' : 'pop_d') + '</span>';=0A=
    st +=3D '&nbsp;|&nbsp;';=0A=
    cl =3D (sort =3D=3D 'name_a' ? 'bold_d' : '') + (sort =3D=3D =
'name_d' ? 'bold_a' : '');=0A=
    st +=3D '<span' + (cl =3D=3D '' ? '' : ' class=3D"' + cl + '"') + =
'>' + getLink(group, 1, '=CF=EE&nbsp;=E8=EC=E5=ED=E8', sort =3D=3D =
'name_a' ? 'name_d' : 'name_a') + '</span>';=0A=
    st +=3D '</span>';=0A=
    $('groups').update(st);=0A=
}=0A=
=0A=
function showPageNav(group, page){=0A=
    var len =3D getGiftGroup(group).length;=0A=
    if (len <=3D per_page) {=0A=
        $('pageNav').update('');=0A=
        return;=0A=
    }=0A=
    var st =3D '<table width=3D100% class=3D"mt10 mb20" =
style=3D"clear:left;"><tr><td nowrap style=3D"padding-left:10px">';=0A=
    if (page > 1) {=0A=
        st +=3D getLink(group, page - 1, '<span =
class=3Dt110><b>&#0139;</b></span>&nbsp;=CD=E0=E7=E0=E4');=0A=
    }=0A=
    for (var i =3D 1; i < len / per_page + 1; i++) {=0A=
        if (i =3D=3D page) {=0A=
            st +=3D '<b>&middot; ' + page + ' &middot;</b>';=0A=
        }=0A=
        else {=0A=
            st +=3D '&nbsp;' + getLink(group, i, i) + '&nbsp;';=0A=
        }=0A=
    }=0A=
    if (page < len / per_page) {=0A=
        st +=3D getLink(group, page + 1, '=C4=E0=EB=E5=E5&nbsp;<span =
class=3Dt110><b>&#0155;</b></span>');=0A=
    }=0A=
    st +=3D '</td></tr></table>';=0A=
=0A=
    $('pageNav').update(st);=0A=
}=0A=
=0A=
function getLink(group, page, text, sortBy){=0A=
    if (sortBy =3D=3D undefined) {=0A=
        sortBy =3D sort;=0A=
    }=0A=
    var st =3D '<a href=3D"gifts?send=3D' + sendTo + '&group=3D' + group =
+ '&page=3D' + page + '&sort=3D' + sortBy + '"';=0A=
    st +=3D ' onclick=3D"return showGifts(\'' + group + '\',' + page + =
',\'' + sortBy + '\')">' + text + '</a>';=0A=
    return st;=0A=
}=0A=
=0A=
function gift_send_checkCtrlEnter(evt){=0A=
    checkCtrlEnter(evt,'giftSend');=0A=
}=0A=
=0A=
/*=0A=
 * {main.tmpl}=0A=
 */=0A=
function main_count_symbols(){=0A=
    num =3D $('comment_text').value.length;=0A=
    digit =3D num % 10;=0A=
    dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
    ent =3D '=C2=E2=E5=E4=E5=ED=EE';=0A=
    switch (digit) {=0A=
        case 1:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB';=0A=
            ent =3D '=C2=E2=E5=E4=E5=ED';=0A=
            break;=0A=
        case 2:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
        case 3:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
    }=0A=
    digit =3D num % 100;=0A=
    if (digit > 10 && digit < 20) {=0A=
        dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
        ent =3D '=C2=E2=E5=E4=E5=ED=EE';=0A=
    }=0A=
    $('text_symbols').update(ent + ': ' + num + ' ' + dig + ' =
(=EC=E0=EA=F1=E8=EC=F3=EC 4000)');=0A=
    if (num > 4000) {=0A=
        $('text_symbols').style.color =3D '#C00'=0A=
    }=0A=
    if (num <=3D 4000) {=0A=
        $('text_symbols').style.color =3D '#CCC'=0A=
    }=0A=
}=0A=
=0A=
function main_dis_sub_but(){=0A=
    var val =3D $F("comment_text");=0A=
    var sub_but =3D $("sub_but");=0A=
    if (val !=3D "") {=0A=
        $('cont_div_check').hide();=0A=
        sub_but.value =3D "=C8=E4=E5=F2 =EE=F2=EF=F0=E0=E2=EA=E0";=0A=
        sub_but.disable();=0A=
        return true;=0A=
    }=0A=
    else {=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
function add_comment(obj){=0A=
    max_len =3D 4000;=0A=
    len =3D obj.comment_text.value.length;=0A=
    if (len > max_len) {=0A=
        alert("=C2=FB =EF=FB=F2=E0=E5=F2=E5=F1=FC =
=EE=F2=EF=F0=E0=E2=E8=F2=FC " + len + " =F1=E8=EC=E2=EE=EB=EE=E2. =
=CC=E0=EA=F1=E8=EC=E0=EB=FC=ED=EE =F0=E0=E7=F0=E5=F8=B8=ED=ED=E0=FF =
=E4=EB=E8=ED=E0 " + max_len + " =F1=E8=EC=E2=EE=EB=EE=E2.")=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        main_dis_sub_but();=0A=
        return true;=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {blocks/top_my.tmpl}=0A=
 */=0A=
function oldOperaMessage(is_opera){=0A=
    if (is_opera =3D=3D 1) {=0A=
        document.writeln('<div class=3D"mt10 mb10">=C2=E0=F8 =
=E1=F0=E0=F3=E7=E5=F0 (Opera =E2=E5=F0=F1=E8=E8 8.51 =E8=EB=E8 =
=ED=E8=E6=E5) =ED=E5 =EF=EE=E7=E2=EE=EB=FF=E5=F2 =E2=E0=EC =
=E8=F1=EF=EE=EB=FC=E7=EE=E2=E0=F2=FC =E2=F1=E5 =F4=F3=ED=EA=F6=E8=E8 =
=EF=F0=EE=E5=EA=F2=E0 =CC=EE=E9 =CC=E8=F0@Mail.Ru =E2 =EF=EE=EB=ED=EE=EC =
=EE=E1=FA=E5=EC=E5. =D7=F2=EE=E1=FB =
=E2=EE=F1=EF=EE=EB=FC=E7=EE=E2=E0=F2=FC=F1=FF =
=EF=EE=EB=ED=EE=F4=F3=ED=EA=F6=E8=EE=ED=E0=EB=FC=ED=FB=EC =
=EF=EE=E8=F1=EA=EE=EC =EB=FE=E4=E5=E9 =E8=EB=E8 =
=E7=E0=EF=EE=EB=ED=E8=F2=FC =E0=ED=EA=E5=F2=F3, =
=EF=EE=E6=E0=EB=F3=E9=F1=F2=E0, =
=E2=EE=F1=EF=EE=EB=FC=E7=F3=E9=F2=E5=F1=FC =E4=F0=F3=E3=E8=EC =
=E1=F0=E0=F3=E7=E5=F0=EE=EC =E8=EB=E8 =EE=E1=ED=EE=E2=E8=F2=E5 =
=E2=E5=F0=F1=E8=FE =F2=E5=EA=F3=F9=E5=E3=EE =
=E1=F0=E0=F3=E7=E5=F0=E0.<\/div>');=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * =F4=F3=ED=EA=F6=E8=FF =E4=EB=FF =EE=F2=EE=E1=F0=E0=E6=E5=ED=E8=FF =
popup =EE=EA=ED=E0, =EF=F0=E8 =ED=E0=E6=E0=F2=E8=E8 =ED=E0 =
=F1=F1=FB=EB=EA=F3  "=F3=E2=E5=EB=E8=F7=E8=F2=FC" =EF=EE=E4 =
=E0=E2=E0=F2=E0=F0=EE=EC=0A=
 * @param {String} Url=0A=
 */=0A=
function popup_larger(Url){=0A=
    if (popup_l)=0A=
        popup_l.close();=0A=
    popup_l =3D window.open(Url, 'popup', =
'width=3D580,height=3D580,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 580) / 2 + ',top=3D' + (screen.height - 580) =
/ 2);=0A=
    if (popup_l)=0A=
        popup_l.focus();=0A=
}=0A=
=0A=
function show_help(event, help_text){=0A=
    if (!event)=0A=
        event =3D window.event;=0A=
    var element =3D event.target || event.srcElement;=0A=
    var div =3D $("help_div");=0A=
    if (element && div) {=0A=
        var coor =3D get_position(element);=0A=
        div.update("<a onclick=3D\"return clear_help()\" =
href=3D\"\"><img =
src=3Dhttp://img0.imgsmail.ru/mail/ru/images/blogs/close_help.gif =
height=3D7 width=3D7 align=3Dright><\/a><br>" + help_text);=0A=
        div.className =3D "help_div";=0A=
		div.setStyle({=0A=
			top: coor.top + element.offsetHeight + 'px',=0A=
			left: coor.left + 'px',=0A=
			display: 'block',=0A=
			visibility: 'visible'=0A=
		});=0A=
        event.cancelBubble =3D true;=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function clear_help(){=0A=
    var div =3D $("help_div");=0A=
    if (div) {=0A=
        div.className =3D "help_div";=0A=
        div.hide();=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function get_position(offsetTrail){=0A=
    var offsetLeft =3D 0;=0A=
    var offsetTop =3D -11;=0A=
    while (offsetTrail) {=0A=
        offsetLeft +=3D offsetTrail.offsetLeft;=0A=
        offsetTop +=3D offsetTrail.offsetTop;=0A=
        offsetTrail =3D offsetTrail.offsetParent;=0A=
    }=0A=
    return {=0A=
        left: offsetLeft,=0A=
        top: offsetTop=0A=
    }=0A=
}=0A=
=0A=
function add_photo_to_message(){=0A=
    //if (popup) popup.close();=0A=
    popup =3D =
window.open('http://'+PhotoImagineHost+'/cgi-bin/photo/addphoto?guestbook=
=3D1&Title=3D&My=3D1', 'add_pict', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
    if (popup)=0A=
        popup.focus();=0A=
}=0A=
=0A=
function add_video_to_message(){=0A=
    popup =3D =
window.open('http://'+VideoPerlHost+'/cgi-bin/photo/addvideo?guestbook=3D=
1=3D', 'add_vid', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
    if (popup)=0A=
        popup.focus();=0A=
}=0A=
=0A=
function add_photo(type){=0A=
    var params =3D {=0A=
	'mydialog':{=0A=
	    =
'width':600,'height':660,'toolbars':'no','scrollbars':'yes','resizable':'=
yes',=0A=
	    'left':(screen.width-660)/2,'top':(screen.height-660)/2=0A=
	},=0A=
	'mycommunitycontest':{=0A=
	    =
'width':600,'height':660,'toolbars':'no','scrollbars':'yes','resizable':'=
yes',=0A=
	    'left':(screen.width-660)/2,'top':(screen.height-660)/2=0A=
	}=0A=
    };=0A=
    if(!type) type =3D 'mydialog';=0A=
    popup =3D window.open('http://' + PhotoImagineHost + =
'/cgi-bin/photo/addphoto?' + type + '=3D1&My=3D1', 'add_pict',=0A=
	(new Hash(params[type])).map(function(v){ return v.join('=3D') =
}).join(','));=0A=
    if (popup) popup.focus();=0A=
}=0A=
=0A=
function add_video(){=0A=
    popup =3D =
window.open('http://'+VideoPerlHost+'/cgi-bin/photo/addvideo?mydialog=3D1=
&Title=3D', 'add_vid', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
    if (popup)=0A=
        popup.focus();=0A=
}=0A=
=0A=
function add_paint(){=0A=
	popup =3D window.open('http://'+ PaintshopHost + =
'/paintshop/prj_my/popup_edit.html', 'add_paint', =
'width=3D1000,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes=
,left=3D' + (screen.width - 1000) / 2 + ',top=3D' + (screen.height - =
660) / 2);=0A=
	if (popup) popup.focus();=0A=
}=0A=
=0A=
function view_paint (url) {=0A=
	popup =3D window.open(url, 'view_paint', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
	if (popup) popup.focus();		=0A=
}=0A=
=0A=
function embed_mp3_player(URL){=0A=
    // Get Operating System=0A=
    var isWin =3D navigator.userAgent.toLowerCase().indexOf("windows") =
!=3D -1;=0A=
    if (isWin) { // Use MIME type application/x-mplayer2=0A=
        visitorOS =3D "Windows";=0A=
    }=0A=
    else { // Use MIME type audio/mpeg, audio/x-wav, etc.=0A=
        visitorOS =3D "Other";=0A=
    }=0A=
=0A=
    var objTypeTag =3D "application/x-mplayer2"; // The MIME type to =
load the WMP plugin in non-IE browsers on Windows=0A=
    if (visitorOS !=3D "Windows") {=0A=
        objTypeTag =3D "audio/mpeg"=0A=
    }; // The MIME type for Macs and Linux=0A=
    document.writeln("<div>");=0A=
    document.writeln("<object width=3D'280' height=3D'69'>"); // Width =
is the WMP minimum. Height =3D 45 (WMP controls) + 24 (WMP status bar)=0A=
    document.writeln("<param name=3D'type' value=3D'" + objTypeTag + =
"'>");=0A=
    document.writeln("<param name=3D'src' value=3D'" + URL + "'>");=0A=
    document.writeln("<param name=3D'autostart' value=3D'0'>");=0A=
    document.writeln("<param name=3D'showcontrols' value=3D'1'>");=0A=
    document.writeln("<param name=3D'showstatusbar' value=3D'1'>");=0A=
    document.writeln("<embed src =3D'" + URL + "' type=3D'" + objTypeTag =
+ "' autoplay=3D'false' autostart=3D'0' width=3D'280' height=3D'69' =
controller=3D'1' showstatusbar=3D'1' bgcolor=3D'#ffffff'></embed>");=0A=
=0A=
    // Firefox and Opera Win require both autostart and autoplay=0A=
    document.writeln("</object>");=0A=
    document.writeln("</div>");=0A=
}=0A=
=0A=
/*=0A=
 * {blocks/menu_alert.html}=0A=
 */=0A=
function downloadfoto(){=0A=
    var popupwin =3D =
window.open("http://foto.mail.ru/cgi-bin/photo/addphoto?myphoto=3D1&mode=3D=
1&Title=3D", "dlphoto", "height=3D650,width=3D600,scrollbars=3Dno");=0A=
    return false;=0A=
}=0A=
=0A=
function openPopUp(src, width, height){=0A=
    var videoperlhost =3D "video.mail.ru";=0A=
    var _width =3D width;=0A=
    var _height =3D height;=0A=
    var top =3D 0;=0A=
    var left =3D (widthwindow - _width) / 2;=0A=
    var path =3D 'http://r.mail.ru/cln4235/' + videoperlhost + '/' + src;=0A=
    var newWin =3D window.open(path, '_new', 'width=3D' + _width + =
',height=3D' + _height + ',top=3D' + top + ',left=3D' + left + =
',resizable');=0A=
}=0A=
=0A=
/*=0A=
 * {blocks/menu_career.html}=0A=
 */=0A=
function switchNeedJob(){=0A=
    var need_job =3D $('need_job_id');=0A=
    var job_group =3D $('job_group_id');=0A=
    var submit_cont =3D $('job_submit_container');=0A=
    var current_job_group =3D $('current_job_group');=0A=
    var job_submit =3D $('job_group_submit_button');=0A=
=0A=
    submit_cont.show();=0A=
    if (need_job.checked) {=0A=
        job_submit.show();=0A=
        job_group.show();=0A=
    }=0A=
    else {=0A=
        job_submit.hide();=0A=
        job_group.hide();=0A=
    }=0A=
}=0A=
=0A=
function submitNeedJob(){=0A=
    var need_job =3D $('need_job_id');=0A=
    var job_group =3D $('job_group_id');=0A=
    if (need_job.checked && !job_group.value) {=0A=
        alert('=CE=F8=E8=E1=EA=E0: =ED=E5 =F3=EA=E0=E7=E0=ED=E0 =
=E3=F0=F3=EF=EF=E0 =F1=EF=E5=F6=E8=E0=EB=FC=ED=EE=F1=F2=E5=E9');=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        return true;=0A=
    }=0A=
}=0A=
=0A=
function checkCheckBox(objname){=0A=
    var ch =3D $(objname);=0A=
    if (ch.checked) {=0A=
        ch.checked =3D '';=0A=
    }=0A=
    else {=0A=
        ch.checked =3D true;=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {blocks/menu_items.tmpl}=0A=
 */=0A=
function changeMenu(id){=0A=
    var divmenu =3D new Array('ww', 'hh', 'ss', 'pp');=0A=
    for (i =3D 0; i < divmenu.length; i++) {=0A=
        myid =3D divmenu[i] + 'c';=0A=
        zid =3D divmenu[i] + 'z';=0A=
        if ($(divmenu[i])) {=0A=
            if (divmenu[i] =3D=3D id) {=0A=
                $(divmenu[i]).className =3D 'filtr_act';=0A=
                $(myid).show();=0A=
                $(zid).show();=0A=
            }=0A=
            else {=0A=
                $(divmenu[i]).className =3D 'filtr';=0A=
                $(myid).hide();=0A=
                $(zid).hide();=0A=
            }=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {menu_gifts.html}=0A=
 */=0A=
function changePres(id){=0A=
    var divmenu =3D new Array('valen', 'usual');=0A=
    for (i =3D 0; i < divmenu.length; i++) {=0A=
        myid =3D divmenu[i] + 'c';=0A=
        if ($(divmenu[i])) {=0A=
            if (divmenu[i] =3D=3D id) {=0A=
                $(divmenu[i]).className =3D 'zak_act';=0A=
                $(myid).show();=0A=
            }=0A=
            else {=0A=
                $(divmenu[i]).className =3D 'zak';=0A=
                $(myid).hide();=0A=
            }=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {blocks/menu_guestbook.html}=0A=
 */=0A=
function showSpamComplaintDiv(el, id, email){=0A=
    ajax_call('perl_is_friend', email, id, FriendComplaint);=0A=
    var div =3D $('SpamComplaintDiv');=0A=
    div.style.top =3D absPosition(el).y + el.offsetHeight;=0A=
    div.style.left =3D absPosition(el.parentNode).x;=0A=
    document.complaint.gb_message.value =3D id;=0A=
    document.complaint.spamer.value =3D email;=0A=
    $("message").checked =3D true;=0A=
    div.show();=0A=
    return false;=0A=
}=0A=
=0A=
function menu_guestbook_checkCtrlEnter(evt){=0A=
    checkCtrlEnter(evt, 'reply', null);=0A=
}=0A=
=0A=
function recurs(obj){=0A=
    if (obj.nodeType !=3D 3 && obj.childNodes) {=0A=
        var childs =3D obj.childNodes;=0A=
        var cn =3D childs.length;=0A=
        var i;=0A=
        for (i =3D 0; i < cn; i++) {=0A=
            if (childs[i].nodeType =3D=3D 1) {=0A=
                if (childs[i].tagName.toUpperCase() =3D=3D 'IMG') {=0A=
                    if (childs[i].offsetWidth > 465) {=0A=
                        childs[i].style.width =3D 470;=0A=
                    }=0A=
                }=0A=
                else {=0A=
                    if (childs[i].childNodes.length > 0)=0A=
                        recurs(childs[i]);=0A=
                }=0A=
            }=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {blocks/right_my.html}=0A=
 */=0A=
function message(){=0A=
    var widthwindow =3D document.body.clientWidth;=0A=
    if (widthwindow < 1132) {=0A=
        $('tt').style.width =3D '226';=0A=
        $('g').show();=0A=
        $('gg').hide();=0A=
    }=0A=
    else {=0A=
        $('tt').style.width =3D '342';=0A=
        $('g').hide();=0A=
        $('gg').show();=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {gift.tmpl}=0A=
 */=0A=
function gift_showSpamComplaintDiv(el, id){=0A=
    var div =3D $('SpamComplaintDiv');=0A=
    var p =3D getPosition(el);=0A=
    div.style.top =3D p.top + el.offsetHeight;=0A=
    div.style.left =3D p.left;=0A=
    document.complaint.gift.value =3D id;=0A=
    div.show();=0A=
    return false;=0A=
}=0A=
/*=0A=
 * {guestbook.tmpl}=0A=
 */=0A=
function showAddForm(a){=0A=
    var parent =3D a.parentNode;=0A=
    var div =3D $('cont_div_check').cloneNode(true);=0A=
    $('cont_div_check').parentNode.removeChild($('cont_div_check'));=0A=
    parent.insertBefore(div, a.nextSibling);=0A=
    $('cont_div_check').show();=0A=
    document.forms['reply'].elements['comment_text'].focus();=0A=
    //alert(div.innerHTML);=0A=
    return false;=0A=
}=0A=
=0A=
function guestbook_dis_sub_but(){=0A=
    var val =3D $F("comment_text");=0A=
    var sub_but =3D $("sub_but");=0A=
    if (val !=3D "") {=0A=
        $('cont_div_check').hide();=0A=
        sub_but.value =3D "=C8=E4=E5=F2 =EE=F2=EF=F0=E0=E2=EA=E0";=0A=
        sub_but.disable();=0A=
        return true;=0A=
    }=0A=
    else {=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
function guestbook_showSpamComplaintDiv(el, id, email){=0A=
    ajax_call('perl_is_friend', email, id, FriendComplaint);=0A=
    var div =3D $('SpamComplaintDiv');=0A=
    div.style.top =3D absPosition(el).y + el.offsetHeight;=0A=
//  div.style.left =3D absPosition(el.parentNode).x - =
(el.offsetWidth*15);=0A=
    document.complaint.gb_message.value =3D id;=0A=
    document.complaint.spamer.value =3D email;=0A=
    div.show();=0A=
    return false;=0A=
}=0A=
=0A=
//function FriendComplaint (UserStatus, UserName) {=0A=
//    if (UserStatus) {=0A=
//    $('ComplaintButton').value=3D"OK";=0A=
//    $('ComplaintText').firstChild.data=3D"=D3=E4=E0=EB=E8=F2=FC " + =
UserName + " =E8=E7 =F1=EF=E8=F1=EA=E0 =E4=F0=F3=E7=E5=E9 =E8 =
=EE=F2=EF=F0=E0=E2=E8=F2=FC =E6=E0=EB=EE=E1=F3 =ED=E0 =F1=EF=E0=EC?";=0A=
//    $('friendship').value=3D"die";=0A=
//    } else {=0A=
//    $('ComplaintButton').value=3D"=CF=EE=E4=F2=E2=E5=F0=E4=E8=F2=FC =
=E6=E0=EB=EE=E1=F3 =ED=E0 =F1=EF=E0=EC";=0A=
//    $('ComplaintText').firstChild.data=3D"";=0A=
//    $('friendship').value=3D"live";=0A=
//    }=0A=
//}=0A=
=0A=
function subscribe(t){=0A=
    if (t) {=0A=
        var data =3D t.responseText.evalJSON(true);=0A=
        if (data[1] =3D=3D 'OK') {=0A=
            var link =3D $('subscribeA');=0A=
            var image =3D $('subscribeImg');=0A=
            var text =3D $('subscribeText');=0A=
            if (subscribe_is_subscribed) {=0A=
                subscribe_is_subscribed =3D 0;=0A=
                text.update('=CF=EE=E4=EF=E8=F1=E0=F2=FC=F1=FF =ED=E0 =
=EE=E1=ED=EE=E2=EB=E5=ED=E8=FF');=0A=
                image.src =3D =
'http://img1.imgsmail.ru/r/blogs/ico_subscribe_2.png';=0A=
            }=0A=
            else {=0A=
                subscribe_is_subscribed =3D 1;=0A=
                text.update('=CE=F2=EF=E8=F1=E0=F2=FC=F1=FF =EE=F2 =
=EE=E1=ED=EE=E2=EB=E5=ED=E8=E9');=0A=
                image.src =3D =
'http://img2.imgsmail.ru/r/blogs/ico_unsubscribe.png';=0A=
            }=0A=
            subscribe_in_request =3D 0;=0A=
        }=0A=
    }=0A=
    else {=0A=
        if (subscribe_in_request) {=0A=
            return;=0A=
        }=0A=
        subscribe_in_request =3D 1;=0A=
        var req =3D subscribe_is_subscribed ? 'unsubscribe' : =
'subscribe';=0A=
        new Ajax.Request('http://my.rapira.mail.ru/cgi-bin/my/ajax', {=0A=
            method: 'post',=0A=
            parameters: {=0A=
                ajax_call: 1,=0A=
                func_name: 'perl_subscribe_community_guestbook',=0A=
                data:[subscribe_journal,req] .toJSON()=0A=
            },=0A=
            onSuccess: subscribe=0A=
        });=0A=
    }=0A=
}=0A=
=0A=
function guestbook_add_comment(obj){=0A=
    max_len =3D 1000;=0A=
    len =3D obj.comment_text.value.length;=0A=
    if (len > max_len) {=0A=
        alert("=C2=FB =EF=FB=F2=E0=E5=F2=E5=F1=FC =
=EE=F2=EF=F0=E0=E2=E8=F2=FC " + len + " =F1=E8=EC=E2=EE=EB=EE=E2. =
=CC=E0=EA=F1=E8=EC=E0=EB=FC=ED=EE =F0=E0=E7=F0=E5=F8=B8=ED=ED=E0=FF =
=E4=EB=E8=ED=E0 " + max_len + " =F1=E8=EC=E2=EE=EB=EE=E2.")=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        guestbook_dis_sub_but();=0A=
        return true;=0A=
    }=0A=
}=0A=
=0A=
function guestbook_checkCtrlEnter(evt){=0A=
    checkCtrlEnter(evt, 'reply');=0A=
}=0A=
=0A=
function guestbook_count_symbols(){=0A=
    num =3D $F('comment_text').length;=0A=
    digit =3D num % 10;=0A=
    dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
    ent =3D '=C2=E2=E5=E4=E5=ED=EE';=0A=
    switch (digit) {=0A=
        case 1:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB';=0A=
            ent =3D '=C2=E2=E5=E4=E5=ED';=0A=
            break;=0A=
        case 2:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
        case 3:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
    }=0A=
    digit =3D num % 100;=0A=
    if (digit > 10 && digit < 20) {=0A=
        dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
        ent =3D '=C2=E2=E5=E4=E5=ED=EE';=0A=
    }=0A=
    $('text_symbols').update(ent + ': ' + num + ' ' + dig + ' =
(=EC=E0=EA=F1=E8=EC=F3=EC 1000)');=0A=
    if (num > 1000) {=0A=
        $('text_symbols').style.color =3D '#C00'=0A=
    }=0A=
    if (num <=3D 1000) {=0A=
        $('text_symbols').style.color =3D '#CCC'=0A=
    }=0A=
}=0A=
=0A=
//function setFocus(form, field){=0A=
//    document.form.field.focus();=0A=
//}=0A=
=0A=
/*=0A=
 * {blocks/top_base_my.html}=0A=
 */=0A=
function uPicOver(span){=0A=
    var avatarPath, img;=0A=
    avatarPath =3D "http://" + PhotoAvtHost + "/";=0A=
    img =3D $("forUserPicShow");=0A=
    img.src =3D avatarPath + span.id + "/_avatar";=0A=
    img.style.top =3D absPosition(span).y + span.offsetHeight;=0A=
    img.style.left =3D absPosition(span).x;=0A=
    img.show();=0A=
}=0A=
=0A=
function uPicOut(span){=0A=
    var img;=0A=
    var img =3D $("forUserPicShow");=0A=
    img.hide();=0A=
    img.src =3D "wait.gif";=0A=
}=0A=
=0A=
function check_winsize(){=0A=
    var size;=0A=
    if (document.all)=0A=
        size =3D window.document.body.clientWidth;=0A=
    else=0A=
        size =3D window.innerWidth;=0A=
    if (size > 820) {=0A=
        $("resize_img").width =3D size * 0.05;=0A=
        $("zapis_div").style.width =3D size * 0.63;=0A=
    }=0A=
    else {=0A=
        $("resize_img").width =3D 1;=0A=
        $("zapis_div").style.width =3D 500;=0A=
    }=0A=
}=0A=
=0A=
function show_add_to_friends_on_load(){=0A=
    if (window.location.search.indexOf('show_add_to_friend=3D1') >=3D 0)=0A=
        show_friend_group_selector('for_friend_group_selector', =
JournalEmail);=0A=
}=0A=
=0A=
/*=0A=
 * {history.tmpl}=0A=
 */=0A=
function history_less_disabled(){=0A=
    if (disableness =3D=3D 1) {=0A=
        $('submit_' + mode + (editing =3D=3D 1 ? '_edit' : =
'_insert')).enable();=0A=
    }=0A=
    disableness =3D 0;=0A=
}=0A=
=0A=
function history_form_empty(level){=0A=
    //alert('form empty -> '+level);=0A=
    var suff =3D '';=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D '_edit';=0A=
    if (level < 1) {=0A=
        if (mode =3D=3D 'school') {=0A=
            $('startdate_' + mode + suff).value =3D '';=0A=
        }=0A=
        if (mode =3D=3D 'vuz' || mode =3D=3D 'ssuz') {=0A=
            $('kurs_' + mode + suff).selectedIndex =3D 0;=0A=
        }=0A=
        $('enterdate_' + mode + suff).value =3D '';=0A=
        $('leavedate_' + mode + suff).value =3D '';=0A=
    }=0A=
    if (level < 2) {=0A=
        $('region_id_' + mode + suff).options.length =3D 1;=0A=
        $('region_id_' + mode + suff).options[0].value =3D '';=0A=
        $('region_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('region_id_' + mode + suff).disable();=0A=
    }=0A=
    if (level < 3) {=0A=
        $('city_id_' + mode + suff).options.length =3D 1;=0A=
        $('city_id_' + mode + suff).options[0].value =3D '';=0A=
        $('city_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('city_id_' + mode + suff).disable();=0A=
    }=0A=
    if (level < 4) {=0A=
        $('institute_id_' + mode + suff).options.length =3D 1;=0A=
        $('institute_id_' + mode + suff).options[0].value =3D '';=0A=
        $('institute_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('institute_id_' + mode + suff).disable();=0A=
    }=0A=
    if (level < 5 && (mode =3D=3D 'vuz' || mode =3D=3D 'ssuz')) {=0A=
        $('department_id_' + mode + suff).options.length =3D 1;=0A=
        $('department_id_' + mode + suff).options[0].value =3D '';=0A=
        $('department_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('department_id_' + mode + suff).disable();=0A=
    }=0A=
    if (level < 6 && (mode =3D=3D 'vuz' || mode =3D=3D 'ssuz')) {=0A=
        $('kafedra_id_' + mode + suff).options.length =3D 1;=0A=
        $('kafedra_id_' + mode + suff).options[0].value =3D '';=0A=
        $('kafedra_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('kafedra_id_' + mode + suff).disable();=0A=
    }=0A=
}=0A=
=0A=
function history_FillGeo(names, ids, type, level, special){=0A=
    //alert(names.length+' '+type+' '+level);=0A=
    var suff =3D "";=0A=
    var no_list =3D 0;=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
=0A=
    var list;=0A=
    if (type =3D=3D 1) {=0A=
        list =3D $('country_id_' + mode + suff);=0A=
        list.enable();=0A=
        history_form_empty(1);=0A=
    }=0A=
    else=0A=
        if (type =3D=3D 2) {=0A=
            history_form_empty(2);=0A=
            list =3D $('region_id_' + mode + suff);=0A=
            $('region_id_' + mode + suff).enable();=0A=
            $('city_id_' + mode + suff).disable();=0A=
            $('city_id_' + mode + suff).options.length =3D 1;=0A=
            $('city_id_' + mode + suff).options[0].value =3D '';=0A=
            $('city_id_' + mode + suff).options[0].text =3D =
'=C2=FB=E1=F0=E0=F2=FC';=0A=
        }=0A=
        else=0A=
            if (type =3D=3D 3) {=0A=
                if (level !=3D 3) { // Not a Russia, disabling region =
menu=0A=
                    $('region_id_' + mode + suff).options.length =3D 0;=0A=
                    $('region_id_' + mode + suff).options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
                    $('region_id_' + mode + suff).disable();=0A=
                }=0A=
                history_form_empty(3);=0A=
                $('city_id_' + mode + suff).enable();=0A=
                list =3D $('city_id_' + mode + suff);=0A=
=0A=
            }=0A=
            else {=0A=
                no_list =3D 1;=0A=
                $('city_id_' + mode + suff).options.length =3D 0;=0A=
                $('city_id_' + mode + suff).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
                $('city_id_' + mode + suff).enable();=0A=
                $('city_id_' + mode + suff + '_other').show();=0A=
=0A=
                $('institute_id_' + mode + suff).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
                $('institute_id_' + mode + suff).enable();=0A=
                $('institute_id_' + mode + suff + '_other').show();=0A=
=0A=
                if (mode =3D=3D 'vuz' || mode =3D=3D 'ssuz') {=0A=
                    $('department_id_' + mode + suff).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
                    $('department_id_' + mode + suff).enable();=0A=
                    $('department_id_' + mode + suff + '_other').show();=0A=
=0A=
                    $('kafedra_id_' + mode + suff).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
                    $('kafedra_id_' + mode + suff).enable();=0A=
                    $('kafedra_id_' + mode + suff + '_other').show();=0A=
                }=0A=
            }=0A=
    if (no_list =3D=3D 0) {=0A=
        var nl =3D 0;=0A=
        if (names !=3D undefined)=0A=
            nl =3D names.length;=0A=
=0A=
        list.options.length =3D 0;=0A=
        var addon =3D 0;=0A=
        //if (editing !=3D 1) {=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        addon =3D 1;=0A=
        //}=0A=
        for (var i =3D 0; i < nl; i++) {=0A=
            list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
            if (special > 0) {=0A=
                list.options[i + addon].style.fontWeight =3D "bold";=0A=
                special--;=0A=
            }=0A=
        }=0A=
=0A=
=0A=
        if (type =3D=3D 3) {=0A=
            list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
            if (is_capital =3D=3D 1) {//set default city -> capital=0A=
                //alert('set capital ' + is_capital);=0A=
                list.selectedIndex =3D 1;=0A=
                list.onchange();=0A=
            }=0A=
        }=0A=
        if (type =3D=3D 1)//set default country -> Russia=0A=
        {=0A=
            list.selectedIndex =3D 1;=0A=
            list.onchange();=0A=
        }=0A=
        if (need_switch_star) {=0A=
            history_switchStarOfFieldCallback();=0A=
        }=0A=
    }=0A=
    history_less_disabled();=0A=
}=0A=
=0A=
function history_FillStudies(names, ids){=0A=
    history_form_empty(4);=0A=
    //alert('history_FillStudies -> '+names);=0A=
    if (editing =3D=3D 1) {=0A=
        history_showHideStudyObject(mode + 'edit', 1);=0A=
    }=0A=
    else {=0A=
        history_showHideStudyObject(mode, 1);=0A=
    }=0A=
=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var list =3D $("institute_id_" + mode + suff);=0A=
    list.enable();=0A=
    var nl =3D 0;=0A=
    if (names !=3D undefined)=0A=
        nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    var addon =3D 0;=0A=
    //if (editing !=3D 1) {=0A=
    list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
    list.options[1] =3D new Option('=CF=EE=E8=F1=EA =EF=EE =
=F1=EF=E8=F1=EA=F3', 'other');=0A=
    list.options[1].style.fontWeight =3D "bold";=0A=
    list.selectedIndex =3D 0;=0A=
    addon =3D 2;=0A=
    //}=0A=
    for (i =3D 0; i < nl; i++) {=0A=
        names[i].length > 73 ? html_escape(names[i].slice(0, 70) + =
'...') : html_escape(names[i]);=0A=
        list.options[i + addon] =3D new Option(names[i].length > 73 ? =
names[i].slice(0, 70) + '...' : names[i], ids[i]);=0A=
    }=0A=
    list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
    institutions =3D 0;=0A=
    institutions =3D names;=0A=
    var ab =3D ab_get(list);=0A=
    ab.draw();=0A=
    history_less_disabled();=0A=
}=0A=
=0A=
function history_FillDepartments(names, ids){=0A=
    history_form_empty(5);=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var list =3D $("department_id_" + mode + suff);=0A=
    list.enable();=0A=
    var nl =3D 0;=0A=
    if (names !=3D undefined)=0A=
        nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    var addon =3D 0;=0A=
    //if (editing !=3D 1) {=0A=
    list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
    list.selectedIndex =3D 0;=0A=
    addon =3D 1;=0A=
    //}=0A=
    for (i =3D 0; i < nl; i++) {=0A=
        list.options[i + addon] =3D new Option(names[i].length > 73 ? =
names[i].slice(0, 70) + '...' : names[i], ids[i]);=0A=
    }=0A=
    list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
    history_less_disabled();=0A=
}=0A=
=0A=
function history_FillKafedra(names, ids){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var list =3D $("kafedra_id_" + mode + suff);=0A=
    list.enable();=0A=
    var nl =3D 0;=0A=
    if (names !=3D undefined)=0A=
        nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    var addon =3D 0;=0A=
    //if (editing !=3D 1) {=0A=
    list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
    list.selectedIndex =3D 0;=0A=
    addon =3D 1;=0A=
    //}=0A=
    for (i =3D 0; i < nl; i++) {=0A=
        list.options[i + addon] =3D new Option(names[i].length > 73 ? =
names[i].slice(0, 70) + '...' : names[i], ids[i]);=0A=
    }=0A=
    list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
    history_less_disabled();=0A=
}=0A=
=0A=
function history_FillList(oid, names, ids, sid){=0A=
    //alert('history_FillList -> '+oid+' - '+names);=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    //alert("history_FillList |"+oid+mode+suff+"|");=0A=
    var list =3D $(oid + mode + suff);=0A=
    if (list =3D=3D undefined || list =3D=3D null)=0A=
        return;=0A=
    if (names =3D=3D '0' || names =3D=3D 0) {=0A=
        list.disable();=0A=
        return;=0A=
    }=0A=
    //alert("history_FillList running "+names);=0A=
    list.enable();=0A=
    var nl =3D 0;=0A=
    if (names !=3D undefined)=0A=
        nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    var addon =3D 0;=0A=
    if (editing !=3D 1) {=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        list.selectedIndex =3D 0;=0A=
        addon =3D 1;=0A=
    }=0A=
    if (editing =3D=3D 1 && (oid =3D=3D 'department_id_' || oid =3D=3D =
'kafedra_id_')) {=0A=
        list.options[0] =3D new Option('=CD=E5 =E2=FB=E1=F0=E0=ED=EE', =
'');=0A=
        list.selectedIndex =3D 0;=0A=
        addon =3D 1;=0A=
    }=0A=
    if (editing =3D=3D 1 && (oid =3D=3D 'institute_id_')) {=0A=
        list.options[0] =3D new Option('=CF=EE=E8=F1=EA =EF=EE =
=F1=EF=E8=F1=EA=F3', 'other');=0A=
        list.options[0].style.fontWeight =3D "bold";=0A=
        addon =3D 1;=0A=
    }=0A=
    for (var i =3D 0; i < nl; i++) {=0A=
        list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
        if (ids[i] =3D=3D sid)=0A=
            list.options[i + addon].selected =3D 'selected';=0A=
    }=0A=
    if (oid =3D=3D 'city_id_' || oid =3D=3D 'institute_id_' || oid =
=3D=3D 'department_id_' || oid =3D=3D 'kafedra_id_') {=0A=
        var le =3D list.options.length;=0A=
        list.options[le] =3D new Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
        if (le =3D=3D 0) {=0A=
            var elem =3D $(oid + mode + suff + '_other');=0A=
            if (elem !=3D undefined)=0A=
                elem.show();=0A=
        }=0A=
    }=0A=
    if (editing =3D=3D 1 && (oid =3D=3D 'institute_id_')) {=0A=
        institutions =3D 0;=0A=
        institutions =3D names;=0A=
    }=0A=
}=0A=
=0A=
function history_CheckList(oid, sid){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var list =3D $(oid + mode + suff);=0A=
    if (list =3D=3D undefined || list =3D=3D null)=0A=
        return;=0A=
    list.enable();=0A=
    for (var i =3D 0; i < list.options.length; i++) {=0A=
        if (list.options[i + 1].value =3D=3D sid)=0A=
            list.options[i + 1].selected =3D 1;=0A=
    }=0A=
}=0A=
=0A=
=0A=
function history_FillField(oid, valu){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var field =3D $(oid + mode + suff);=0A=
    if (field =3D=3D undefined || field =3D=3D null)=0A=
        return;=0A=
    field.value =3D valu;=0A=
}=0A=
=0A=
function history_FillSelect(oid, valu){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var field =3D $(oid + mode + suff);=0A=
    if (field =3D=3D undefined || field =3D=3D null)=0A=
        return;=0A=
    for (var i =3D 0; i < field.options.length; i++) {=0A=
        if (field.options[i].value =3D=3D valu) {=0A=
            field.selectedIndex =3D i;=0A=
            return;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function history_FillEdit(eId, cNames, cIds, cId, rNames, rIds, rId, =
tNames, tIds, tId, instNames, instIds, instId, facNames, facIds, facId, =
subfacNames, subfacIds, subfacId, supName, kurs, startDate, enterDate, =
leaveDate){=0A=
    //ajax perl_fetch_edu callback, filling edit form=0A=
    //receiving all data, checked.=0A=
    history_FillSelect('startdate_', startDate);=0A=
    history_FillSelect('enterdate_', enterDate);=0A=
    history_FillSelect('leavedate_', leaveDate);=0A=
    history_FillField('ab_compose_supname', supName, 0);=0A=
    history_FillField('eid_', eId, 0);=0A=
=0A=
    history_FillList('country_id_', cNames, cIds, cId);=0A=
    history_FillList('region_id_', rNames, rIds, rId);=0A=
    if (need_switch_star) {=0A=
        history_switchStarOfFieldCallback();=0A=
    }=0A=
    history_FillList('city_id_', tNames, tIds, tId);=0A=
    history_FillList('institute_id_', instNames, instIds, instId);=0A=
    history_FillList('department_id_', facNames, facIds, facId);=0A=
    history_FillList('kafedra_id_', subfacNames, subfacIds, subfacId);=0A=
    history_FillSelect('kurs_', kurs);=0A=
    $('submit_' + mode + (editing =3D=3D 1 ? '_edit' : =
'_insert')).enable();=0A=
}=0A=
=0A=
function history_ChooseOtherObj(oid){=0A=
    var list =3D $(oid);=0A=
    if (list.disabled =3D=3D 1)=0A=
        return;=0A=
    list.selectedIndex =3D list.options.length - 1;=0A=
    list.onchange();=0A=
}=0A=
=0A=
function history_switchStarOfField(fieldName, starName){=0A=
    star_field =3D fieldName;=0A=
    star_name =3D starName;=0A=
    need_switch_star =3D true;=0A=
}=0A=
=0A=
function history_switchStarOfFieldCallback(){=0A=
    if ($(star_field).disabled =3D=3D 0) {=0A=
        $(star_name).className =3D 'red';=0A=
    }=0A=
    else {=0A=
        $(star_name).className =3D 'white';=0A=
    }=0A=
    need_switch_star =3D false;=0A=
}=0A=
=0A=
function history_CheckFieldByNull(formName, fieldName, errorText){=0A=
    if (formName && formName.elements[fieldName] && =
!formName.elements[fieldName].value) {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
function history_CheckFormByNull(formName){=0A=
    history_more_disabled();=0A=
    var errors =3D "";=0A=
    if (editing =3D=3D 1) {=0A=
        suff =3D "_edit";=0A=
    }=0A=
    else {=0A=
        suff =3D "";=0A=
    }=0A=
    switch (mode) {=0A=
        case 'school':=0A=
            institute_field_name =3D "=D8=CA=CE=CB=C0";=0A=
            institute_field_name_another =3D "=CD=CE=CC=C5=D0 =
=D8=CA=CE=CB=DB";=0A=
            enterdate_field_name =3D "=CD=C0=D7=C0=CB=CE =
=CE=C1=D3=D7=C5=CD=C8=DF";=0A=
            break;=0A=
        case 'vuz':=0A=
            institute_field_name =3D "=C8=CD=D1=D2=C8=D2=D3=D2";=0A=
            institute_field_name_another =3D "=C4=D0=D3=C3=CE=C9 =
=C8=CD=D1=D2=C8=D2=D3=D2";=0A=
            enterdate_field_name =3D "=CD=C0=D7=C0=CB =
=D3=D7=C8=D2=DC=D1=DF =C2";=0A=
            break;=0A=
        case 'ssuz':=0A=
            institute_field_name =3D "=CA=CE=CB=CB=C5=C4=C6 =C8=CB=C8 =
=CF=D2=D3";=0A=
            institute_field_name_another =3D "=C4=D0=D3=C3=CE=C9 =
=CA=CE=CB=CB=C5=C4=C6 =C8=CB=C8 =CF=D2=D3";=0A=
            enterdate_field_name =3D "=CD=C0=D7=C0=CB =
=D3=D7=C8=D2=DC=D1=DF =C2";=0A=
            break;=0A=
    }=0A=
=0A=
    /*errors =
+=3Dhistory_CheckFieldByNull(formName,'country_id',"=CF=EE=EB=E5 =
=D1=D2=D0=C0=CD=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     if(formName.elements['region_id'].disabled !=3D 1)=0A=
     {=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'region_id',"=CF=EE=EB=E5 =
=D0=C5=C3=C8=CE=CD =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     }=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'city_id',"=CF=EE=EB=E5 =
=C3=CE=D0=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");*/=0A=
    if (formName.elements['city_id'].value =3D=3D 'other') {=0A=
        errors +=3D history_CheckFieldByNull(formName, 'city_name', =
"=CF=EE=EB=E5 =C4=D0=D3=C3=CE=C9 =C3=CE=D0=CE=C4 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
=0A=
    errors +=3D history_CheckFieldByNull(formName, 'institute_id', =
"=CF=EE=EB=E5 " + institute_field_name + " =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    if (formName.elements['institute_id'].value =3D=3D 'other') {=0A=
        if (formName.elements['supname'].value =3D=3D "") {=0A=
            errors +=3D "=CF=EE=EB=E5 " + institute_field_name_another + =
" =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n";=0A=
        }=0A=
    }=0A=
    /*=0A=
     if(formName.elements['department_id'])=0A=
     {=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'department_id',"=CF=EE=EB=E5 =
=D4=C0=CA=D3=CB=DC=D2=C5=D2 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     if(formName.elements['department_id'].value =3D=3D 'other')=0A=
     {=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'department_name',"=CF=EE=EB=E5 =
=C4=D0=D3=C3=CE=C9 =D4=C0=CA=D3=CB=DC=D2=C5=D2 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     }=0A=
     }=0A=
     if(formName.elements['kafedra_id'])=0A=
     {=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'kafedra_id',"=CF=EE=EB=E5 =
=CA=C0=D4=C5=C4=D0=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     if(formName.elements['kafedra_id'].value =3D=3D 'other')=0A=
     {=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'kafedra_name',"=CF=EE=EB=E5 =
=C4=D0=D3=C3=C0=DF =CA=C0=D4=C5=C4=D0=C0 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     }=0A=
     }=0A=
     */=0A=
    if (formName.elements['startdate']) {=0A=
        buff =3D history_CheckFieldByNull(formName, 'startdate', =
"=CF=EE=EB=E5 =DF =CF=CE=D8=A8=CB =C2 =CF=C5=D0=C2=DB=C9 =CA=CB=C0=D1=D1 =
=ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
        if (buff !=3D '') {=0A=
            errors +=3D buff;=0A=
        }=0A=
        /*else {=0A=
         if(isNaN(formName.elements['startdate'].value) =3D=3D true){=0A=
         errors +=3D "=C2 =CF=EE=EB=E5 =DF =CF=CE=D8=A8=CB =C2 =
=CF=C5=D0=C2=DB=C9 =CA=CB=C0=D1=D1 =EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =
=F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB\n";=0A=
         }=0A=
         if(formName.elements['startdate'].value.indexOf('+') =3D=3D =
true || formName.elements['startdate'].value.indexOf('-') =3D=3D true){=0A=
         errors +=3D "=C2 =CF=EE=EB=E5 =DF =CF=CE=D8=A8=CB =C2 =
=CF=C5=D0=C2=DB=C9 =CA=CB=C0=D1=D1 =EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =
=F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB =
=EF=EE=EB=EE=E6=E8=F2=E5=EB=FC=ED=FB=E5 =F6=E8=F4=F0=FB\n";=0A=
         }=0A=
         */=0A=
    }=0A=
    //}=0A=
    if (formName.elements['leavedate']) {=0A=
        buff2 =3D history_CheckFieldByNull(formName, 'startdate', "err");=0A=
    }=0A=
=0A=
    /*=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'enterdate',"=CF=EE=EB=E5 " + =
enterdate_field_name + " =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     errors =
+=3Dhistory_CheckFieldByNull(formName,'leavedate',"=CF=EE=EB=E5 =
=CE=CA=CE=CD=D7=C0=CD=C8=C5 =CE=C1=D3=D7=C5=CD=C8=DF =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     if(formName.elements['enterdate']!=3D'' && =
isNaN(formName.elements['enterdate'].value)=3D=3Dtrue)=0A=
     {=0A=
     errors +=3D "=C2 =CF=EE=EB=E5 " + enterdate_field_name + " =
=EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =F2=EE=EB=FC=EA=EE =
=F6=E8=F4=F0=FB\n";=0A=
     }=0A=
     if(formName.elements['leavedate']!=3D'' && =
isNaN(formName.elements['leavedate'].value)=3D=3Dtrue)=0A=
     {=0A=
     errors +=3D "=C2 =CF=EE=EB=E5 =CE=CA=CE=CD=D7=C0=CD=C8=C5 =
=CE=C1=D3=D7=C5=CD=C8=DF =EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =
=F2=EE=EB=FC=EA=EE =F6=E8=F4=F0=FB\n";=0A=
     }=0A=
     */=0A=
    if (mode =3D=3D 'school') {=0A=
        //if(formName.elements['enterdate']!=3D'' && =
isNaN(formName.elements['enterdate'].value)=3D=3Dfalse && =
formName.elements['leavedate']!=3D'' && =
isNaN(formName.elements['leavedate'].value)=3D=3Dfalse)=0A=
        if (buff =3D=3D '' && buff2 =3D=3D '') {=0A=
            if (20 < (formName.elements['leavedate'].value - =
formName.elements['startdate'].value)) {=0A=
                errors +=3D "=CC=FB =ED=E5 =E2=E5=F0=E8=EC, =F7=F2=EE =
=C2=FB =F3=F7=E8=EB=E8=F1=FC =E2 =F8=EA=EE=EB=E5 =E1=EE=EB=E5=E5 20 =
=EB=E5=F2!!! :)\n";=0A=
            }=0A=
        }=0A=
    }=0A=
=0A=
=0A=
    if (errors !=3D null && errors !=3D "") {=0A=
        alert(errors);=0A=
        history_less_disabled();=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
function history_showHideStudyObject(name, state){=0A=
    if (state =3D=3D 1) {=0A=
        $(name + 'obj' + '1').show();=0A=
        $(name + 'obj' + '2').show();=0A=
    }=0A=
    else {=0A=
        $(name + 'obj' + '1').hide();=0A=
        $(name + 'obj' + '2').hide();=0A=
    }=0A=
}=0A=
=0A=
function history_MessageSent(res){=0A=
    $('ok_mes').show();=0A=
}=0A=
=0A=
//function makeother(sid) {=0A=
//    list=3D$(sid);=0A=
//    if (list =3D=3D undefined) return;=0A=
//    list.disabled=3D0;=0A=
//    list.options.length=3D0;=0A=
//    list.options.length=3Dlist.options.length+1;=0A=
//    list.options[0].value=3D'';=0A=
//    list.options[0].text=3D'=CD=E5 =E2=FB=E1=F0=E0=ED=EE';=0A=
//    list.options.length=3Dlist.options.length+1;=0A=
//    list.options[1].value=3D'other';=0A=
//    list.options[1].text=3D'=C4=F0=F3=E3=EE=E5';=0A=
//}=0A=
=0A=
function history_onother(sid){=0A=
    if (sid =3D=3D undefined || sid =3D=3D '')=0A=
        return;=0A=
    suff =3D "";=0A=
    var dID =3D $('department_id_' + mode + suff + '_other');=0A=
    var kID =3D $('kafedra_id_' + mode + suff + '_other');=0A=
    if (editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    if (sid.indexOf('city_id_') =3D=3D 0) {=0A=
        makeother('institute_id_' + mode + suff);=0A=
        $('institute_id_' + mode + suff + '_other').hide();=0A=
        makeother('department_id_' + mode + suff);=0A=
        if(dID) dID.hide();=0A=
        makeother('kafedra_id_' + mode + suff);=0A=
	if(kID) kID.hide();=0A=
    }=0A=
    if (sid.indexOf('institute_id_') =3D=3D 0) {=0A=
        makeother('department_id_' + mode + suff);=0A=
        if(dID) dID.hide();=0A=
        makeother('kafedra_id_' + mode + suff);=0A=
	if(kID) kID.hide();=0A=
    }=0A=
    if (sid.indexOf('department_id_') =3D=3D 0) {=0A=
        makeother('kafedra_id_' + mode + suff);=0A=
	if(kID) kID.hide();=0A=
    }=0A=
}=0A=
=0A=
function history_getNavi(){=0A=
    var navi =3D navigator.userAgent;=0A=
    var myobj =3D document.forms['helpform'].elements['browser'];=0A=
    myobj.value =3D navigator.userAgent + navigator.appVersion;=0A=
    var moreinfo =3D document.forms['helpform'].elements['other'];=0A=
    if (navigator.cookieEnabled) {=0A=
        moreinfo.value +=3D ' cookie: ' + navigator.cookieEnabled;=0A=
    }=0A=
    if (navigator.cpuClass) {=0A=
        moreinfo.value +=3D ' cpu: ' + navigator.cpuClass;=0A=
    }=0A=
    if (navigator.oscpu) {=0A=
        moreinfo.value +=3D ' os_cpu: ' + navigator.oscpu;=0A=
    }=0A=
    if (navigator.javaEnabled()) {=0A=
        moreinfo.value +=3D ' java: ' + navigator.javaEnabled();=0A=
    }=0A=
}=0A=
=0A=
function history_onblock(sel, block_on){=0A=
    if (sel.value =3D=3D 'other') {=0A=
        $(block_on).show();=0A=
        history_onother(sel.id);=0A=
    }=0A=
    else {=0A=
        $(block_on).hide();=0A=
    }=0A=
}=0A=
=0A=
function history_change_div(obj, div){=0A=
	$(obj).hide();=0A=
	$(div).show();=0A=
	if (div =3D=3D 'hd9') {=0A=
		if (!is_bad_opera && !is_bad_ff && !is_bad_ie) {=0A=
			document.helpform.text.focus();=0A=
		}=0A=
	}=0A=
}=0A=
=0A=
function history_support(flag){=0A=
	if (flag =3D=3D 1) =0A=
		$('ok_mes').hide();=0A=
        $('send_mes_div').show();=0A=
        var i =3D 0;=0A=
        for (i =3D 1; i < 10; i++) {=0A=
            var a =3D 'hd' + i;=0A=
            $(a).hide();=0A=
        }=0A=
	$('faq_div').show();=0A=
}=0A=
=0A=
function history_check(){=0A=
    if (!is_bad_opera && !is_bad_ff && !is_bad_ie) {=0A=
        if (document.helpform.text.value =3D=3D '') {=0A=
            alert('=CF=EE=E6=E0=EB=F3=E9=F1=F2=E0, =EE=EF=E8=F8=E8=F2=E5 =
=EF=F0=EE=E1=EB=E5=EC=F3!');=0A=
            document.helpform.text.focus();=0A=
            return false;=0A=
        }=0A=
        else {=0A=
            var text =3D document.helpform.text.value;=0A=
            var browser =3D document.helpform.browser.value;=0A=
            var js =3D document.helpform.js.value;=0A=
            var other =3D document.helpform.other.value;=0A=
            $('send_mes_div').hide();=0A=
            ajax_message_call(text, browser, js, other);=0A=
            return false;=0A=
        }=0A=
    }=0A=
    else {=0A=
        alert('=CF=EE=E6=E0=EB=F3=E9=F1=F2=E0 =EE=E1=ED=EE=E2=E8=F2=E5 =
=E1=F0=E0=F3=E7=E5=F0 =EF=E5=F0=E5=E4 =EE=F2=F1=FB=EB=EA=EE=E9 =
=F1=EE=EE=E1=F9=E5=ED=E8=FF!');=0A=
    }=0A=
}=0A=
=0A=
function history_edit_school_to_orig(){=0A=
    if (editing_school =3D=3D '')=0A=
        return;=0A=
    html =3D $(editing_school).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(editing_school).hide();=0A=
    $(editing_school).update('');=0A=
    $('orig_div_for_school').update(html);=0A=
    editing_school =3D '';=0A=
    editing =3D 0;=0A=
}=0A=
=0A=
function edit_school_by_id(eid, sddis){=0A=
    if (editing =3D=3D 1) {=0A=
        if (editing_school =3D=3D 'div_for_school_' + eid)=0A=
            return false;=0A=
        history_edit_school_to_orig();=0A=
    }=0A=
    mode =3D 'school';=0A=
    editing =3D 1;=0A=
    suff =3D '_edit';=0A=
    src_div =3D 'orig_div_for_school';=0A=
    if (editing_school !=3D '') {=0A=
        $(editing_school).hide();=0A=
        src_div =3D editing_school;=0A=
    }=0A=
    editing_school =3D 'div_for_school_' + eid;=0A=
    if (src_div =3D=3D editing_school)=0A=
        return;=0A=
    html =3D $(src_div).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(src_div).update('');=0A=
    $(editing_school).update(html);=0A=
    history_form_empty(0);=0A=
    $(editing_school).show();=0A=
    history_switchStarOfField('region_id_school_edit', =
'school_edit_star_reg');=0A=
    var olist =3D ['country_id_school_edit', 'region_id_school_edit', =
'city_id_school_edit', 'institute_id_school_edit'];=0A=
    for (var i =3D 0; i < olist.length; i++) {=0A=
        $(olist[i]).length =3D 1;=0A=
        $(olist[i]).options[0].text =3D '=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
    if ($F('country_id_' + mode + suff) !=3D '24') {=0A=
        $('region_id_' + mode + suff).options[0].text =3D '';=0A=
    }=0A=
    else {=0A=
        $('region_id_' + mode + suff).options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
=0A=
    ajax_edit_call(eid);=0A=
    //$('startdate_school_edit').disabled=3Dsddis;=0A=
}=0A=
=0A=
function history_add_school(){=0A=
    mode =3D 'school';=0A=
    editing =3D 0;=0A=
    if (($('school_table').visible()) && show_school !=3D 1) {=0A=
        $('school_table').hide();=0A=
    }=0A=
    else {=0A=
        $('school_table').show();=0A=
        if (!add_geo_id || add > 0) {=0A=
            $("country_id_school").disable();=0A=
            $("country_id_school").options.length =3D 1;=0A=
            $("country_id_school").options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
            ajax_geo_call(1);=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function history_edit_vuz_to_orig(){=0A=
    if (editing_vuz =3D=3D '')=0A=
        return;=0A=
    html =3D $(editing_vuz).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(editing_vuz).hide();=0A=
    $(editing_vuz).update('');=0A=
    $('orig_div_for_vuz').update(html);=0A=
    editing_vuz =3D '';=0A=
    editing =3D 0;=0A=
}=0A=
=0A=
function history_edit_vuz_by_id(eid){=0A=
    if (editing =3D=3D 1) {=0A=
        if (editing_vuz =3D=3D 'div_for_vuz_' + eid)=0A=
            return false;=0A=
        history_edit_vuz_to_orig();=0A=
    }=0A=
    mode =3D 'vuz';=0A=
    editing =3D 1;=0A=
    src_div =3D 'orig_div_for_vuz';=0A=
    if (editing_vuz !=3D '') {=0A=
        $(editing_vuz).hide();=0A=
        src_div =3D editing_vuz;=0A=
    }=0A=
    editing_vuz =3D 'div_for_vuz_' + eid;=0A=
    if (src_div =3D=3D editing_vuz)=0A=
        return;=0A=
    html =3D $(src_div).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(src_div).update('');=0A=
    $(editing_vuz).update(html);=0A=
    history_form_empty(0);=0A=
    $(editing_vuz).show();=0A=
    history_switchStarOfField('region_id_vuz_edit', 'vuz_edit_star_reg');=0A=
    var olist =3D ['country_id_vuz_edit', 'region_id_vuz_edit', =
'city_id_vuz_edit', 'institute_id_vuz_edit'];=0A=
    for (var i =3D 0; i < olist.length; i++) {=0A=
        $(olist[i]).length =3D 1;=0A=
        $(olist[i]).options[0].text =3D '=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
    ajax_edit_call(eid);=0A=
}=0A=
=0A=
function history_add_vuz(){=0A=
    mode =3D 'vuz';=0A=
    editing =3D 0;=0A=
    if ($('vuz_table').visible()) {=0A=
        $('vuz_table').hide();=0A=
    }=0A=
    else {=0A=
        $('vuz_table').show();=0A=
        if (!add_geo_id || add > 0) {=0A=
            $("country_id_vuz").disable();=0A=
            $("country_id_vuz").options.length =3D 1;=0A=
            $("country_id_vuz").options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
            ajax_geo_call(1);=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function history_edit_ssuz_to_orig(){=0A=
    if (editing_ssuz =3D=3D '')=0A=
        return;=0A=
    html =3D $(editing_ssuz).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(editing_ssuz).hide();=0A=
    $(editing_ssuz).update('');=0A=
    $('orig_div_for_ssuz').update(html);=0A=
    editing_ssuz =3D '';=0A=
    editing =3D 0;=0A=
}=0A=
=0A=
function history_edit_ssuz_by_id(eid){=0A=
    if (editing =3D=3D 1) {=0A=
        if (editing_ssuz =3D=3D 'div_for_ssuz_' + eid)=0A=
            return false;=0A=
        history_edit_ssuz_to_orig();=0A=
    }=0A=
    mode =3D 'ssuz';=0A=
    editing =3D 1;=0A=
    src_div =3D 'orig_div_for_ssuz';=0A=
    if (editing_ssuz !=3D '') {=0A=
        $(editing_ssuz).hide();=0A=
        src_div =3D editing_ssuz;=0A=
    }=0A=
    editing_ssuz =3D 'div_for_ssuz_' + eid;=0A=
    if (src_div =3D=3D editing_ssuz)=0A=
        return;=0A=
    html =3D $(src_div).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(src_div).update('');=0A=
    $(editing_ssuz).update(html);=0A=
    history_form_empty(0);=0A=
    $(editing_ssuz).show();=0A=
    history_switchStarOfField('region_id_ssuz_edit', =
'ssuz_edit_star_reg');=0A=
    var olist =3D ['country_id_ssuz_edit', 'region_id_ssuz_edit', =
'city_id_ssuz_edit', 'institute_id_ssuz_edit'];=0A=
    for (var i =3D 0; i < olist.length; i++) {=0A=
        $(olist[i]).length =3D 1;=0A=
        $(olist[i]).options[0].text =3D '=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
    ajax_edit_call(eid);=0A=
}=0A=
=0A=
function history_add_ssuz(){=0A=
    mode =3D 'ssuz';=0A=
    editing =3D 0;=0A=
    if ($('ssuz_table').visible()) {=0A=
        $('ssuz_table').hide();=0A=
    }=0A=
    else {=0A=
        $('ssuz_table').show();=0A=
        if (!add_geo_id || add > 0) {=0A=
            $("country_id_ssuz").disable();=0A=
            $("country_id_ssuz").options.length =3D 1;=0A=
            $("country_id_ssuz").options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
            ajax_geo_call(1);=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function history_printArray(array){=0A=
    var s_array =3D '';=0A=
    for (var i =3D 0; i < array.length; i++) {=0A=
        s_array +=3D ' | ' + array[i] + ' | \n';=0A=
    }=0A=
    return s_array;=0A=
}=0A=
=0A=
function history_setArrayForABcompose(mode){=0A=
    institutions =3D 0;//clear array with data=0A=
    //alert('setArray before');=0A=
    //alert('type a_school->'+typeof(a_school));=0A=
=0A=
    var str =3D history_printArray(a_school);=0A=
    //alert('a_school-> \n'+str);=0A=
    switch (mode) {=0A=
        case 'school':=0A=
            institutions =3D a_school;=0A=
            break;=0A=
        case 'vuz':=0A=
            institutions =3D a_vuz;=0A=
            break;=0A=
        case 'ssuz':=0A=
            institutions =3D a_ssuz;=0A=
            break;=0A=
        default:=0A=
            //alert('setArray default');=0A=
            break;=0A=
    }=0A=
    //alert('setArray after');=0A=
}=0A=
=0A=
function history_more_disabled(){=0A=
    disableness =3D 1;=0A=
    $('submit_' + mode + (editing =3D=3D 1 ? '_edit' : =
'_insert')).disable();=0A=
}=0A=
=0A=
/*=0A=
 * {invitation_single.tmpl}=0A=
 */=0A=
function invitation_single_checkCtrlEnter(evt){=0A=
    checkCtrlEnter(evt, 'frm_emails');=0A=
}=0A=
=0A=
/*=0A=
 * {invitation.tmpl}=0A=
 */=0A=
function invitation_add_user(email){=0A=
    var edit =3D document.forms["frm_emails"].emails.value;=0A=
    if (document.forms["frm_emails"].emails) {=0A=
        if (edit !=3D '')=0A=
            edit +=3D ', ';=0A=
        edit +=3D email;=0A=
        document.forms["frm_emails"].emails.value =3D edit;=0A=
        return true;=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function invitation_parse_address_book(value){=0A=
    var values =3D value.split('|');=0A=
    for (var i =3D 0; i < values.length; i++) {=0A=
        if (values[i] !=3D '')=0A=
            invitation_add_user(values[i]);=0A=
    }=0A=
}=0A=
=0A=
function invitation_address_book(){=0A=
    var bName =3D navigator.appName;=0A=
    var bVer =3D parseInt(navigator.appVersion);=0A=
    if (!(bName =3D=3D "Microsoft Internet Explorer" && bVer < 4)) {=0A=
        var width =3D 700;=0A=
        var height =3D 500;=0A=
        var posX =3D (screen.width - 700) / 2;=0A=
        var posY =3D (screen.height - 500) / 2;=0A=
        =
window.open("http://win.mail.ru/cgi-bin/addressbook?fromsearch=3D1&templa=
te=3Dquicklist.tmpl&selectfunc=3Dinvitation_parse_address_book", "sw", =
"width=3D" + width + ",height=3D" + height + =
",resizable=3Dyes,scrollbars=3Dyes,top=3D" + posY + ",left=3D" + posX);=0A=
    }=0A=
    else {=0A=
        alert("This function is not available with MS IE 3.x");=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function invitation_empty_check(){=0A=
    var text_len =3D document.forms.frm_emails.emails.value;=0A=
    if (text_len) {=0A=
        return true;=0A=
    }=0A=
    else {=0A=
        alert('=C2=FB =ED=E5 =E2=E2=E5=EB=E8 =ED=E8 =EE=E4=ED=EE=E3=EE =
e-mail');=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {items_search.tmpl}=0A=
 */=0A=
function items_search_validateForm(){=0A=
    var error =3D new Array();=0A=
    var search_query =3D =
$('search_query_input').value.replace(/^\s+|\s+$/g, "");=0A=
    if (!search_query) {=0A=
        error[error.length] =3D '=CF=F3=F1=F2=EE=E9 =
=EF=EE=E8=F1=EA=EE=E2=FB=E9 =E7=E0=EF=F0=EE=F1'=0A=
    }=0A=
    if (!$('search_type_wish_input').checked && =
!$('search_type_selling_input').checked &&=0A=
    !$('search_type_have_input').checked &&=0A=
    !$('search_type_presenting_input').checked) {=0A=
        error[error.length] =3D '=CD=E5 =F3=EA=E0=E7=E0=ED =F2=E8=EF =
=EF=EE=E8=F1=EA=E0'=0A=
    }=0A=
    if (error.length) {=0A=
        alert(error.join('\n'));=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        return true;=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {journal.tmpl}=0A=
 */=0A=
function journal_post_commentable4all(id){=0A=
    if (!has_javascript())=0A=
        return true;=0A=
    var url =3D ActionDir + "jscreencomment?user=3D" + JournalEmail +=0A=
    "&id=3D" +=0A=
    EntryID +=0A=
    "&xml=3D1";=0A=
    get_script(url);=0A=
    return false;=0A=
}=0A=
=0A=
function journal_make_post_commentable4all(id){=0A=
    $("post_commentable4all_" + id).outerHTML =3D '';=0A=
}=0A=
=0A=
function journal_black_list_confirm(url, action, username){=0A=
    if (action =3D=3D "add") {=0A=
        if (confirm("=C4=EE=E1=E0=E2=E8=F2=FC " + username + " =E2 =
=D7=E5=F0=ED=FB=E9 =F1=EF=E8=F1=EE=EA? ")) {=0A=
            location =3D "http://" + BlogsPerlHost + "/" + url;=0A=
        }=0A=
    }=0A=
    else {=0A=
        if (confirm("=D3=E4=E0=EB=E8=F2=FC " + username + " =E8=E7 =
=D7=E5=F0=ED=EE=E3=EE =F1=EF=E8=F1=EA=E0?")) {=0A=
            location =3D "http://" + BlogsPerlHost + "/" + url;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function journal_setFocus(form, field) {=0A=
    document.form.field.focus();=0A=
}=0A=
=0A=
function journal_showAddForm(a){=0A=
    var parent =3D a.parentNode;=0A=
    var div =3D $('cont_div_check').cloneNode(true);=0A=
    $('cont_div_check').parentNode.removeChild($('cont_div_check'));=0A=
    parent.insertBefore(div, a.nextSibling);=0A=
    $('cont_div_check').show();=0A=
    document.forms['reply'].elements['comment_text'].focus();=0A=
    //alert(div.innerHTML);=0A=
    return false;=0A=
}=0A=
=0A=
//function dis_sub_but() {=0A=
//    var val =3D document.getElementById("comment_text").value;=0A=
//    var sub_but =3D document.getElementById("sub_but");=0A=
//    if (val !=3D "") {=0A=
//        gebi('cont_div_check').style.display=3D'none';=0A=
//        sub_but.value =3D "=C8=E4=E5=F2 =EE=F2=EF=F0=E0=E2=EA=E0";=0A=
//        sub_but.disabled =3D true;=0A=
//        return true;=0A=
//    } else {=0A=
//        return false;=0A=
//    }=0A=
//}=0A=
=0A=
function journal_add_photo(){=0A=
    if (popup)=0A=
        popup.close();=0A=
    popup =3D =
window.open('http://'+PhotoImagineHost+'/cgi-bin/photo/addphoto?guestbook=
=3D1&Title=3D', 'add_pict', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
    if (popup)=0A=
        popup.focus();=0A=
}=0A=
=0A=
function journal_add_video(){=0A=
    if (popup)=0A=
        popup.close();=0A=
    popup =3D =
window.open('http://'+VideoPerlHost+'/cgi-bin/photo/addvideo?guestbook=3D=
1', 'add_vid', =
'width=3D600,height=3D660,toolbars=3Dno,scrollbars=3Dyes,resizable=3Dyes,=
left=3D' + (screen.width - 660) / 2 + ',top=3D' + (screen.height - 660) =
/ 2);=0A=
    if (popup)=0A=
        popup.focus();=0A=
}=0A=
=0A=
=0A=
function journal_add_comment(obj){=0A=
    max_len =3D 1000;=0A=
    len =3D obj.comment_text.value.length;=0A=
    if (len > max_len) {=0A=
        alert("=C2=FB =EF=FB=F2=E0=E5=F2=E5=F1=FC =
=EE=F2=EF=F0=E0=E2=E8=F2=FC " + len + " =F1=E8=EC=E2=EE=EB=EE=E2. =
=CC=E0=EA=F1=E8=EC=E0=EB=FC=ED=EE =F0=E0=E7=F0=E5=F8=B8=ED=ED=E0=FF =
=E4=EB=E8=ED=E0 " + max_len + " =F1=E8=EC=E2=EE=EB=EE=E2.")=0A=
        return false;=0A=
    }=0A=
    else {=0A=
        dis_sub_but();=0A=
        return true;=0A=
    }=0A=
}=0A=
=0A=
function journal_count_symbols(){=0A=
    num =3D $F('comment_text').length;=0A=
    digit =3D num % 10;=0A=
    dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
    ent =3D '=C2=E2=E5=E4=E5=ED=EE';=0A=
    switch (digit) {=0A=
        case 1:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB';=0A=
            ent =3D '=C2=E2=E5=E4=E5=ED';=0A=
            break;=0A=
        case 2:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
        case 3:=0A=
            dig =3D '=F1=E8=EC=E2=EE=EB=E0';=0A=
            break;=0A=
    }=0A=
    digit =3D num % 100;=0A=
    if (digit > 10 && digit < 20) {=0A=
        dig =3D '=F1=E8=EC=E2=EE=EB=EE=E2';=0A=
        ent =3D '=C2=E2=E5=E4=E5=ED=EE';=0A=
    }=0A=
    $('text_symbols').update(ent + ': ' + num + ' ' + dig + ' =
(=EC=E0=EA=F1=E8=EC=F3=EC 1000)');=0A=
    if (num > 1000) {=0A=
        $('text_symbols').style.color =3D '#C00'=0A=
    }=0A=
    if (num <=3D 1000) {=0A=
        $('text_symbols').style.color =3D '#CCC'=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {menu_friends.html}=0A=
 */=0A=
function PopupContent(AgentCount, AddressCount, BlogsCount, FotoCount, =
AgentEmails, AddressEmails, BlogsEmails, FotoEmails){=0A=
    if (AgentCount > 0) {=0A=
        $('dAgentCount').show();=0A=
        $('AgentCount').value =3D AgentCount;=0A=
        $('agent_checkbox').value =3D AgentEmails;=0A=
        $('agent_checkbox_count').update(AgentCount);=0A=
    }=0A=
    if (AddressCount > 0) {=0A=
        $('dAddressCount').show();=0A=
        $('AdresCount').value =3D AddressCount;=0A=
        $('adres_checkbox').value =3D AddressEmails;=0A=
        $('adres_checkbox_count').update(AddressCount);=0A=
    }=0A=
    if (BlogsCount > 0) {=0A=
        $('dBlogsCount').show();=0A=
        $('BlogsCount').value =3D BlogsCount;=0A=
        $('blogs_checkbox').value =3D BlogsEmails;=0A=
        $('blogs_checkbox_count').update(BlogsCount);=0A=
    }=0A=
    if (FotoCount > 0) {=0A=
        $('dFotoCount').show();=0A=
        $('FotoCount').value =3D FotoCount;=0A=
        $('foto_checkbox').value =3D FotoEmails;=0A=
        $('foto_checkbox_count').update(FotoCount);=0A=
    }=0A=
}=0A=
=0A=
function show_opacity(){=0A=
    var fader =3D $('popup_fader');=0A=
    var popup =3D $('popup');=0A=
=0A=
    document.body.style.overflow =3D 'hidden';=0A=
=0A=
    var top =3D ((document.body.clientHeight - 500) / 2);=0A=
    var left =3D ((document.body.clientWidth - 500) / 2)=0A=
=0A=
    if (top < 10)=0A=
        top =3D 10;=0A=
    if (left < 10)=0A=
        left =3D 10;=0A=
=0A=
    popup.style.left =3D left + 'px';=0A=
    popup.style.top =3D top + 'px';=0A=
=0A=
    fader.show();=0A=
    popup.show();=0A=
    ajax_call('perl_friendship_popup', PopupContent);=0A=
}=0A=
=0A=
function hide_opacity(){=0A=
    $('popup_fader').hide();=0A=
    $('popup').hide();=0A=
}=0A=
=0A=
function addEmailField(){=0A=
    var ol =3D $("emailsList");=0A=
    var li =3D $("LI");=0A=
    var input =3D new Element("INPUT", {'name': 'Emails'});=0A=
	input.className =3D 'inp';=0A=
    li.appendChild(input);=0A=
    ol.appendChild(li);=0A=
    input.focus();=0A=
}=0A=
=0A=
function check(box){=0A=
    if (box.checked) {=0A=
        box.value =3D default_box_values[box.id];=0A=
        count_friends(box.id);=0A=
    }=0A=
    else {=0A=
        box.value =3D '';=0A=
        count_friends(box.id);=0A=
    }=0A=
}=0A=
=0A=
function CheckEmails(list){=0A=
    $('SaveBtn').disable();=0A=
    if (list.length =3D=3D 0) {=0A=
        return true;=0A=
    }=0A=
    var earray =3D list.split(",");=0A=
    var valid =3D true;=0A=
    for (var i =3D 0; i < earray.length; i++) {=0A=
        if (valid) {=0A=
            valid =3D validemail(earray[i].replace(/(^\s+)|(\s+$)/g, =
""));=0A=
        }=0A=
    }=0A=
    if (valid) {=0A=
        return true;=0A=
    }=0A=
    else {=0A=
        $('mess_em').show();=0A=
        $('SaveBtn').enable();=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
function validemail(str){=0A=
    var at =3D "@";=0A=
    var dot =3D ".";=0A=
    var lat =3D str.indexOf(at);=0A=
    var lstr =3D str.length;=0A=
    var ldot =3D str.indexOf(dot);=0A=
    if (str.indexOf(at) =3D=3D -1) {=0A=
        return false;=0A=
    }=0A=
=0A=
    if (str.indexOf(at) =3D=3D -1 || str.indexOf(at) =3D=3D 0 || =
str.indexOf(at) =3D=3D lstr) {=0A=
        return false;=0A=
    }=0A=
=0A=
    if (str.indexOf(dot) =3D=3D -1 || str.indexOf(dot) =3D=3D 0 || =
str.indexOf(dot) =3D=3D lstr) {=0A=
        return false;=0A=
    }=0A=
=0A=
    if (str.indexOf(at, (lat + 1)) !=3D -1) {=0A=
        return false;=0A=
    }=0A=
=0A=
    if (str.substring(lat - 1, lat) =3D=3D dot || str.substring(lat + 1, =
lat + 2) =3D=3D dot) {=0A=
        return false;=0A=
    }=0A=
=0A=
    if (str.indexOf(dot, (lat + 2)) =3D=3D -1) {=0A=
        return false;=0A=
    }=0A=
=0A=
    if (str.indexOf(" ") !=3D -1) {=0A=
        return false;=0A=
    }=0A=
=0A=
    return true;=0A=
}=0A=
=0A=
function count_friends(type){=0A=
    var emails =3D $F(type).split(',');=0A=
    var emails2 =3D new Array();=0A=
    emails.each(function(email){=0A=
        if (email && email !=3D null && email !=3D '')=0A=
            emails2.push(email);=0A=
    });=0A=
    //    for (var i =3D 0; i < emails.length; i++) {=0A=
    //        if (emails[i] && emails[i] !=3D null && emails[i] !=3D '')=0A=
    //            emails2[emails2.length] =3D emails[i];=0A=
    //    }=0A=
    $(type + '_count').update(emails2.length);=0A=
    if (emails2.length =3D=3D 0) {=0A=
        $(type).checked =3D false;=0A=
    }=0A=
    else {=0A=
        $(type).checked =3D true;=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {menu_community.html}=0A=
 */=0A=
function showStatus(){=0A=
    StatusSelect =3D $('ajaxStatusSelect').selectedIndex;=0A=
    StatusText =3D $F('ajaxStatusText');=0A=
=0A=
    $('changeStatus').show();=0A=
    if ($('ajaxStatusSelect').options[StatusSelect].value =3D=3D -1) {=0A=
        $('editStatusText').show();=0A=
    }=0A=
}=0A=
=0A=
function funcStatusSelect(){=0A=
    if =
($('ajaxStatusSelect').options[$('ajaxStatusSelect').selectedIndex].value=
 =3D=3D '-1') {=0A=
        $('editStatusText').show();=0A=
    }=0A=
    else {=0A=
        $('ajaxStatusText').value =3D '';=0A=
        $('editStatusText').hide();=0A=
    }=0A=
}=0A=
=0A=
function saveStatus(){=0A=
    var select =3D =
$('ajaxStatusSelect').options[$('ajaxStatusSelect').selectedIndex].value;=0A=
    var text =3D $F('ajaxStatusText');=0A=
    if (!ajax_call('perl_save_status', select, text, statusSaved)) {=0A=
        window.location =3D 'http://'+MyMailHost+MyMailDir+'editprops';=0A=
    }=0A=
    $('changeStatus').hide();=0A=
    delete select;=0A=
    delete text;=0A=
}=0A=
=0A=
function statusSaved(select, text){=0A=
    if (select =3D=3D -1 && text =3D=3D '')=0A=
        select =3D 0;=0A=
    if (document.all) {=0A=
        $('StatusSelect_-1').innerText =3D '=F1=EE=F1=F2=EE=FF=ED=E8=E5: =
' + text;=0A=
    }=0A=
    else {=0A=
        $('StatusSelect_-1').textContent =3D =
'=F1=EE=F1=F2=EE=FF=ED=E8=E5: ' + text;=0A=
    }=0A=
    for (i =3D -1; i <=3D 12; i++) {=0A=
        if (i !=3D select) {=0A=
            $('StatusSelect_' + i).hide();=0A=
        }=0A=
        else {=0A=
            $('StatusSelect_' + i).show();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function cancelStatus(){=0A=
    $('ajaxStatusSelect').selectedIndex =3D StatusSelect;=0A=
    if ($('ajaxStatusSelect').options[StatusSelect].value =3D=3D -1) {=0A=
        $('ajaxStatusText').value =3D StatusText;=0A=
        $('editStatusText').show();=0A=
    }=0A=
    else {=0A=
        $('editStatusText').value =3D '';=0A=
        $('editStatusText').hide();=0A=
    }=0A=
    $('changeStatus').hide();=0A=
}=0A=
=0A=
/*=0A=
 * {menu_user.html}=0A=
 */=0A=
function toggleStatus(action){=0A=
    if (StatusSelect =3D=3D -1) {=0A=
        localStatusSelect =3D 13;=0A=
    }=0A=
    else {=0A=
        localStatusSelect =3D StatusSelect;=0A=
    }=0A=
    $('ajaxStatusSelect').selectedIndex =3D localStatusSelect;=0A=
    $('ajaxStatusText').value =3D StatusText;=0A=
    if (action) {=0A=
        if (action =3D=3D 'close') {=0A=
            _toggleStatus(0);=0A=
        }=0A=
        else {=0A=
            _toggleStatus(1);=0A=
        }=0A=
    }=0A=
    else {=0A=
        if (!$('changeStatus').visible()) {=0A=
            _toggleStatus(1);=0A=
        }=0A=
        else {=0A=
            _toggleStatus(0);=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function _toggleStatus(action){=0A=
    if (StatusSelect =3D=3D -1) {=0A=
        localStatusSelect =3D 13;=0A=
    }=0A=
    else {=0A=
        localStatusSelect =3D StatusSelect;=0A=
    }=0A=
    if (action) {=0A=
        if ($('ajaxStatusSelect').options[localStatusSelect].value =
=3D=3D -1) {=0A=
            $('editStatusText').show();=0A=
        }=0A=
        else {=0A=
            $('editStatusText').hide();=0A=
        }=0A=
        $('changeStatus').show();=0A=
    }=0A=
    else {=0A=
        if ($('ajaxStatusSelect').options[localStatusSelect].value =
=3D=3D -1) {=0A=
            $('editStatusText').show();=0A=
        }=0A=
        else {=0A=
            $('editStatusText').hide();=0A=
        }=0A=
        $('changeStatus').hide();=0A=
    }=0A=
}=0A=
=0A=
=0A=
function funcStatusSelect(){=0A=
    if =
($('ajaxStatusSelect').options[$('ajaxStatusSelect').selectedIndex].value=
 =3D=3D '-1') {=0A=
        $('editStatusText').show();=0A=
    }=0A=
    else {=0A=
        $('ajaxStatusText').value =3D '';=0A=
        $('editStatusText').hide();=0A=
    }=0A=
}=0A=
=0A=
function saveStatus(){=0A=
    var select =3D =
$('ajaxStatusSelect').options[$('ajaxStatusSelect').selectedIndex].value;=0A=
    var text =3D $F('ajaxStatusText');=0A=
    if (!ajax_call('perl_save_status', select, text, statusSaved)) {=0A=
        window.location =3D 'http://'+MyMailHost+'/my/editprops';=0A=
    }=0A=
}=0A=
=0A=
function statusSaved(select, text){=0A=
    if (select =3D=3D -1 && text =3D=3D '')=0A=
        select =3D 0;=0A=
    if (document.all) {=0A=
        $('StatusSelect_-1').innerText =3D '=F1=EE=F1=F2=EE=FF=ED=E8=E5: =
' + text;=0A=
    }=0A=
    else {=0A=
        $('StatusSelect_-1').textContent =3D =
'=F1=EE=F1=F2=EE=FF=ED=E8=E5: ' + text;=0A=
    }=0A=
    for (i =3D -1; i <=3D 12; i++) {=0A=
        if (i !=3D select) {=0A=
            $('StatusSelect_' + i).hide();=0A=
        }=0A=
        else {=0A=
            $('StatusSelect_' + i).show();=0A=
        }=0A=
    }=0A=
    StatusSelect =3D select;=0A=
    StatusText =3D text;=0A=
    toggleStatus('close');=0A=
}=0A=
=0A=
/*=0A=
 * {menu_users.html}=0A=
 */=0A=
//function close_help2(){=0A=
//    $('help_div12').hide();=0A=
//}=0A=
=0A=
function show_help2(evt){=0A=
    evt =3D evt || window.event;=0A=
    evt.cancelBubble =3D true;=0A=
    $('help_div12').show();=0A=
}=0A=
=0A=
/*=0A=
 * {search_users.html}=0A=
 */=0A=
///**=0A=
// * =CE=E1=F0=E0=E1=EE=F2=EA=E0 =EE=F2=E2=E5=F2=E0=0A=
// * @param {String} result=0A=
// * @param {String} id=0A=
// */=0A=
//function addToFriendResult(result, id){=0A=
//    var span =3D $(id);=0A=
//    var link =3D $(id + '_friends_link');=0A=
//=0A=
//    if (result =3D=3D 'friendship_offer') {=0A=
//        span.update("=CF=F0=E8=E3=EB=E0=F8=E5=ED=E8=E5 =
=EE=F2=EF=F0=E0=E2=EB=E5=ED=EE");=0A=
//        link.show();=0A=
//        tempDiv(false);=0A=
//    }=0A=
//    else=0A=
//        if (result =3D=3D 'friend_added') {=0A=
//            span.update("=D3=F0=E0! =C2=FB =F1=F2=E0=EB=E8 =
=E4=F0=F3=E7=FC=FF=EC=E8!");=0A=
//            link.show();=0A=
//            tempDiv(false);=0A=
//        }=0A=
//        else=0A=
//            if (result =3D=3D 'my_invitation_sent') {=0A=
//                span.update("=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FE =
=E2=FB=F1=EB=E0=ED=EE =EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5 =
=F1=EE=E7=E4=E0=F2=FC =F1=E2=EE=E9 =EC=E8=F0");=0A=
//                link.show();=0A=
//                tempDiv(false);=0A=
//            }=0A=
//            else=0A=
//                if (result =3D=3D 'world_invitation_sent') {=0A=
//                    span.update("=C2=FB =EF=F0=E8=E3=EB=E0=F1=E8=EB=E8 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =EF=EE=F1=E5=F2=E8=F2=FC =
=F1=E2=EE=E9 =EC=E8=F0");=0A=
//                    link.show();=0A=
//                    tempDiv(false);=0A=
//                }=0A=
//                else=0A=
//                    if (result =3D=3D 'already_friends') {=0A=
//                        span.update("=C2=FB =F3=E6=E5 =
=E4=F0=F3=E7=FC=FF");=0A=
//                        link.show();=0A=
//                        tempDiv(false);=0A=
//                    }=0A=
//                    else=0A=
//                        if (result =3D=3D =
'already_friendship_offer_sent') {=0A=
//                            span.update("=C2=FB =F3=E6=E5 =
=E2=FB=F1=EB=E0=EB=E8 =EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5");=0A=
//                            link.show();=0A=
//                            tempDiv(false);=0A=
//                        }=0A=
//                        else=0A=
//                            if (result =3D=3D 'invalid_emails') {=0A=
//                                span.update("=CD=E5=E2=E5=F0=ED=FB=E9 =
email");=0A=
//                                tempDiv(false);=0A=
//                            }=0A=
//                            else {=0A=
//                                tempDiv(false);=0A=
//                                alert('=CF=F0=E8 =
=EE=E1=F0=E0=E1=EE=F2=EA=E5 =E7=E0=EF=F0=EE=F1=E0 =
=EF=F0=EE=E8=E7=EE=F8=EB=E0 =EE=F8=E8=E1=EA=E0. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=EF=FB=F2=EA=F3 =F1=ED=EE=E2=E0.');=0A=
//                            }=0A=
//}=0A=
=0A=
//function addToFriendOnMy(id, email){=0A=
//    tempDiv(true, id);=0A=
//    ajax_call('perl_add_friend', email, id, addToFriendResult);=0A=
//    return false;=0A=
//}=0A=
=0A=
function tempDiv(flag, id){=0A=
    var div;=0A=
    var span =3D $(id);=0A=
    if (!$("addFriendProcessingId")) {=0A=
        div =3D new Element("div", {=0A=
            'id': 'addFriendProcessingId',=0A=
            'class': 'zapros'=0A=
        });=0A=
        div.setStyle({=0A=
            'position': 'absolute', =0A=
            'top': '0px',=0A=
            'left': '0px',=0A=
            'display': 'none'=0A=
=0A=
        });=0A=
        div.update("=C7=E0=EF=F0=EE=F1 =
=EE=E1=F0=E0=E1=E0=F2=FB=E2=E0=E5=F2=F1=FF...");=0A=
        document.body.appendChild(div);=0A=
    }=0A=
    else=0A=
        div =3D $("addFriendProcessingId");=0A=
    if (flag) {=0A=
        div.style.top =3D absPosition(span).y;=0A=
        div.style.left =3D absPosition(span).x;=0A=
        div.show();=0A=
    }=0A=
    else=0A=
        div.hide();=0A=
}=0A=
=0A=
function sendCommunityInvite(id, community, email){=0A=
    tempDiv(true, id);=0A=
    ajax_call('perl_community_invite', community, email, id, =
invitedToCommunity);=0A=
    return false;=0A=
}=0A=
=0A=
function invitedToCommunity(result, id){=0A=
    var span =3D $(id);=0A=
    if (result =3D=3D "offered") {=0A=
        span.update("=CF=F0=E8=E3=EB=E0=F8=E5=ED=E8=E5 =
=EE=F2=EF=F0=E0=E2=EB=E5=ED=EE");=0A=
        tempDiv(false);=0A=
    }=0A=
    else=0A=
        if (result =3D=3D "already") {=0A=
            span.update("=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FC =F3=E6=E5 =
=FF=E2=EB=FF=E5=F2=F1=FF =F3=F7=E0=F1=F2=ED=E8=EA=EE=EC =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=E0");=0A=
            tempDiv(false);=0A=
        }=0A=
        else=0A=
            if (result =3D=3D "blacklisted") {=0A=
                span.update("=CC=E8=F0 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =E7=E0=EA=F0=FB=F2 =E4=EB=FF =
=E2=E0=F1");=0A=
                tempDiv(false);=0A=
            }=0A=
            else if (result =3D=3D "CLOSED") {=0A=
                tempDiv(false);=0A=
            }=0A=
            else if (result =3D=3D "NOINPUT") {=0A=
                alert('=C2=E2=E5=E4=E8=F2=E5 =F7=E8=F1=EB=EE, =
=E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =EA=E0=F0=F2=E8=ED=EA=E5.');=0A=
            }=0A=
            else if (result =3D=3D "WRONGINPUT") {=0A=
                alert('=C2=FB =ED=E5=E2=E5=F0=ED=EE =E2=E2=E5=EB=E8 =
=F7=E8=F1=EB=EE, =E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =
=EA=E0=F0=F2=E8=ED=EA=E5.');=0A=
            }=0A=
            else if (result =3D=3D "invite") {=0A=
                if ( id ) {=0A=
                var str =3D "=DD=F2=EE=E3=EE =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =EF=F0=E8=E3=EB=E0=F8=E0=F2=FC =E2 =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=E0 =EC=EE=E3=F3=F2 =F2=EE=EB=FC=EA=EE =
=E4=F0=F3=E7=FC=FF";=0A=
                if ( id =3D=3D 2) {=0A=
                str =3D "=DD=F2=EE=E3=EE =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =EF=F0=E8=E3=EB=E0=F8=E0=F2=FC =E2 =
=F1=EE=EE=E1=F9=E5=F1=F2=E2=E0 =EC=EE=E3=F3=F2 =F2=EE=EB=FC=EA=EE =
=E4=F0=F3=E7=FC=FF =E8 =E4=F0=F3=E7=FC=FF =E4=F0=F3=E7=E5=E9"=0A=
                }=0A=
               $("addFriendProcessingId").update('<div =
onclick=3D"this.parentNode.style.display=3D\'none\';">'+str+'</div>');=0A=
                }=0A=
            }=0A=
            else {=0A=
                tempDiv(false);=0A=
                alert('=CF=F0=E8 =EE=E1=F0=E0=E1=EE=F2=EA=E5 =
=E7=E0=EF=F0=EE=F1=E0 =EF=F0=EE=E8=E7=EE=F8=EB=E0 =EE=F8=E8=E1=EA=E0. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=EF=FB=F2=EA=F3 =F1=ED=EE=E2=E0.');=0A=
            }=0A=
}=0A=
=0A=
/*=0A=
 * {military_edit.html}=0A=
 */=0A=
function military_edit_form_empty(level){=0A=
    var suff =3D '';=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D '_edit';=0A=
    if (level < 1) {=0A=
        $('position_' + mode + suff).value =3D '';=0A=
    }=0A=
    if (level < 2) {=0A=
        $('region_id_' + mode + suff).options.length =3D 1;=0A=
        $('region_id_' + mode + suff).options[0].value =3D '';=0A=
        $('region_id_' + mode + suff).options[0].text =3D =
'=C2=FB=E1=F0=E0=F2=FC';=0A=
        $('region_id_' + mode + suff).selectedIndex =3D 0;=0A=
        $('region_id_' + mode + suff).disable();=0A=
    }=0A=
    /*  if (level<3) {=0A=
=0A=
     $('city_id_'+mode+suff).options.length=3D1;=0A=
=0A=
     $('_'+mode+suff).options[0].value=3D'';=0A=
=0A=
     $('city_id_'+mode+suff).options[0].text=3D'=C2=FB=E1=F0=E0=F2=FC';=0A=
=0A=
     $('city_id_'+mode+suff).selectedIndex =3D 0;=0A=
=0A=
     $('city_id_'+mode+suff).disabled=3D1;=0A=
=0A=
     }=0A=
=0A=
     */=0A=
=0A=
}=0A=
=0A=
function military_edit_FillGeo(names, ids, type, level, special){=0A=
    var no_list =3D 0;=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var list;=0A=
    if (type =3D=3D 1) {=0A=
        list =3D $('country_id_' + mode + suff);=0A=
        military_edit_form_empty(1);=0A=
    }=0A=
    else=0A=
        if (type =3D=3D 2) {=0A=
            military_edit_form_empty(2);=0A=
            list =3D $('region_id_' + mode + suff);=0A=
            $('region_id_' + mode + suff).enable();=0A=
=0A=
        /*      $('city_id_'+mode+suff).disabled=3D1;=0A=
         $('city_id_'+mode+suff).options.length=3D0;=0A=
         $('city_id_'+mode+suff).options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
         */=0A=
        }=0A=
        else=0A=
            if (type =3D=3D 3) {=0A=
                if (level !=3D 3) { // Not a Russia, disabling region =
menu=0A=
                    $('region_id_' + mode + suff).options.length =3D 0;=0A=
                    $('region_id_' + mode + suff).options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
                    $('region_id_' + mode + suff).disable();=0A=
                }=0A=
                military_edit_form_empty(3);=0A=
				no_list =3D 1;=0A=
            /*      $('city_id_'+mode+suff).disabled=3D0;=0A=
         list=3D$('city_id_'+mode+suff);=0A=
         */=0A=
            }=0A=
            else {=0A=
                no_list =3D 1;=0A=
            /*      $('city_id_'+mode+suff).options.length=3D0;=0A=
         $('city_id_'+mode+suff).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
         $('city_id_'+mode+suff).disabled=3D0;=0A=
         $('city_id_' + mode + suff + '_other').style.display =3D ''=0A=
         */=0A=
            }=0A=
    less_disabled();=0A=
    if (no_list =3D=3D 0) {=0A=
        var nl =3D 0;=0A=
        if (names !=3D undefined)=0A=
            nl =3D names.length;=0A=
        list.options.length =3D 0;=0A=
        var addon =3D 0;=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        addon =3D 1;=0A=
        for (var i =3D 0; i < nl; i++) {=0A=
            list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
            if (special > 0) {=0A=
                list.options[i + addon].style.fontWeight =3D "bold";=0A=
                special--;=0A=
            }=0A=
        }=0A=
        if (type =3D=3D 3) {=0A=
            list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
        }=0A=
        if (type =3D=3D 1 || (type =3D=3D 3 && is_capital =3D=3D =
1))//(set default country -> Russia) OR (set default city -> capital)=0A=
        {=0A=
            list.selectedIndex =3D 1;=0A=
            list.onchange();=0A=
        }=0A=
        if (need_switch_star) {=0A=
            military_edit_switchStarOfFieldCallback();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function military_edit_FillList(oid, names, ids, sid){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var list =3D $(oid + mode + suff);=0A=
    if (list =3D=3D undefined || list =3D=3D null)=0A=
        return;=0A=
    if (names =3D=3D '0' || names =3D=3D 0) {=0A=
        list.disable();=0A=
        return;=0A=
    }=0A=
    list.enable();=0A=
    var nl =3D 0;=0A=
    if (names !=3D undefined)=0A=
        nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    var addon =3D 0;=0A=
    if (editing !=3D 1) {=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        list.selectedIndex =3D 0;=0A=
        addon =3D 1;=0A=
    }=0A=
    for (var i =3D 0; i < nl; i++) {=0A=
        list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
        if (ids[i] =3D=3D sid)=0A=
            list.options[i + addon].selected =3D 1;=0A=
    }=0A=
    if (oid =3D=3D 'city_id_' || oid =3D=3D 'institute_id_') {=0A=
        var le =3D list.options.length;=0A=
        list.options[le] =3D new Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
        if (le =3D=3D 0) {=0A=
            var elem =3D $(oid + mode + suff + '_other');=0A=
            if (elem !=3D undefined)=0A=
                elem.show();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function military_edit_CheckList(oid, sid, sh){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    var lift =3D (sh =3D=3D 0) ? 0 : 1;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var list =3D $(oid + mode + suff);=0A=
    if (list =3D=3D undefined || list =3D=3D null)=0A=
        return;=0A=
    list.disabled =3D 0;=0A=
    for (var i =3D 0; i < list.options.length - lift; i++) {=0A=
        if (list.options[i].value =3D=3D sid)=0A=
            list.options[i].selected =3D 1;=0A=
    }=0A=
}=0A=
=0A=
=0A=
function military_edit_FillField(oid, valu){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var field =3D $(oid + mode + suff);=0A=
    if (field =3D=3D undefined || field =3D=3D null)=0A=
        return;=0A=
    field.value =3D valu;=0A=
}=0A=
=0A=
function military_edit_FillSelect(oid, valu){=0A=
    var suff =3D "";=0A=
    var _editing =3D editing;=0A=
    if (_editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
    var field =3D $(oid + mode + suff);=0A=
    if (field =3D=3D undefined || field =3D=3D null)=0A=
        return;=0A=
    for (var i =3D 0; i < field.options.length; i++) {=0A=
        if (field.options[i].value =3D=3D valu) {=0A=
            field.selectedIndex =3D i;=0A=
            return;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function military_edit_FillEdit(mid, cNames, cIds, cId, rNames, rIds, =
rId, unitName, position, enterYear, enterMonth, leaveYear, leaveMonth, =
stillHere){=0A=
    military_edit_FillSelect('enteryear_', enterYear);=0A=
    military_edit_FillSelect('leaveyear_', leaveYear);=0A=
    military_edit_FillSelect('entermonth_', enterMonth);=0A=
    military_edit_FillSelect('leavemonth_', leaveMonth);=0A=
=0A=
    military_edit_FillField('position_', position, 0);=0A=
    military_edit_FillField('name_', unitName, 0);=0A=
    military_edit_FillField('mid_', mid, 0);=0A=
=0A=
    military_edit_FillList('country_id_', cNames, cIds, cId);=0A=
    military_edit_FillList('region_id_', rNames, rIds, rId);=0A=
    if (need_switch_star) {=0A=
        military_edit_switchStarOfFieldCallback();=0A=
    }=0A=
    //  military_edit_FillList('city_id_',tNames,tIds,tId);=0A=
    if (stillHere =3D=3D 1) {=0A=
        $('leaveyear_unit_edit').disable();=0A=
        $('leavemonth_unit_edit').disable();=0A=
        $('stillhere_unit_edit').checked =3D 1;=0A=
        military_edit_switchStarByDisable('leaveyear_unit_edit', =
'leaveyear_star_unit_edit');=0A=
    }=0A=
    less_disabled();=0A=
}=0A=
=0A=
function military_edit_ChooseOtherObj(oid){=0A=
    list =3D $(oid);=0A=
    if (list.disabled =3D=3D 1)=0A=
        return;=0A=
    list.selectedIndex =3D list.options.length - 1;=0A=
    list.onchange();=0A=
}=0A=
=0A=
function military_edit_switchStarOfField(fieldName, starName){=0A=
    star_field =3D fieldName;=0A=
    star_name =3D starName;=0A=
    need_switch_star =3D true;=0A=
}=0A=
=0A=
function military_edit_switchStarOfFieldCallback(){=0A=
    if ($(star_field).disabled =3D=3D 0) {=0A=
        $(star_name).className =3D 'red';=0A=
    }=0A=
    else {=0A=
        $(star_name).className =3D 'white';=0A=
    }=0A=
    need_switch_star =3D false;=0A=
}=0A=
=0A=
function military_edit_CheckFieldByNull(formName, fieldName, errorText){=0A=
    if (formName.elements[fieldName].value =3D=3D null || =
formName.elements[fieldName].value =3D=3D undefined || =
formName.elements[fieldName].value =3D=3D "") {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
function military_edit_CheckFormByNull(formName){=0A=
    more_disabled();=0A=
    var errors =3D "";=0A=
    var suff =3D "";=0A=
    if (editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
=0A=
    /*  errors =
+=3Dmilitary_edit_CheckFieldByNull(formName,'country_id_'+mode+suff,"=CF=EE=
=EB=E5 =D1=D2=D0=C0=CD=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     if(formName.elements['region_id_'+mode+suff].disabled !=3D 1)=0A=
     {=0A=
     errors =
+=3Dmilitary_edit_CheckFieldByNull(formName,'region_id_'+mode+suff,"=CF=EE=
=EB=E5 =D0=C5=C3=C8=CE=CD =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     }=0A=
     errors =
+=3Dmilitary_edit_CheckFieldByNull(formName,'city_id_'+mode+suff,"=CF=EE=EB=
=E5 =C3=CE=D0=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     if(formName.elements['city_id_'+mode+suff].value =3D=3D 'other')=0A=
     {=0A=
     errors =
+=3Dmilitary_edit_CheckFieldByNull(formName,'city_name',"=CF=EE=EB=E5 =
=C4=D0=D3=C3=CE=C9 =C3=CE=D0=CE=C4 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
     }=0A=
     */=0A=
    errors +=3D military_edit_CheckFieldByNull(formName, 'name_' + mode =
+ suff, "=CF=EE=EB=E5 =C2=CE=C8=CD=D1=CA=C0=DF =D7=C0=D1=D2=DC =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
=0A=
    errors +=3D military_edit_CheckFieldByNull(formName, 'enteryear_' + =
mode + suff, "=CF=EE=EB=E5 =CD=C0=D7=C0=CB=CE =D1=CB=D3=C6=C1=DB - =
=C3=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    errors +=3D military_edit_CheckFieldByNull(formName, 'entermonth_' + =
mode + suff, "=CF=EE=EB=E5 =CD=C0=D7=C0=CB=CE =D1=CB=D3=C6=C1=DB - =
=CC=C5=D1=DF=D6 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
=0A=
    if (formName.elements['leaveyear_' + mode + suff].disabled !=3D 1) {=0A=
        errors +=3D military_edit_CheckFieldByNull(formName, =
'leaveyear_' + mode + suff, "=CF=EE=EB=E5 =CE=CA=CE=CD=D7=C0=CD=C8=C5 =
=D1=CB=D3=C6=C1=DB - =C3=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
    if (formName.elements['leavemonth_' + mode + suff].disabled !=3D 1) {=0A=
        errors +=3D military_edit_CheckFieldByNull(formName, =
'leavemonth_' + mode + suff, "=CF=EE=EB=E5 =CE=CA=CE=CD=D7=C0=CD=C8=C5 =
=D1=CB=D3=C6=C1=DB - =CC=C5=D1=DF=D6 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    }=0A=
=0A=
    if (errors !=3D null && errors !=3D "") {=0A=
        alert(errors);=0A=
        less_disabled();=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
function military_edit_switchStarByDisable(field_id, star_id){=0A=
    if ($(field_id).disabled =3D=3D 0) {=0A=
        $(star_id).className =3D 'red';=0A=
    }=0A=
    else {=0A=
        $(star_id).className =3D 'white';=0A=
    }=0A=
}=0A=
=0A=
function military_edit_makeother(sid){=0A=
    list =3D $(sid);=0A=
    if (list =3D=3D undefined)=0A=
        return;=0A=
    list.enable();=0A=
    list.options.length =3D 0;=0A=
    list.options.length =3D list.options.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=CD=E5 =E2=FB=E1=F0=E0=ED=EE';=0A=
    list.options.length =3D list.options.length + 1;=0A=
    list.options[1].value =3D 'other';=0A=
    list.options[1].text =3D '=C4=F0=F3=E3=EE=E5';=0A=
}=0A=
=0A=
function military_edit_onother(sid){=0A=
    if (sid =3D=3D undefined || sid =3D=3D '')=0A=
        return;=0A=
    suff =3D "";=0A=
    if (editing =3D=3D 1)=0A=
        suff =3D "_edit";=0A=
}=0A=
=0A=
function military_edit_onblock(sel, block_on){=0A=
    if (sel.value =3D=3D 'other') {=0A=
        $(block_on).show();=0A=
        military_edit_onother(sel.id);=0A=
    }=0A=
    else {=0A=
        $(block_on).hide();=0A=
    }=0A=
}=0A=
=0A=
function military_edit_disUndisField(field){=0A=
    if ($(field).disabled =3D=3D 0) {=0A=
        $(field).disable();=0A=
    }=0A=
    else {=0A=
        $(field).enable();=0A=
    }=0A=
}=0A=
=0A=
function military_edit_selectLastInList(list){=0A=
    list.selectedIndex =3D list.options.length;=0A=
}=0A=
=0A=
function military_edit_edit_unit_to_orig(){=0A=
    if (editing_unit =3D=3D '')=0A=
        return;=0A=
    html =3D $(editing_unit).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(editing_unit).hide();=0A=
    $(editing_unit).update('');=0A=
    $('orig_div_for_unit').update(html);=0A=
    editing_unit =3D '';=0A=
    editing =3D 0;=0A=
}=0A=
=0A=
function military_edit_edit_unit_by_id(mid){=0A=
    if (editing =3D=3D 1) {=0A=
        if (editing_unit =3D=3D 'div_for_unit_' + mid)=0A=
            return false;=0A=
        military_edit_edit_unit_to_orig();=0A=
    }=0A=
    mode =3D 'unit';=0A=
    editing =3D 1;=0A=
    src_div =3D 'orig_div_for_unit';=0A=
    if (editing_unit !=3D '') {=0A=
        $(editing_unit).hide();=0A=
        src_div =3D editing_unit;=0A=
    }=0A=
    editing_unit =3D 'div_for_unit_' + mid;=0A=
    if (src_div =3D=3D editing_unit)=0A=
        return;=0A=
    html =3D $(src_div).innerHTML;=0A=
    if (html =3D=3D undefined || html =3D=3D '')=0A=
        return;=0A=
    $(src_div).update('');=0A=
    $(editing_unit).update(html);=0A=
    military_edit_form_empty(0);=0A=
    $(editing_unit).show();=0A=
    military_edit_switchStarOfField('region_id_unit_edit', =
'unit_edit_star_reg');=0A=
    if ($('stillhere_unit_edit').check =3D=3D 1) {=0A=
        military_edit_disUndisField('leaveyear_unit_edit');=0A=
        military_edit_disUndisField('leavemonth_unit_edit');=0A=
    }=0A=
    var olist =3D ['country_id_unit_edit', 'region_id_unit_edit'];=0A=
    for (var i =3D 0; i < olist.length; i++) {=0A=
        $(olist[i]).options[0].text =3D '=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
    }=0A=
    ajax_edit_call(mid);=0A=
}=0A=
=0A=
function military_edit_add_unit(){=0A=
    mode =3D 'unit';=0A=
    editing =3D 0;=0A=
    if ($('unit_table').visible() && show_military !=3D 1) {=0A=
        $('unit_table').hide();=0A=
    }=0A=
    else {=0A=
        $('unit_table').show();=0A=
        $("country_id_unit").options.length =3D 1;=0A=
        $("country_id_unit").options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
        ajax_geo_call(1);=0A=
    }=0A=
    military_edit_switchStarByDisable('leaveyear_' + mode, =
'leaveyear_star_' + mode);=0A=
}=0A=
=0A=
/*=0A=
 * {military_search.tmpl}=0A=
 */=0A=
//function changeStudyType(sel){=0A=
//    var typeArray =3D ["=D8=EA=EE=EB=E0", "=CA=EE=EB=EB=E5=E4=E6 =
=E8=EB=E8 =CF=D2=D3", "=C2=D3=C7"];=0A=
//    var cross =3D ["0", "0", "0", "1", "2"];=0A=
//    val =3D cross[sel.value];=0A=
//    $("studyTypeId").update(typeArray[val]);=0A=
//    $("univDataId").style.display =3D (val !=3D 0) ? "" : "none";=0A=
//    $("univYearId").style.display =3D (val !=3D 0) ? "" : "none";=0A=
//    $("schoolDataId").style.display =3D (val =3D=3D 0) ? "" : "none";=0A=
//}=0A=
=0A=
function military_search_form_empty(level){=0A=
    if (level < 2) {=0A=
        /*      $('RegionID').disabled=3D1;=0A=
         $('RegionID').options.length=3D1;=0A=
         $('RegionID').options[0].value=3D'';=0A=
         =
$('RegionID').options[0].text=3D'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
         */=0A=
    }=0A=
    /*=0A=
     if (level<3) {=0A=
     $('city_id').disabled=3D1;=0A=
     $('city_id').options.length=3D1;=0A=
     $('city_id').options[0].value=3D'';=0A=
     $('city_id').options[0].text=3D'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
     }=0A=
     */=0A=
    if (level < 4) {=0A=
        $('unit_name').enable();=0A=
        $('unit_name').value =3D '=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
    }=0A=
}=0A=
=0A=
function military_search_FillGeo(names, ids, type, level, special){=0A=
//    if (type =3D=3D 2) {=0A=
//        /*      list=3D$('RegionID');=0A=
//         $('RegionID').disabled=3D0;=0A=
//         $('city_id').disabled=3D1;=0A=
//         $('city_id').options.length=3D1;=0A=
//         $('city_id').options[0].value=3D'';=0A=
//         =
$('city_id').options[0].text=3D'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
//         */=0A=
//    }=0A=
//    else {=0A=
//        //if (type=3D=3D3) {=0A=
//        if (level !=3D 3) { // Not a Russia, disabling region menu=0A=
//            /*          $('RegionID').options.length=3D1;=0A=
//             $('RegionID').options[0].value=3D'';=0A=
//             =
$('RegionID').options[0].text=3D'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
//             $('RegionID').disabled=3D1;=0A=
//             */=0A=
//        }=0A=
//        //$('city_id').disabled=3D0;=0A=
//        //      list=3D$('city_id');=0A=
//    }=0A=
    if (names.length) {=0A=
        list.enable();=0A=
    }=0A=
    else {=0A=
        geo_id =3D $F('country_id') ? $F('country_id') : '';=0A=
        $('geo_azer_href').href =3D =
'/my/military_edit?show_military=3D1&add_geo_id=3D' + geo_id;=0A=
        return;=0A=
    }=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        if (special > 0) {=0A=
            list.options[i + 1].style.fontWeight =3D "bold";=0A=
            special--;=0A=
        }=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
    if (type =3D=3D 1 || (type =3D=3D 3 && is_capital =3D=3D 1))//(set =
default country -> Russia) OR (set default city -> capital)=0A=
    {=0A=
        list.selectedIndex =3D 1;=0A=
        list.onchange();=0A=
    }=0A=
    if (need_switch_star) {=0A=
        military_search_switchStarOfFieldCallback();=0A=
    }=0A=
}=0A=
=0A=
function military_search_CheckFieldByNull(formName, fieldName, =
errorText){=0A=
    if (formName.elements[fieldName].value =3D=3D null || =
formName.elements[fieldName].value =3D=3D undefined || =
formName.elements[fieldName].value =3D=3D "") {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
function military_search_set_mode(v){=0A=
    v =3D parseInt(v);=0A=
    switch (v) {=0A=
        case 1:=0A=
            mode =3D 'unit';=0A=
            break;=0A=
    }=0A=
}=0A=
=0A=
function military_search_CheckFormByNull(formName){=0A=
    var errors =3D "";=0A=
=0A=
    $('but_find').disable();=0A=
=0A=
    //  errors =
+=3Dmilitary_search_CheckFieldByNull(formName,'country_id',"=CF=EE=EB=E5 =
=D1=D2=D0=C0=CD=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    //  if(formName.elements['RegionID'].disabled !=3D 1)=0A=
    //  {=0A=
    //      errors =
+=3Dmilitary_search_CheckFieldByNull(formName,'RegionID',"=CF=EE=EB=E5 =
=D0=C5=C3=C8=CE=CD =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    //  }=0A=
    //  errors =
+=3Dmilitary_search_CheckFieldByNull(formName,'city_id',"=CF=EE=EB=E5 =
=C3=CE=D0=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    errors +=3D military_search_CheckFieldByNull(formName, 'unit_name', =
"=CF=EE=EB=E5 =CD=CE=CC=C5=D0 =D7=C0=D1=D2=C8 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
=0A=
    if (errors !=3D null && errors !=3D "") {=0A=
        alert(errors);=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
function military_search_switchStarOfField(fieldName, starName){=0A=
    star_field =3D fieldName;=0A=
    star_name =3D starName;=0A=
    need_switch_star =3D true;=0A=
}=0A=
=0A=
function military_search_switchStarOfFieldCallback(){=0A=
    /* if($(star_field).disabled=3D=3D0)=0A=
     {=0A=
     $(star_name).className=3D'red';=0A=
     } else {=0A=
     $(star_name).className=3D'white';=0A=
     } */=0A=
    need_switch_star =3D false;=0A=
}=0A=
=0A=
function military_search_switch_result(){=0A=
    if ($('result_txt').innerHTML.match(/=D1=EA=F0=FB=F2=FC/)) {=0A=
        $('result_txt').update("=CF=EE=EA=E0=E7=E0=F2=FC =
=EF=E0=F0=E0=EC=E5=F2=F0=FB =EF=EE=E8=F1=EA=E0");=0A=
        $('result_img_plus').show();=0A=
        $('result_img_minus').hide();=0A=
        $('condition_table').hide();=0A=
=0A=
    }=0A=
    else {=0A=
        $('result_txt').update("=D1=EA=F0=FB=F2=FC =
=EF=E0=F0=E0=EC=E5=F2=F0=FB =EF=EE=E8=F1=EA=E0");=0A=
        $('result_img_plus').hide();=0A=
        $('result_img_minus').show();=0A=
        $('condition_table').show();=0A=
    }=0A=
    return false=0A=
}=0A=
=0A=
function military_search_check_form(){=0A=
    var show =3D 1;=0A=
    if (!$F('country_id'))=0A=
        show =3D 0;=0A=
    if (!$F('unit_name'))=0A=
        show =3D 0;=0A=
    if (!$F('enteryear_unit'))=0A=
        show =3D 0;=0A=
/*    if (!$F('entermonth_unit'))=0A=
        show =3D 0;*/=0A=
    if (!$('stillhere_unit').checked) {=0A=
        if (!$F('leaveyear_unit'))=0A=
            show =3D 0;=0A=
/*        if (!$F('leavemonth_unit'))=0A=
            show =3D 0;*/=0A=
    }=0A=
    $('had_served_table').style.display =3D show ? 'block' : 'none';=0A=
    $('had_served').disabled =3D 1 - show;=0A=
    $('but_find').disabled =3D (!$('unit_name').value || =
!$('country_id').value);=0A=
}=0A=
=0A=
/*=0A=
 * {neighbour.tmpl}=0A=
 */=0A=
function neighbour_form_empty(level){=0A=
    if (level < 2) {=0A=
        $('region_id').disable();=0A=
        $('region_id').options.length =3D 1;=0A=
        $('region_id').options[0].value =3D '';=0A=
        $('region_id').options[0].text =3D '';=0A=
    }=0A=
    if (level < 3) {=0A=
        $('city_id').disable();=0A=
        $('city_id').options.length =3D 1;=0A=
        $('city_id').options[0].value =3D '';=0A=
        $('city_id').options[0].text =3D '';=0A=
    }=0A=
    if (level < 4) {=0A=
        $('street_search_1').hide();=0A=
        $('street_name_1').disable();=0A=
        $('street_name_1').options.length =3D 1;=0A=
        $('street_name_1').options[0].value =3D '';=0A=
        $('street_name_1').options[0].text =3D '';=0A=
    }=0A=
    if (level < 5) {=0A=
        $('house_id').disable();=0A=
        $('house_id').options.length =3D 1;=0A=
        $('house_id').options[0].value =3D '';=0A=
        $('house_id').options[0].text =3D '';=0A=
    }=0A=
}=0A=
=0A=
function neighbour_FillGeo(names, ids, type, level, special){=0A=
    $('street_other').hide();=0A=
    $('street_search_1').hide();=0A=
    if (type =3D=3D 2) {=0A=
        list =3D $('region_id');=0A=
        $('city_id').disable();=0A=
        $('city_id').options.length =3D 1;=0A=
        $('city_id').options[0].value =3D '';=0A=
        $('city_id').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
    }=0A=
    else {=0A=
        if (level !=3D 3) { // Not a Russia, disabling region menu=0A=
            $('region_id').options.length =3D 1;=0A=
            $('region_id').options[0].value =3D '';=0A=
            $('region_id').options[0].text =3D =
'=CD=E5=E4=EE=F1=F2=F3=EF=ED=EE';=0A=
            $('region_id').disable();=0A=
        }=0A=
        list =3D $('city_id');=0A=
    }=0A=
    if (names.length) {=0A=
        list.enable();=0A=
    }=0A=
    else {=0A=
        handleGeoLink();=0A=
        $('othercity').show();=0A=
        return;=0A=
    }=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        if (special > 0) {=0A=
            list.options[i + 1].style.fontWeight =3D "bold";=0A=
            special--;=0A=
        }=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
    if (type =3D=3D 1 || (type =3D=3D 3 && is_capital =3D=3D 1))//(set =
default country -> Russia) OR (set default city -> capital)=0A=
    {=0A=
        list.selectedIndex =3D 1;=0A=
        list.onchange();=0A=
    }=0A=
}=0A=
=0A=
function neighbour_FillStreets(names, ids){=0A=
    list =3D $('street_name_1');=0A=
    if (!names.length) {=0A=
        list.disable();=0A=
        list.options.length =3D 1;=0A=
        list.options[0].value =3D '';=0A=
        list.options[0].text =3D '';=0A=
        geo_id =3D $F('city_id') ? $F('city_id') : '';=0A=
        $('inst_azer_href').href =3D '/my/places?add_geo_id=3D' + geo_id;=0A=
        $('street_other').show();=0A=
        $('street_search_1').hide();=0A=
        return;=0A=
    }=0A=
    list.enable();=0A=
    $('street_other').hide();=0A=
    list.options.length =3D names.length + 2;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=CD=E5 =E8=EC=E5=E5=F2 =
=E7=ED=E0=F7=E5=ED=E8=FF';=0A=
    list.options[1].value =3D 'search';=0A=
    list.options[1].text =3D '=C1=FB=F1=F2=F0=FB=E9 =EF=EE=E8=F1=EA';=0A=
    list.options[1].style.fontWeight =3D 'bold';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 2].text =3D names[i];=0A=
        list.options[i + 2].value =3D ids[i];=0A=
    }=0A=
    FillAB('street', 1);=0A=
    $('choose_other_1').show();=0A=
}=0A=
=0A=
function neighbour_FillHouses(names, ids){=0A=
    list =3D $("house_id");=0A=
    if (!names.length) {=0A=
        list.disable();=0A=
        list.options.length =3D 1;=0A=
        list.options[0].value =3D '';=0A=
        list.options[0].text =3D '';=0A=
        return;=0A=
    }=0A=
    list.enable();=0A=
    list.options.length =3D names.length + 1;=0A=
    list.options[0].value =3D '';=0A=
    list.options[0].text =3D '=CD=E5 =E8=EC=E5=E5=F2 =
=E7=ED=E0=F7=E5=ED=E8=FF';=0A=
    for (i =3D 0; i < names.length; i++) {=0A=
        list.options[i + 1].text =3D names[i];=0A=
        list.options[i + 1].value =3D ids[i];=0A=
    }=0A=
}=0A=
=0A=
function neighbour_CheckFieldByNull(formName, fieldName, errorText){=0A=
    if (formName.elements[fieldName].value =3D=3D null || =
formName.elements[fieldName].value =3D=3D undefined || =
formName.elements[fieldName].value =3D=3D "") {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
function neighbour_CheckFormByNull(formName){=0A=
    //  var errors =3D "";=0A=
    //  errors =
+=3Dneighbour_CheckFieldByNull(formName,'country_id',"=CF=EE=EB=E5 =
=D1=D2=D0=C0=CD=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    //  if(formName.elements['region_id'].disabled !=3D 1)=0A=
    //  {=0A=
    //      errors =
+=3Dneighbour_CheckFieldByNull(formName,'region_id',"=CF=EE=EB=E5 =
=D0=C5=C3=C8=CE=CD =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    //  }=0A=
    //  errors =
+=3Dneighbour_CheckFieldByNull(formName,'city_id',"=CF=EE=EB=E5 =
=C3=CE=D0=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    //  errors +=3D =
neighbour_CheckFieldByNull(formName,'street_name_1',"=CF=EE=EB=E5 " + =
street_name_1 + " =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n") ? =
//neighbour_CheckFieldByNull(formName,'street_name',"=CF=EE=EB=E5 " + =
street_field_name + " =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n") : '';=0A=
=0A=
    //  if(formName.elements['start_year']!=3D'' && =
isNaN(formName.elements['start_year'].value)=3D=3Dtrue)=0A=
    //  {=0A=
    //      errors +=3D "=C2 =CF=EE=EB=E5 " + start_year + " =
=EC=EE=E6=ED=EE =E2=E2=EE=E4=E8=F2=FC =F2=EE=EB=FC=EA=EE =
=F6=E8=F4=F0=FB\n";=0A=
    //  }=0A=
=0A=
    //  if (errors !=3D null && errors !=3D "") { alert (errors); return =
false; }=0A=
}=0A=
=0A=
function neighbour_check_form(){=0A=
    var show =3D 1;=0A=
    if (!$F('country_id'))=0A=
        show =3D 0;=0A=
    if (!$F('city_id'))=0A=
        show =3D 0;=0A=
/*  if (!$F('start_year'))=0A=
        show =3D 0;=0A=
    if (!$('stillhere_place').checked) {=0A=
        if (!$F('leave_year'))=0A=
            show =3D 0;=0A=
    }=0A=
*/=0A=
	if(document.getElementById('had_lived_table')) {=0A=
    	$('had_lived_table').style.display =3D show ? 'block' : 'none';=0A=
	    $('had_lived').disabled =3D 1 - show;=0A=
	}=0A=
    if($('country_id') && $('city_id')) $('but_find').disabled =3D =
($('country_id').value =3D=3D '' || $('city_id').value =3D=3D '');=0A=
    else $('but_find').disabled =3D true;=0A=
}=0A=
=0A=
function neighbour_show_search_input(type, id){=0A=
    $('ab_compose_' + id).value =3D '';=0A=
    $(type + '_search_' + id).show();=0A=
    $('choose_other_' + id).hide();=0A=
    return false;=0A=
}=0A=
=0A=
/*=0A=
 * {orders_edit.tmpl}=0A=
 */=0A=
function orders_edit_dropMy(){=0A=
    if (confirm("=C2=F1=E5 =E4=E0=ED=ED=FB=E5 =EE =E2=E0=F8=E8=F5 =
=E4=F0=F3=E7=FC=FF=F5 =E1=F3=E4=F3=F2 =F3=F2=E5=F0=FF=ED=FB =E1=E5=E7 =
=E2=EE=E7=EC=EE=E6=ED=EE=F1=F2=E8 =
=E2=EE=F1=F1=F2=E0=ED=EE=E2=EB=E5=ED=E8=FF. =C2=FB =
=F3=E2=E5=F0=E5=ED=FB, =F7=F2=EE =F5=EE=F2=E8=F2=E5 =
=EF=EE=EB=ED=EE=F1=F2=FC=FE =E7=E0=EA=F0=FB=F2=FC =F1=E2=EE=E9 =
=EC=E8=F0?")) {=0A=
        document.location =3D 'editprops?delete=3D1';=0A=
    }=0A=
    else {=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
function orders_edit_send(){=0A=
    /* if (!$('WelcomeText').value) {$('my_welcome').checked =3D false;} =
*/=0A=
    var string =3D '', string2 =3D '';=0A=
    for (var i =3D 0; i < struct.length; i++) {=0A=
        string +=3D '%' + struct_names[i] + ':$';=0A=
        for (var j =3D 0; j < struct[i].length; j++) {=0A=
            string +=3D struct[i][j] + ',$'=0A=
            string3 =3D '$' + struct[i][j] + ':'=0A=
            if (!$(struct_names[i] + '_' + struct[i][j] + '_show'))=0A=
                continue;=0A=
            if (!$(struct_names[i] + '_' + struct[i][j] + =
'_show').checked)=0A=
                string2 +=3D string3 + 'off;';=0A=
        }=0A=
        string +=3D ';';=0A=
    }=0A=
    string +=3D string2;=0A=
    $('sort_input').value =3D string;=0A=
    $('main_submit').submit();=0A=
}=0A=
=0A=
function orders_edit_change_position(obj_id, diff){=0A=
    var obj =3D $(obj_id);=0A=
    var tbody =3D obj.parentNode;=0A=
    var nodes =3D tbody.childNodes;=0A=
    var prev;=0A=
    var names =3D obj_id.split('_');=0A=
    var tmp_arr;=0A=
    var order_exclude =3D 'guestbook';=0A=
    eval("tmp_arr =3D order_" + names[0]);=0A=
    for (var j =3D 0; j < tmp_arr.length; j++) {=0A=
        if (!$("'+names[0]+'_'+tmp_arr[j]+'_show"))=0A=
            continue;=0A=
        eval('var tmp_' + names[0] + '_' + tmp_arr[j] + '_show =3D $("' =
+ names[0] + '_' + tmp_arr[j] + '_show").checked');=0A=
    }=0A=
    for (var j =3D 0; j < tmp_arr.length; j++) {=0A=
        eval('var tmp_' + tmp_arr[j] + '_show =3D =
$(obj_id+"_show").checked');=0A=
        if (tmp_arr[j] =3D=3D names[1]) {=0A=
            if (j - diff < 0 || j - diff > tmp_arr.length)=0A=
                return false;=0A=
	    var diff_ie =3D 0;// i hate IE=0A=
	    if(tmp_arr[j-diff] =3D=3D order_exclude) { diff_ie =3D diff }// here=0A=
            var tmp_name =3D tmp_arr[j - (diff + diff_ie)];// here=0A=
            tmp_arr[j - (diff + diff_ie)] =3D tmp_arr[j];// and here!=0A=
            tmp_arr[j] =3D tmp_name;=0A=
            obj_pos =3D j;=0A=
            vict_pos =3D j - diff;=0A=
            break;=0A=
        }=0A=
    }=0A=
    var vict_id =3D names[0] + '_' + tmp_name;=0A=
    var vict =3D $(vict_id);=0A=
    var allTR =3D new Array();=0A=
    var clickPosition =3D false;=0A=
    var node, counter =3D 0;=0A=
	$A(nodes).each(function(node){=0A=
		if (node.nodeType !=3D 1)=0A=
            return;=0A=
        if (node.nodeName.toLowerCase() !=3D "tr")=0A=
            return;=0A=
        allTR.push(node);=0A=
        if (node =3D=3D obj) {=0A=
            clickPosition =3D counter;=0A=
            var tmp_arrow_up =3D $(vict_id + '_arrow_up').style.display;=0A=
            var tmp_arrow_down =3D $(vict_id + =
'_arrow_down').style.display;=0A=
            $(vict_id + '_arrow_up').style.display =3D $(obj_id + =
'_arrow_up').style.display;=0A=
            $(obj_id + '_arrow_up').style.display =3D tmp_arrow_up;=0A=
            $(vict_id + '_arrow_down').style.display =3D $(obj_id + =
'_arrow_down').style.display;=0A=
            $(obj_id + '_arrow_down').style.display =3D tmp_arrow_down;=0A=
            var tmp_classname =3D vict.className;=0A=
            vict.className =3D obj.className;=0A=
            obj.className =3D tmp_classname;=0A=
        }=0A=
        counter++;=0A=
	});=0A=
=0A=
    if (clickPosition =3D=3D=3D false)=0A=
        return;=0A=
=0A=
    var newTBody =3D new Element("TBODY");=0A=
    var bufer =3D allTR[clickPosition];=0A=
    allTR[clickPosition] =3D allTR[clickPosition - diff];=0A=
    allTR[clickPosition - diff] =3D bufer;=0A=
	allTR.each(function(tr){=0A=
		newTBody.appendChild(tr)=0A=
	});=0A=
    tbody.parentNode.replaceChild(newTBody, tbody);=0A=
    for (var j =3D 0; j < tmp_arr.length; j++) {=0A=
        if (!$("'+names[0]+'_'+tmp_arr[j]+'_show"))=0A=
            continue;=0A=
        eval('$("' + names[0] + '_' + tmp_arr[j] + '_show").checked =3D =
tmp_' + names[0] + '_' + tmp_arr[j] + '_show');=0A=
    }=0A=
    eval("order_" + names[0] + " =3D tmp_arr");=0A=
    return false;=0A=
}=0A=
=0A=
function orders_edit_checkLength(txar, max, ending){=0A=
    var beginer =3D max ? max : 500;=0A=
    var b =3D $("simbCount" + ending);=0A=
    var span =3D $("strCount" + ending);=0A=
    if (txar.value.length <=3D beginer) {=0A=
        b.update(txar.value.length);=0A=
        span.style.color =3D "#909090";=0A=
    }=0A=
    else {=0A=
        b.update(beginer);=0A=
        span.style.color =3D "#FF0000";=0A=
        txar.value =3D txar.value.substring(0, beginer);=0A=
    }=0A=
}=0A=
=0A=
function orders_edit_serveStatusSelect(){=0A=
    var sel =3D $('statusSelect');=0A=
    var inp =3D $('statusText');=0A=
    if (sel.options[sel.selectedIndex].value =3D=3D '-1') {=0A=
        inp.enable();=0A=
    }=0A=
    else {=0A=
        inp.value =3D '';=0A=
        inp.disable();=0A=
    }=0A=
}=0A=
=0A=
function orders_edit_EnableNotify(){=0A=
    for(var i=3D0; i < document.forms['notify'].elements.length; i++) {=0A=
        var item =3D document.forms['notify'].elements[i];=0A=
        if (item.id.indexOf('notify_') !=3D 0) continue;=0A=
        if ($('NotifyHistory').checked) {=0A=
            item.disabled =3D false;=0A=
            $('NotifyTable').className =3D "podpiska";=0A=
            item.checked =3D true;=0A=
        }=0A=
        else {=0A=
            item.disabled =3D true;=0A=
            $('NotifyTable').className =3D "podpiska grey";=0A=
            item.checked =3D false;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function orders_edit(type){=0A=
    for(var i =3D 0; i < document.forms['notify'].elements.length; i++) {=0A=
        var item =3D  document.forms['notify'].elements[i];=0A=
        if (item.id.indexOf(type+'_') !=3D 0) continue;=0A=
        if ($(type+'Notify').checked) {=0A=
            item.disabled =3D false;=0A=
            $(type+'Div').className =3D "";=0A=
	    if(item.type =3D=3D 'checkbox') item.checked =3D true;=0A=
        }=0A=
        else {=0A=
            item.disabled =3D true;=0A=
            $(type+'Div').className =3D "grey";=0A=
	    if(item.type =3D=3D 'checkbox') item.checked =3D false;=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function orders_edit_switchDropDisplay(){=0A=
    if (!$('dropworldform').visible()) {=0A=
        $('dropworldform').show();=0A=
        $('truth_form').hide();=0A=
    }=0A=
    else {=0A=
        $('dropworldform').hide();=0A=
        $('truth_form').show();=0A=
        =
document.forms['truth_form'].elements['truth_form_reason'].focus();=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function orders_edit_DropMy_GlamurEdition(){=0A=
    div =3D $('tell_us_truth');=0A=
    var _top =3D absPosition('DeleteMyDisclaimer').y + (-10);=0A=
    var _left =3D absPosition('DeleteMyDisclaimer').x + 0;=0A=
    div.style.top =3D _top;=0A=
    div.style.left =3D _left;=0A=
    div.show();=0A=
}=0A=
=0A=
function orders_edit_submit_truth_form(){=0A=
    var f =3D $('truth_form');=0A=
    var r =3D $('truth_form_reason');=0A=
    if (r.value.length =3D=3D 0) {=0A=
        r.disable();=0A=
        f.action =3D "http://"+MyMailHost+"/my/delete_my";=0A=
    }=0A=
    else {=0A=
        r.disable();=0A=
        f.action =3D "http://"+MyMailHost+"/my/delete_my";=0A=
    }=0A=
    f.submit();=0A=
}=0A=
=0A=
function orders_edit_drop_access(level){=0A=
    var types =3D new Array('LogsAccessAll', 'FriendsAccessAll', =
'FriendsFriendsAccessAll', 'CommunityAccessAll');=0A=
    for (i =3D 0; i < types.length; i++) {=0A=
        var rb =3D document.all['access'][types[i]];=0A=
        if (i.value > level)=0A=
            i.value =3D level;=0A=
    }=0A=
}=0A=
=0A=
function orders_edit_EnableB(){=0A=
	for(var i =3D 0; i < document.forms['notify'].elements.length; i++) {=0A=
	    var item =3D  document.forms['notify'].elements[i];=0A=
        if (item.id.indexOf('Birthday_') !=3D 0) continue;=0A=
        if ($('BirthdayNotify').checked) {=0A=
            item.disabled =3D false;=0A=
            $('Birthdaytable').className =3D "podpiska";=0A=
        }=0A=
        else {=0A=
            item.disabled =3D true;=0A=
            $('Birthdaytable').className =3D "podpiska grey";=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {people.tmpl}=0A=
 */=0A=
/**=0A=
 * =CE=E1=F0=E0=E1=EE=F2=EA=E0 =EE=F2=E2=E5=F2=E0=0A=
 * @param {String} result=0A=
 * @param {String} id=0A=
 */=0A=
function people_addToFriendResult(result, id){=0A=
    var span =3D $(id);=0A=
    var link =3D $(id + '_friends_link');=0A=
=0A=
    if (result =3D=3D 'friendship_offer') {=0A=
        span.update("=CF=F0=E8=E3=EB=E0=F8=E5=ED=E8=E5 =
=EE=F2=EF=F0=E0=E2=EB=E5=ED=EE");=0A=
        link.show();=0A=
        people_tempDiv(false);=0A=
    }=0A=
    else if (result =3D=3D 'friend_added') {=0A=
        span.update("=D3=F0=E0! =C2=FB =F1=F2=E0=EB=E8 =
=E4=F0=F3=E7=FC=FF=EC=E8!");=0A=
        link.show();=0A=
        people_tempDiv(false);=0A=
    }=0A=
    else if (result =3D=3D 'my_invitation_sent') {=0A=
        span.update("=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FE =
=E2=FB=F1=EB=E0=ED=EE =EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5 =
=F1=EE=E7=E4=E0=F2=FC =F1=E2=EE=E9 =EC=E8=F0");=0A=
        link.show();=0A=
        people_tempDiv(false);=0A=
    }=0A=
    else if (result =3D=3D 'world_invitation_sent') {=0A=
        span.update("=C2=FB =EF=F0=E8=E3=EB=E0=F1=E8=EB=E8 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =EF=EE=F1=E8=F2=E8=F2=FC =
=F1=E2=EE=E9 =EC=E8=F0");=0A=
        link.show();=0A=
        people_tempDiv(false);=0A=
    }=0A=
    else if (result =3D=3D 'already_friends') {=0A=
        span.update("=C2=FB =F3=E6=E5 =E4=F0=F3=E7=FC=FF");=0A=
        link.show();=0A=
        people_tempDiv(false);=0A=
    }=0A=
    else if (result =3D=3D 'already_friendship_offer_sent') {=0A=
        span.update("=C2=FB =F3=E6=E5 =E2=FB=F1=EB=E0=EB=E8 =
=EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5");=0A=
        link.show();=0A=
        people_tempDiv(false);=0A=
   }=0A=
   else if (result =3D=3D 'invalid_emails') {=0A=
        span.update("=CD=E5=E2=E5=F0=ED=FB=E9 email");=0A=
        people_tempDiv(false);=0A=
   }=0A=
   else {=0A=
        people_tempDiv(false);=0A=
        alert('=CF=F0=E8 =EE=E1=F0=E0=E1=EE=F2=EA=E5 =
=E7=E0=EF=F0=EE=F1=E0 =EF=F0=EE=E8=E7=EE=F8=EB=E0 =EE=F8=E8=E1=EA=E0. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=EF=FB=F2=EA=F3 =F1=ED=EE=E2=E0.');=0A=
   }=0A=
}=0A=
=0A=
function people_addToFriendOnMy(id, email){=0A=
    people_tempDiv(true, id);=0A=
    ajax_call('perl_add_friend', email, id, people_addToFriendResult);=0A=
    return false;=0A=
}=0A=
=0A=
function people_tempDiv(flag, id){=0A=
    var div;=0A=
    var span =3D $(id);=0A=
    if (!$("addFriendProcessingId")) {=0A=
        div =3D new Element("div", {id: "addFriendProcessingId"});=0A=
		div.setStyle({=0A=
			'position': "absolute",=0A=
			'top': 0,=0A=
			'left': 0,=0A=
			'display': 'none',=0A=
			'border': "1px solid #000",=0A=
			'background-color': "#FFF",=0A=
			'padding': "10px 30px",=0A=
			'font': "12px arial"=0A=
		});=0A=
        div.update("=C7=E0=EF=F0=EE=F1 =
=EE=E1=F0=E0=E1=E0=F2=FB=E2=E0=E5=F2=F1=FF...");=0A=
        document.body.appendChild(div);=0A=
    }=0A=
    else=0A=
        div =3D $("addFriendProcessingId");=0A=
    if (flag) {=0A=
        div.style.top =3D absPosition(span).y;=0A=
        div.style.left =3D absPosition(span).x;=0A=
        div.show();=0A=
    }=0A=
    else=0A=
        div.hide();=0A=
}=0A=
=0A=
/*=0A=
 * {photo_for_vote.tmpl}=0A=
 */=0A=
function photo_for_vote_vote(mark){=0A=
    if (mark =3D=3D 0) {=0A=
        document.forms['voteform'].elements['Vote_Skip'].value =3D '1';=0A=
    }=0A=
    else {=0A=
        //alert(mark);=0A=
        document.forms['voteform'].elements['Vote_Mark'].value =3D mark;=0A=
    }=0A=
    document.forms['voteform'].submit();=0A=
}=0A=
=0A=
function photo_for_vote_downloadfoto(host){=0A=
    var popupwin =3D =
window.open("http://"+PhotoImagineHost+"/cgi-bin/photo/addphoto?myphoto=3D=
1&mode=3D1&Title=3D", "dlphoto", =
"height=3D300,width=3D600,scrollbars=3Dno");=0A=
    var i =3D setInterval(function(){=0A=
	if(popupwin.closed){=0A=
	    //location.href =3D 'http://'+host+'photo';=0A=
	    location.href =3D 'http://' + host;=0A=
	    clearInterval(i);=0A=
	}=0A=
    }, 1000);=0A=
}=0A=
=0A=
function photo_for_vote_select_age(age){=0A=
    //alert(age);=0A=
    document.location =3D '/cgi-bin/my/photo_for_vote?Filter_Age=3D' + =
age + '&Filter_Sex=3D'+FilterSex;=0A=
}=0A=
=0A=
/*=0A=
 * {photo.tmpl}=0A=
 */=0A=
function photo_viewFlyHelp(objId, textMes){=0A=
    if (objId)// && textMes=0A=
    {=0A=
        if ($(objId) && $(objId).visible()) {=0A=
            $(objId).hide();=0A=
        }=0A=
        else {=0A=
            if (!$(objId)) {=0A=
                var div_for_voting_block =3D new Element('DIV', {id: =
'for_voting_block'}).update('<div id=3D"for_voting_block_close"><a =
href=3D"#" onClick=3D"photo_viewFlyHelp(this.offsetParent.id); return =
false;"><img =
src=3D"http://img3.imgsmail.ru/mail/ru/images/blogs/close_help.gif" =
width=3D"7" height=3D"7"><\/a><\/div><div =
id=3D"for_voting_block_text"><\/div>');=0A=
                document.body.appendChild(div_for_voting_block);=0A=
            }=0A=
            $('for_voting_block_text').update(textMes);=0A=
            $(objId).style.left =3D =
parseInt(absPosition($('voting_block')).x) - 80 + 'px';=0A=
            $(objId).style.top =3D =
parseInt(absPosition($('voting_block')).y) + 23 + 'px';=0A=
//            $(objId).observe('click', cancelBubbling);=0A=
            $(objId).show();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * =E7=E0=EA=F0=FB=F2=E8=E5 =E2=F1=E5=F5 =E1=EB=EE=EA=EE=E2 =
=EF=EE=EC=EE=F9=E8 =EF=F0=E8 =EA=EB=E8=EA=E5 =ED=E0 =EF=F3=F1=F2=EE=E5 =
=EC=E5=F1=F2=EE =F1=F2=F0=E0=ED=E8=F6=FB=0A=
 */=0A=
function photo_closeHelpBlock()=0A=
{=0A=
    if ($('for_voting_block') && $('for_voting_block').visible()) {=0A=
        photo_viewFlyHelp('for_voting_block');=0A=
    }=0A=
    if ($('distDivId') && $('distDivId').visible()) {=0A=
        hideDistribDiv();=0A=
    }=0A=
}=0A=
=0A=
//unused=0A=
function photo_uPicOver(span){=0A=
    var avatarPath, img;=0A=
    avatarPath =3D "http://avt.photo.mail.ru/";=0A=
    img =3D $("forUserPicShow");=0A=
    img.src =3D avatarPath + span.id + "/_avatar";=0A=
    img.style.top =3D absPosition(span).y + span.offsetHeight;=0A=
    img.style.left =3D absPosition(span).x;=0A=
    img.show();=0A=
}=0A=
=0A=
//unused=0A=
function photo_uPicOut(span){=0A=
    var img;=0A=
    var img =3D $("forUserPicShow");=0A=
    img.hide();=0A=
    img.src =3D "wait.gif";=0A=
=0A=
}=0A=
=0A=
=0A=
//unused=0A=
function photo_CheckEditPhoto(frm){=0A=
    if (frm =3D=3D undefined) {=0A=
        alert("photo_CheckEditPhoto. =CD=E5 =
=EE=EF=F0=E5=E4=E5=EB=E5=ED=E0 =F4=EE=F0=EC=E0.");=0A=
        return false=0A=
    }=0A=
    var obContest =3D frm.Contest;=0A=
    var obMoveto =3D frm.moveto;=0A=
    if (obContest =3D=3D undefined || obMoveto =3D=3D undefined) {=0A=
        alert("photo_CheckEditPhoto. =CD=E5 =ED=E0=E9=E4=E5=ED =
=FD=EB=E5=EC=E5=ED=F2 =F4=EE=F0=EC=FB.");=0A=
        return false=0A=
    }=0A=
    alert('obMoveto.value=3D' + obMoveto.value + ', =
obContest.selectedIndex=3D' + obContest.selectedIndex);=0A=
=0A=
    return true;=0A=
}=0A=
=0A=
function photo_hideObject(obj){=0A=
    theStyle =3D (obj.style ? obj.style : obj);=0A=
    if (theStyle.visibility !=3D undefined) {=0A=
        theStyle.visibility =3D "hidden"=0A=
    }=0A=
    if (theStyle.display !=3D undefined) {=0A=
        theStyle.display =3D "none"=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * =CF=EE=EA=E0=E7=E0=F2=FC/=F1=EA=F0=FB=F2=FC =
=EA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9.=0A=
 * =CB=E8=F8=ED=E8=E5 =EF=E0=F0=E0=EC=E5=F2=F0=FB, =
=EE=E1=FA=FF=E2=EB=E5=ED=ED=FB=E5 =EF=EE=E4 =
=EA=EE=ED=F2=E5=E9=ED=E5=F0=EE=EC =ED=E8=E6=E5, =E1=F3=E4=F3=F2 =
=F3=E1=F0=E0=ED=FB.=0A=
 */=0A=
function photo_commentRep(id, quote, comment_thread, comment_page, =
image_id, album_id, curbox){=0A=
    photo_commentRepHide();=0A=
    var divContainer;=0A=
    if (!$("place_" + id))=0A=
        return;=0A=
    var container =3D $("place_" + id);=0A=
=0A=
    var replyto =3D id;=0A=
    var author_mail =3D ActiveUserMail();=0A=
    var comment_id =3D id;=0A=
    var c_id =3D 'c_' + id;=0A=
    var from =3D 0;=0A=
    var to =3D id;=0A=
    //var obform =3D document.forms['frmAddComm'];=0A=
    //if(obform !=3D undefined){=0A=
    //=CF=EE=E4=F1=F2=E0=E2=E8=F2=FC =F1=EE=E1=FB=F2=E8=E5=0A=
    //  obform.onsubmit =3D ...;=0A=
    //}=0A=
    var defaultusername =3D ActiveUserFullName();=0A=
    container.update("<div id=3D\"commentAddBlockId\"><div =
class=3D\"border_grey\" style=3D\"width: 500px;\">\=0A=
        <input type=3Dhidden name=3D\"page\" value=3D\"" + comment_page =
+ "\">\=0A=
        <input type=3Dhidden name=3D\"replyto\" value=3D\"" +=0A=
    id +=0A=
    "\">\=0A=
        <input type=3Dhidden name=3D\"thread\" value=3D\"" +=0A=
    comment_thread +=0A=
    "\">\=0A=
        <input type=3Dhidden name=3D\"author\" value=3D\"" +=0A=
    author_mail +=0A=
    "\">\=0A=
        <input type=3Dhidden name=3D\"id\" value=3D\"" +=0A=
    image_id +=0A=
    "\">\=0A=
        <input type=3Dhidden name=3D\"album\" value=3D\"" +=0A=
    album_id +=0A=
    "\">\=0A=
        <table class=3D\"pad5 w100\">\=0A=
            <tr>\=0A=
                <td class=3D\"grey\">=C2=E0=F8=E5 =E8=EC=FF:</td>\=0A=
                <td><input type=3D\"text\" name=3D\"alias\" =
id=3D\"com_alias\" disabled class=3D\"inp\" value=3D\"" +=0A=
    defaultusername +=0A=
    "\" /></td>\=0A=
            </tr>\=0A=
            <tr>\=0A=
                <td class=3D\"grey\">=D2=E5=EA=F1=F2:</td>\=0A=
                <td><textarea id=3D\"com_text\" name=3D\"comment\" =
class=3D\"inp_area\" cols=3D\"50\" rows=3D\"5\">" +=0A=
    (quote ? $("comment_text_" + id).value : "") +=0A=
    "</textarea></td>\=0A=
            </tr>\=0A=
            <tr>\=0A=
                <th> </th>\=0A=
                <td class=3D\"link\"><input id=3D\"sub_but\" =
type=3D\"button\" value=3D\"=E4=EE=E1=E0=E2=E8=F2=FC\" =
onclick=3D'photo_AddComment(\"" +=0A=
    to +=0A=
    "\",\"" +=0A=
    comment_thread +=0A=
    "\", \"" +=0A=
    author_mail +=0A=
    "\", \"" +=0A=
    image_id +=0A=
    "\", \"" +=0A=
    album_id +=0A=
    "\", \"" +=0A=
    curbox +=0A=
    "\", \"" +=0A=
    image_id +=0A=
    "\", \"" +=0A=
    comment_id +=0A=
    "\", \"" +=0A=
    c_id +=0A=
    "\");return false;' />&nbsp;&nbsp;&nbsp;&nbsp;<a onclick=3D\"return =
photo_commentRepHide();\" href=3D\"#\" =
class=3D\"dels\"><i></i>=E7=E0=EA=F0=FB=F2=FC</a></div></td>\=0A=
            </tr>\=0A=
            <tr>\=0A=
                <th></th>\=0A=
                <td><div class=3D'capchaNew_left' =
name=3D'for_capcha_comment' id=3D'for_capcha_comment'>\=0A=
    <div><a href=3D'#' onclick=3D'photo_hideObject(for_capcha_comment); =
return false;' id=3D'wee11'><i></i></a></div>\=0A=
    <img name=3D'img_for_capcha_comment' id=3D'img_for_capcha_comment' =
src=3D'http://img0.imgsmail.ru/0.gif'>\=0A=
    <p>=C2=E2=E5=E4=E8=F2=E5 =
=F7=E8=F1=EB=EE,<br>=E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =
=EA=E0=F0=F2=E8=ED=EA=E5:</p>\=0A=
    <input id=3D'security_image_addcomment_answer' type=3Dtext =
name=3D'security_image_addcomment_answer'  value=3D'' class=3D'inp =
mt5'>\<input type=3Dsubmit name=3D'btn_ok' =
onclick=3D'photo_AddComment(\"" +=0A=
    to +=0A=
    "\",\"" +=0A=
    comment_thread +=0A=
    "\", \"" +=0A=
    author_mail +=0A=
    "\", \"" +=0A=
    image_id +=0A=
    "\", \"" +=0A=
    album_id +=0A=
    "\", \"" +=0A=
    curbox +=0A=
    "\", \"" +=0A=
    image_id +=0A=
    "\", \"" +=0A=
    comment_id +=0A=
    "\", \"" +=0A=
    c_id +=0A=
    "\");return false;' value=3D' =EE=EA ' id=3D'gg11'/>\=0A=
                </div></td>\=0A=
            </tr>\=0A=
        </table>\=0A=
        </div></div>");=0A=
//    document.forms['frmAddComm'].elements['alias'].focus();=0A=
    document.forms['frmAddComm'].elements['comment'].focus();=0A=
    return false;=0A=
}=0A=
=0A=
=0A=
function photo_commentRepHide(){=0A=
    if ($("commentAddBlockId")) {=0A=
        =
$("commentAddBlockId").parentNode.removeChild($("commentAddBlockId"));=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function photo_ClearCapchaParams(){=0A=
    capcha_mark =3D 0;=0A=
    capcha_id =3D 0;=0A=
    check_capcha_result =3D 0;=0A=
    var ob =3D $('security_image_answer');=0A=
    if (ob !=3D undefined) {=0A=
        ob.value =3D '';=0A=
    }=0A=
}=0A=
=0A=
function photo_FreshVoteCapchaCallback(st, id){=0A=
    if (st =3D=3D 1) {=0A=
        capcha_id =3D id;=0A=
        $('img_for_capcha').src =3D 'http://' + PhotoPerlHost() + =
'/cgi-bin/get_image_photo?id=3D' + capcha_id;=0A=
        var ob =3D $('for_capcha');=0A=
        ob.style.visibility =3D "visible";=0A=
        ob.show();=0A=
        var ob =3D $('security_image_answer');=0A=
        if (ob !=3D undefined) {=0A=
            ob.focus()=0A=
        };=0A=
=0A=
        document.onclick =3D function hide_VoteCapcha(evt){=0A=
            var ob =3D $("for_capcha");=0A=
            if (ob) {=0A=
                evt =3D (evt) ? evt : ((window.event) ? event : null);=0A=
                elem =3D (evt.target) ? evt.target : ((evt.srcElement) ? =
evt.srcElement : null);=0A=
                if (elem.id !=3D "img_for_capcha" && elem.id !=3D =
"security_image_answer" && elem.tagName !=3D "A") {=0A=
                    photo_hideObject(ob);=0A=
                    document.onclick =3D "";=0A=
                }=0A=
            }=0A=
        }=0A=
    }=0A=
    else {=0A=
        alert('=CD=E5 =F3=E4=E0=EB=EE=F1=FC =
=F1=F4=EE=F0=EC=E8=F0=EE=E2=E0=F2=FC =EA=E0=F0=F2=E8=ED=EA=F3. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=E6=E0=EB=F3=E9=F1=F2=E0 =E2=E0=F8 =
=E2=FB=E1=EE=F0.');=0A=
    }=0A=
}=0A=
=0A=
function photo_FreshVoteCapcha(){=0A=
    var st =3D ajax_call('perl_get_capcha_id', =
photo_FreshVoteCapchaCallback);=0A=
    return st;=0A=
}=0A=
=0A=
function photo_FreshCapchaCommentCallback(st, id){=0A=
    if (st =3D=3D 1) {=0A=
        capcha_comment_id =3D id;=0A=
        $('img_for_capcha_comment').src =3D 'http://' + PhotoPerlHost() =
+ '/cgi-bin/get_image_photo?id=3D' + capcha_comment_id;=0A=
        var ob =3D $('for_capcha_comment');=0A=
        ob.style.display =3D "block";=0A=
        var ob =3D $('security_image_addcomment_answer');=0A=
        if (ob !=3D undefined) {=0A=
            ob.focus()=0A=
        };=0A=
            }=0A=
    else {=0A=
        alert('=CD=E5 =F3=E4=E0=EB=EE=F1=FC =
=F1=F4=EE=F0=EC=E8=F0=EE=E2=E0=F2=FC =EA=E0=F0=F2=E8=ED=EA=F3. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=E6=E0=EB=F3=E9=F1=F2=E0 =E2=E0=F8 =
=E2=FB=E1=EE=F0.');=0A=
    }=0A=
    photo_ShowSendButton('sub_but');=0A=
}=0A=
=0A=
function photo_FreshCapchaComment(){=0A=
    var st =3D ajax_call('perl_get_capcha_id', =
photo_FreshCapchaCommentCallback);=0A=
    if (st =3D=3D 1) {=0A=
        photo_HideSendButton('sub_but');=0A=
    };=0A=
    return st;=0A=
}=0A=
=0A=
function photo_addVoteCallback(st, newrating, votescount, errorcode, =
errortext){=0A=
    if (st =3D=3D 1) {=0A=
        voted =3D true;=0A=
        $('image_Rate').update(newrating);=0A=
      //  $('image_VotesCount').update(votescount);=0A=
		$('image_VotesCount').innerHTML =3D ++$('image_VotesCount').innerHTML;=0A=
		if (window.photoMark =3D=3D 10) $('image_MegaVoteCnt').innerHTML =3D =
++$('image_MegaVoteCnt').innerHTML;=0A=
		$('image_Rate_Vote_Access').update('=D1=EF=E0=F1=E8=E1=EE, =C2=E0=F8 =
=E3=EE=EB=EE=F1 =EF=F0=E8=ED=FF=F2!');=0A=
		$('image_Rate_Vote_Access').className =3D 'imageRateVoteAccess2';=0A=
    }=0A=
    else {=0A=
        if (errorcode =3D=3D 2) { //=C2=FB =F3=E6=E5 =
=E3=EE=EB=EE=F1=EE=E2=E0=EB=E8=0A=
            voted =3D true;=0A=
            photo_hideObject($('image_Rate_Vote_Access'));=0A=
        }=0A=
        alert('=CF=F0=EE=E3=EE=EB=EE=F1=EE=E2=E0=F2=FC =ED=E5 =
=F3=E4=E0=EB=EE=F1=FC: ' + errortext);=0A=
    }=0A=
}=0A=
=0A=
function photo_addVote(mark, image_id, album_id){=0A=
    rating +=3D mark;=0A=
	window.photoMark =3D mark;=0A=
    if (voted) {=0A=
        alert('=C2=FB =F3=E6=E5 =EF=F0=EE=E3=EE=EB=EE=F1=EE=E2=E0=EB=E8 =
=E7=E0 =F4=EE=F2=EE');=0A=
        return;=0A=
    }=0A=
=0A=
    var answer =3D '';=0A=
    /*if(need_capcha){alert('need_capcha' + need_capcha);=0A=
     capcha_mark =3D mark;=0A=
     answer=3D$('security_image_answer').value;=0A=
     if(answer =3D=3D '' || check_capcha_result !=3D 1){=0A=
     var st =3D photo_FreshVoteCapcha();=0A=
     }=0A=
     return;=0A=
     }=0A=
     photo_ClearCapchaParams();alert('photo_ClearCapchaParams');*/=0A=
    var st =3D ajax_call('perl_add_vote', mark, image_id, album_id, =
capcha_id, answer, photo_addVoteCallback);=0A=
    if (!st) {=0A=
        alert('=CF=F0=EE=E3=EE=EB=EE=F1=EE=E2=E0=F2=FC =ED=E5 =
=EF=EE=EB=F3=F7=E8=EB=EE=F1=FC');=0A=
		} else {=0A=
			$('image_Rate_Vote_Access').style.backgroundImage =3D "none";	=0A=
			$('image_Rate_Vote_Access').style.paddingTop =3D "15px";	=0A=
			$('image_Rate_Vote_Access').update('=C7=E0=EF=F0=EE=F1 =
=EE=E1=F0=E0=E1=E0=F2=FB=E2=E0=E5=F2=F1=FF');=0A=
			$('image_Rate_Vote_Access').className =3D 'imageRateVoteAccess2';=0A=
		}=0A=
}=0A=
=0A=
function photo_CheckVoteCapchaCallback(st, ok){=0A=
    if (st =3D=3D 1) {=0A=
        check_capcha_result =3D ok;=0A=
        if (ok =3D=3D 1) {=0A=
            var answer =3D $F('security_image_answer');=0A=
            var mark =3D capcha_mark;=0A=
            var id =3D capcha_id;=0A=
            photo_ClearCapchaParams();=0A=
            $('for_capcha').style.visibility =3D "hidden";=0A=
            var st =3D ajax_call('perl_add_vote', mark, =
CurrentImageId(), CurrentAlbumId(), id, answer, photo_addVoteCallback);=0A=
            if (!st) {=0A=
                alert('=CF=F0=EE=E3=EE=EB=EE=F1=EE=E2=E0=F2=FC =ED=E5 =
=EF=EE=EB=F3=F7=E8=EB=EE=F1=FC');=0A=
            }=0A=
        }=0A=
        else {=0A=
            alert('=CD=E5=E2=E5=F0=ED=EE =E2=E2=E5=E4=B8=ED =EA=EE=E4 =
=E7=E0=F9=E8=F2=FB');=0A=
            photo_ClearCapchaParams();=0A=
            var st =3D photo_FreshVoteCapcha();=0A=
        }=0A=
    }=0A=
    else {=0A=
        alert('=CF=F0=EE=E3=EE=EB=EE=F1=EE=E2=E0=F2=FC =ED=E5 =
=EF=EE=EB=F3=F7=E8=EB=EE=F1=FC');=0A=
    }=0A=
}=0A=
=0A=
//unused=0A=
function photo_CheckVoteCapcha(){=0A=
    var answer =3D $F('security_image_answer');=0A=
    var st =3D ajax_call('perl_check_capcha', capcha_id, answer, =
photo_CheckVoteCapchaCallback);=0A=
    return st;=0A=
}=0A=
=0A=
function photo_HideSendButton(buttonID){=0A=
    if (buttonID =3D=3D undefined) {=0A=
        buttonID =3D 'sub_but'=0A=
    }=0A=
    ob =3D $(buttonID);=0A=
    if (ob !=3D undefined) {=0A=
        ob.value =3D "=C8=E4=E5=F2 =EE=F2=EF=F0=E0=E2=EA=E0";=0A=
        ob.disable();=0A=
    }=0A=
    SendButtonTimerButtonID =3D buttonID;=0A=
    SendButtonTimer =3D setTimeout(function(){=0A=
        clearTimeout(SendButtonTimer);=0A=
        photo_ShowSendButton(SendButtonTimerButtonID);=0A=
    }, 3000);=0A=
}=0A=
=0A=
function photo_ShowSendButton(buttonID){=0A=
    if (buttonID =3D=3D undefined) {=0A=
        buttonID =3D 'sub_but'=0A=
    }=0A=
    ob =3D $(buttonID);=0A=
    if (ob !=3D undefined) {=0A=
        ob.value =3D "=E4=EE=E1=E0=E2=E8=F2=FC";=0A=
        ob.enable();=0A=
    }=0A=
}=0A=
=0A=
function photo_AddCommentCallback(st, errorcode, errortext, ref){=0A=
    if (st =3D=3D 1) {=0A=
        if (ref !=3D undefined && ref !=3D '') {=0A=
            //              window.location.replace(ref);=0A=
            document.location =3D ref;=0A=
            //              window.location.href =3D ref;=0A=
            return;=0A=
        }=0A=
        else {=0A=
            window.location.reload(true);=0A=
        }=0A=
    }=0A=
    else {=0A=
        if (errorcode =3D=3D 2 || errorcode =3D=3D 3) {=0A=
            photo_FreshCapchaComment();=0A=
            if (errorcode =3D=3D 3) {=0A=
                alert(errortext);=0A=
            };=0A=
            return;=0A=
        }=0A=
        alert('=C4=EE=E1=E0=E2=E8=F2=FC =
=EA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9 =ED=E5 =EF=EE=EB=F3=F7=E8=EB=EE=F1=FC: =
' + errortext);=0A=
    }=0A=
    photo_ShowSendButton('sub_but');=0A=
    ClearTempVars();=0A=
}=0A=
=0A=
function photo_AddComment(replyto, thread, author, id, album, curbox, =
image_id, comment_id, c_id){=0A=
    var ob =3D $('com_text');=0A=
    if (ob =3D=3D undefined) {=0A=
        alert('=CD=E5 =ED=E0=E9=E4=E5=ED =
=EA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9.');=0A=
        return;=0A=
    }=0A=
    if (ob.value =3D=3D '') {=0A=
        alert('=CD=E5=EE=E1=F5=EE=E4=E8=EC=EE =
=E7=E0=EF=EE=EB=ED=E8=F2=FC =EA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9 =
=EF=E5=F0=E5=E4 =EE=F2=EF=F0=E0=E2=EA=EE=E9');=0A=
        return;=0A=
    }=0A=
    var comment =3D ob.value;=0A=
=0A=
    var com_alias =3D '';=0A=
    var ob =3D $('com_alias');=0A=
    if (ob !=3D undefined) {=0A=
        com_alias =3D ob.value=0A=
    };=0A=
=0A=
    //alert('=C4=EE=E1=E0=E2=EB=FF=E5=EC =
=EA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9 =F7=E5=F0=E5=E7 ajax');=0A=
    //=C7=E0=EF=EE=EB=ED=FF=E5=EC =E2=F0=E5=EC=E5=ED=ED=FB=E5 =
=EF=E5=F0=E5=EC=E5=ED=ED=FB=E5. =C2=F0=E5=EC=E5=ED=ED=EE=E5 =
=F0=E5=F8=E5=ED=E8=E5 (=F1=EC =E2=FB=F8=E5)=0A=
    last_replyto =3D replyto;=0A=
    last_thread =3D thread;=0A=
    last_author =3D author;=0A=
    last_id =3D id;=0A=
    last_album =3D album;=0A=
    last_curbox =3D curbox;=0A=
    last_image_id =3D image_id;=0A=
    last_comment_id =3D comment_id;=0A=
    last_c_id =3D c_id;=0A=
    last_capcha_id =3D capcha_id;=0A=
    last_answer =3D answer;=0A=
    last_comment =3D comment;=0A=
=0A=
    var answer =3D '';=0A=
    ob =3D $('security_image_addcomment_answer');=0A=
    if (ob !=3D undefined) {=0A=
        answer =3D ob.value;=0A=
    }=0A=
    //alert('capcha_id=3D'+capcha_comment_id+'  answer=3D'+answer);=0A=
    var captchaDiv =3D $('for_capcha_comment');=0A=
    if(capcha_comment_id && !answer) {=0A=
        captchaDiv.style.display =3D 'block';=0A=
        captchaDiv.style.visibility =3D '';=0A=
        return;=0A=
    }=0A=
=0A=
    var st =3D ajax_call('perl_add_comment', replyto, thread, author, =
id, album, curbox, image_id, comment_id, c_id, capcha_comment_id, =
answer, comment, com_alias, 'http://'+MyMailHost+CurrentURL, =
photo_AddCommentCallback);=0A=
    if (st =3D=3D 1) {=0A=
        photo_HideSendButton('sub_but');=0A=
    }=0A=
}=0A=
=0A=
function photo_HideComments(ar_hidden_comments_id){=0A=
    ar_hidden_comments_id.each(function(id){=0A=
        ob =3D $("tab" + id);=0A=
        if (ob !=3D undefined) {=0A=
        //    ob.className =3D "HiddenComment";=0A=
		ob.update("<img =
src=3D\"http://img1.imgsmail.ru/r/blogs/ico_deleted.png\" =
class=3D\"IEpng ico\" height=3D\"16\" =
width=3D\"16\">=CA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9 =F3=E4=E0=EB=E5=ED");=0A=
		ob.className =3D "pb20";=0A=
        }=0A=
    });=0A=
}=0A=
=0A=
function DelCommentCallback(st, errorcode, errortext, =
str_hidden_comments_id){=0A=
    if (st =3D=3D 1) {=0A=
        var ar_hidden_comments_id =3D str_hidden_comments_id.split(/\s/);=0A=
        photo_HideComments(ar_hidden_comments_id);=0A=
    }=0A=
    else {=0A=
        alert('=D3=E4=E0=EB=E8=F2=FC =EA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9 =
=ED=E5 =EF=EE=EB=F3=F7=E8=EB=EE=F1=FC: ' + errortext);=0A=
    }=0A=
}=0A=
=0A=
function photo_DelComment(ob_id, image_id, album_id, comment_page){=0A=
    var lin_num =3D ob_id.substring(2, ob_id.length);=0A=
    //alert("image_id=3D"+image_id+", album_id=3D"+album_id+", =
lin_num=3D"+lin_num+", comment_page=3D"+comment_page+", =
delete_with_child=3D"+delete_with_child);=0A=
    deleted_comment_id =3D lin_num;=0A=
    var delete_with_child =3D 1;=0A=
    var ob =3D $("with_child");=0A=
    delete_with_child =3D 0;=0A=
    if (ob !=3D undefined) {=0A=
        delete_with_child =3D ob.checked ? 1 : 0;=0A=
    };=0A=
    var st =3D ajax_call('perl_del_comment', image_id, album_id, =
lin_num, comment_page, delete_with_child, DelCommentCallback);=0A=
=0A=
    return st;=0A=
}=0A=
=0A=
function photo_DelCommentDialog(ob, image_id, album_id, comment_page){=0A=
    var ob_id =3D ob.id;=0A=
    var check_f =3D $("del_dialog");=0A=
    if (check_f) {=0A=
        check_f.parentNode.removeChild(check_f.parentNode.lastChild);=0A=
    }=0A=
    del_div =3D new Element("div", {'id': 'del_dialog', 'class': =
'del_min'}).update("<div class=3D'border_grey =
w-200'>=D3=E4=E0=EB=E8=F2=FC =EA=EE=EC=EC=E5=ED=F2=E0=F0=E8=E9?<div =
class=3D'pt5 pb5'><input type=3Dcheckbox id=3Dwith_child =
class=3D'vmi'>=F1&nbsp;=E2=EB=EE=E6=E5=ED=ED=FB=EC=E8&nbsp;=EA=EE=EC=EC=E5=
=ED=F2=E0=F0=E8=FF=EC=E8</div><input type=3Dbutton value=3D' =C4=E0 ' =
onclick=3D'photo_hideObject(this.offsetParent);photo_DelComment(\"" + =
ob_id + '","' + image_id + '","' + album_id + '","' + comment_page + =
"\");'>&nbsp;&nbsp;<input type=3Dbutton value=3D' =CD=E5=F2 ' =
onclick=3D'hide_CommentDialog(event);'></div>");=0A=
    ob.parentNode.appendChild(del_div);=0A=
    document.onclick =3D function hide_CommentDialog(evt){=0A=
        var ob =3D $("del_dialog");=0A=
        if (ob) {=0A=
            evt =3D (evt) ? evt : ((window.event) ? event : null);=0A=
            elem =3D (evt.target) ? evt.target : ((evt.srcElement) ? =
evt.srcElement : null);=0A=
            if (elem.id !=3D "del_dialog" && elem.tagName !=3D "A" && =
elem.id !=3D "with_child") {=0A=
                photo_hideObject(ob);=0A=
                document.onclick =3D "";=0A=
            }=0A=
        }=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function hide_CommentDialog(evt){=0A=
        var ob =3D $("del_dialog");=0A=
        if (ob) {=0A=
            evt =3D (evt) ? evt : ((window.event) ? event : null);=0A=
            elem =3D (evt.target) ? evt.target : ((evt.srcElement) ? =
evt.srcElement : null);=0A=
            if (elem.id !=3D "del_dialog" && elem.tagName !=3D "A" && =
elem.id !=3D "with_child") {=0A=
                photo_hideObject(ob);=0A=
                document.onclick =3D "";=0A=
            }=0A=
        }=0A=
    }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
function photo_f2_highLight(f2_r){=0A=
    var i =3D 1;=0A=
    while ($('f2_r' + i)) {=0A=
        $('f2_r' + i).style.background =3D '#fff';=0A=
        $('f2_r' + i + i).style.color =3D '#999';=0A=
        i++=0A=
    }=0A=
    if (f2_r !=3D 0) {=0A=
        $('f2_r' + f2_r).style.background =3D '#14CE0F';=0A=
        $('f2_r' + f2_r + f2_r).style.color =3D '#fff'=0A=
    }=0A=
}=0A=
=0A=
function photo_filterFriendList()=0A=
{=0A=
    var stringForFilter =3D =
document.formNameFriendName.inpNameFriend.value;// =
=E7=ED=E0=F7=E5=ED=E8=E5 =E2=E2=EE=E4=E8=EC=EE=E5 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=E5=EC=0A=
    var blockContentFriendList =3D $('listFriend_nameFriend');=0A=
    var goodName =3D false;=0A=
    var string_listFriend =3D '';=0A=
    while(blockContentFriendList.lastChild) =
{blockContentFriendList.removeChild(blockContentFriendList.lastChild);}=0A=
    if (stringForFilter !=3D '')=0A=
    {=0A=
        tmp_ul =3D blockContentFriendList;=0A=
        for (var i =3D 0; i < arrFriendList.length; i++)=0A=
        {=0A=
            var splitName =3D arrFriendList[i][1].split(' ');=0A=
            splitName =3D splitName.length ? splitName : [splitName];=0A=
=0A=
            for (var j =3D 0; j < splitName.length; j++)=0A=
            {=0A=
                if (splitName[j].toLowerCase().substr(0, =
stringForFilter.length) =3D=3D stringForFilter.toLowerCase())=0A=
                    {goodName =3D true; break;}=0A=
                else {goodName =3D false;}=0A=
            }=0A=
            if (goodName)=0A=
                {string_listFriend +=3D '<li><label><input =
type=3D"radio" name=3D"nameOfSelectedMan" id=3D"iam' + =
arrFriendList[i][2] + '" value=3D"' + arrFriendList[i][0] + '" =
style=3D"margin-bottom: -2px;"><span class=3D"aslink">' + =
arrFriendList[i][1] + '<\/span><\/label><\/li>';}=0A=
        }=0A=
        tmp_ul.update(string_listFriend);=0A=
    }=0A=
    else=0A=
    {=0A=
        tmp_ul =3D blockContentFriendList;=0A=
        for (var i =3D 0; i < arrFriendList.length; i++)=0A=
            {string_listFriend +=3D '<li><label><input type=3D"radio" =
name=3D"nameOfSelectedMan" id=3D"iam' + arrFriendList[i][2] + '" =
value=3D"' + arrFriendList[i][0] + '" style=3D"margin-bottom: =
-2px;"><span class=3D"aslink">' + arrFriendList[i][1] + =
'<\/span><\/label><\/li>';}=0A=
        tmp_ul.update(string_listFriend);=0A=
    }=0A=
}=0A=
=0A=
function photo_loadMyFriendsCallback(arr,error)=0A=
{=0A=
    if (!isOpera)=0A=
    {=0A=
        //alert(arr);=0A=
        if(arr =3D=3D 0)=0A=
            {alert('=C2=EB=E0=E4=E5=EB=E5=F6 =F4=EE=F2=EE =ED=E5 =
=FF=E2=EB=FF=E5=F2=F1=FF =E2=E0=F8=E8=EC =E4=F0=F3=E3=EE=EC.');return =
false;}=0A=
        if(!arr.length)=0A=
            {arr =3D [arr];}=0A=
=0A=
        var string_listFriend =3D "";=0A=
        for (var i=3D0; i<arr.length; i++)=0A=
        {=0A=
            if ((arr[i].LastName !=3D null && arr[i].FirstName !=3D =
null) && (arr[i].LastName !=3D '' || arr[i].FirstName !=3D ''))=0A=
                {tmp_nameFriendInList =3D arr[i].LastName + " " + =
arr[i].FirstName;}=0A=
            else if (arr[i].Nick !=3D null && arr[i].Nick !=3D '')=0A=
                {tmp_nameFriendInList =3D arr[i].Nick;}=0A=
            else if (arr[i].Email !=3D '')=0A=
                {tmp_nameFriendInList =3D arr[i].Email;}=0A=
            else=0A=
                {tmp_nameFriendInList =3D =
'=CE=F2=F1=F3=F2=F1=F2=E2=F3=FE=F2 =
=E8=E4=E5=ED=F2=E8=F4=E8=EA=E0=F6=E8=EE=ED=ED=FB=E5 =E4=E0=ED=ED=FB=E5';}=0A=
=0A=
            nameFriendInList =3D (i =3D=3D 0) ? '=DD=F2=EE =FF!' : =
tmp_nameFriendInList;=0A=
            string_valueLi =3D arr[i].ID;=0A=
=0A=
            // =CA=EE=E4 =E4=EB=FF =F4=E8=EB=FC=F2=F0=E0=0A=
            arrFriendList[i] =3D [string_valueLi,nameFriendInList,i];=0A=
            // =CA=EE=E4 =E4=EB=FF =F4=E8=EB=FC=F2=F0=E0=0A=
=0A=
            string_listFriend +=3D '<li><label><input type=3D"radio" =
name=3D"nameOfSelectedMan" id=3D"iam' + i + '" value=3D"' + =
string_valueLi + '" style=3D"margin-bottom: -2px;"><span =
class=3D"aslink">' + nameFriendInList + '<\/span><\/label><\/li>';=0A=
        }=0A=
        document.formNameFriendName.inpNameFriend.value =3D '';=0A=
        document.formNameFriendName.inpNameFriend.focus();=0A=
        $('listFriend_nameFriend').innerHTML =3D string_listFriend;=0A=
    }=0A=
}=0A=
=0A=
function photo_whichOneChecked(obj){=0A=
    if (!obj.length) {=0A=
        obj =3D [obj];=0A=
    }=0A=
    var checkedValue;=0A=
    $A(obj).each(function(el){=0A=
        if (el.checked) {=0A=
            checkedValue =3D el.value;=0A=
        }=0A=
    });=0A=
    return checkedValue;=0A=
}=0A=
=0A=
function photo_submitFormNameFriendName()=0A=
{=0A=
    var nameOfSelectedManObj =3D =
document.forms['formNameFriendName'].elements['nameOfSelectedMan'];=0A=
    var person_id =3D (!nameOfSelectedManObj || =
photo_whichOneChecked(nameOfSelectedManObj) =3D=3D undefined) ? 0 : =
photo_whichOneChecked(nameOfSelectedManObj);=0A=
=0A=
    var person_nick =3D (person_id =3D=3D 0) ? =
document.formNameFriendName.inpNameFriend.value : 0;=0A=
=0A=
    if (person_id =3D=3D 0 && person_nick =3D=3D 0)=0A=
    {=0A=
        alert('=C4=EB=FF =EE=E1=EE=E7=ED=E0=F7=E5=ED=E8=FF =
=E2=FB=E4=E5=EB=E5=ED=ED=EE=E3=EE =E4=F0=F3=E3=E0 =
=E2=FB=E1=E5=F0=E8=F2=E5 =E5=E3=EE =C8=EC=FF =E8=E7 =F1=EF=E8=F1=EA=E0 =
=E8=EB=E8 =E2=EF=E8=F8=E8=F2=E5 =
=F1=E0=EC=EE=F1=F2=EE=FF=F2=E5=EB=FC=ED=EE');=0A=
        =
photo_disabledFieldsTimer('formNameFriendName','formNameFriendSubmit','fo=
rmNameFriendNameCancel','disFalse');=0A=
        return;=0A=
    }=0A=
=0A=
    var top =3D absPosition($('mdlblck')).y - =
parseInt(absPosition($('centralImgId')).y) + 8;=0A=
    var left =3D absPosition($('mdlblck')).x - =
parseInt(absPosition($('centralImgId')).x) + 8;=0A=
    var height =3D getBounds($('mdlblck')).height;=0A=
    var width =3D getBounds($('mdlblck')).width;=0A=
    //alert(top + ' ' + left + ' ' + height + ' ' + width + ' person_id =
=3D ' + person_id + ' person_nick =3D ' + person_nick)=0A=
    var person_email =3D 0;=0A=
=0A=
    =
ajax_call('perl_add_person',current_album_id,current_image_id,top,left,he=
ight,width,person_email,person_id,person_nick,photo_addPersonCallback);=0A=
    return false;=0A=
}=0A=
=0A=
function photo_addPersonCallback(id, top, left, height, width, =
person_nick, person_email, path){=0A=
    person_Items++;=0A=
    //mark_working =3D 0;=0A=
    //alert(id+" : "+top+" : "+left+" : "+height+" : "+width+" : =
"+person_nick+" : "+person_email+" : "+path);=0A=
    if (!id) {=0A=
        alert(top);=0A=
        photo_formNameFriendNameReset();=0A=
        return false;=0A=
    }=0A=
    //TODO: make selection with top,left,height,width,person_nick=0A=
    //alert(person_nick + ' =E8 ' + person_email);=0A=
    if (!person_nick) {=0A=
        person_nick =3D person_email;=0A=
    }=0A=
    if (person_email !=3D 0) {=0A=
        person_nick_signature =3D '<a href=3D"http://' + path + '">' + =
person_nick + '<\/a>';=0A=
        person_space =3D '<a href=3D"http://' + path + '"><img =
src=3D"http://img2.imgsmail.ru/0.gif" width=3D"' + width + '" =
height=3D"' + height + '" alt=3D""><\/a>';=0A=
    }=0A=
    else {=0A=
        person_nick_signature =3D '<span>' + person_nick + '<\/span>';=0A=
        person_space =3D '<img src=3D"http://img3.imgsmail.ru/0.gif" =
width=3D"' + width + '" height=3D"' + height + '" alt=3D"">';=0A=
    }=0A=
=0A=
    var amendment_x =3D isIE ? 6 : 10;=0A=
    var amendment_y =3D isIE ? 17 : 21;=0A=
    var string_borderFriend =3D '<div style=3D"position:absolute;top:' + =
(parseInt(top) - 3 - amendment_y) + 'px; left:' + (parseInt(left) - 3 - =
amendment_x) + 'px;width:' + (parseInt(width) + 6) + 'px;" =
class=3D"invis" id=3D"pers_' + id + '">' +=0A=
    '<div class=3D"pic" style=3D"width:' +=0A=
    width +=0A=
    'px;height:' +=0A=
    height +=0A=
    'px;" onMouseOver=3D"$(\'pers_' +=0A=
    id +=0A=
    '\').className=3D\'vis\';" onMouseOut=3D"$(\'pers_' +=0A=
    id +=0A=
    '\').className=3D\'invis\';">' +=0A=
    person_space +=0A=
    '<\/div>' +=0A=
    '<div class=3D"txt" style=3D"width:' +=0A=
    width +=0A=
    'px;" align=3D"center" onMouseOver=3D"$(\'pers_' +=0A=
    id +=0A=
    '\').className=3D\'vis\';" onMouseOut=3D"$(\'pers_' +=0A=
    id +=0A=
    '\').className=3D\'invis\';">' +=0A=
    person_nick_signature +=0A=
    '<img src=3D"http://img0.imgsmail.ru/0.gif" width=3D"' +=0A=
    width +=0A=
    '" height=3D"3" alt=3D""><\/div>' +=0A=
    '<\/div>';=0A=
    var deleteButton =3D '';=0A=
    //if(var_OwnAlbum =3D=3D 1){=0A=
    deleteButton =3D '<span class=3D"link"<a href=3D"#" =
onclick=3D"if(confirm(\'=D3=E4=E0=EB=E8=F2=FC =
=EE=F2=EC=E5=F7=E5=ED=ED=EE=E3=EE =
=E4=F0=F3=E3=E0?\')){ajax_call(\'perl_delete_person\',\'' + =
current_album_id + '\',' + current_image_id + ',' + id + =
',photo_deletePersonCallback);return false;}" onMouseOver=3D"if =
(mark_working =3D=3D 0) $(\'pers_' + id + '\').className=3D\'vis =
dells\';" onMouseOut=3D"if (mark_working =3D=3D 0) $(\'pers_' + id + =
'\').className=3D\'invis dells\'" class=3D"dells"><i></i><\/a></span>';=0A=
    //}=0A=
=0A=
    var string_nameFriendHead =3D '<span id=3D"AlbumName_listNames" =
class=3D"nowrap">=CD=E0 =F4=EE=F2=EE: <\/span>';// =
style=3D"margin-left:-82px;"=0A=
    var string_comma =3D '';=0A=
    var string_nameFriend =3D '';=0A=
    if ($('AlbumName_listNames') && ($('AlbumName_listNames').visible() =
|| $('AlbumName_listNames').visible())) {=0A=
        string_comma =3D ', ';=0A=
    }=0A=
    else=0A=
        if (!$('AlbumName_listNames')) {=0A=
            string_nameFriend +=3D string_nameFriendHead;=0A=
        }=0A=
        else=0A=
            if ($('AlbumName_listNames') && =
!$('AlbumName_listNames').visible()) {=0A=
                $('AlbumName_listNames').show();=0A=
            }=0A=
=0A=
    if (person_email !=3D 0) {=0A=
        string_nameFriend +=3D '<span id=3D"span_' + id + '">' + =
string_comma + '<a href=3D"http://www.mail.ru/agent?message&amp;to=3D' + =
person_email + '" title=3D"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5"><i =
class=3D"spr-mrim-13" email=3D"' + person_email + '"></i><\/a><a =
href=3D"http://' + path + '" target=3D"_blank" onMouseOver=3D"$(\'pers_' =
+ id + '\').className=3D\'vis\';" onMouseOut=3D"$(\'pers_' + id + =
'\').className=3D\'invis\'">' + person_nick + '<\/a>' + deleteButton + =
'<\/span';=0A=
    }// style=3D"margin-right:3px;"=0A=
    else {=0A=
        string_nameFriend +=3D '<span id=3D"span_' + id + '">' + =
string_comma + '<span onMouseOver=3D"if (mark_working =3D=3D 0) =
$(\'pers_' + id + '\').className=3D\'vis\';" onMouseOut=3D"if =
(mark_working =3D=3D 0) $(\'pers_' + id + '\').className=3D\'invis\'" =
style=3D"color:#666666; cursor: hand; cursor: pointer;">' + person_nick =
+ '<\/span>' + deleteButton + '<\/span>';=0A=
    }=0A=
=0A=
    $('pic_containerRelativeId').innerHTML +=3D string_borderFriend;=0A=
    $('block_selFriends').innerHTML +=3D string_nameFriend;=0A=
    $('pers_' + id).show();=0A=
    photo_formNameFriendNameReset();=0A=
    return true;=0A=
}=0A=
=0A=
function photo_deletePersonCallback(id, error){=0A=
    //alert('id =3D ' +id);=0A=
    if (!id) {=0A=
        alert(error);=0A=
        return false;=0A=
    }=0A=
    //alert($('pers_' + id));=0A=
    //TODO: remove selection with id =3D=3D id=0A=
=0A=
    $('pers_' + id).hide();=0A=
    $('span_' + id).hide();=0A=
    person_Items--;=0A=
    if (person_Items <=3D 0) {=0A=
        $('AlbumName_listNames').hide();=0A=
    }=0A=
=0A=
    var curDate_bsv =3D new Date();=0A=
/* TODO Petrov: =EE=F1=F2=E0=E5=EC=F1=FF =ED=E0 =F2=EE=E9 =E6=E5 =
=F4=EE=F2=EA=E5=0A=
    if (next_image_url)=0A=
        window.location.href =3D next_image_url;=0A=
    else=0A=
        if (previos_image_url)=0A=
            window.location.href =3D previos_image_url;=0A=
        else=0A=
            window.location.href =3D empty_image_url;=0A=
*/=0A=
}=0A=
=0A=
/**=0A=
 * =C4=E8=F1=E0=E1=EB=E8=F2 =EF=EE=EB=FF =ED=E0 10 =F1=E5=EA=F3=ED=E4.=0A=
 * =C5=F1=EB=E8 =ED=E5=F2 =E0=F0=E3=F3=EC=E5=ED=F2=EE=E2 =E8=EB=E8 =
=E5=F1=F2=FC =F1=EF=E5=F6. =F4=EB=E0=E3 - =F4=F3=ED=EA=F6=E8=FF =
=EE=F2=EA=F0=FB=E2=E0=E5=F2 =F4=EE=F0=EC=FB.=0A=
 */=0A=
function photo_disabledFieldsTimer(formName,but_1,but_2,flagTimer)=0A=
{=0A=
    if (!formName)=0A=
    {=0A=
        if (!arrShadowButton.length)=0A=
        {=0A=
            arrShadowButton[0] =3D =
document.forms[formName].elements[but_1];=0A=
            arrShadowButton[1] =3D =
document.forms[formName].elements[but_2];=0A=
        }=0A=
        arrShadowButton[0].disabled =3D false;=0A=
        arrShadowButton[1].disabled =3D false;=0A=
        clearTimeout(timer_disabledFields);=0A=
        timer_disabledFields =3D null;=0A=
        arrShadowButton =3D [];=0A=
    }=0A=
    else=0A=
    {=0A=
        arrShadowButton[0] =3D document.forms[formName].elements[but_1];=0A=
        arrShadowButton[1] =3D document.forms[formName].elements[but_2];=0A=
=0A=
        if (flagTimer =3D=3D 'disFalse')=0A=
        {=0A=
            arrShadowButton[0].disabled =3D false;=0A=
            arrShadowButton[1].disabled =3D false;=0A=
            clearTimeout(timer_disabledFields);=0A=
            timer_disabledFields =3D null;=0A=
            arrShadowButton =3D [];=0A=
        }=0A=
        else=0A=
        {=0A=
            arrShadowButton[0].disabled =3D arrShadowButton[0].disabled =
=3D=3D true ? false : true;=0A=
            arrShadowButton[1].disabled =3D arrShadowButton[1].disabled =
=3D=3D true ? false : true;=0A=
=0A=
            if (flagTimer =3D=3D true) {running =3D true;}=0A=
            else {running =3D false;}=0A=
=0A=
            var disFlag =3D arrShadowButton[0].disabled =3D=3D true && =
arrShadowButton[1].disabled =3D=3D true ? true : false;=0A=
            if (running =3D=3D true && disFlag)=0A=
                {timer_disabledFields =3D =
setTimeout('photo_disabledFieldsTimer()', 10000);}=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
/**=0A=
 * =CF=EE=EA=E0=E7=FB=E2=E0=E5=F2 =F3=EA=E0=E7=E0=ED=ED=FB=E9 =
=E1=EB=EE=EA =E8 =EF=E5=F0=E5=E4=E0=B8=F2 =F4=EE=F0=EC=FB =E4=EB=FF =
=E4=E8=F1=E5=E1=EB=E0 =E4=F0=F3=E3=EE=E9 =F4=F3=ED=EA=F6=E8=E8=0A=
 */=0A=
function photo_upListFriendBlock(idBlock, formName, but_1, but_2, =
flagTimer){=0A=
    $(idBlock).show();=0A=
    photo_disabledFieldsTimer(formName, but_1, but_2, flagTimer);=0A=
}=0A=
=0A=
/**=0A=
 * =C4=E5=E1=EB=EE=EA=E8=F0=F3=E5=F2 =E2=F1=E5 =EA=ED=EE=EF=EA=E8 =E8 =
=E7=E0=EA=F0=FB=E2=E0=E5=F2 =F1=EB=EE=E8 =E2=FB=E4=E5=EB=E5=ED=E8=FF =E8 =
=E1=EB=EE=EA =E4=F0=F3=E7=E5=E9=0A=
 */=0A=
function photo_formNameFriendNameReset(){=0A=
    photo_disabledFieldsTimer('formNameFriendName', =
'formNameFriendSubmit', 'formNameFriendNameCancel', 'disFalse');=0A=
    photo_disabledFieldsTimer('cropperForm', 'person_pop_up_submit', =
'person_pop_up_reset', 'disFalse');=0A=
    $('div_nameFriend').hide();=0A=
    flipCrop();=0A=
}=0A=
=0A=
//unused=0A=
function photo_saveTagsCallback(tags, user_tags, encoded){=0A=
    if (tags =3D=3D 'error') {=0A=
        alert(user_tags);=0A=
        return false;=0A=
    }=0A=
    var span =3D $('labelLinkListId');=0A=
    span.update('');=0A=
    for (var i =3D 0; i < tags.length; i++) {=0A=
        span.innerHTML +=3D '<a href=3D"http://foto.mail.ru' + MyMailDir =
+ 'tags/' + encoded[i] + '" class=3D"additional">' + tags[i] + =
'</a>&nbsp;&nbsp;';=0A=
    }=0A=
    span.innerHTML +=3D '<a onclick=3D"showLabelsEditDiv();return =
false;" href=3D"#"><img =
src=3D"http://img1.imgsmail.ru/r/foto2/ico_pencil.gif" width=3D"16" =
height=3D"16" alt=3D"" =
class=3D"ico">=D0=E5=E4=E0=EA=F2=E8=F0=EE=E2=E0=F2=FC<\/a>';=0A=
    var user_span =3D $('UserTags');=0A=
    user_span.update('');=0A=
    for (var i =3D 0; i < user_tags.length; i++) {=0A=
        user_span.innerHTML +=3D '<a href=3D"#" onclick=3D"return =
addLabel(this, "txtarForEditLabelsId");" class=3D"t/0 tahoma =
additional">' + user_tags[i] + '<\/a> ';=0A=
    }=0A=
    hideLabelsEditDiv();=0A=
}=0A=
=0A=
//unused=0A=
function photo_dis_but() {=0A=
    value=3D$F("com_text");=0A=
    sub_but=3D$("sub_but");=0A=
    if (value) {=0A=
        sub_but.value =3D "=E8=E4=E5=F2 =EE=F2=EF=F0=E0=E2=EA=E0";=0A=
        sub_but.disable();=0A=
        return true;=0A=
    }else{=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
/*=0A=
 * {places.tmpl}=0A=
 */=0A=
// GENERATE ID=0A=
function places_gid(oid){=0A=
    if (oid) {=0A=
        if (editing) {=0A=
            return oid + "_edit";=0A=
        }=0A=
        else {=0A=
            return oid + "_ins";=0A=
        }=0A=
    }=0A=
    else {=0A=
        return editing ? 'edit' : 'ins';=0A=
    }=0A=
}=0A=
=0A=
// DISABLE/ENABLE SUBMIT=0A=
function places_disable_submit(){=0A=
    $(places_gid('submit')).disable();=0A=
    disableness =3D 1;=0A=
}=0A=
=0A=
function places_enable_submit(){=0A=
    if (disableness =3D=3D 1)=0A=
        $(places_gid('submit')).enable();=0A=
    disableness =3D 0;=0A=
}=0A=
=0A=
// FILL LIST=0A=
function places_FillList(oid, names, ids, sid){=0A=
    var list =3D $(places_gid(oid));=0A=
    if (!list)=0A=
        throw 'Error places_FillList object: ' + places_gid(oid) + ' not =
found';=0A=
    if (names.length =3D=3D '0') {=0A=
        list.disable();=0A=
        return;=0A=
    }=0A=
    else {=0A=
        list.enable();=0A=
    }=0A=
    //if(!editing) list.options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '', true, true);=0A=
=0A=
    var nl =3D names.length;=0A=
    list.options.length =3D 0;=0A=
    if (oid =3D=3D 'street_name' || oid =3D=3D 'subway_id') {=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        if (oid =3D=3D 'street_name') {=0A=
            list.options[1] =3D new Option('=CF=EE=E8=F1=EA =EF=EE =
=F1=EF=E8=F1=EA=F3', 'other');=0A=
            list.options[1].style.fontWeight =3D 'bold';=0A=
        }=0A=
    }=0A=
=0A=
    for (var i =3D 0; i < nl; i++) {=0A=
        var index =3D list.options.length;=0A=
        list.options[index] =3D new Option(names[i], ids[i]);=0A=
        if (ids[i] =3D=3D sid)=0A=
            list.options[index].selected =3D true;=0A=
    }=0A=
    /* XXX DIRTYHACK */=0A=
    if (oid =3D=3D 'city_id') {=0A=
        var le =3D list.options.length;=0A=
        list.options[le] =3D new Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
        if (le =3D=3D 0) {=0A=
            var elem =3D $(places_gid(oid) + '_other');=0A=
            if (elem && elem.style)=0A=
                elem.show();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
// FORM EMPTY=0A=
function places_form_empty(level){=0A=
    if (level < 1)=0A=
        $(places_gid('position')).value =3D '';=0A=
    if (level < 2) {=0A=
        var id =3D places_gid('region_id');=0A=
        $(id).options.length =3D 1;=0A=
        $(id).options[0].value =3D '';=0A=
        $(id).options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
        $(id).selectedIndex =3D 0;=0A=
        $(id).disable();=0A=
    }=0A=
    if (level < 3) {=0A=
        var id =3D places_gid('city_id');=0A=
        $(id).options.length =3D 1;=0A=
        $(id).options[0].value =3D '';=0A=
        $(id).options[0].text =3D '=C2=FB=E1=F0=E0=F2=FC';=0A=
        $(id).selectedIndex =3D 0;=0A=
        $(id).disable();=0A=
    }=0A=
}=0A=
=0A=
// CHECK FIELD BY NULL=0A=
function places_CheckFieldByNull(form, fieldName, errorText){=0A=
    if (!form.elements[fieldName].value && =
form.elements[fieldName].value !=3D 0 && =
form.elements[fieldName].value.match('^\s*$')) {=0A=
        return errorText;=0A=
    }=0A=
    else {=0A=
        return '';=0A=
    }=0A=
}=0A=
=0A=
// CHECK FORM BY NULL=0A=
function places_CheckFormByNull(formName){=0A=
    places_disable_submit();=0A=
    var errors =3D "";=0A=
    errors +=3D places_CheckFieldByNull(formName, 'country_id', =
"=CF=EE=EB=E5 =D1=D2=D0=C0=CD=C0 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    if (formName.elements['region_id'].disabled !=3D 1)=0A=
        errors +=3D places_CheckFieldByNull(formName, 'region_id', =
"=CF=EE=EB=E5 =D0=C5=C3=C8=CE=CD =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    errors +=3D places_CheckFieldByNull(formName, 'city_id', =
"=CF=EE=EB=E5 =C3=CE=D0=CE=C4 =ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    if (formName.elements['city_id'].value =3D=3D 'other' && =
formName.elements['city_name'].value.match('^\s*$'))=0A=
        errors +=3D places_CheckFieldByNull(formName, 'city_name', =
"=CF=EE=EB=E5 =C4=D0=D3=C3=CE=C9 =C3=CE=D0=CE=C4 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n");=0A=
    /*=0A=
     if(!formName.elements['subway_id'].disabled && =
formName.elements['subway_id'].value =3D=3D=3D null && =
formName.elements['subway_id'].value =3D=3D=3D undefined)=0A=
     errors +=3D "=CF=EE=EB=E5 =D1=D2=C0=CD=D6=C8=DF =CC=C5=D2=D0=CE =
=ED=E5 =E7=E0=EF=EE=EB=ED=E5=ED=EE\n";=0A=
     if(!formName.elements['street_id'].value && =
formName.elements['street_name'].value.match('^\s+$'))=0A=
     errors +=3D "=CF=EE=EB=E5 =D3=CB=C8=D6=C0 =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n";=0A=
     if(!formName.elements['house_name'].value || =
formName.elements['house_name'].value.match('^\s*$') )=0A=
     errors +=3D "=CF=EE=EB=E5 =C4=CE=CC =ED=E5 =
=E7=E0=EF=EE=EB=ED=E5=ED=EE\n";=0A=
     */=0A=
    if (errors !=3D null && errors !=3D "") {=0A=
        alert(errors);=0A=
        places_enable_submit();=0A=
        return false;=0A=
    }=0A=
}=0A=
=0A=
// MAKEOTHER=0A=
//unused=0A=
function places_makeother(sid){=0A=
    var list =3D $(sid);=0A=
    if (list) {=0A=
        list.enable();=0A=
        list.options.length =3D 0;=0A=
        list.options.length =3D list.options.length + 1;=0A=
        list.options[0].value =3D '';=0A=
        list.options[0].text =3D '=CD=E5 =E2=FB=E1=F0=E0=ED=EE';=0A=
        list.options.length =3D list.options.length + 1;=0A=
        list.options[1].value =3D 'other';=0A=
        list.options[1].text =3D '=C4=F0=F3=E3=EE=E5';=0A=
    }=0A=
    else {=0A=
        throw 'Error showblock oid: ' + sid + ' not found';=0A=
    }=0A=
}=0A=
=0A=
// ONBLOCK=0A=
function places_onblock(sel, block_on){=0A=
    if (sel.value =3D=3D 'other') {=0A=
        $(block_on).show();=0A=
    }=0A=
    else {=0A=
        $(block_on).hide();=0A=
    }=0A=
}=0A=
=0A=
// EDIT FORM=0A=
function places_editForm(pid){=0A=
    ajax_call('perl_fetch_place', pid, places_fillEditForm);=0A=
}=0A=
=0A=
// SHOW FORM=0A=
function places_show_form(){=0A=
    editing =3D 0;=0A=
    if ($('insert_form_container').visible()) {=0A=
        $('insert_form_container').hide();=0A=
    }=0A=
    else {=0A=
        $('insert_form_container').show();=0A=
        $("country_id_ins").options.length =3D 0;=0A=
        $("country_id_ins").options[0] =3D new =
Option('=C7=E0=E3=F0=F3=E7=EA=E0...', '', true, true);=0A=
        places_ajax_geo_call(1);=0A=
    }=0A=
}=0A=
=0A=
// TO CURRENT TIME TOGGLE=0A=
function places_toCurrentTimeToggle(obj){=0A=
    if (obj.checked) {=0A=
        $(places_gid('toTime')).disable();=0A=
    }=0A=
    else {=0A=
        $(places_gid('toTime')).enable();=0A=
    }=0A=
}=0A=
=0A=
// SHOW OWN ACTIVITY=0A=
function places_showOwnActivity(obj){=0A=
    if (obj.options[obj.selectedIndex].value =3D=3D OWN) {=0A=
        $(places_gid('activity_name')).value =3D '';=0A=
        $(places_gid('activity_name')).show();=0A=
    }=0A=
    else {=0A=
        $(places_gid('activity_name')).hide();=0A=
    }=0A=
}=0A=
=0A=
/* AJAX CALLS =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
*/=0A=
=0A=
// AJAX GEO CALL=0A=
function places_ajax_geo_call(geo_id){=0A=
    places_disable_submit();=0A=
    ajax_call('perl_get_geo', geo_id, places_FillGeo);=0A=
}=0A=
=0A=
// AJAX PLACES CALL=0A=
function places_ajax_places_call(geo_id){=0A=
    if (geo_id =3D=3D 'other' || !geo_id) {=0A=
        places_FillStreet();=0A=
        places_FillSubway();=0A=
    }=0A=
    else {=0A=
        if (editing) {=0A=
            var td_a =3D 'street_star_edit';=0A=
        }=0A=
        else {=0A=
            var td_a =3D 'street_star_add';=0A=
        }=0A=
        $(td_a).update('<img =
src=3D"http://img2.imgsmail.ru/r/my/loading.gif" width=3D"16" =
height=3D"15" border=3D"0" class=3D"load">');=0A=
        places_disable_submit();=0A=
        ajax_call('perl_get_house', geo_id, 0, places_FillStreet);=0A=
        ajax_call('perl_get_place_marks', geo_id, subwayFlag, =
places_FillSubway);=0A=
    }=0A=
}=0A=
=0A=
/* FILLS =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D */=0A=
=0A=
// FILL GEO=0A=
function places_FillGeo(names, ids, type, level, special){=0A=
    var no_list =3D 0;=0A=
    var list;=0A=
    var is_capital =3D 0;=0A=
    if (type =3D=3D 1) {=0A=
        list =3D $(places_gid('country_id'));=0A=
        places_form_empty(1);=0A=
    }=0A=
    else=0A=
        if (type =3D=3D 2) {=0A=
            places_form_empty(2);=0A=
            list =3D $(places_gid('region_id'));=0A=
            $(places_gid('region_id')).enable();=0A=
            $(places_gid('city_id')).disable();=0A=
            $(places_gid('city_id')).options.length =3D 0;=0A=
            if (editing) {=0A=
                var td_a =3D 'region_star_edit';=0A=
            }=0A=
            else {=0A=
                var td_a =3D 'region_star_add';=0A=
            }=0A=
            $(td_a).update('<img src=3D"http://img3.imgsmail.ru/0.gif" =
width=3D"16" height=3D"15" border=3D"0" class=3D"load">');=0A=
            if (!editing)=0A=
                $(places_gid('city_id')).options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        }=0A=
        else=0A=
            if (type =3D=3D 3) {=0A=
                if (level !=3D 3) { // Not a Russia, disabling region =
menu=0A=
                    $(places_gid('region_id')).options.length =3D 0;=0A=
                    $(places_gid('region_id')).options[0] =3D new =
Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
                    $(places_gid('region_id')).disable();=0A=
                }=0A=
                places_form_empty(3);=0A=
                $(places_gid('city_id')).enable();=0A=
                if (editing) {=0A=
                    var td_a =3D 'city_star_edit';=0A=
                }=0A=
                else {=0A=
                    var td_a =3D 'city_star_add';=0A=
                }=0A=
                $(td_a).update('<b class=3D"red starr">*</b>');=0A=
                list =3D $(places_gid('city_id'));=0A=
            }=0A=
            else {=0A=
                no_list =3D 1;=0A=
                $(places_gid('city_id')).options.length =3D 0;=0A=
                $(places_gid('city_id')).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
                $(places_gid('city_id')).enable();=0A=
                if (editing) {=0A=
                    var td_a =3D 'city_star_edit';=0A=
                }=0A=
                else {=0A=
                    var td_a =3D 'city_star_add';=0A=
                }=0A=
                $(td_a).update('<b class=3D"red starr" >*</b>');=0A=
                $(places_gid('city_id_other')).show();=0A=
            }=0A=
    places_enable_submit();=0A=
    if (no_list =3D=3D 0) {=0A=
        var nl =3D 0;=0A=
        if (names !=3D undefined)=0A=
            nl =3D names.length;=0A=
        list.options.length =3D 0;=0A=
        var addon =3D 0;=0A=
        list.options[0] =3D new Option('=C2=FB=E1=F0=E0=F2=FC', '');=0A=
        addon =3D 1;=0A=
        for (var i =3D 0; i < nl; i++) {=0A=
            list.options[i + addon] =3D new Option(names[i], ids[i]);=0A=
            if (special > 0) {=0A=
                list.options[i + addon].style.fontWeight =3D "bold";=0A=
                special--;=0A=
            }=0A=
        }=0A=
        if (type =3D=3D 3) {=0A=
            list.options[list.options.length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
        }=0A=
        if (type =3D=3D 1 || (type =3D=3D 3 && is_capital =3D=3D 1)) {=0A=
            list.selectedIndex =3D 1;=0A=
            list.onchange();=0A=
        }=0A=
    }=0A=
    if (!$F(places_gid('city_id')) || $F(places_gid('city_id')) =3D=3D =
'other') {=0A=
        places_FillSubway();=0A=
        places_FillStreet();=0A=
    }=0A=
}=0A=
=0A=
// FILL STREET=0A=
function places_FillStreet(names, ids, id, not_addable){=0A=
    if (!id)=0A=
        id =3D 0;=0A=
    places_cleanStreet();=0A=
    if (names && names.length) {=0A=
        places_FillList('street_name', names, ids, id);=0A=
        FillAB('street', places_gid());=0A=
        street_length =3D $(places_gid('street_name')).options.length;=0A=
        if (!not_addable) {=0A=
            $(places_gid('street_name')).options[street_length] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
        }=0A=
    }=0A=
    if ($F(places_gid('city_id')) =3D=3D 'other' || (names && =
names.length =3D=3D=3D 0)) {=0A=
        $(places_gid('street_name')).enable();=0A=
        $(places_gid('ab_compose')).value =3D '';=0A=
        $(places_gid('ab_compose')).show();=0A=
        $(places_gid('example_street')).show();=0A=
    }=0A=
    if (editing) {=0A=
        var td_a =3D 'street_star_edit';=0A=
    }=0A=
    else {=0A=
        var td_a =3D 'street_star_add';=0A=
    }=0A=
    $(td_a).update('<img src=3D"http://img0.imgsmail.ru/0.gif" =
width=3D"16" height=3D"15" border=3D"0" class=3D"load">');=0A=
    if (names)=0A=
        places_enable_submit();=0A=
}=0A=
=0A=
// FILL SUBWAY=0A=
function places_FillSubway(names, ids, id){=0A=
    if (!id)=0A=
        id =3D 0;=0A=
    places_cleanSubway();=0A=
    if (names && names.length) {=0A=
        places_FillList('subway_id', names, ids, id);=0A=
        $(places_gid('subway_id')).enable();=0A=
    }=0A=
    if (names)=0A=
        places_enable_submit();=0A=
}=0A=
=0A=
// FILL EDIT FORM=0A=
function places_fillEditForm(pid, country_names, country_ids, =
country_id, region_names, region_ids, region_id, city_names, city_ids, =
city_id, street_names, street_ids, street_id, house_names, house_ids, =
house_id, district_name, subway_names, subway_ids, subway_id, type, =
type_own, period_from, period_to, current_time, main_place, not_addable){=0A=
    if (pid =3D=3D old_pid)=0A=
        return;=0A=
=0A=
    var cont =3D $("edit_form_container_" + pid);=0A=
    var old_cont =3D $("edit_form_container_" + old_pid);=0A=
    var form =3D $("edit_form");=0A=
    editing =3D 1;=0A=
    old_cont.hide();=0A=
    cont.update(old_cont.innerHTML);=0A=
    old_cont.update();=0A=
    $('update_pid').value =3D pid;=0A=
    old_pid =3D pid;=0A=
=0A=
    $('main_place_edit').checked =3D false;=0A=
    $('activity_name_edit').hide();=0A=
    $('city_id_other_edit').hide();=0A=
    $('city_id_other_edit').value =3D '';=0A=
    $('current_time_edit').checked =3D false;=0A=
    $('toTime_edit').enable();=0A=
    $('district_id_edit').value =3D '';=0A=
    $('house_edit').value =3D '';=0A=
    if ($('toTime_edit').options[0])=0A=
        $('toTime_edit').options[0].selected =3D true;=0A=
    if ($('period_from_edit').options[0])=0A=
        $('period_from_edit').options[0].selected =3D true;=0A=
    $('region_id_edit').options.length =3D 0;=0A=
    $('region_id_edit').disable();=0A=
    $('subway_id_edit').options.length =3D 0;=0A=
    $('subway_id_edit').disable();=0A=
=0A=
    if (country_names.length)=0A=
        places_FillList('country_id', country_names, country_ids, =
country_id);=0A=
    if (region_names.length)=0A=
        places_FillList('region_id', region_names, region_ids, =
region_id);=0A=
    if (city_names.length)=0A=
        places_FillList('city_id', city_names, city_ids, city_id);=0A=
    if (district_name)=0A=
        $('district_id_edit').value =3D district_name;=0A=
    if (subway_names.length)=0A=
        places_FillSubway(subway_names, subway_ids, subway_id);=0A=
    if (street_names.length)=0A=
        places_FillStreet(street_names, street_ids, street_id, =
not_addable);=0A=
    if (period_from) {=0A=
        var from =3D $('period_from_edit').options;=0A=
        for (var i =3D 0; i < from.length; i++) {=0A=
            if (from[i].value =3D=3D period_from) {=0A=
                from[i].selected =3D true;=0A=
                break;=0A=
            }=0A=
        }=0A=
    }=0A=
    if (period_to) {=0A=
        var to =3D $('toTime_edit').options;=0A=
        for (var i =3D 0; i < to.length; i++) {=0A=
            if (to[i].value =3D=3D period_to) {=0A=
                to[i].selected =3D true;=0A=
                break;=0A=
            }=0A=
        }=0A=
    }=0A=
    if (current_time) {=0A=
        $('current_time_edit').checked =3D current_time;=0A=
        $('toTime_edit').disable();=0A=
    }=0A=
    $('main_place_edit').checked =3D main_place ? true : false;=0A=
    if (house_names.length) {=0A=
        for (var i =3D 0; i < house_ids.length; i++) {=0A=
            if (house_ids[i] =3D=3D house_id) {=0A=
                $('house_edit').value =3D house_names[i];=0A=
                break;=0A=
            }=0A=
        }=0A=
    }=0A=
    var activity =3D $('activity_id_edit').options;=0A=
    for (var i =3D 0; i < activity.length; i++) {=0A=
        if (activity[i].value =3D=3D type) {=0A=
            activity[i].selected =3D true;=0A=
            if (activity[i].value =3D=3D 0) {=0A=
                $('activity_name_edit').value =3D type_own;=0A=
                $('activity_name_edit').show();=0A=
            }=0A=
            break;=0A=
        }=0A=
    }=0A=
    cont.show();=0A=
}=0A=
=0A=
/* ONCHANGE =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D */=0A=
=0A=
// COUNTRTY=0A=
function places_onChangeCountry(obj){=0A=
    var value =3D obj.value;=0A=
    if (value && value !=3D 'other') {=0A=
        places_form_empty(1);=0A=
        $(places_gid('region_id')).disable();=0A=
        $(places_gid('region_id')).options[0].text =3D value =3D=3D '24' =
? '=C7=E0=E3=F0=F3=E7=EA=E0...' : '=C2=FB=E1=F0=E0=F2=FC';=0A=
        if ($(places_gid('region_id')).options[0].text =3D=3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...') {=0A=
            if (editing) {=0A=
                var td_a =3D 'region_star_edit';=0A=
            }=0A=
            else {=0A=
                var td_a =3D 'region_star_add';=0A=
            }=0A=
            $(td_a).update('<img =
src=3D"http://img1.imgsmail.ru/r/my/loading.gif" width=3D"16" =
height=3D"15" border=3D"0" class=3D"load">');=0A=
        }=0A=
        places_ajax_geo_call(value);=0A=
=0A=
    }=0A=
    //places_onblock('close', places_gid('city_id_other'));=0A=
}=0A=
=0A=
=0A=
// REGION=0A=
function places_onChangeRegion(obj){=0A=
    var value =3D obj.value;=0A=
    is_capital =3D value =3D=3D '25' || value =3D=3D '226' ? 1 : 0;=0A=
    if (value && value !=3D 'other') {=0A=
        places_form_empty(2);=0A=
        $(places_gid('city_id')).disable();=0A=
        $(places_gid('city_id')).options[0].text =3D =
'=C7=E0=E3=F0=F3=E7=EA=E0...';=0A=
        if (editing) {=0A=
            var td_a =3D 'city_star_edit';=0A=
        }=0A=
        else {=0A=
            var td_a =3D 'city_star_add';=0A=
        }=0A=
        $(td_a).update('<img =
src=3D"http://img2.imgsmail.ru/r/my/loading.gif" width=3D"16" =
height=3D"15" border=3D"0" class=3D"load">');=0A=
        places_ajax_geo_call(value);=0A=
    }=0A=
    //places_onblock('close', places_gid('city_id_other'));=0A=
}=0A=
=0A=
// CITY=0A=
function places_onChangeCity(obj){=0A=
    var value =3D obj.value;=0A=
    places_onblock(obj, places_gid('city_id_other'));=0A=
    places_ajax_places_call(value);=0A=
}=0A=
=0A=
// STREET=0A=
function places_onChangeStreet(obj){=0A=
    if (obj.options[obj.selectedIndex].value =3D=3D 'other') {=0A=
        $(places_gid('ab_compose')).show();=0A=
        $(places_gid('example_street')).show();=0A=
    }=0A=
    else {=0A=
        $(places_gid('ab_compose')).hide();=0A=
        $(places_gid('example_street')).hide();=0A=
    }=0A=
}=0A=
=0A=
/* CLEAN =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D */=0A=
=0A=
// STREET=0A=
function places_cleanStreet(){=0A=
    CleanAB('street', places_gid());=0A=
    $(places_gid('street_name')).options.length =3D 0;=0A=
    $(places_gid('street_name')).options[0] =3D new =
Option('=C4=F0=F3=E3=EE=E5', 'other');=0A=
    $(places_gid('street_name')).options[0].selected =3D true;=0A=
    $(places_gid('street_name')).disable();=0A=
    $(places_gid('ab_compose')).value =3D '';=0A=
    $(places_gid('ab_compose')).hide();=0A=
    $(places_gid('example_street')).hide();=0A=
}=0A=
=0A=
// SUBWAY=0A=
function places_cleanSubway(){=0A=
    $(places_gid('subway_id')).options.length =3D 0;=0A=
    $(places_gid('subway_id')).disable();=0A=
}=0A=
=0A=
/*=0A=
 * {reg.tmpl}=0A=
 */=0A=
function reg_ShowMaidenName(){=0A=
    var a =3D $('sex1').checked;=0A=
    var b =3D $('sex2').checked;=0A=
    if (a)=0A=
        $('FemaleDiv').hide();=0A=
    if (b)=0A=
        $('FemaleDiv').show();=0A=
}=0A=
=0A=
function reg_downloadfoto(){=0A=
    var popupwin =3D =
window.open("http://"+PhotoImagineHost+"/cgi-bin/photo/addphoto?myphoto=3D=
1&mode=3D1&Title=3D&setavatar=3D1", "dlphoto", =
"height300,width=3D600,scrollbars=3Dno");=0A=
}=0A=
=0A=
=0A=
/*=0A=
 * {school_search.tmpl}=0A=
 */=0A=
function EduUpdate(type, opt){=0A=
    function decorate(type2, type, string){=0A=
        if (type2 =3D=3D type)=0A=
            return '<b>' + string + '</b>';=0A=
        else=0A=
            return '<a class=3D"dashed" href=3D"#" =
onclick=3Dschool_search_EduUpdate("' + type2 + '")>' + string + '</a>';=0A=
    }=0A=
=0A=
    $('edu_menu_school').update(decorate('school', type, =
'=CD=E0=E9=F2=E8&nbsp;=EE=E4=ED=EE=EA=EB=E0=F1=F1=ED=E8=EA=EE=E2'));=0A=
    $('edu_menu_ssuz').update(decorate('ssuz', type, =
'=CD=E0=E9=F2=E8&nbsp;=E4=F0=F3=E7=E5=E9&nbsp;=EF=EE&nbsp;=EA=EE=EB=EB=E5=
=E4=E6=F3&nbsp;=E8=EB=E8&nbsp;=CF=D2=D3'));=0A=
    $('edu_menu_vuz').update(decorate('vuz', type, =
'=CD=E0=E9=E4=E8&nbsp;=E4=F0=F3=E7=E5=E9&nbsp;=EF=EE&nbsp;=C2=D3=C7=F3'))=
;=0A=
=0A=
    opt =3D opt ||=0A=
    {};=0A=
    opt.container =3D 'edu_container';=0A=
    opt.onChange =3D function onChange(){=0A=
        if (this.$F('type') =3D=3D 'school')=0A=
            $('simpbut').disabled =3D =
!(this.$('institute_id').selectedIndex !=3D '0' &&=0A=
            this.$('startdate').selectedIndex !=3D '0' &&=0A=
            this.$('enterdate').selectedIndex !=3D '0' &&=0A=
            $('rules_accepted').checked);=0A=
        else=0A=
            $('simpbut').disabled =3D =
!(this.$('institute_id').selectedIndex !=3D '0' &&=0A=
            this.$('enterdate').selectedIndex !=3D '0' &&=0A=
            $('rules_accepted').checked);=0A=
    };=0A=
    opt.onLoad =3D function(){=0A=
        $('simpbut').enable();=0A=
    };=0A=
    EduObjects =3D {};=0A=
    $('edu_container').update();=0A=
    $('simpbut').disable();=0A=
    cEdu =3D new Edu(type, opt);=0A=
    $('simpbut').value =3D _eduSearchMessage[type];=0A=
    $('edu_top_menu').update(_eduSearchTopMenu[type]);=0A=
    return false;=0A=
}=0A=
=0A=
/*=0A=
 * {search_bare.tmpl}=0A=
 */=0A=
function search_bare_toggleSubmit(){=0A=
    var form =3D $('search_form');=0A=
    $('submitbut').disabled =3D (form.firstname.value.blank() &&=0A=
    form.lastname.value.blank() &&=0A=
    form.country.selectedIndex =3D=3D 0 &&=0A=
    form.city.selectedIndex =3D=3D 0)=0A=
}=0A=
=0A=
/*=0A=
 * {search_by_interests.tmpl}=0A=
 */=0A=
function search_by_interests_showHideBlock(oid){=0A=
    elem =3D $(oid);=0A=
    if (elem.visible()) {=0A=
        elem.hide();=0A=
    }=0A=
    else {=0A=
        elem.show();=0A=
    }=0A=
}=0A=
=0A=
//function search_by_interests_search_type(){=0A=
//    var form =3D $("search_form");=0A=
//    if ($("type1").checked) {=0A=
//        type1 =3D true;=0A=
//        bg1 =3D "#FFF";=0A=
//        bg2 =3D "#D4D0C8";=0A=
//    }=0A=
//    else {=0A=
//        type1 =3D false;=0A=
//        bg1 =3D "#D4D0C8";=0A=
//        bg2 =3D "#FFF";=0A=
//    }=0A=
//=0A=
//    for (i =3D 0; i < form.elements.length; i++) {=0A=
//        if (form.elements[i].id !=3D "type1" && form.elements[i].id =
!=3D "type2" && form.elements[i].type !=3D "submit" && =
form.elements[i].type !=3D "hidden") {=0A=
//            if (form.elements[i].id =3D=3D "email") {=0A=
//                form.elements[i].disabled =3D type1;=0A=
//                if (form.elements[i].type !=3D "radio")=0A=
//                    form.elements[i].style.backgroundColor =3D bg2;=0A=
//            }=0A=
//            else {=0A=
//                form.elements[i].disabled =3D !type1;=0A=
//                if (form.elements[i].type !=3D "radio")=0A=
//                    form.elements[i].style.backgroundColor =3D bg1;=0A=
//            }=0A=
//        }=0A=
//    }=0A=
//    if ($("type1").checked)=0A=
//        birth_type();=0A=
//}=0A=
=0A=
/*=0A=
 * {search_simple.tmpl}=0A=
 */=0A=
function search_simple_addToFriendResult(result, id, user_dir){=0A=
    var span =3D $(id);=0A=
    var link =3D $(id + '_friends_link');=0A=
=0A=
    if (result =3D=3D 'friendship_offer') {=0A=
        span.update("=CF=F0=E8=E3=EB=E0=F8=E5=ED=E8=E5 =
=EE=F2=EF=F0=E0=E2=EB=E5=ED=EE");=0A=
        link.show();=0A=
        tempDiv(false);=0A=
    }=0A=
    else=0A=
        if (result =3D=3D 'friend_added') {=0A=
            span.update("=D3=F0=E0! =C2=FB =F1=F2=E0=EB=E8 =
=E4=F0=F3=E7=FC=FF=EC=E8!");=0A=
            link.show();=0A=
            tempDiv(false);=0A=
        }=0A=
        else=0A=
            if (result =3D=3D 'my_invitation_sent') {=0A=
                span.update("=CF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FE =
=E2=FB=F1=EB=E0=ED=EE =EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5 =
=F1=EE=E7=E4=E0=F2=FC =F1=E2=EE=E9 =EC=E8=F0");=0A=
                link.show();=0A=
                tempDiv(false);=0A=
            }=0A=
            else=0A=
                if (result =3D=3D 'world_invitation_sent') {=0A=
                    span.update("=C2=FB =EF=F0=E8=E3=EB=E0=F1=E8=EB=E8 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF =EF=EE=F1=E8=F2=E8=F2=FC =
=F1=E2=EE=E9 =EC=E8=F0");=0A=
                    link.show();=0A=
                    tempDiv(false);=0A=
                }=0A=
                else=0A=
                    if (result =3D=3D 'already_friends') {=0A=
                        span.update("=C2=FB =F3=E6=E5 =
=E4=F0=F3=E7=FC=FF");=0A=
                        link.show();=0A=
                        tempDiv(false);=0A=
                    }=0A=
                    else=0A=
                        if (result =3D=3D =
'already_friendship_offer_sent') {=0A=
                            span.update("=C2=FB =F3=E6=E5 =
=E2=FB=F1=EB=E0=EB=E8 =EF=F0=E5=E4=EB=EE=E6=E5=ED=E8=E5");=0A=
                            link.show();=0A=
                            tempDiv(false);=0A=
                        }=0A=
                        else=0A=
                            if (result =3D=3D 'invalid_emails') {=0A=
                                span.update("=CD=E5=E2=E5=F0=ED=FB=E9 =
email");=0A=
                                tempDiv(false);=0A=
                            }=0A=
                            else {=0A=
                                tempDiv(false);=0A=
                                alert('=CF=F0=E8 =
=EE=E1=F0=E0=E1=EE=F2=EA=E5 =E7=E0=EF=F0=EE=F1=E0 =
=EF=F0=EE=E8=E7=EE=F8=EB=E0 =EE=F8=E8=E1=EA=E0. =
=CF=EE=E2=F2=EE=F0=E8=F2=E5 =EF=EE=EF=FB=F2=EA=F3 =F1=ED=EE=E2=E0.');=0A=
                            }=0A=
}=0A=
=0A=
//unused=0A=
function search_simple_addToFriendOnMy(id, email){=0A=
    tempDiv(true, id);=0A=
    ajax_call('perl_add_friend', email, id, =
search_simple_addToFriendResult);=0A=
    return false;=0A=
}=0A=
=0A=
//unused=0A=
function search_simple_search_type(){=0A=
    var form =3D $("search_form");=0A=
    if ($("type1").checked) {=0A=
        type1 =3D true;=0A=
        bg1 =3D "#FFF";=0A=
        bg2 =3D "#D4D0C8";=0A=
    }=0A=
    else {=0A=
        type1 =3D false;=0A=
        bg1 =3D "#D4D0C8";=0A=
        bg2 =3D "#FFF";=0A=
    }=0A=
=0A=
    $A(form.elements).each(function(el){=0A=
        if (el.id !=3D "type1" && el.id !=3D "type2" && el.type !=3D =
"submit" && el.type !=3D "hidden") {=0A=
            if (el.id =3D=3D "email") {=0A=
                el.disabled =3D type1;=0A=
                if (el.type !=3D "radio")=0A=
                    el.style.backgroundColor =3D bg2;=0A=
            }=0A=
            else {=0A=
                el.disabled =3D !type1;=0A=
                if (el.type !=3D "radio")=0A=
                    el.style.backgroundColor =3D bg1;=0A=
            }=0A=
        }=0A=
    });=0A=
    if ($("type1").checked)=0A=
        search_simple_birth_type();=0A=
}=0A=
=0A=
//unused=0A=
function search_simple_birth_type(){=0A=
    if ($("type1").checked) {=0A=
        if ($("date1").checked) {=0A=
            $("birth_day").enable().style.backgroundColor =3D "#FFF";=0A=
            $("birth_month").enable().style.backgroundColor =3D "#FFF";=0A=
            $("birth_zodiac").disable().style.backgroundColor =3D =
"#D4D0C8";=0A=
        }=0A=
        else {=0A=
            $("birth_day").disable().style.backgroundColor =3D "#D4D0C8";=0A=
            $("birth_month").disable().style.backgroundColor =3D =
"#D4D0C8";=0A=
            $("birth_zodiac").enable().style.backgroundColor =3D "#FFF";=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function search_simple_toggleSubmit(){=0A=
    var form =3D $('search_form');=0A=
    $('submitbut').disabled =3D (form.firstname.value.blank() &&=0A=
    form.lastname.value.blank() &&=0A=
    form.country.selectedIndex =3D=3D 0 &&=0A=
    form.city.selectedIndex =3D=3D 0)=0A=
}=0A=
=0A=
/*=0A=
 * {search.tmpl}=0A=
 */=0A=
function search_search_type(){=0A=
    var form =3D $("search_form");=0A=
    if ($("type1").checked) {=0A=
        type1 =3D true;=0A=
        bg1 =3D "#FFF";=0A=
        bg2 =3D "#D4D0C8";=0A=
    }=0A=
    else {=0A=
        type1 =3D false;=0A=
        bg1 =3D "#D4D0C8";=0A=
        bg2 =3D "#FFF";=0A=
    }=0A=
=0A=
    $A(form.elements).each(function(el){=0A=
        if (el.id !=3D "type1" && el.id !=3D "type2" && el.type !=3D =
"submit" && el.type !=3D "hidden") {=0A=
            if (el.id =3D=3D "email") {=0A=
                el.disabled =3D type1;=0A=
                if (el.type !=3D "radio")=0A=
                    el.style.backgroundColor =3D bg2;=0A=
            }=0A=
            else {=0A=
                el.disabled =3D !type1;=0A=
                if (el.type !=3D "radio")=0A=
                    el.style.backgroundColor =3D bg1;=0A=
            }=0A=
        }=0A=
    });=0A=
    if ($("type1").checked)=0A=
        search_birth_type();=0A=
}=0A=
=0A=
function search_birth_type(){=0A=
    if ($("type1").checked) {=0A=
        if ($("date1").checked) {=0A=
            $("birth_day").enable().style.backgroundColor =3D "#FFF";=0A=
            $("birth_month").enable().style.backgroundColor =3D "#FFF";=0A=
            $("birth_zodiac").disable().style.backgroundColor =3D =
"#D4D0C8";=0A=
        }=0A=
        else {=0A=
            $("birth_day").disable().style.backgroundColor =3D "#D4D0C8";=0A=
            $("birth_month").disable().style.backgroundColor =3D =
"#D4D0C8";=0A=
            $("birth_zodiac").enable().style.backgroundColor =3D "#FFF";=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function search_toggleSubmit(){=0A=
    var form =3D $('search_form');=0A=
    $('submitbut').disabled =3D (form.firstname.value.blank() &&=0A=
    form.sex0.checked &&=0A=
    form.age.value.blank() &&=0A=
    form.lastname.value.blank() &&=0A=
    form.country.selectedIndex =3D=3D 0 &&=0A=
    form.city.selectedIndex =3D=3D 0 &&=0A=
    form.religion_custom.value.blank() &&=0A=
    form.politics.value.blank())=0A=
}=0A=
=0A=
/*=0A=
 * {selectsubject_compiled.tmpl}=0A=
 */=0A=
function selectsubject_compiled_nopen(id){=0A=
    $('d' + id).show();=0A=
    $('i' + id).src =3D open_img;=0A=
}=0A=
=0A=
function selectsubject_compiled_nclose(id){=0A=
    $('d' + id).hide();=0A=
    $('i' + id).src =3D close_img;=0A=
}=0A=
=0A=
function selectsubject_compiled_nclick(id){=0A=
    if (close_re.test($('i' + id).src)) {=0A=
        selectsubject_compiled_nopen(id);=0A=
    }=0A=
    else {=0A=
        selectsubject_compiled_nclose(id);=0A=
    }=0A=
}=0A=
=0A=
function selectsubject_compiled_rclick(robj){=0A=
    var node =3D robj.parentNode;=0A=
    var path =3D '';=0A=
    var first =3D true;=0A=
    var uid, text;=0A=
    robj.checked =3D 1;=0A=
    while (node !=3D 'undefined') {=0A=
        if (node.tagName =3D=3D 'P' || node.tagName =3D=3D 'DIV') {=0A=
            uid =3D node.id;=0A=
            uid =3D uid.substr(1);=0A=
            for (var i =3D 0; i < id.length; i++) {=0A=
                if (id[i] =3D=3D uid) {=0A=
                    text =3D name[i];=0A=
                    break;=0A=
                }=0A=
            }=0A=
            if (uid <=3D 2)=0A=
                break;=0A=
            if (first) {=0A=
                path =3D text;=0A=
                first =3D false;=0A=
            }=0A=
            else {=0A=
                path =3D text + '/' + path;=0A=
            }=0A=
        }=0A=
        node =3D node.parentNode;=0A=
    }=0A=
    document.forms['subject'].elements['subject_id'].value =3D =
robj.value;=0A=
    document.forms['subject'].elements['subject_text'].value =3D path;=0A=
}=0A=
=0A=
function selectsubject_compiled_closewindow(){=0A=
    var subject_id =3D =
document.forms['subject'].elements['subject_id'].value;=0A=
    var subject_text =3D =
document.forms['subject'].elements['subject_text'].value;=0A=
    opener.document.forms['community'].elements['SubjectID'].value =3D =
subject_id;=0A=
    opener.$('SubjectText').update(subject_text);=0A=
    close();=0A=
    return false;=0A=
}=0A=
=0A=
/*=0A=
 * {startfriendship_popup.tmpl}=0A=
 */=0A=
function startfriendship_popup_check_all(){=0A=
    =
$('invite').getElementsBySelector('input[type=3Dcheckbox]').invoke('write=
Attribute', 'checked', $('check_all').checked);=0A=
}=0A=
=0A=
function startfriendship_popup_save_please(exit_popup){=0A=
    var savevinp =3D $('save');=0A=
    var emails =3D savevinp.value.split(',');=0A=
    =
$('invite').getElementsBySelector('input[type=3Dcheckbox]').each(function=
(el){=0A=
        var duplicate =3D 1;=0A=
        emails.each(function(em){=0A=
            if (em && em.toLowerCase() =3D=3D el.value.toLowerCase()) {=0A=
                if (el.checked) {=0A=
                    duplicate =3D 0;=0A=
                }=0A=
                else {=0A=
                    em =3D null;=0A=
                }=0A=
            }=0A=
        });=0A=
        if (el.checked && duplicate)=0A=
            emails.push(el.value);=0A=
    });=0A=
=0A=
    var emails2 =3D emails.compact();=0A=
=0A=
    if (opener !=3D undefined) {=0A=
        opener.$(Type+"_checkbox").value =3D emails2.join(',');=0A=
        savevinp.value =3D emails2.join(',');=0A=
        if (exit_popup) {=0A=
            window.opener.count_friends(Type+"_checkbox");=0A=
            window.close();=0A=
        }=0A=
        else {=0A=
            window.opener.count_friends(Type+"_checkbox");=0A=
            $('invite').submit();=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
function startfriendship_popup_checking_all(){=0A=
    if (!checking_ready)=0A=
        return;=0A=
    var checked_all =3D true;=0A=
    elements.each(function(el){=0A=
        emails.each(function(em){=0A=
            if (em.toLowerCase() =3D=3D el.value.toLowerCase()) {=0A=
                el.checked =3D true;=0A=
            }=0A=
        });=0A=
        if (!el.checked) {=0A=
            checked_all =3D false;=0A=
        }=0A=
    });=0A=
    $('check_all').checked =3D checked_all;=0A=
}=0A=
=0A=
/*=0A=
 * {startfriendship.tmpl}=0A=
 */=0A=
function startfriendship_sendOrNo(){=0A=
    var flag =3D 0=0A=
    $A(window.document.forms['startform'].elements).each(function(el){=0A=
        if (el.checked)=0A=
            flag =3D 1;=0A=
    });=0A=
    if (flag !=3D 1) {=0A=
        window.document.forms['startform'].elements['Save'].value =3D ' =
=CF=E5=F0=E5=E9=F2=E8 =E2 =CC=EE=E9 =CC=E8=F0 ';=0A=
    }=0A=
    else {=0A=
        window.document.forms['startform'].elements['Save'].value =3D ' =
=CE=F2=EF=F0=E0=E2=E8=F2=FC =EF=F0=E8=E3=EB=E0=F8=E5=ED=E8=FF =E8 =
=EF=E5=F0=E5=E9=F2=E8 =E2 =CC=EE=E9 =CC=E8=F0 ';=0A=
    }=0A=
}=0A=
=0A=
function startfriendship_check(box){=0A=
    if (box.checked) {=0A=
        box.value =3D default_box_values[box.id];=0A=
        startfriendship_count_friends(box.id);=0A=
    }=0A=
    else {=0A=
        box.value =3D '';=0A=
        startfriendship_count_friends(box.id);=0A=
    }=0A=
}=0A=
=0A=
function startfriendship_count_friends(type){=0A=
    var emails =3D $F(type).split(',');=0A=
    var emails2 =3D emails.compact();=0A=
    $(type + '_count').update(emails2.length);=0A=
    if (emails2.length =3D=3D 0) {=0A=
        $(type).checked =3D false;=0A=
    }=0A=
    else {=0A=
        $(type).checked =3D true;=0A=
    }=0A=
}=0A=
=0A=
function startfriendship_addEmailField(){=0A=
    var ol =3D $("emailsList");=0A=
    var li =3D new Element("LI");=0A=
    var input =3D new Element("INPUT", {'name': 'Emails', 'class': =
'inp'});=0A=
    li.appendChild(input);=0A=
    ol.appendChild(li);=0A=
    input.focus();=0A=
}=0A=
=0A=
/*=0A=
 * {userinfo.tmpl}=0A=
 */=0A=
function userinfo_formUnload(){=0A=
    var msg =3D "=CD=E0 =F1=F2=F0=E0=ED=E8=F6=E5 =E5=F1=F2=FC =
=ED=E5=F1=EE=F5=F0=E0=ED=E5=ED=ED=FB=E5 =E8=E7=EC=E5=ED=E5=ED=E8=FF. ";=0A=
    msg +=3D "=D7=F2=EE=E1=FB =F1=EE=F5=F0=E0=ED=E8=F2=FC =
=E8=E7=EC=E5=ED=E5=ED=E8=FF, =ED=E0=E6=EC=E8=F2=E5 =
\"=CE=F2=EC=E5=ED=E0\", ";=0A=
    msg +=3D "=E0 =E7=E0=F2=E5=EC \"=D1=EE=F5=F0=E0=ED=E8=F2=FC\".";=0A=
    return msg;=0A=
}=0A=
=0A=
function userinfo_formSubmit(){=0A=
    window.onbeforeunload =3D null;=0A=
    return true;=0A=
}=0A=
=0A=
function userinfo_formChanged(){=0A=
    if (window.onbeforeunload =3D=3D null)=0A=
        window.onbeforeunload =3D userinfo_formUnload;=0A=
}=0A=
=0A=
function userinfo_ShowMaidenName(){=0A=
    var a =3D $('sex1').checked;=0A=
    var b =3D $('sex2').checked;=0A=
    if (a)=0A=
        $('FemaleDiv').hide();=0A=
    if (b)=0A=
        $('FemaleDiv').show();=0A=
}=0A=
=0A=
function userinfo_partner(value1){=0A=
    if (!partnershipPermitted.exists(value1)) {=0A=
        flag =3D 1;=0A=
        $('PartnerNick').hide();=0A=
        $('partner_select_button_tr').hide();=0A=
        $('PartnerNick').value =3D '=C2=FB=E1=E5=F0=E8=F2=E5 =
=EF=E0=F0=F2=ED=E5=F0=E0';=0A=
        $('PartnerNick2').value =3D '';=0A=
        $('PartnerEmail').value =3D '';=0A=
    }=0A=
    else {=0A=
        flag =3D 0;=0A=
        $('PartnerNick').show();=0A=
        $('partner_select_button_tr').show();=0A=
    }=0A=
    $('partner_select_button').disabled =3D flag;=0A=
}=0A=
=0A=
function userinfo_part_symbols(){=0A=
    num =3D $F('PartnerNick');=0A=
    if (num !=3D '=C2=FB=E1=E5=F0=E8=F2=E5 =EF=E0=F0=F2=ED=E5=F0=E0' && =
num !=3D PartnerNick) {=0A=
        $('AlertText').show();=0A=
    }=0A=
    else {=0A=
        $('AlertText').hide();=0A=
    }=0A=
}=0A=
=0A=
function userinfo_insertFriendsMail(nicks, mails){=0A=
    $("PartnerNick").value =3D nicks;=0A=
    $("PartnerNick2").value =3D nicks;=0A=
    $("PartnerEmail").value =3D mails;=0A=
}=0A=
=0A=
function userinfo_showFriendsList(){=0A=
    if (mailPopup && mailPopup.close)=0A=
        mailPopup.close();=0A=
    mailPopup =3D window.open(MyMailDir + "friends?popup_list=3D2", =
'mailPopup', 'width=3D240,height=3D350,top=3D' + (parseInt(screen.height =
/ 2) - 150) + ',left=3D' + (parseInt(screen.width / 2) - 150) + =
',toolbars=3Dno,scrollbars=3Dno,menubar=3Dno,resizable=3Dno,location=3Dno=
,status=3Dno,directories=3Dno');=0A=
    if (mailPopup && mailPopup.focus)=0A=
        mailPopup.focus();=0A=
}=0A=
=0A=
function setDefaultValueForInput(event, element){=0A=
        element =3D $(element);=0A=
        if(!element.readAttribute('passiveClass')) =
element.writeAttribute('passiveClass', element.className);=0A=
        if(!element.readAttribute('defaultValue')) =
element.writeAttribute('defaultValue', element.value);=0A=
        element.observe('blur', function(){setDefaultValueForInput(null, =
element)});=0A=
        if(event) { if(element.value =3D=3D =
element.readAttribute('defaultValue')) =0A=
            element.value =3D ''; element.className =3D =
element.readAttribute('passiveClass') + ' black' }=0A=
        else { if(!element.value) =0A=
            element.value =3D element.readAttribute('defaultValue'); =
element.className =3D element.readAttribute('passiveClass') }=0A=
}=0A=
=0A=
/*=0A=
 * common captcha=0A=
 */=0A=
=0A=
=0A=
function CaptchedForm( p ) {=0A=
	this.form =3D $(p.formId);=0A=
	if(!this.form)=0A=
		return;=0A=
	=0A=
	var _this =3D this;=0A=
	this.form.captcha =3D {=0A=
		submit: function(){=0A=
			_this.onSubmit.apply(_this, arguments);=0A=
		}=0A=
	}=0A=
	=0A=
	if(p.handleSumbit) {=0A=
		this.form.onsubmit =3D function (){ return false;};=0A=
		this.form.observe('submit', this.onSubmit.bindAsEventListener(this));=0A=
	}=0A=
	=0A=
	this.p =3D p;=0A=
	=0A=
	if(p.captchaURL)=0A=
		this.captchaURL =3D p.captchaURL;=0A=
		=0A=
}=0A=
=0A=
CaptchedForm.prototype =3D {=0A=
	captchaURL: 'http://my.mail.ru/cgi-bin/my/get_image?id=3D',=0A=
	htmlCreated: false,=0A=
	firstSend: true,=0A=
	captchaShown: false,=0A=
	captchaOpen:false,=0A=
	=0A=
	onSubmit: function(e){=0A=
		e && e.stop();=0A=
		=0A=
		if(typeof this.p.onBeforeSubmit =3D=3D 'function')=0A=
			this.p.onBeforeSubmit.apply(this, arguments);=0A=
		=0A=
		if(!this.captchaOpen && this.captchaShown) {=0A=
			this.show();=0A=
		} else if(this.captchaOpen && this.captchaShown && =
this.captcha_input.value.replace(/\s*/, '')=3D=3D'') {=0A=
			alert('=C2=E2=E5=E4=E8=F2=E5 =F7=E8=F1=EB=EE, =
=E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =EA=E0=F0=F2=E8=ED=EA=E5');=0A=
			this.show();=0A=
		} else {=0A=
		=0A=
			var seq =3D this.p.sequence;=0A=
			var req =3D [];=0A=
			for(var i =3D 0, seq_len =3D this.p.sequence.length; i < seq_len; =
i++){=0A=
				var t =3D $(seq[i]);=0A=
				if(t)=0A=
					req[req.length] =3D t.value;=0A=
				else=0A=
					req[req.length] =3D null;=0A=
				t =3D null;=0A=
			}=0A=
			=0A=
			new Ajax.Request(this.p.action, {=0A=
				method: 'post',=0A=
				postBody: 'data=3D' + req.toJSON(),=0A=
				onSuccess: this.responseHandler.bindAsEventListener(this)=0A=
			});=0A=
			=0A=
			if(this.captcha_input)=0A=
				this.captcha_input.value =3D '';=0A=
				=0A=
		=0A=
		}=0A=
	},=0A=
	=0A=
	=0A=
	=0A=
	responseHandler: function(t){=0A=
		if(t){=0A=
			var data =3D t.responseText.evalJSON(true);=0A=
			=0A=
			if(data[0] !=3D 'AjaxResponse')=0A=
				return;=0A=
			if(data[1] =3D=3D 'OK') {=0A=
				data.splice(0, 2);=0A=
				=0A=
				var captcha_id =3D this.p.resultDispatcher.apply(this, data);=0A=
				if(captcha_id) {=0A=
					this.show();=0A=
					$(this.p.prefix+'_captcha_id').value =3D captcha_id;=0A=
					this.captchaPointer.style.backgroundImage =3D =
'url('+this.captchaURL+captcha_id+')';=0A=
					=0A=
					this.captchaShown =3D true;=0A=
					=0A=
					if(!this.firstSend)=0A=
						alert('=C2=FB =ED=E5=E2=E5=F0=ED=EE =E2=E2=E5=EB=E8 =
=F7=E8=F1=EB=EE, =E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =
=EA=E0=F0=F2=E8=ED=EA=E5');=0A=
					this.firstSend =3D false;=0A=
					=0A=
				} else {=0A=
					this.hide();=0A=
					if(typeof this.p.onSuccess =3D=3D 'function')=0A=
						this.p.onSuccess(t);=0A=
=0A=
					this.captchaShown =3D false;=0A=
					=0A=
					this.firstSend =3D true;=0A=
				}=0A=
			}=0A=
		}=0A=
	},=0A=
	=0A=
	show: function(){=0A=
		if( !this.htmlCreated && !this.captchaPointer ) {=0A=
			if( (this.captchaPointer =3D $(this.p.prefix+'_captcha_container')) ){=0A=
				this.htmlCreated =3D true;=0A=
			} else {=0A=
				var t =3D this.form.appendChild(document.createElement('div'));=0A=
				t.innerHTML =3D '\=0A=
<div style=3D"display: none;" id=3D"'+this.p.prefix+'_captcha_container" =
class=3D"capchaNewLeft">\=0A=
	<i id=3D"'+this.p.prefix+'_toggle_captcha_button" =
class=3D"mf_spIco"></i>=C2=E2=E5=E4=E8=F2=E5 =
=F7=E8=F1=EB=EE,<br/>=E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =
=EA=E0=F0=F2=E8=ED=EA=E5:\=0A=
	<div class=3D"mt5">\=0A=
		<input name=3D"captcha_id" type=3D"hidden" =
id=3D"'+this.p.prefix+'_captcha_id"/>\=0A=
		<input name=3D"captcha_value" type=3D"text" =
onkeypress=3D"if(event.keyCode =3D=3D 13) { =
document.getElementById(\''+this.p.prefix+'_captcha_submit\').click(); =
return false;}" id=3D"'+this.p.prefix+'_captcha_input" =
class=3D"capchaNewInp"/>\=0A=
		<input type=3D"submit" id=3D"'+this.p.prefix+'_captcha_submit" =
value=3D"=CE=CA" name=3D"btn_ok"/>\=0A=
	</div>\=0A=
</div>';=0A=
				this.captchaPointer =3D $(this.p.prefix+'_captcha_container');=0A=
				this.htmlCreated =3D true;=0A=
			}=0A=
			=0A=
			$(this.p.prefix+'_toggle_captcha_button').observe('click', =
this.onClose.bindAsEventListener(this));=0A=
			if( this.p.onCaptchaSubmit )=0A=
				$(this.p.prefix+'_captcha_submit').observe('click', =
this.p.onCaptchaSubmit);=0A=
			this.captcha_input =3D $(this.p.prefix+'_captcha_input');=0A=
		}=0A=
		=0A=
		this.captchaPointer.style.display =3D 'block';=0A=
		this.captchaOpen =3D true;=0A=
		=0A=
	},=0A=
	=0A=
	hide: function(){=0A=
		if(this.captchaPointer)=0A=
			this.captchaPointer.style.display =3D 'none';=0A=
		this.captchaOpen =3D false;=0A=
	},=0A=
	=0A=
	onClose: function() {=0A=
		=0A=
		this.hide();=0A=
		this.firstSend =3D true;=0A=
	}=0A=
	=0A=
	=0A=
}=0A=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://my.mail.ru/js/captcha.js?4

function Captcha (params) {=0A=
    var captchaID =3D null;=0A=
=0A=
    if (params) {=0A=
        this.userEmail    =3D params.userEmail;=0A=
        this.form         =3D params.form;=0A=
        this.message =3D params.message;=0A=
        this.focusInput   =3D params.focusInput || null;=0A=
        this.noGetCaptcha =3D params.noGetCaptcha || null;=0A=
=0A=
        this.captchaURL       =3D params.captchaURL || null;=0A=
        this.captchaImage     =3D params.captchaImage || null;=0A=
        this.captchaContainer =3D params.captchaContainer || null;=0A=
        this.captchaInput     =3D params.captchaInput || null;=0A=
=0A=
        this.toggleCaptchaButton =3D params.toggleCaptchaButton || null;=0A=
=0A=
        this.onCaptchaOK    =3D params.onCaptchaOK || null;=0A=
        this.onCaptchaError =3D params.onCaptchaError || null;=0A=
        this.onGetCaptcha   =3D params.onGetCaptcha || null;=0A=
=0A=
        this.requestURL     =3D params.requestURL || null;=0A=
        this.getCaptchaFN   =3D params.getCaptchaFN || null;=0A=
        this.checkCaptchaFN =3D params.checkCaptchaFN || null;=0A=
=0A=
        this.params =3D params.params || [];=0A=
=0A=
        if (params.userEmail) this.params.push(params.userEmail);=0A=
=0A=
        if (params.captchaID) captchaID =3D params.captchaID;=0A=
    }=0A=
=0A=
    this.cleanUp();=0A=
=0A=
    if ( this.form ) {=0A=
        this.form.observe ('submit', =
this.submit.bindAsEventListener(this));=0A=
        if(this.form.send) this.sendValue =3D this.form.send.value;=0A=
        else this.sendValue =3D this.userEmail;=0A=
        if(this.form.message) this.messageValue =3D =
this.form.Message.value;=0A=
        else this.messageValue =3D this.message;=0A=
    }=0A=
    else {=0A=
        this.sendValue =3D this.userEmail;=0A=
        this.messageValue =3D this.message;=0A=
    }=0A=
    if ( this.toggleCaptchaButton ) {=0A=
        if ( this.toggleCaptchaButton.constructor =3D=3D Array ) {=0A=
            for ( var i =3D 0; i < this.toggleCaptchaButton.length; i++ =
) {=0A=
                this.toggleCaptchaButton[i].observe ('click', =
this.toggleCaptcha.bindAsEventListener(this))=0A=
            }=0A=
        } else {=0A=
            this.toggleCaptchaButton.observe ('click', =
this.toggleCaptcha.bindAsEventListener(this));=0A=
        }=0A=
    }=0A=
=0A=
    if ( captchaID !=3D null ) {=0A=
        this.initCaptcha (captchaID);=0A=
    } else {=0A=
        this.getCaptcha ();=0A=
    }=0A=
}=0A=
=0A=
Captcha.prototype.initCaptcha =3D function (captchaID) {=0A=
    if ( captchaID =3D=3D 0 ) {=0A=
        this.captchaOK        =3D 1;=0A=
        this.captchaImage.src =3D '';=0A=
    } else {=0A=
        this.captchaOK        =3D 0;=0A=
        this.captchaImage.src =3D this.captchaURL + captchaID;=0A=
    }=0A=
=0A=
    this.captchaID =3D captchaID;=0A=
}=0A=
=0A=
Captcha.prototype.submit =3D function(e, check) {=0A=
    e && e.stop();=0A=
=0A=
    if (check) {=0A=
        this.getCaptcha(null,'resubmit');=0A=
        return 0;=0A=
    }=0A=
=0A=
    if (!this.captchaID || this.captchaOK) {=0A=
        if (this.onCaptchaOK) this.onCaptchaOK(this,e);=0A=
        return 0;=0A=
    }=0A=
=0A=
    if (this.captchaID) {=0A=
        if (!this.isCaptchaOpen) {=0A=
            this.toggleCaptcha();=0A=
        } else if (this.checkCaptchaFN) {=0A=
            if (this.captchaInput.value =3D=3D '') {=0A=
                if(this.onCaptchaError) =
this.onCaptchaError(this,'NOINPUT',e);=0A=
                else alert('=C2=E2=E5=E4=E8=F2=E5 =F7=E8=F1=EB=EE, =
=E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =EA=E0=F0=F2=E8=ED=EA=E5');=0A=
                this.captchaInput.focus();=0A=
            } else {=0A=
                this.validateCaptcha();=0A=
            }=0A=
        }=0A=
    }=0A=
        =0A=
    return 0;=0A=
}=0A=
=0A=
Captcha.prototype.getCaptcha =3D function(t,resubmit) {=0A=
    if (t) {=0A=
        var data =3D t.responseText.evalJSON(true);=0A=
        if (data[1] =3D=3D 'OK') {=0A=
            if (data[2]) {=0A=
                this.captchaID =3D data[2];=0A=
                this.captchaOK =3D 0;=0A=
                this.captchaImage.src =3D this.captchaURL + =
this.captchaID;=0A=
            } else {=0A=
                this.captchaID =3D 0;=0A=
                this.captchaOK =3D 1;=0A=
            }=0A=
            if (this.onGetCaptcha) this.onGetCaptcha();=0A=
            if (resubmit)=0A=
                this.submit();=0A=
        }=0A=
    } else {=0A=
        this.captchaID =3D null;=0A=
        this.captchaImage.src =3D '';=0A=
        new Ajax.Request(this.requestURL + this.getCaptchaFN, {=0A=
            method: 'post',=0A=
            postBody: 'data=3D' + this.params.toJSON(),=0A=
            onSuccess: this.getCaptcha.bindAsEventListener(this,resubmit)=0A=
        });=0A=
        return this.captchaID;=0A=
    }=0A=
}=0A=
=0A=
Captcha.prototype.checkCaptcha =3D function () {=0A=
    if(this.captchaID) {=0A=
        if (!this.isCaptchaOpen) {=0A=
                this.toggleCaptcha();=0A=
                return 0;=0A=
        } else return this.validateCaptcha();=0A=
    }=0A=
    return 1;=0A=
}=0A=
        =0A=
Captcha.prototype.validateCaptcha =3D function (t) {=0A=
    if (t) {=0A=
        var data =3D t.responseText.evalJSON(true);=0A=
        if (data[1] =3D=3D 'OK') {=0A=
            this.toggleCaptcha();=0A=
            var captchaAnswer =3D this.captchaInput.value;=0A=
            this.captchaInput.value =3D '';=0A=
            if (data[2] =3D=3D 'CaptchaOK') {=0A=
                this.captchaOK =3D 1;=0A=
                var captchaID =3D this.captchaID;=0A=
                this.captchaID =3D 0;=0A=
                if (this.onCaptchaOK) this.onCaptchaOK(this, captchaID, =
captchaAnswer);=0A=
            } else {=0A=
                this.captchaID =3D data[2];=0A=
                this.captchaImage.src =3D this.captchaURL + =
this.captchaID;=0A=
                if(this.onCaptchaError) =
this.onCaptchaError(this,'WRONGINPUT');=0A=
                else alert('=C2=FB =ED=E5=E2=E5=F0=ED=EE =E2=E2=E5=EB=E8 =
=F7=E8=F1=EB=EE, =E8=E7=EE=E1=F0=E0=E6=E5=ED=ED=EE=E5 =ED=E0 =
=EA=E0=F0=F2=E8=ED=EA=E5');=0A=
                this.toggleCaptcha();=0A=
            }=0A=
        }=0A=
    } else {=0A=
        this.captchaOK =3D 0;=0A=
        if(this.form && this.form.Message) this.messageValue =3D =
this.form.Message.value;=0A=
        new Ajax.Request(this.requestURL + this.checkCaptchaFN, {=0A=
            method: 'post',=0A=
            postBody: 'data=3D' + [=0A=
                this.captchaID,        =0A=
                this.captchaInput.value,=0A=
                this.sendValue,=0A=
                this.messageValue=0A=
            ].concat(this.params).toJSON(),=0A=
            onSuccess: this.validateCaptcha.bindAsEventListener(this)=0A=
        });=0A=
    }=0A=
}=0A=
=0A=
Captcha.prototype.toggleCaptcha =3D function (e) {=0A=
    e && e.stop();=0A=
    if(this.isCaptchaOpen)  {=0A=
        this.isCaptchaOpen =3D 0;                =0A=
        this.captchaContainer.style.display =3D 'none';=0A=
        if(e && this.onCaptchaError) this.onCaptchaError(this,'CLOSED');=0A=
        if(this.focusInput)=0A=
            this.focusInput.focus();=0A=
    } else { =0A=
        this.isCaptchaOpen =3D 1;                =0A=
        this.captchaContainer.style.display =3D 'block';=0A=
        this.captchaInput.focus();=0A=
    }=0A=
}=0A=
=0A=
Captcha.prototype.cleanUp =3D function () {=0A=
    this.captchaContainer.style.display =3D 'none';=0A=
    this.captchaImage.src =3D '';=0A=
    this.captchaInput.value =3D '';=0A=
    this.captchaID =3D null;=0A=
    this.isCaptchaOpen =3D 0;=0A=
}=0A=
=0A=
Captcha.prototype.setOnCaptchaOK =3D function (fn) {=0A=
    this.onCaptchaOK =3D fn;=0A=
}=0A=
=0A=
Captcha.prototype.setOnCaptchaError =3D function (fn) {=0A=
    this.onCaptchaError =3D fn;=0A=
}=0A=
=0A=
Captcha.prototype.setParams =3D function (p) {=0A=
    this.params =3D p;=0A=
}=0A=
=0A=
Captcha.prototype.setPosition =3D function (x,y) {=0A=
    this.captchaContainer.style.position =3D 'absolute';=0A=
    this.captchaContainer.style.left =3D x;=0A=
    this.captchaContainer.style.top  =3D y;=0A=
}=0A=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/myjs/mf.js?

var MF =3D (function(){=0A=
	return {=0A=
		getCookie: function( name ) {=0A=
			var start =3D document.cookie.indexOf( name + "=3D" );=0A=
			var len =3D start + name.length + 1;=0A=
			if ( ( !start ) && ( name !=3D document.cookie.substring( 0, =
name.length ) ) ) {=0A=
				return null;=0A=
			}=0A=
			if ( start =3D=3D -1 ) return null;=0A=
			var end =3D document.cookie.indexOf( ';', len );=0A=
			if ( end =3D=3D -1 ) end =3D document.cookie.length;=0A=
			return unescape( document.cookie.substring( len, end ) );=0A=
		},=0A=
                setCookie: function( name, value, expires, path, domain, =
secure ) {=0A=
			var today =3D new Date();=0A=
			today.setTime( today.getTime() );=0A=
			if ( expires ) {=0A=
				expires =3D expires * 1000 * 60 * 60 * 24;=0A=
			}=0A=
			var expires_date =3D new Date( today.getTime() + (expires) );=0A=
			document.cookie =3D name+'=3D'+escape( value ) +=0A=
				( ( expires ) ? ';expires=3D'+expires_date.toGMTString() : '' ) + =
//expires.toGMTString()=0A=
				( ( path ) ? ';path=3D' + path : '' ) +=0A=
				( ( domain ) ? ';domain=3D' + domain : '' ) +=0A=
				( ( secure ) ? ';secure' : '' );=0A=
		},=0A=
		deleteCookie: function( name, path, domain ) {=0A=
			if ( getCookie( name ) ) document.cookie =3D name + '=3D' +=0A=
				( ( path ) ? ';path=3D' + path : '') +=0A=
				( ( domain ) ? ';domain=3D' + domain : '' ) +=0A=
				';expires=3DThu, 01-Jan-1970 00:00:01 GMT';=0A=
		},=0A=
		navSwitch: function(sw){=0A=
			var cookName =3D 'navOher';=0A=
			var oher =3D MF.getCookie(cookName);=0A=
			var ico =3D $('navOherSwitch');=0A=
			var content =3D $('navOherBlock');=0A=
			if(ico && content) {=0A=
				// set cookie=0A=
				if(sw =3D=3D 1)=0A=
					if(oher =3D=3D null || oher =3D=3D 0) { =
MF.setCookie(cookName,1,1,'/','.mail.ru',false); oher =3D 1; }=0A=
					else if (oher =3D=3D 1) { MF.setCookie(cookName,0,1, =
'/','.mail.ru',false); oher =3D 0; }=0A=
				// show/hide=0A=
				if(oher =3D=3D null || oher =3D=3D 0) {=0A=
					ico.className =3D 'mf_otherHide mf_otherHide_nav';=0A=
					content.hide();=0A=
				} else if (oher =3D=3D 1) {=0A=
					ico.className =3D 'mf_otherShow mf_otherShow_nav';=0A=
					content.show();=0A=
				}=0A=
			}=0A=
		}=0A=
	}=0A=
})();=0A=
MF.navSwitch();=0A=
$(document).observe('booster:loaded', MF.navSwitch);=0A=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/my/help.js?21

[encoded data, 36632 characters]
KGUpewoJCQlvbmVycm9yKDMsICcnLCBlKTsKCQl9Cgl9Cn0KCg==

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/my/infotolltip.js?8

function Tooltip(params) {=0A=
    for(var i in params) this[i] =3D params[i];=0A=
    this.staticParams =3D {=0A=
	'sticker':{'classname':'tipSticker','timeout':0.5},=0A=
	'avatar':{'classname':'tipAva','timeout':0.01},=0A=
	'avatarC':{'classname':'tipAva','timeout':0.01},=0A=
	'photo':{'classname':'tipPhoto','timeout':0.5},=0A=
	'video':{'classname':'tipVideo','timeout':0.5},=0A=
	'gift':{'classname':'tipGift','timeout':0.5},=0A=
	'giftLabel':{'classname':'tipGift','timeout':0.5},=0A=
	=
'community':{'classname':'tipCommunity','timeout':0.01,'setposition':'rig=
ht'}=0A=
    };=0A=
}=0A=
=0A=
Tooltip.prototype.setVars =3D function(type, element){=0A=
    if(!type || !element) return false;=0A=
    this.type =3D type;=0A=
    this.element =3D $(element);=0A=
    this.email =3D this.element.readAttribute('email') || 0;=0A=
    this.biglink =3D this.element.readAttribute('biglink') || 0;=0A=
    this.imagesurl =3D this.element.readAttribute('imagesurl') || 0;=0A=
    this.online =3D this.element.readAttribute('online') || 0;=0A=
    this.privat =3D this.element.readAttribute('privat') || 0;=0A=
    this.username =3D this.element.readAttribute('username') || 0;=0A=
    this.vip =3D this.element.readAttribute('vip') || 0;=0A=
    this.giftsRotate =3D $('paidGiftsMain') ? 1 : 0;=0A=
    this.timeout =3D this.staticParams[this.type].timeout || 0.01;=0A=
    if(this.giftsRotate) hideNewGifts();=0A=
    this.element.observe('mouseout', =
this.tHide.bindAsEventListener(this));=0A=
    this.tShow.bind(this).delay(this.timeout);=0A=
}=0A=
=0A=
Tooltip.prototype.tShow =3D function(){=0A=
    this.noHide.bind(this);=0A=
    if(this.divpic) document.body.removeChild(this.divpic);=0A=
    var re =3D /^(.*?)@(\w+)\./;=0A=
    if (re.test(this.email)){=0A=
	this.login =3D RegExp.$1;=0A=
	this.domain =3D RegExp.$2;=0A=
    }=0A=
    var defaultHtml;=0A=
// from syberia with love=0A=
    switch(this.type) {=0A=
	case 'stiker':=0A=
	    if (this.online) var onlineneed =3D "<div class=3D\"on_90 =
divAuto\"><a href=3D\"/my/dialogues?thread=3D" + this.email +"\">=ED=E0 =
=F1=E0=E9=F2=E5</a></div>";=0A=
	    else var onlineneed =3D "";=0A=
	    var prneed =3D '';=0A=
	    if (this.privat) {=0A=
		if(this.vip) prneed =3D "=CF=F0=E8=E2=E0=F2=ED=FB=E9 =
VIP-=F1=F2=E8=EA=E5=F0";=0A=
		else prneed =3D "=CF=F0=E8=E2=E0=F2=ED=FB=E9 =F1=F2=E8=EA=E5=F0";=0A=
	    }=0A=
	    else {=0A=
		if(this.vip) prneed =3D "VIP-=F1=F2=E8=EA=E5=F0 =EE=F2 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF";=0A=
		else prneed =3D "=D1=F2=E8=EA=E5=F0 =EE=F2 =
=EF=EE=EB=FC=E7=EE=E2=E0=F2=E5=EB=FF";=0A=
	    }=0A=
	    defaultHtml =3D "<div class=3D\"divAuto ava90 mt5\"><a =
href=3D\"http://" + this.mymailhost + "/" + domain + "/" + login + =0A=
	    "/\"><i class=3D\"ava90\" style=3D\"background-image: url(http://" =
+ this.photoavthost + "/" + domain + "/" + login + =0A=
	    "/_avatar90);\"></i></a></div>" + onlineneed + "<div class=3D\"mt5 =
tac\"><a href=3D\"http://www.mail.ru/agent?message&to=3D" + =0A=
	    this.email + "\" title=3D\"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5\"><i =
class=3D\"spr-mrim-13\" email=3D\"" + =0A=
	    this.email + "\"></i></a><a href=3D\"http://##MyMailHost##/" + =
this.domain + "/" + this.login + "/\">" + this.username + "</a></div>";=0A=
	    break;=0A=
	case 'avatar':=0A=
	    defaultHtml =3D '<i style=3D"background-image: =
url(http://avt.foto.mail.ru/' + this.domain + '/' + this.login + =
'/_avatar);"></i>';=0A=
	    break;=0A=
	case 'avatarC':=0A=
	    defaultHtml =3D '<a href=3D"/community/' + this.email + '/"><i =
style=3D"background-image: url(' + this.imagesurl + ');"></i></a>';=0A=
	    break;=0A=
	case 'photo':=0A=
	    defaultHtml =3D '<a href=3D"' + this.biglink + '"><i =
style=3D"background-image: url(' + this.imagesurl + ');"></i></a>';=0A=
	    break;=0A=
	case 'video':=0A=
	    defaultHtml =3D '<a href=3D"' + this.biglink + '"><i =
style=3D"background-image: url(' + this.imagesurl + ');"></i></a>';=0A=
	    break;=0A=
	case 'gift':=0A=
	    defaultHtml =3D '<a href=3D"' + this.biglink + '"><i =
style=3D"background-image: url(http://img0.imgsmail.ru/r/my/gifts/' + =
this.imagesurl + ');"></i></a>';=0A=
	    break;=0A=
	case 'giftLabel':=0A=
	    defaultHtml =3D '<label for=3D"' + this.biglink + '"><i =
style=3D"background-image: url(http://img1.imgsmail.ru/r/my/gifts/' + =
this.imagesurl + ');"></i></label>';=0A=
	    break;=0A=
	case 'community':=0A=
	    defaultHtml =3D '<a href=3D"http://www.mail.ru/agent?message&to=3D' =
+ this.email + '" title=3D"=D9=E5=EB=EA=ED=E8, =F7=F2=EE=E1=FB =
=EF=EE=EE=E1=F9=E0=F2=FC=F1=FF =F1 =FD=F2=E8=EC =
=F7=E5=EB=EE=E2=E5=EA=EE=EC =E2 Mail.Ru =C0=E3=E5=ED=F2=E5"><i =
class=3D"spr-mrim-status13" style=3D"background-image: =
url(http://status.mail.ru?' + this.email + ');"></i></a><a href=3D"/' + =
this.domain + '/' + this.login + '/">' + this.username + =
'</a><div></div>';=0A=
	    break;=0A=
	default:=0A=
	    return false;=0A=
    }=0A=
    this.divpic =3D document.body.appendChild(new Element('div', =
{'style':'display:none;position:absolute;top:-250px;left:-250px;'}));=0A=
    this.divpic.className =3D this.staticParams[this.type].classname || =
'';=0A=
    this.divpic.innerHTML =3D defaultHtml;=0A=
    this.divpic.observe('mouseout', =
this.tHide.bindAsEventListener(this));=0A=
    this.divpic.observe('mouseover', =
this.noHide.bindAsEventListener(this));=0A=
=0A=
    var coor =3D this.absPosition(this.element);=0A=
    this.divpic.style.display =3D 'block';=0A=
=0A=
    if(this.staticParams[this.type].setposition && =
this.staticParams[this.type].setposition =3D=3D 'right') {=0A=
	this.divpic.style.right =3D (document.body.clientWidth - coor.left) + =
'px';=0A=
	this.divpic.style.left =3D '';=0A=
    } else {=0A=
	if(document.body.clientWidth > (this.divpic.offsetWidth + coor.left)) =
this.divpic.style.left =3D coor.left + 'px';=0A=
	else this.divpic.style.left =3D (coor.left -  (this.divpic.offsetWidth =
- this.element.offsetWidth)) + 'px';=0A=
    }=0A=
    if(coor.top < (document.body.scrollTop + document.body.clientHeight =
- this.divpic.offsetHeight)) this.divpic.style.top =3D coor.top + 'px';=0A=
    else this.divpic.style.top =3D (coor.top - (this.divpic.offsetHeight =
- this.element.offsetHeight)) + 'px';=0A=
//    alert(this.divpic.style.top + ' ' + this.divpic.style.left);=0A=
//    alert(coor.top + ' ' + coor.left);=0A=
=0A=
}=0A=
=0A=
Tooltip.prototype.noHide =3D function(){=0A=
    if(this.hideTimeout){=0A=
	clearTimeout(this.hideTimeout);=0A=
	if(this.giftsRotate) hideNewGifts();=0A=
    }=0A=
}=0A=
=0A=
Tooltip.prototype.tHide =3D function(event){=0A=
    if(event) {=0A=
	if(this.hideTimeout) clearTimeout(this.hideTimeout);=0A=
	this.hideTimeout =3D this.tHide.bind(this).delay(this.timeout);=0A=
	return;=0A=
    }=0A=
    if(this.divpic) document.body.removeChild(this.divpic);=0A=
    this.divpic =3D 0;=0A=
    if(this.hideTimeout) clearTimeout(this.hideTimeout);=0A=
    if(this.giftsRotate) showNewGifts();=0A=
    return;=0A=
}=0A=
=0A=
Tooltip.prototype.absPosition =3D function(offsetTrail){=0A=
    var offsetLeft =3D 0;=0A=
    var offsetTop =3D -11;=0A=
    while (offsetTrail) {=0A=
	offsetLeft +=3D Math.abs(offsetTrail.offsetLeft);=0A=
	offsetTop +=3D offsetTrail.offsetTop;=0A=
	offsetTrail =3D offsetTrail.offsetParent;=0A=
    }=0A=
    return {=0A=
	left: offsetLeft,=0A=
	top: offsetTop=0A=
    }=0A=
}=0A=
// gifts rotate on face=0A=
function showNewGifts(){=0A=
    var topGifts =3D 70*giftStep;=0A=
    var p =3D $('podarki');=0A=
    if (p) p.style.top =3D '-' + topGifts + 'px';=0A=
    showNewGiftsTimer =3D setTimeout("showNewGifts()",4000);=0A=
    giftStep =3D giftStep + 1;=0A=
    if (giftStep =3D=3D GiftItems){ giftStep =3D 0; }=0A=
}=0A=
=0A=
function hideNewGifts(){ clearTimeout(showNewGiftsTimer) }=0A=
=0A=
function toggleDialogImage(link) {=0A=
    var container =3D $(link.parentNode);=0A=
    link =3D container.select('a[name=3D"imglink"]')[0];=0A=
    var img =3D container.select('i[name=3D"img"]')[0];=0A=
    var imgurl =3D container.readAttribute('imgurl');=0A=
    var imgid =3D container.readAttribute('imgid');=0A=
    var imgtype =3D img.readAttribute('type');=0A=
    if(imgtype =3D=3D 'small') {=0A=
	img.style.backgroundImage =3D 'url(' + imgurl + 'i-' + imgid + ')';=0A=
	img.style.width =3D img.readAttribute('fw') + 'px';=0A=
	img.style.height =3D img.readAttribute('fh') + 'px';=0A=
	img.writeAttribute('type', 'big');=0A=
	link.update('=F1=E2=E5=F0=ED=F3=F2=FC');=0A=
    } else {=0A=
	img.style.backgroundImage =3D 'url(' + imgurl + 'p-' + imgid + ')';=0A=
	img.style.width =3D '120px';=0A=
	img.style.height =3D '120px';=0A=
	img.writeAttribute('type', 'small');=0A=
	link.update('=F3=E2=E5=EB=E8=F7=E8=F2=FC');=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=
function toggleDialogImage2(link, pp) {=0A=
    var container =3D $(link.parentNode);=0A=
    var sub_container =3D null;=0A=
    if(pp =3D=3D 1) { =0A=
    	sub_container =3D container;=0A=
    	container =3D $(container.parentNode);=0A=
    }=0A=
    if(pp =3D=3D 2) {=0A=
    	sub_container =3D container.select('div[name=3D"sub"]')[0];=0A=
    }=0A=
    link =3D container.select('a[name=3D"imglink"]')[0];=0A=
    var img_small =3D container.select('div[name=3D"img_small"]')[0];=0A=
    var img_big =3D container.select('div[name=3D"img_big"]')[0];=0A=
    var imgurl =3D container.readAttribute('imgurl');=0A=
    var imgid =3D container.readAttribute('imgid');=0A=
    var imgtype =3D container.readAttribute('type');=0A=
    var view_paint =3D null;=0A=
    if(pp) view_paint =3D =
container.select('div[name=3D"view_paint"]')[0];=0A=
    if(imgtype =3D=3D 'small') {  	=0A=
    var img =3D container.select('img[name=3D"img"]')[0];=0A=
    img.src =3D imgurl + 'i-' + imgid;=0A=
    img_small.hide();=0A=
	img_big.show();=0A=
	container.writeAttribute('type', 'big');=0A=
	link.update('=F1=E2=E5=F0=ED=F3=F2=FC');=0A=
	if(pp)	sub_container.style.width =3D img_big.style.width;=0A=
	if(view_paint) view_paint.show();=0A=
	if(img_big.style.width.split("px")[0] > 444) {=0A=
		img_big.style.width =3D "444px";=0A=
		if(pp) sub_container.style.width =3D "444px";=0A=
	}=0A=
    } else {=0A=
    img_big.hide();=0A=
	img_small.show();=0A=
	container.writeAttribute('type', 'small');=0A=
	link.update('=F3=E2=E5=EB=E8=F7=E8=F2=FC');=0A=
	if(view_paint) view_paint.hide();=0A=
	if(pp)	sub_container.style.width =3D img_small.style.width;=0A=
    }=0A=
    return false;=0A=
}=0A=
=0A=

------=_NextPart_000_0000_01CAB64D.6346ECD0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://img3.imgsmail.ru/mail/ru/images/js/myjs/alert_v2.js?6

function ListAlert(params) {=0A=
    if(params) {=0A=
	for(var i in params) this[i] =3D params[i];=0A=
    } else { throw('Error in ListAlert!!!') }=0A=
    this.title =3D document.title;=0A=
    this.alertDelete.observe('click', =
this.deleteAlert.bindAsEventListener(this));=0A=
    window.onfocus =3D window.onFocus =3D =
this.ifFocus.bindAsEventListener(this);=0A=
    $(document).observe('focus', this.ifFocus.bindAsEventListener(this));=0A=
    this.chTitle =3D 0;=0A=
    this.interval =3D setInterval(this.listen.bind(this, null), =
this.listenInterval);=0A=
}=0A=
=0A=
ListAlert.prototype.ifFocus =3D function(){=0A=
    if(this.chtitleInterval) clearInterval(this.chtitleInterval);=0A=
    document.title =3D this.title;=0A=
}=0A=
=0A=
ListAlert.prototype.listen =3D function(data){=0A=
    if(data) {=0A=
		if(data.Alert_1_AlertID =3D=3D this.alertID) return;=0A=
		if(data.Alert_1_Type){=0A=
			if(!this.AlertTemplater) {=0A=
				if(window.Booster) if(window.Booster.wait) window.Booster.wait();=0A=
				this.forTemplate =3D data;=0A=
				var tmpls =3D document.createElement('script');=0A=
				tmpls.src =3D this.tmplSrc;=0A=
				document.body.appendChild(tmpls);=0A=
				return;=0A=
			}=0A=
			this.data =3D this.prepareData(data);=0A=
			var Alert =3D new =
Template(unescape(this.AlertTemplater(data['Alert_1_Type'])));=0A=
			this.alertContainer.innerHTML =3D Alert.evaluate(this.data);=0A=
			this.alertContainer.select('a').each(function(el) { =
if(el.readAttribute('phref')) el.href =3D el.readAttribute('phref') });=0A=
			this.massObserve('[name=3D"DeleteThis"]','click', =
this.deleteAlert.bindAsEventListener(this) );=0A=
			this.boosterObserve();=0A=
			this.alertContainer.parentNode.style.display =3D '';=0A=
			if(this.chtitleInterval) clearInterval(this.chtitleInterval);=0A=
			this.chtitleInterval =3D =
setInterval(this.setTitle.bindAsEventListener(this), this.titleInterval);=0A=
		} else {=0A=
			this.alertContainer.parentNode.style.display =3D 'none';=0A=
			this.ifFocus();=0A=
		}=0A=
    } else this.newAlert();=0A=
}=0A=
=0A=
ListAlert.prototype.newAlert =3D function(del) {=0A=
	if(!del) del =3D '';=0A=
	var sc =3D document.getElementById('alertScript');=0A=
	if(sc) document.body.removeChild(sc);=0A=
	sc =3D document.body.appendChild(document.createElement('script'));=0A=
	sc.id =3D 'alertScript';=0A=
	sc.src =3D this.statusRequestURL + '&var=3D' + this.objName + del + '&' =
+ (new Date()).getTime();=0A=
}=0A=
=0A=
ListAlert.prototype.prepareData =3D function(data){=0A=
    for(i in this.myvars) data[i] =3D this.myvars[i];=0A=
    data.photohost =3D this.photohost;=0A=
    data.AvatarChangeTime =3D (new Date()).getTime();=0A=
    data.sex =3D (data.Alert_1_Sex =3D=3D 2 ? '=E0' : '');=0A=
    data.classmatesSex =3D (data.Alert_1_Sex =3D=3D 2 ? '=E0=F1=FC' : =
'=F1=FF');=0A=
    data.back_value =3D escape(location.href);=0A=
    if(data.Alert_1_Event && (/^\-?\d+$/).test(data.Alert_1_Event)) =
data.Alert_1_JournalID =3D data.Alert_1_Event;=0A=
    this.alertID =3D data.Alert_1_AlertID;=0A=
    if(data['Alert_1_Type'] =3D=3D 11 || data['Alert_1_Type'] =3D=3D 20 =
|| data['Alert_1_Type'] =3D=3D 21) =0A=
		data['Alert_1_Event'] =3D this.eventUnescape(data['Alert_1_Event']);=0A=
	if(data['Alert_1_Type'] =3D=3D 13 || data['Alert_1_Type'] =3D=3D 14 || =
data['Alert_1_Type'] =3D=3D 15 || data['Alert_1_Type'] =3D=3D 18 || =
data['Alert_1_Type'] =3D=3D 21) {=0A=
		if(data.Alert_1_UserAvatarDir && data.Alert_1_UserAvatarID) {=0A=
			var small =3D (data['Alert_1_Type'] =3D=3D 18 || data['Alert_1_Type'] =
=3D=3D 21) ? 'small' : '';=0A=
			data.comm_avatar_url =3D this.photohost + data.Alert_1_UserAvatarDir =
+ '_cavatar' + small + '/' +=0A=
									data.Alert_1_UserAvatarID + '?' + data.AvatarChangeTime;=0A=
		}=0A=
		else {=0A=
			data.comm_avatar_url =3D =
"http://img0.imgsmail.ru/mail/ru/images/community.jpg";=0A=
		}=0A=
	}=0A=
    return data;=0A=
}=0A=
=0A=
ListAlert.prototype.setTitle =3D function(){=0A=
    this.chTitle =3D !this.chTitle;=0A=
    if(this.chTitle) {=0A=
		var t =3D this.alertContainer.getElementsByTagName('h5');=0A=
		if(t && t.length) document.title =3D t[0].lastChild.nodeValue;=0A=
	}=0A=
    else document.title =3D this.title;=0A=
}=0A=
=0A=
ListAlert.prototype.deleteAlert =3D function(t){=0A=
    $(this.alertContainer.parentNode).hide();=0A=
	this.newAlert('&' + (this.alertID ? 'ida=3D' + this.alertID : =
this.mSpec ? this.mSpec + '=3D1' : 'idma=3D' + this.mSubmited));=0A=
}=0A=
ListAlert.prototype.eventUnescape =3D function(text) {=0A=
    text =3D text.replace(new RegExp("&lt;", "gi"), '<');=0A=
    text =3D text.replace(new RegExp("&gt;", "gi"), '>');=0A=
    text =3D text.replace(new RegExp("&quot;", "gi"), '"');=0A=
    text =3D text.replace(new RegExp("&amp;nbsp;", "gi"), ' ');=0A=
    text =3D text.replace(new RegExp("&amp;laquo;", "gi"), '=AB');=0A=
    text =3D text.replace(new RegExp("&amp;raquo;", "gi"), '=BB');=0A=
    return text;=0A=
}=0A=
ListAlert.prototype.massObserve =3D function(tags, event, observer){=0A=
    var elements =3D this.alertContainer.select(tags);=0A=
    for(var i =3D 0;i < elements.length; i++) elements[i].observe(event, =
observer);=0A=
    return elements;=0A=
}=0A=
ListAlert.prototype.boosterObserve =3D function(){=0A=
    if(window.Booster.inited) Booster.fetchAnchors(this.alertContainer);=0A=
	else if(window.MRIM) MRIM.fetch(this.alertContainer);=0A=
}=0A=

------=_NextPart_000_0000_01CAB64D.6346ECD0--
