From: <Saved by Windows Internet Explorer 7>
Subject: Psychology of Pain: ABC News: How Chronic Pain Gets Into Your Head
Date: Thu, 7 Feb 2008 17:06:32 -0600
MIME-Version: 1.0
Content-Type: multipart/related;
	type="multipart/alternative";
	boundary="----=_NextPart_000_0066_01C869AB.CA0BBC70"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

This is a multi-part message in MIME format.

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://www.blogger.com/img/icon18_email.gif

R0lGODlhEgANAOMAAIqKioCAgOXl5f////Ly8urq6uTk5AAAAMzMzLS0tBoaGjMzM2ZmZk1NTf//
/////ywAAAAAEgANAAAEWRDISSsIk+jN+QUIQAxkaRIgVoSjWaKIoa6iOxygIQNFz56Lg27X89UO
isMiqZv1AAnRgdFYHoROqEAAQCqZxIJ2SxYsA03euLw9CBJozJpdhmMC+Lx+j48AADs=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://www.blogger.com/img/icon18_edit_allbkg.gif

R0lGODlhEgASAOMAANDHu6pqNFRTUOWjJQAAABYWFhAJA9CPKUk1ErmIF+KjUygVBjMmBv/BMfy2
I9DHuyH5BAEAAA8ALAAAAAASABIAAARP8MlJq72TYLyM3hQRBB4oFcoxlhujAMAKIk6jKMKHIY0z
qLoLz3dIFEAMBzGBABkGy+aGkCAGpBjRcmEKAFKB4KUAg4kvhPJ5TCBgTfBKBAA7

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://www.feedburner.com/fb/images/pub/feed-icon16x16.png

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0
U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKOSURBVHjadJNNSFRRGIbfc+6dO6OOOplD
ykSZaRCtnKRc+ANRUBFEm0gicxG0bGoVhERRYIvIjRAtW+UmW5QQQS6qRWQSWJRaUcjkT0LiVWfm
/pzTd869M5LShe+eufC973m+n2Fj55KJymTt9ZgVy3AGMHoxvvEs/qZgDL4AlhbsAfv34g1TiRPx
RMZbWwU3GQzO9clNhGcYBpkY4UlGiWRd5scnMvx5tUWano9IMoXy1pOUBPgz4xC/xv8r1hSexNKi
B1Nhq6RIbQoVhy6i+MiCDffDEPyJITBvZZPYLwiQFFzVZ0Q45Moc8q8fwP34FGJ5FixaCevgBZT1
DMNs7Nok9iikL8GyfWkZ3VgvhbljP6yOy2BbmzWR/+o2vM/PSmLfkchTaAIlsHa1ourSS5Sfvg8r
3Q38mYb7+DzE9Ig2MDquAan2kth3AgKu0JSBapLCNranEWnPIHp2GDzZDEE3+1OBiXW4D4LHtViZ
CB/rBHJuHPmHp+CO3oK0Zyk7DvP4IGR1EwrPb673JX0mELslgvVRYW0O8usIvCe9AboyOdIPn1Ug
9+Kupihr69ZiZSJFsYRwztbRO4icGARv6IT3ZkCTsKp68J2dyE2MQuZtsFgllbZHTyMsAVqsaldC
Vt8CtvsYPHsZzvtH+tZIc5e+sfBtLOhFYytRFAlYuGGED2clGNn8lO62m53U37y6XmM7M8E3onEI
IpCSLp/vPyC31Bp6SUSsjmIbnO9jpVEZqbROzn15F5RDZs5CFs58FmaNBTZ5Ze+9hn11Genl/1mS
0qjChumaCVvo2iViNXHkuD1g9Daxt7lVEQPMNpcSdah1pQb5kqho4yVXQc2iacHiMMpNFPia/jv/
FWAAUTVTOunExzkAAAAASUVORK5CYII=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://www.answers.com/main/images/answers_small2.gif

R0lGODlhaQAVANUAAEBms3+ZzO/y+Z7OQN/l8lBzuWCAv3CNxt/vvxBAn5+y2b/M5TBZrK+/36/W
YCBNpo+l0qbSUM7nn77ef7fbcIbCEM/Z7JbKMOfzz/f77+/338bijzc1NY7GIGloaM3MzFBOTubm
5tfrr0RCQl1bW6empsDAwPLy8n6+AAAzmf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAABpABUAAAb/QJVw
SCwaj8ikcslsOp/QqHRKrVqvWKvAEMh6v1hAKgEum52ElFpwbruJEHWq8a6fGQe1wc73WlIEDGNE
AhAABAsGBhZDCgAABQsCAZQBk5UqlQSTj5YqkwUqB4cCowAHbEYaGwMREkMSDgMUCLAOGBgOtyoS
ERQZSaOianRCD2qCcgQqCikMCwUJBMcpBQLJoXkMFoIAEAkMKglqYikLYgcNCV1FGBUVESgoFCoD
KBcUFSgOKvH38igqOAA4IMmDAwvipNgjxAC5BXlSdCmQAoAAAgBULFBzQEWaFBA8msvz4NOxBg7H
CNoIUkUDBUUy6MOgYmCECfI08JInQYK8/wsIBqIYgOCCPGBGWDIAMC5FKhVq2EVVofABTCFiyAhA
xqwkNTkSt6a4qoLaISMb7g2pZe/CkA5DVciboEKDvFoi7h4xkFFIRLJToUr8RFGPkGZjFTS1UCBk
YCJqFgyx0DQBIyI4CxL5OcRewblC9CLQW2QrWaVDAj9WrGZZWWeN1VBkc6yvRyGRCUUMFeLDCRU4
UdAUksEeis5x7dGVi6LW6OZGAgCCnFuw1MEF6Ii9LH3MFsMqUgJ4aVlwMRUM2OTJCIIDCRXPK0hA
EOGmvA0qZKLAD3e5aNJDdGeAZJPIYRVihyh0SDQKOBSOEAKMs0cD1RHQlGERjYdbdoKENG0CBxwI
IZQ8FdBkVAUUxFPQcwNkENwvxvFDBCSj0IERJXwFUIApBOxYACl8AeBJgA+4VgBDQhAQ5FVCjhKS
Sz9mJ4QJHpQAywADOKCTEBJgOcArKlBAgSwazFIfBjdl2ceabLbp5ptwxilnnEEAADs=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://buttons.blogger.com/bloggerbutton1.gif

R0lGODlhWAAfAOYAAPjx6P9mAABDev///+jcy8i1n+/m2e3j1ezi1O7k1vTr4fPr4PTs4vXt4vLp
3vPq3/Hp3fHo2/Dn2kJxl7bDy/+zgOfl4SFaiRFPgYSgtf/Zv/8AAP+MQFN9nw5NgNfa2XSUrf+W
UB1XhjJmkDxsk8bO0jxskv9wEGOJpjtrkUFwlrW/xJWrvLS+wrW/w/ngy//Gn/yaV9LSzrW/xdXW
0ztskv/iz0p2mPmWUsTKy/5uDvDUu0t3mZeruLbAxkt2mdXV0sTJybO/xv/s3/HWvlqAnvmVUYae
r4efsP9vD1F7naW0vcTKyniVqmmLpdTU0ZWptf+DMJirueTg2ixhjNTW1Et2mC1ijYegsniWq7O+
xv/172iKo6e2v5aruKSzu7TAxsPJzP+fYJaptsPIyHmWrGqMpkp1l2mLpLO9wQAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5
BAEAABsALAAAAABYAB8AAAf/gBsbBISFhoeIiYqLjI2OiIKDCJOUlZaXmJmam5ydlwSDB6KjpKWm
p6ipqqusqAUECbE7RgG1tre4tkY7sb2+v8DBwsPEwa8GBkQ6uczMOkTI0SkpUNFcKWdf0dvc3d7f
4NHHBjjN5rg43Gkp2ylHRyLh8vPzrxIS5/m29/wtNfwSarSQIUDGGA8iyCC5IcEDEn8Sbghg2IJK
QYAYM2q89ypCBGYhKogUKeaEOY8oXZhAGcFEERErPSxBYyKIBxcCrDQpskREBBEuXIgIwrKo0aMo
X0GAgOuEhgFQow7YEqLZ0qsrTFyFYALLCghMBEBYIVaAkx8efnjJIqDtiqxb/+PKnbv1lQMHuJ5K
3RuF2d2/M0j8dUBixl8BT3oIJuGhhwgROXKIACx4sOXLmP++evDgVoi9oGEw40z6igcppEn4IG3G
g4AuD8oIAMLDA+faHoD4IEG6t+/fwB+8WrDgVoWoMDgo/wx1CDPi0KNLh05jyvToNGhc385d+isF
CoxHrVrrxJCoJnGBX8++vZYw7ePLn0+f/isGDMRHtaFBr1QNHNyC34BKqGCgEkLgJ4QAKgzo4IMQ
RijhhPi90kAD+oEGWgW3XOhhWyAKUEUDYDDo4Ykopqjiiixe+AoAAGSooVQc2gLjjW0BYEEHAmQA
AAUCTHDjkEQWaeSRSML4Yv+Mthy3X3/92UDjLUTmCAAIPf4YJIwWoNAWChbAWMIFAoCQQQdcThAk
CxN8AGMGGAQZJgAdZOAlC0QumSF5nkVVYy1V9ggCBheECaSQAKh5AZmIknlBnALA6CWhbVEAAAsC
XDDClgC09ailQ+rZJHLKlcoBDH5SOWSIZcJ4qI4CYGCBBXFa8EGsWkYKAJkl0CqApZu6SWaYbX0w
Z6gEwNjnjHsFaOOqv1KwKQhaCvlqotFyaqWValraVgYZkOmtrkWKaot/zGqAS6Cu5vjqtd1eu62u
3XYa5AT4umlluckyaYtTzA6gQXrP4qhrBu5uaUGss9Z6Kwa5wsirr8AKUALHu0aa69lIHFfg7LrQ
4tsWmkBi4KOijEoswAiQSpopmb8CgDAGE7AM47559quPPkRCOvKcm6K5489ikomlrhaoWXPMMsPc
gZsYQJxxvzHsbE4MSWaNJM4w1qs1vzC+kITVuSTxwtdfs2AmjxeIiUIGR7uJNrI3vlA12bXEcPbc
WfPYFgZ4yhwitXzfuGThiPNdAgUUHAvAB4zLnXgBGxSQ+OWYZ65kJAV07vnnoIcu+uikl2766aFH
ovrqrLfu+uuwxy777IIEAgA7

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Location: http://s26.sitemeter.com/meter.asp?site=s26ppain

R0lGODlhFAAUALMAAEt3LsvYw9ji0r7OtFiAPfL18LHEpT5tH+Xr4TFjEAAAAP///wAAAAAAAAAA
AAAAACH5BAAAAAAALAAAAAAUABQAAARaUMlJq104650l/5sHjuL4lWaopBiCdKsWCJoQAAe8JXl2
JEAdprAIZoDGRekAALoITaRLuTIMkLwfNtGkFrXbcMLLZR7O6DOu63G53/ApioWZ0+0sfMrC70cA
ADs=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/css/blog_controls.css

.item-control {
	DISPLAY: none
}
.item-control A {
	TEXT-DECORATION: none! important
}
.item-action A {
	TEXT-DECORATION: none! important
}
.widget-item-control {
	FLOAT: right
}
.icon-action {
	MARGIN: 0px 0px -5px 0.5em; BORDER-TOP-STYLE: none! important; =
BORDER-RIGHT-STYLE: none! important; BORDER-LEFT-STYLE: none! important; =
BORDER-BOTTOM-STYLE: none! important
}
.delete-comment-icon {
	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; BACKGROUND: =
url(/img/icon_delete13.gif) no-repeat left 50%; PADDING-BOTTOM: 7px; =
PADDING-TOP: 7px
}

@media All   =20
{
.BLOG_mobile_video_class {
	DISPLAY: none
}

}

@media Handheld   =20
{
.BLOG_mobile_video_class {
	DISPLAY: inline
}
.BLOG_video_class {
	DISPLAY: none
}

}

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/css/navbar/classic.css

HTML BODY {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY #wrapper {
	MARGIN-TOP: 30px
}
BODY #header {
	MARGIN-TOP: 50px
}
#leftcontent {
	_margin-top: 30px
}
#rightcontent {
	MARGIN-TOP: 30px! important
}
#Main #Title {
	MARGIN-TOP: 30px! important
}
BODY #wrap #wrap2 #header {
	MARGIN-TOP: 0px
}
BODY #wrap {
	MARGIN-TOP: 34px
}
#blog-header {
	MARGIN-TOP: -4px
}
BODY #wrap4 {
	PADDING-RIGHT: 15px; MARGIN-TOP: -4px; PADDING-LEFT: 15px; =
PADDING-BOTTOM: 0px; PADDING-TOP: 15px
}
#space-for-ie {
	DISPLAY: none; _border: 0; _display: block
}
#navbar-iframe {
	Z-INDEX: 500; LEFT: 0px; POSITION: absolute; TOP: 0px
}

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://www.blogger.com/img/navbar/1/btn_search_this.png

iVBORw0KGgoAAAANSUhEUgAAAGAAAAAPCAMAAAAs5DqFAAAAdVBMVEUfWIwJQ3h+seRhlckmX5MJ
QnhLgbUQSn88c6dSiLtonNAIQngYUYYIQndCd6t3qt0uZpo1bKFCeKxvo9ZDeq4/cqQwYpJCeKsS
S4ARRHdZjsISSoBDeKw+caMwYpMvYpI/caMlXJESSn0mXZElXZESSX0mXZKP7sSuAAABZUlEQVR4
XrWS14rlQAwFVerknH3jhM3//4mLLJjdl4F58cFGgS6KNpbfb9+G5ay8Xu7y/uvJabn9vMh+aznR
sMvSnyho20GufYJ51JmoqhGyZqwfZ5BVM1FBI7CpasBHVKNjcJAbhA1sl73U0DPIQoJxKsVISxMa
Q6gU1orun8CLj2zBMRcwqQmwXaeCvQKJqwy9CZqDjBGKzlqsrxtEC77/EPjoAsfAT7sguqhqsKR2
kZeUQFadiBoCTMrRN2P0Ox37D4GPLnDMT6z1/wK2EFUhschgAnj4x4U8hjFbnwOiHXz6iRxzAUXF
BIgWmop5JbpArqmFKj7q4+6FUMfaZHTa0dQxfiKom+IYGFmpGNqxbpN2dGNVKdAO8mKCHOqChBCE
IEiwhzxT6lBZb1vw4iMhiGNwkBPkEGbkYa2VDKlf/Dc9Le0ir7cTBf1tl8v3Z5vS/Yvxg1/O88+b
/Ljs1+Ws7O/3v7uMJw2wTNG0AAAAAElFTkSuQmCC

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/v-css/navbar/2173601441-navbar.css

#b-navbar {
	DISPLAY: block! important; Z-INDEX: 1; MIN-HEIGHT: 24px; LEFT: 0px; =
MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 7px; FONT: small "Trebuchet =
MS",Verdana,Arial,Sans-serif; WIDTH: 100%; COLOR: #47a; BORDER-BOTTOM: =
#024 1px solid; POSITION: absolute! important; TOP: 0px
}
.bt1 {
	FONT-SIZE: 1px; MARGIN: 0px 1px; LINE-HEIGHT: 1px; POSITION: relative; =
HEIGHT: 1px
}
.bt2 {
	PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 83%; PADDING-BOTTOM: =
2px; PADDING-TOP: 2px; POSITION: relative
}
#b-next {
	PADDING-LEFT: 5px
}
#b-search-this {
	MARGIN: 0px; TEXT-TRANSFORM: uppercase; CURSOR: pointer; WHITE-SPACE: =
nowrap; POSITION: relative; TEXT-DECORATION: none
}
#b-flag-this {
	PADDING-LEFT: 5px; MARGIN: 0px; TEXT-TRANSFORM: uppercase; CURSOR: =
pointer; WHITE-SPACE: nowrap; POSITION: relative; TEXT-DECORATION: none
}
#b-navbar #b-logo {
	BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; LEFT: 5px; =
BORDER-BOTTOM-WIDTH: 0px; POSITION: absolute! important; TOP: 0.15em; =
BORDER-RIGHT-WIDTH: 0px
}

@media All   =20
{
#b-search {
	MARGIN: 0px 0px 0px 34px; HEIGHT: 1em; BACKGROUND-COLOR: #147
}
#b-search TABLE {
	PADDING-RIGHT: 5px
}
#b-search TD {
	FONT-SIZE: 100%; LINE-HEIGHT: 0.8em
}
#b-more {
	FLOAT: right
}
#b-searchbtn {
	MARGIN-RIGHT: 5px
}
#b-more {
	FLOAT: right
}
#b-search TABLE {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: =
2px; PADDING-TOP: 2px; _padding: 1px 2px 1px
}
#b-search A {
	LINE-HEIGHT: 1em; TEXT-DECORATION: none
}
#b-search A:hover {
	LINE-HEIGHT: 1em; TEXT-DECORATION: none
}
#b-search TD {
	LINE-HEIGHT: 0.8; PADDING-TOP: 2px
}
#b-search TD TD {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
#b-searchbtn {
	DISPLAY: block
}

}

@media Handheld   =20
{
#b-search {
	DISPLAY: none! important
}
#b-more {
	DISPLAY: none! important
}
    }
.navbar-right {
	PADDING-RIGHT: 10px
}
TD.navbutton {
	PADDING-RIGHT: 5px; _padding-top: .3em
}
TD.navsearch {
	PADDING-LEFT: 5px
}
#b-query {
	VERTICAL-ALIGN: top; WIDTH: 12em; MARGIN-RIGHT: 0.25em
}
#b-query {
	FONT-SIZE: x-small! important
}

@media All   =20
{
BODY DIV.b-mobile {
	DISPLAY: none
}
#b-sms {
	DISPLAY: none! important
}

}

@media Handheld   =20
{
BODY DIV.b-mobile {
	DISPLAY: block
}
#b-sms {
	PADDING-RIGHT: 7px; DISPLAY: block! important; PADDING-LEFT: 7px; =
FONT-SIZE: 100%; PADDING-BOTTOM: 4px; MARGIN: 0px 0px 0px 100px; =
LINE-HEIGHT: 1em; PADDING-TOP: 4px; TEXT-ALIGN: left
}
#b-sms A {
	LINE-HEIGHT: 1em; MARGIN-RIGHT: 0.5em; WHITE-SPACE: nowrap; =
TEXT-DECORATION: none
}
#b-sms A:hover {
	COLOR: #fff; TEXT-DECORATION: underline
}

}

@media All   =20
{
#flagi {
	PADDING-RIGHT: 1px; DISPLAY: none; PADDING-LEFT: 1px; Z-INDEX: 300; =
PADDING-BOTTOM: 1px; PADDING-TOP: 1px; TOP: 7px; BACKGROUND-COLOR: #333
}
#unflagi {
	PADDING-RIGHT: 1px; DISPLAY: none; PADDING-LEFT: 1px; Z-INDEX: 300; =
PADDING-BOTTOM: 1px; PADDING-TOP: 1px; TOP: 7px; BACKGROUND-COLOR: #333
}

}

@media Handheld   =20
{
#flagi {
	DISPLAY: none! important
}
#unflagi {
	DISPLAY: none! important
}
    }
#flagi-body {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; PADDING-BOTTOM: 3px; LINE-HEIGHT: 14px; PADDING-TOP: 3px; =
FONT-FAMILY: "Trebuchet MS", Vedana, Arial, Sans-serif; =
BACKGROUND-COLOR: #ffff99; TEXT-ALIGN: center
}
#flagi-body A {
	FONT-SIZE: 10px; COLOR: #3366cc; TEXT-DECORATION: none
}
#flagi-body A:hover {
	TEXT-DECORATION: underline
}
#unflagi-body {
	PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; PADDING-BOTTOM: 3px; LINE-HEIGHT: 14px; PADDING-TOP: 3px; =
FONT-FAMILY: "Trebuchet MS", Vedana, Arial, Sans-serif; =
BACKGROUND-COLOR: #ffff99; TEXT-ALIGN: center
}
#unflagi-body A {
	FONT-SIZE: 10px; COLOR: #3366cc; TEXT-DECORATION: none
}
#unflagi-body A:hover {
	TEXT-DECORATION: underline
}

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/v-css/navbar/2795506556-1.css

#b-navbar {
	COLOR: #47a; BORDER-BOTTOM: #024 1px solid; BACKGROUND-COLOR: #036
}
#b-search TABLE {
	BACKGROUND: url(../../img/navbar/1/corner.gif) #147 no-repeat left =
bottom
}
#b-query {
	BORDER-RIGHT: #47a 1px solid; BORDER-TOP: #47a 1px solid; BORDER-LEFT: =
#47a 1px solid; BORDER-BOTTOM: #47a 1px solid
}
#b-search A {
	COLOR: #9cf
}
#b-search TD {
	COLOR: #fff
}
#b-search A:hover {
	COLOR: #fff
}
#b-sms A {
	COLOR: #9cf
}
#b-sms A:hover {
	COLOR: #fff
}
#navbar-logo {
	BACKGROUND-IMAGE: url(../../img/navbar/1/logobar.png); WIDTH: 24px; =
HEIGHT: 24px
}
#b-search-this {
	BACKGROUND: #114477
}
.bt1 {
	BACKGROUND-COLOR: #4477aa
}
.bt2 {
	BORDER-RIGHT: #4477aa 1px solid; BORDER-LEFT: #4477aa 1px solid; COLOR: =
#99ccff; BACKGROUND-COLOR: #114477
}
DIV.bt2:hover {
	BACKGROUND-COLOR: #4477aa
}
#bt-flag {
	PADDING-LEFT: 8px; BACKGROUND: url(../../img/navbar/1/flag.gif) =
no-repeat left 50%
}

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/v-js/3625575137-cookies.common.js

// Copyright 2005, Google Inc.=0A=
// =0A=
// Operations on cookies that are common across our pages.=0A=
//=0A=
// Original Author: Pal Takacsi-Nagy (pal@google.com)=0A=
=0A=
=0A=
/**=0A=
 * Sets a Cookie with the given name and value.=0A=
 *=0A=
 * name       Name of the cookie=0A=
 * value      Value of the cookie=0A=
 * [expires]  Expiration date of the cookie (default: end of current =
session)=0A=
 * [path]     Path where the cookie is valid (default: path of calling =
document)=0A=
 * [domain]   Domain where the cookie is valid=0A=
 *              (default: domain of calling document)=0A=
 * [secure]   Boolean value indicating if the cookie transmission =
requires a=0A=
 *              secure transmission=0A=
 */=0A=
function setCookie(name, value, domain, expires, path, secure) {=0A=
    document.cookie =3D name + "=3D" + escape(value) +=0A=
        ((expires) ? "; expires=3D" + expires.toGMTString() : "") +=0A=
        ((path) ? "; path=3D" + path : "") +=0A=
        ((domain) ? "; domain=3D" + domain : "") +=0A=
        ((secure) ? "; secure" : "");=0A=
}=0A=
=0A=
/**=0A=
 * Gets the value of the specified cookie.=0A=
 *=0A=
 * name  Name of the desired cookie.=0A=
 *=0A=
 * Returns a string containing value of specified cookie,=0A=
 *   or null if cookie does not exist.=0A=
 */=0A=
function getCookie(name) {=0A=
    var dc =3D document.cookie;=0A=
    var prefix =3D name + "=3D";=0A=
    var begin =3D dc.indexOf("; " + prefix);=0A=
=0A=
    if (begin =3D=3D -1) {=0A=
        begin =3D dc.indexOf(prefix);=0A=
        if (begin !=3D 0) return null;=0A=
    } else {=0A=
        begin +=3D 2;=0A=
    }=0A=
=0A=
    var end =3D document.cookie.indexOf(";", begin);=0A=
=0A=
    if (end =3D=3D -1) {=0A=
        end =3D dc.length;=0A=
    }=0A=
=0A=
    return unescape(dc.substring(begin + prefix.length, end));=0A=
}=0A=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/v-app/scripts/1019856700-common.js

// Copied from .../google3/javascript/common.js=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// This file contains common utilities and basic javascript =
infrastructure.=0A=
//=0A=
// Notes:=0A=
// * Press 'D' to toggle debug mode.=0A=
//=0A=
// Functions:=0A=
//=0A=
// - Assertions=0A=
// DEPRECATED: Use assert.js=0A=
// AssertTrue(): assert an expression. Throws an exception if false.=0A=
// Fail(): Throws an exception. (Mark block of code that should be =
unreachable)=0A=
// AssertEquals(): assert that two values are equal.=0A=
// AssertNumArgs(): assert number of arguments for the function=0A=
// AssertType(): assert that a value has a particular type=0A=
//=0A=
// - Cookies=0A=
// SetCookie(): Sets a cookie.=0A=
// ExpireCookie(): Expires a cookie.=0A=
// GetCookie(): Gets a cookie value.=0A=
//=0A=
// - Dynamic HTML/DOM utilities=0A=
// MaybeGetElement(): get an element by its id=0A=
// GetElement(): get an element by its id=0A=
// GetParentNode(): Get the parent of an element=0A=
// GetAttribute(): Get attribute value of a DOM node=0A=
// SetInnerHTML(): set the inner HTML of a node=0A=
// GetInnerHTML(): get the inner HTML of a node=0A=
// ClearInnerHTML(): clear the inner HTML of a node=0A=
// SetCssStyle(): Sets a CSS property of a node.=0A=
// GetStyleProperty(): Get CSS property from a style attribute string=0A=
// ShowElement(): Show/hide element by setting the "display" css =
property.=0A=
// ShowBlockElement(): Show/hide block element=0A=
// SetButtonText(): Set the text of a button element.=0A=
// AppendNewElement(): Create and append a html element to a parent node.=0A=
// CreateDIV(): Create a DIV element and append to the document.=0A=
// CreateIFRAME(): Create an IFRAME and append to the document.=0A=
// HasClass(): check if element has a given class=0A=
// AddClass(): add a class to an element=0A=
// RemoveClass(): remove a class from an element=0A=
//=0A=
// - Window/Screen utiltiies=0A=
// GetPageOffsetLeft(): get the X page offset of an element=0A=
// GetPageOffsetTop(): get the Y page offset of an element=0A=
// GetPageOffset(): get the X and Y page offsets of an element=0A=
// GetPageOffsetRight() : get X page offset of the right side of an =
element=0A=
// GetPageOffsetRight() : get Y page offset of the bottom of an element=0A=
// GetScrollTop(): get the vertical scrolling pos of a window.=0A=
// GetScrollLeft(): get the horizontal scrolling pos of a window=0A=
// IsScrollAtEnd():  check if window scrollbar has reached its maximum =
offset=0A=
// ScrollTo(): scroll window to a position=0A=
// ScrollIntoView(): scroll window so that an element is in view.=0A=
// GetWindowWidth(): get width of a window.=0A=
// GetWindowHeight(): get height of a window=0A=
// GetAvailScreenWidth(): get available screen width=0A=
// GetAvailScreenHeight(): get available screen height=0A=
// GetNiceWindowHeight(): get a nice height for a new browser window.=0A=
// Open{External/Internal}Window(): open a separate window=0A=
// CloseWindow(): close a window=0A=
//=0A=
// - DOM walking utilities=0A=
// AnnotateTerms(): find terms in a node and decorate them with some tag=0A=
// AnnotateText(): find terms in a text node and decorate them with some =
tag=0A=
//=0A=
// - String utilties=0A=
// HtmlEscape(): html escapes a string=0A=
// HtmlUnescape(): remove html-escaping.=0A=
// QuoteEscape(): escape " quotes.=0A=
// CollapseWhitespace(): collapse multiple whitespace into one =
whitespace.=0A=
// Trim(): trim whitespace on ends of string=0A=
// IsEmpty(): check if CollapseWhiteSpace(String) =3D=3D ""=0A=
// IsLetterOrDigit(): check if a character is a letter or a digit=0A=
// ConvertEOLToLF(): normalize the new-lines of a string.=0A=
// HtmlEscapeInsertWbrs(): HtmlEscapes and inserts <wbr>s (word break =
tags)=0A=
//   after every n non-space chars and/or after or before certain =
special chars=0A=
//=0A=
// - TextArea utilities=0A=
// GetCursorPos(): finds the cursor position of a textfield=0A=
// SetCursorPos(): sets the cursor position in a textfield=0A=
//=0A=
// - Array utilities=0A=
// FindInArray(): do a linear search to find an element value.=0A=
// DeleteArrayElement(): return a new array with a specific value =
removed.=0A=
// CloneObject(): clone an object, copying its values recursively.=0A=
// CloneEvent(): clone an event; cannot use CloneObject because it=0A=
//               suffers from infinite recursion=0A=
//=0A=
// - Formatting utilities=0A=
// PrintArray(): used to print/generate HTML by combining static text=0A=
// and dynamic strings.=0A=
// ImageHtml(): create html for an img tag=0A=
// FormatJSLink(): formats a link that invokes js code when clicked.=0A=
// MakeId3(): formats an id that has two id numbers, eg, foo_3_7=0A=
//=0A=
// - Miscellaneous=0A=
// IsDefined(): returns true if argument is not undefined=0A=
//-----------------------------------------------------------------------=
-=0A=
=0A=
// browser detection=0A=
var agent =3D navigator.userAgent.toLowerCase();=0A=
var is_ie =3D (agent.indexOf('msie') !=3D -1);=0A=
//var is_ie5 =3D (agent.indexOf('msie 5') !=3D -1 && document.all);=0A=
var is_konqueror =3D (agent.indexOf('konqueror') !=3D -1);=0A=
var is_safari =3D (agent.indexOf('safari') !=3D -1) || is_konqueror;=0A=
var is_nav =3D !is_ie && !is_safari && (agent.indexOf('mozilla') !=3D =
-1);=0A=
var is_win =3D (agent.indexOf('win') !=3D -1);=0A=
delete agent;=0A=
=0A=
=0A=
var BACKSPACE_KEYCODE =3D 8;=0A=
var COMMA_KEYCODE =3D 188;                // ',' key=0A=
var DEBUG_KEYCODE =3D 68;                 // 'D' key=0A=
var DELETE_KEYCODE =3D 46;=0A=
var DOWN_KEYCODE =3D 40;                  // DOWN arrow key=0A=
var ENTER_KEYCODE =3D 13;                 // ENTER key=0A=
var ESC_KEYCODE =3D 27;                   // ESC key=0A=
var LEFT_KEYCODE =3D 37;                  // LEFT arrow key=0A=
var RIGHT_KEYCODE =3D 39;                 // RIGHT arrow key=0A=
var SPACE_KEYCODE =3D 32;                 // space bar=0A=
var TAB_KEYCODE =3D 9;                    // TAB key=0A=
var UP_KEYCODE =3D 38;                    // UP arrow key=0A=
var SHIFT_KEYCODE =3D 16;=0A=
=0A=
// This is a "constant" but has different values depending on the browser=0A=
var semicolon_keycode =3D (is_ie ? 186 : 59);=0A=
=0A=
var MAX_EMAIL_ADDRESS_LENGTH =3D 320;     // 64 + '@' + 255=0A=
var MAX_SIGNATURE_LENGTH =3D 1000;        // 1000 chars of maximum =
signature=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Assertions=0A=
// DEPRECATED: Use assert.js=0A=
//-----------------------------------------------------------------------=
-=0A=
/**=0A=
 * DEPRECATED: Use assert.js=0A=
 */=0A=
function raise(msg) {=0A=
  if (typeof Error !=3D 'undefined') {=0A=
    throw new Error(msg || 'Assertion Failed');=0A=
  } else {=0A=
    throw (msg);=0A=
  }=0A=
}=0A=
=0A=
/**=0A=
 * DEPRECATED: Use assert.js=0A=
 *=0A=
 * Fail() is useful for marking logic paths that should=0A=
 * not be reached. For example, if you have a class that uses=0A=
 * ints for enums:=0A=
 *=0A=
 * MyClass.ENUM_FOO =3D 1;=0A=
 * MyClass.ENUM_BAR =3D 2;=0A=
 * MyClass.ENUM_BAZ =3D 3;=0A=
 *=0A=
 * And a switch statement elsewhere in your code that=0A=
 * has cases for each of these enums, then you can=0A=
 * "protect" your code as follows:=0A=
 *=0A=
 * switch(type) {=0A=
 *   case MyClass.ENUM_FOO: doFooThing(); break;=0A=
 *   case MyClass.ENUM_BAR: doBarThing(); break;=0A=
 *   case MyClass.ENUM_BAZ: doBazThing(); break;=0A=
 *   default:=0A=
 *     Fail("No enum in MyClass with value: " + type);=0A=
 * }=0A=
 *=0A=
 * This way, if someone introduces a new value for this enum=0A=
 * without noticing this switch statement, then the code will=0A=
 * fail if the logic allows it to reach the switch with the=0A=
 * new value, alerting the developer that he should add a=0A=
 * case to the switch to handle the new value he has introduced.=0A=
 *=0A=
 * @param {string} opt_msg to display for failure=0A=
 *                 DEFAULT: "Assertion failed"=0A=
 */=0A=
function Fail(opt_msg) {=0A=
  if (opt_msg =3D=3D=3D undefined) opt_msg =3D 'Assertion failed';=0A=
  if (IsDefined(DumpError)) DumpError(opt_msg + '\n');=0A=
  raise(opt_msg);=0A=
}=0A=
=0A=
/**=0A=
 * DEPRECATED: Use assert.js=0A=
 *=0A=
 * Asserts that an expression is true (non-zero and non-null).=0A=
 *=0A=
 * Note that it is critical not to pass logic=0A=
 * with side-effects as the expression for AssertTrue=0A=
 * because if the assertions are removed by the=0A=
 * JSCompiler, then the expression will be removed=0A=
 * as well, in which case the side-effects will=0A=
 * be lost. So instead of this:=0A=
 *=0A=
 *  AssertTrue( criticalComputation() );=0A=
 *=0A=
 * Do this:=0A=
 *=0A=
 *  var result =3D criticalComputation();=0A=
 *  AssertTrue(result);=0A=
 *=0A=
 * @param {anything} expression to evaluate=0A=
 * @param {string}   opt_msg to display if the assertion fails=0A=
 *=0A=
 */=0A=
function AssertTrue(expression, opt_msg) {=0A=
  if (!expression) {=0A=
    if (opt_msg =3D=3D=3D undefined) opt_msg =3D 'Assertion failed';=0A=
    Fail(opt_msg);=0A=
  }=0A=
}=0A=
=0A=
/**=0A=
 * DEPRECATED: Use assert.js=0A=
 *=0A=
 * Asserts that two values are the same.=0A=
 *=0A=
 * @param {anything} val1=0A=
 * @param {anything} val2=0A=
 * @param {string} opt_msg to display if the assertion fails=0A=
 */=0A=
function AssertEquals(val1, val2, opt_msg) {=0A=
  if (val1 !=3D val2) {=0A=
    if (opt_msg =3D=3D=3D undefined) {=0A=
      opt_msg =3D "AssertEquals failed: <" + val1 + "> !=3D <" + val2 + =
">";=0A=
    }=0A=
    Fail(opt_msg);=0A=
  }=0A=
}=0A=
=0A=
/**=0A=
 * DEPRECATED: Use assert.js=0A=
 *=0A=
 * Asserts that a value is of the provided type.=0A=
 *=0A=
 *   AssertType(6, Number);=0A=
 *   AssertType("ijk", String);=0A=
 *   AssertType([], Array);=0A=
 *   AssertType({}, Object);=0A=
 *   AssertType(ICAL_Date.now(), ICAL_Date);=0A=
 *=0A=
 * @param {anything} value=0A=
 * @param {constructor function} type=0A=
 * @param {string} opt_msg to display if the assertion fails=0A=
 */=0A=
function AssertType(value, type, opt_msg) {=0A=
  // for backwards compatability only=0A=
  if (typeof value =3D=3D type) return;=0A=
=0A=
  if (value || value =3D=3D "") {=0A=
    try {=0A=
      if (type =3D=3D AssertTypeMap[typeof value] || value instanceof =
type) return;=0A=
    } catch (e) { /* failure, type was an illegal argument to instanceof =
*/ }=0A=
  }=0A=
  if (opt_msg =3D=3D=3D undefined) {=0A=
    if (typeof type =3D=3D 'function') {=0A=
      var match =3D type.toString().match(/^\s*function\s+([^\s\{]+)/);=0A=
      if (match) type =3D match[1];=0A=
    }=0A=
    opt_msg =3D "AssertType failed: <" + value + "> not typeof "+ type;=0A=
  }=0A=
  Fail(opt_msg);=0A=
}=0A=
=0A=
var AssertTypeMap =3D {=0A=
  'string'  : String,=0A=
  'number'  : Number,=0A=
  'boolean' : Boolean=0A=
};=0A=
=0A=
/**=0A=
 * DEPRECATED: Use assert.js=0A=
 *=0A=
 * Asserts that the number of arguments to a=0A=
 * function is num. For example:=0A=
 *=0A=
 * function myFunc(one, two, three) [=0A=
 *   AssertNumArgs(3);=0A=
 *   ...=0A=
 * }=0A=
 *=0A=
 * myFunc(1, 2); // assertion fails!=0A=
 *=0A=
 * Note that AssertNumArgs does not take the function=0A=
 * as an argument; it is simply used in the context=0A=
 * of the function.=0A=
 *=0A=
 * @param {int} number of arguments expected=0A=
 * @param {string} opt_msg to display if the assertion fails=0A=
 */=0A=
function AssertNumArgs(num, opt_msg) {=0A=
  var caller =3D AssertNumArgs.caller;  // This is not supported in =
safari 1.0=0A=
  if (caller && caller.arguments.length !=3D num) {=0A=
    if (opt_msg =3D=3D=3D undefined) {=0A=
      opt_msg =3D caller.name + ' expected ' + num + ' arguments '=0A=
                  + ' but received ' + caller.arguments.length;=0A=
    }=0A=
    Fail(opt_msg);=0A=
  }=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Cookies=0A=
//-----------------------------------------------------------------------=
-=0A=
var ILLEGAL_COOKIE_CHARS_RE =3D /[\s;]/=0A=
/**=0A=
 * Sets a cookie.=0A=
 * The max_age can be -1 to set a session cookie. To expire cookies, use=0A=
 * ExpireCookie() instead.=0A=
 *=0A=
 * @param name The cookie name.=0A=
 * @param value The cookie value.=0A=
 * @param opt_max_age The max age in seconds (from now). Use -1 to set a=0A=
 *   session cookie. If not provided, the default is -1 (i.e. set a =
session=0A=
 *   cookie).=0A=
 * @param opt_path The path of the cookie, or null to not specify a path=0A=
 *   attribute (browser will use the full request path). If not =
provided, the=0A=
 *   default is '/' (i.e. path=3D/).=0A=
 * @param opt_domain The domain of the cookie, or null to not specify a =
domain=0A=
 *   attribute (brower will use the full request host name). If not =
provided,=0A=
 *   the default is null (i.e. let browser use full request host name).=0A=
 * @return Void.=0A=
 */=0A=
function SetCookie(name, value, opt_max_age, opt_path, opt_domain) {=0A=
=0A=
  value =3D '' + value;=0A=
  AssertTrue((typeof name =3D=3D 'string' &&=0A=
              typeof value =3D=3D 'string' &&=0A=
              !name.match(ILLEGAL_COOKIE_CHARS_RE) &&=0A=
              !value.match(ILLEGAL_COOKIE_CHARS_RE)),=0A=
             'trying to set an invalid cookie');=0A=
=0A=
  if (!IsDefined(opt_max_age)) opt_max_age =3D -1;=0A=
  if (!IsDefined(opt_path)) opt_path =3D '/';=0A=
  if (!IsDefined(opt_domain)) opt_domain =3D null;=0A=
=0A=
  var domain_str =3D (opt_domain =3D=3D null) ? '' : ';domain=3D' + =
opt_domain;=0A=
  var path_str =3D (opt_path =3D=3D null) ? '' : ';path=3D' + opt_path;=0A=
=0A=
  var expires_str;=0A=
=0A=
  // Case 1: Set a session cookie.=0A=
  if (opt_max_age < 0) {=0A=
    expires_str =3D '';=0A=
=0A=
  // Case 2: Expire the cookie.=0A=
  // Note: We don't tell people about this option in the function doc =
because=0A=
  // we prefer people to use ExpireCookie() to expire cookies.=0A=
  } else if (opt_max_age =3D=3D 0) {=0A=
    // Note: Don't use Jan 1, 1970 for date because NS 4.76 will try to =
convert=0A=
    // it to local time, and if the local time is before Jan 1, 1970, =
then the=0A=
    // browser will ignore the Expires attribute altogether.=0A=
    var pastDate =3D new Date(1970, 1 /*Feb*/, 1);  // Feb 1, 1970=0A=
    expires_str =3D ';expires=3D' + pastDate.toUTCString();=0A=
=0A=
  // Case 3: Set a persistent cookie.=0A=
  } else {=0A=
    var futureDate =3D new Date(Now() + opt_max_age * 1000);=0A=
    expires_str =3D ';expires=3D' + futureDate.toUTCString();=0A=
  }=0A=
=0A=
  document.cookie =3D name + '=3D' + value + domain_str + path_str + =
expires_str;=0A=
}=0A=
=0A=
var EXPIRED_COOKIE_VALUE =3D 'EXPIRED';=0A=
=0A=
/**=0A=
 * Expires a cookie.=0A=
 *=0A=
 * @param name The cookie name.=0A=
 * @param opt_path The path of the cookie, or null to expire a cookie =
set at=0A=
 *   the full request path. If not provided, the default is '/' (i.e. =
path=3D/).=0A=
 * @param opt_domain The domain of the cookie, or null to expire a =
cookie set=0A=
 *   at the full request host name. If not provided, the default is null =
(i.e.=0A=
 *   cookie at full request host name).=0A=
 * @return Void.=0A=
 */=0A=
function ExpireCookie(name, opt_path, opt_domain) {=0A=
  SetCookie(name, EXPIRED_COOKIE_VALUE, 0, opt_path, opt_domain);=0A=
}=0A=
=0A=
/** Returns the value for the first cookie with the given name=0A=
 * @param name : string=0A=
 * @return a string or the empty string if no cookie found.=0A=
 */=0A=
function GetCookie(name) {=0A=
  var nameeq =3D name + "=3D";=0A=
  var cookie =3D String(document.cookie);=0A=
  for (var pos =3D -1; (pos =3D cookie.indexOf(nameeq, pos + 1)) >=3D =
0;) {=0A=
    var i =3D pos;=0A=
    // walk back along string skipping whitespace and looking for a ; =
before=0A=
    // the name to make sure that we don't match cookies whose name =
contains=0A=
    // the given name as a suffix.=0A=
    while (--i >=3D 0) {=0A=
      var ch =3D cookie.charAt(i);=0A=
      if (ch =3D=3D ';') {=0A=
        i =3D -1;  // indicate success=0A=
        break;=0A=
      } else if (' \t'.indexOf(ch) < 0) {=0A=
        break;=0A=
      }=0A=
    }=0A=
    if (-1 =3D=3D=3D i) {  // first cookie in the string or we found a ;=0A=
      var end =3D cookie.indexOf(';', pos);=0A=
      if (end < 0) { end =3D cookie.length; }=0A=
      return cookie.substring(pos + nameeq.length, end);=0A=
    }=0A=
  }=0A=
  return "";=0A=
}=0A=
=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Time=0A=
//-----------------------------------------------------------------------=
-=0A=
function Now() {=0A=
  return (new Date()).getTime();=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Dynamic HTML/DOM utilities=0A=
//-----------------------------------------------------------------------=
-=0A=
// Gets a element by its id, may return null=0A=
function MaybeGetElement(win, id) {=0A=
  return win.document.getElementById(id);=0A=
}=0A=
=0A=
// Same as MaybeGetElement except that it throws an exception if it's =
null=0A=
function GetElement(win, id) {=0A=
  var el =3D win.document.getElementById(id);=0A=
  if (!el) {=0A=
    DumpError("Element " + id + " not found.");=0A=
  }=0A=
  return el;=0A=
}=0A=
=0A=
// Gets elements by its id/name=0A=
// IE treats getElementsByName as searching over ids, while Moz use =
names.=0A=
// so tags must have both id and name as the same string=0A=
function GetElements(win, id) {=0A=
  return win.document.getElementsByName(id);=0A=
}=0A=
=0A=
// Gets the parent of a html element.=0A=
function GetParentNode(n) {=0A=
  try {=0A=
    return n.parentNode;=0A=
  } catch (e) {=0A=
    // n.parentNode may throw a permission-denied exception on mozilla=0A=
    // (e.g. on text element), ignore this exception.=0A=
    return n;=0A=
  }=0A=
}=0A=
=0A=
function IsDescendant(parent, child) {=0A=
  do {=0A=
    if (parent =3D=3D=3D child) return true;=0A=
    child =3D GetParentNode(child);=0A=
  } while (child && child !=3D=3D document.body);=0A=
  return false;=0A=
}=0A=
=0A=
// Get attribute value of a DOM node=0A=
function GetAttribute(node, attribute) {=0A=
  if (!node.getAttribute) {=0A=
    return null;=0A=
  }=0A=
  var attr =3D node.getAttribute(attribute);=0A=
  if (is_ie && attribute =3D=3D "style") {=0A=
    return attr.value;=0A=
  } else {=0A=
    return attr;=0A=
  }=0A=
}=0A=
=0A=
// Sets inner html of a html element=0A=
function SetInnerHTML(win, id, html) {=0A=
  try {=0A=
    GetElement(win, id).innerHTML =3D html;=0A=
  } catch (ex) {=0A=
    DumpException(ex);=0A=
  }=0A=
}=0A=
=0A=
// Gets inner-html of a html element=0A=
function GetInnerHTML(win, id) {=0A=
  try {=0A=
    return GetElement(win, id).innerHTML;=0A=
  } catch (ex) {=0A=
    DumpException(ex);=0A=
    return "";=0A=
  }=0A=
}=0A=
=0A=
// Clears inner html of a html element=0A=
function ClearInnerHTML(win, id) {=0A=
  try {=0A=
    GetElement(win, id).innerHTML =3D "";=0A=
  } catch (ex) {=0A=
    DumpException(ex);=0A=
  }=0A=
}=0A=
=0A=
// Sets a CSS style of an element=0A=
function SetCssStyle(win, id, name, value) {=0A=
  try {=0A=
    var elem =3D GetElement(win, id);=0A=
    elem.style[name] =3D value;=0A=
  } catch (ex) {=0A=
    DumpException(ex);=0A=
  }=0A=
}=0A=
=0A=
// Get CSS property from a style attribute string=0A=
function GetStyleProperty(style, name) {=0A=
  var i =3D style.indexOf(name);=0A=
  if (i !=3D -1) {=0A=
    var j =3D style.indexOf(";", i);=0A=
    if (j =3D=3D -1) {=0A=
      j =3D style.length;=0A=
    }=0A=
    // the +1 below is for the colon following the attribute name=0A=
    return CollapseWhitespace(style.substring(i + name.length + 1, j));=0A=
  }=0A=
  return null;=0A=
}=0A=
=0A=
// Show/hide an element.=0A=
function ShowElement(el, show) {=0A=
  el.style.display =3D show ? "" : "none";=0A=
}=0A=
=0A=
// Show/hide a block element.=0A=
// ShowElement() doesn't work if object has an initial class with =
display:none=0A=
function ShowBlockElement(el, show) {=0A=
  el.style.display =3D show ? "block" : "none";=0A=
}=0A=
=0A=
// Show/hide an inline element.=0A=
// ShowElement() doesn't work when an element starts off display:none.=0A=
function ShowInlineElement(el, show) {=0A=
  el.style.display =3D show ? "inline" : "none";=0A=
}=0A=
=0A=
// Set the text of a button. This is to get around a bug in mozilla,=0A=
// where we can't set the text of a button by setting innerHTML.=0A=
function SetButtonText(button, text) {=0A=
  button.childNodes[0].nodeValue =3D text;=0A=
}=0A=
=0A=
// Append a new HTML element to a HTML node.=0A=
function AppendNewElement(win, parent, tag) {=0A=
  var e =3D win.document.createElement(tag);=0A=
  parent.appendChild(e);=0A=
  return e;=0A=
}=0A=
=0A=
// Finds the child with the given ID, or null if there is node.=0A=
// This does not search the children's children.=0A=
function FindChildWithID(parent, id) {=0A=
  var el;=0A=
  for (el =3D parent.firstChild; el && el.id !=3D id; el =3D =
el.nextSibling) {=0A=
    // skip=0A=
  }=0A=
  return el;=0A=
}=0A=
=0A=
// Adds a disabled option to the given menu=0A=
function AddMenuDisabledOption(win, menu, html) {=0A=
  var op =3D AppendNewElement(win, menu, 'OPTION');=0A=
  op.disabled =3D true;=0A=
  op.innerHTML =3D html;=0A=
=0A=
  return op;=0A=
}=0A=
=0A=
// Adds a option to the given menu=0A=
function AddMenuOption(win, menu, value, html) {=0A=
  var op =3D AppendNewElement(win, menu, 'OPTION');=0A=
  op.value =3D value;=0A=
  op.innerHTML =3D html;=0A=
=0A=
  return op;=0A=
}=0A=
=0A=
// Create a new DIV (append it to the end of the document)=0A=
function CreateDIV(win, id) {=0A=
  var div =3D MaybeGetElement(win, id);=0A=
  if (!div) {=0A=
    div =3D AppendNewElement(win, win.document.body, "div");=0A=
    div.id =3D id;=0A=
  }=0A=
  return div;=0A=
}=0A=
=0A=
// Create a new IFRAME (append it to the end of the document)=0A=
function CreateIFRAME(win, id, url) {=0A=
  var iframe =3D MaybeGetElement(win, id);=0A=
  if (!iframe) {=0A=
    // We cannot create an IFRAME directly (IE doesn't allow it), so we=0A=
    // create a DIV and then insert an IFRAME.=0A=
    // We also give the IFRAME a name (same as id)=0A=
    var div =3D AppendNewElement(win, win.document.body, "div");=0A=
    div.innerHTML =3D "<iframe id=3D" + id + " name=3D" + id +=0A=
             " src=3D" + url + "></iframe>";=0A=
    iframe =3D GetElement(win, id);=0A=
  }=0A=
  return iframe;=0A=
}=0A=
=0A=
// Create a new TR containing the given td's=0A=
function Tr(win, tds) {=0A=
  var tr =3D win.document.createElement("TR");=0A=
  for (var i =3D 0; i < tds.length; i++) {=0A=
    tr.appendChild(tds[i]);=0A=
  }=0A=
  return tr;=0A=
}=0A=
=0A=
// Create a new TD, with an optional colspan=0A=
function Td(win, opt_colspan) {=0A=
  var td =3D win.document.createElement("TD");=0A=
  if (opt_colspan) {=0A=
    td.colSpan =3D opt_colspan;=0A=
  }=0A=
  return td;=0A=
}=0A=
=0A=
=0A=
// Check if an element has a given class=0A=
function HasClass(el, cl) {=0A=
  if (el =3D=3D null || el.className =3D=3D null) return false;=0A=
  var classes =3D el.className.split(" ");=0A=
  for (var i =3D 0; i < classes.length; i++) {=0A=
    if (classes[i] =3D=3D cl) {=0A=
      return true;=0A=
    }=0A=
  }=0A=
  return false;=0A=
}=0A=
=0A=
// Add a class to element=0A=
function AddClass(el, cl) {=0A=
  if (HasClass(el, cl)) return;=0A=
  el.className +=3D " " + cl;=0A=
}=0A=
=0A=
// Remove a class from an element=0A=
function RemoveClass(el, cl) {=0A=
  if (el.className =3D=3D null) return;=0A=
  var classes =3D el.className.split(" ");=0A=
  var result =3D [];=0A=
  var changed =3D false;=0A=
  for (var i =3D 0; i < classes.length; i++) {=0A=
    if (classes[i] !=3D cl) {=0A=
      if (classes[i]) { result.push(classes[i]); }=0A=
    } else {=0A=
      changed =3D true;=0A=
    }=0A=
  }=0A=
  if (changed) { el.className =3D result.join(" "); }=0A=
}=0A=
=0A=
// Performs an in-order traversal of the tree rooted at the given node=0A=
// (excluding the root node) and returns an array of nodes that match the=0A=
// given selector. The selector must implement the method:=0A=
//=0A=
// boolean select(node);=0A=
//=0A=
// This method is a generalization of the DOM method =
"getElementsByTagName"=0A=
//=0A=
function GetElementsBySelector(root, selector) {=0A=
  var nodes =3D [];=0A=
  for (var child =3D root.firstChild; child; child =3D =
child.nextSibling) {=0A=
    AddElementBySelector_(child, selector, nodes);=0A=
  }=0A=
  return nodes;=0A=
}=0A=
=0A=
// Recursive helper for GetElemnetsBySelector()=0A=
function AddElementBySelector_(root, selector, nodes) {=0A=
  // First test the parent=0A=
  if (selector.select(root)) {=0A=
    nodes.push(root);=0A=
  }=0A=
=0A=
  // Then recurse through the children=0A=
  for (var child =3D root.firstChild; child; child =3D =
child.nextSibling) {=0A=
    AddElementBySelector_(child, selector, nodes);=0A=
  }=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Window/screen utilities=0A=
// TODO: these should be renamed (e.g. GetWindowWidth to =
GetWindowInnerWidth=0A=
// and moved to geom.js)=0A=
//-----------------------------------------------------------------------=
-=0A=
// Get page offset of an element=0A=
function GetPageOffsetLeft(el) {=0A=
  var x =3D el.offsetLeft;=0A=
  if (el.offsetParent !=3D null)=0A=
    x +=3D GetPageOffsetLeft(el.offsetParent);=0A=
  return x;=0A=
}=0A=
=0A=
// Get page offset of an element=0A=
function GetPageOffsetTop(el) {=0A=
  var y =3D el.offsetTop;=0A=
  if (el.offsetParent !=3D null)=0A=
    y +=3D GetPageOffsetTop(el.offsetParent);=0A=
  return y;=0A=
}=0A=
=0A=
// Get page offset of an element=0A=
function GetPageOffset(el) {=0A=
  var x =3D el.offsetLeft;=0A=
  var y =3D el.offsetTop;=0A=
  if (el.offsetParent !=3D null) {=0A=
    var pos =3D GetPageOffset(el.offsetParent);=0A=
    x +=3D pos.x;=0A=
    y +=3D pos.y;=0A=
  }=0A=
  return {x: x, y: y};=0A=
}=0A=
=0A=
function GetPageOffsetRight(el) {=0A=
  return GetPageOffsetLeft(el) + el.offsetWidth;=0A=
}=0A=
=0A=
function GetPageOffsetBottom(el) {=0A=
  return GetPageOffsetTop(el) + el.offsetHeight;=0A=
}=0A=
=0A=
// Get the y position scroll offset.=0A=
function GetScrollTop(win) {=0A=
  // all except Explorer=0A=
  if ("pageYOffset" in win) {=0A=
    return win.pageYOffset;=0A=
  }=0A=
  // Explorer 6 Strict Mode=0A=
  else if ("documentElement" in win.document &&=0A=
           "scrollTop" in win.document.documentElement) {=0A=
    return win.document.documentElement.scrollTop;=0A=
  }=0A=
  // other Explorers=0A=
  else if ("scrollTop" in win.document.body) {=0A=
    return win.document.body.scrollTop;=0A=
  }=0A=
=0A=
  return 0;=0A=
}=0A=
=0A=
// Get the x position scroll offset.=0A=
function GetScrollLeft(win) {=0A=
  // all except Explorer=0A=
  if ("pageXOffset" in win) {=0A=
    return win.pageXOffset;=0A=
  }=0A=
  // Explorer 6 Strict Mode=0A=
  else if ("documentElement" in win.document &&=0A=
           "scrollLeft" in win.document.documentElement) {=0A=
    return win.document.documentElement.scrollLeft;=0A=
  }=0A=
  // other Explorers=0A=
  else if ("scrollLeft" in win.document.body) {=0A=
    return win.document.body.scrollLeft;=0A=
  }=0A=
=0A=
  return 0;=0A=
}=0A=
=0A=
/**=0A=
 * Checks if window scrollbar has reached its maximum offset=0A=
 *=0A=
 * @param win a window object=0A=
 * @param opt_isHoriz true if horizontal bar, false if vertical=0A=
 */=0A=
function IsScrollAtEnd(win, opt_isHoriz) {=0A=
  var total =3D=0A=
    (opt_isHoriz) ? document.body.offsetWidth : =
document.body.offsetHeight;=0A=
  var inner =3D=0A=
    (opt_isHoriz) ? GetWindowWidth(win) : GetWindowHeight(win);=0A=
  var offset =3D=0A=
    (opt_isHoriz) ? GetScrollLeft(win) : GetScrollTop(win);=0A=
=0A=
  return (inner + offset >=3D total || total < inner);=0A=
}=0A=
=0A=
// Scroll window to pos=0A=
// position: 0 =3D top, 0.5 =3D middle, 1 =3D bottom=0A=
function ScrollTo(win, el, position) {=0A=
  var y =3D GetPageOffsetTop(el);=0A=
  y -=3D GetWindowHeight(win) * position;=0A=
  win.scrollTo(0, y);=0A=
}=0A=
=0A=
// Scroll so that as far as possible the entire element is in view.=0A=
var ALIGN_BOTTOM =3D 'b';=0A=
var ALIGN_MIDDLE =3D 'm';=0A=
var ALIGN_TOP =3D 't';=0A=
function ScrollIntoView(win, el, alignment) {=0A=
  var el_top =3D GetPageOffsetTop(el);=0A=
  var el_bottom =3D el_top + el.offsetHeight;=0A=
  var win_top =3D GetScrollTop(win);=0A=
  var win_height =3D GetWindowHeight(win);=0A=
  var win_bottom =3D win_top + win_height;=0A=
=0A=
  // Out of view?=0A=
  if (el_top < win_top ||=0A=
      el_bottom > win_bottom) {=0A=
=0A=
    var scrollto_y;=0A=
    if (alignment =3D=3D ALIGN_BOTTOM) {=0A=
      scrollto_y =3D el_bottom - win_height + 5;=0A=
    } else if (alignment =3D=3D ALIGN_MIDDLE) {=0A=
      scrollto_y =3D (el_top + el_bottom) / 2 - win_height/2;=0A=
    } else {=0A=
      scrollto_y =3D el_top - 5;        // ALIGN_TOP=0A=
    }=0A=
=0A=
    Debug("Scrolling to " + scrollto_y);=0A=
    win.scrollTo(0, scrollto_y);=0A=
  }=0A=
}=0A=
=0A=
function IsElementVisible(win, id) {=0A=
  var el =3D MaybeGetElement(win, id);=0A=
  if (el =3D=3D null) {=0A=
    return false;=0A=
  }=0A=
  var el_top =3D GetPageOffsetTop(el);=0A=
  var el_bottom =3D el_top + el.offsetHeight;=0A=
  var win_top =3D GetScrollTop(win);=0A=
  var win_bottom =3D win_top + GetWindowHeight(win);=0A=
  if (el_top >=3D win_top && el_bottom <=3D win_bottom) {=0A=
    return true;=0A=
  }=0A=
  return false;=0A=
}=0A=
=0A=
function GetWindowWidth(win) {=0A=
  // all except Explorer=0A=
  if ("innerWidth" in win) {=0A=
    return win.innerWidth;=0A=
  }=0A=
  // Explorer 6 Strict Mode=0A=
  else if ("documentElement" in win.document &&=0A=
           "clientWidth" in win.document.documentElement) {=0A=
    return win.document.documentElement.clientWidth;=0A=
  }=0A=
  // other Explorers=0A=
  else if ("clientWidth" in win.document.body) {=0A=
    return win.document.body.clientWidth;=0A=
  }=0A=
=0A=
  return 0;=0A=
}=0A=
=0A=
function GetWindowHeight(win) {=0A=
  // all except Explorer=0A=
  if ("innerHeight" in win) {=0A=
    return win.innerHeight;=0A=
  }=0A=
  // Explorer 6 Strict Mode=0A=
  else if ("documentElement" in win.document &&=0A=
           "clientHeight" in win.document.documentElement) {=0A=
    return win.document.documentElement.clientHeight;=0A=
  }=0A=
  // other Explorers=0A=
  else if ("clientHeight" in win.document.body) {=0A=
    return win.document.body.clientHeight;=0A=
  }=0A=
=0A=
  return 0;=0A=
}=0A=
=0A=
function GetAvailScreenWidth(win) {=0A=
  return win.screen.availWidth;=0A=
}=0A=
=0A=
function GetAvailScreenHeight(win) {=0A=
  return win.screen.availHeight;=0A=
}=0A=
=0A=
// Returns a "nice" window height.=0A=
// Use the screen height. (Or should we use the height of the current =
window?)=0A=
function GetNiceWindowHeight(win) {=0A=
  return Math.floor(0.8 * GetAvailScreenHeight(win));=0A=
}=0A=
=0A=
// Used for horizontally centering a new window of the given width in the=0A=
// available screen. Set the new window's distance from the left of the =
screen=0A=
// equal to this function's return value.=0A=
// Params: width: the width of the new window=0A=
// Returns: the distance from the left edge of the screen for the new =
window to=0A=
//   be horizontally centered=0A=
function GetCenteringLeft(win, width) {=0A=
  return (win.screen.availWidth - width) >> 1;=0A=
}=0A=
=0A=
// Used for vertically centering a new window of the given height in the=0A=
// available screen. Set the new window's distance from the top of the =
screen=0A=
// equal to this function's return value.=0A=
// Params: height: the height of the new window=0A=
// Returns: the distance from the top edge of the screen for the new =
window to=0A=
//   be vertically aligned.=0A=
function GetCenteringTop(win, height) {=0A=
  return (win.screen.availHeight - height) >> 1;=0A=
}=0A=
=0A=
/*=0A=
 * Opens a child popup window that has no browser toolbar/decorations.=0A=
 * (Copied from caribou's common.js library with small modifications.)=0A=
 *=0A=
 * @param url the URL for the new window (Note: this will be =
unique-ified)=0A=
 * @param opt_name the name of the new window=0A=
 * @param opt_width the width of the new window=0A=
 * @param opt_height the height of the new window=0A=
 * @param opt_center if true, the new window is centered in the =
available screen=0A=
 * @param opt_hide_scrollbars if true, the window hides the scrollbars=0A=
 * @param opt_noresize if true, makes window unresizable=0A=
 * @param opt_blocked_msg message warning that the popup has been blocked=0A=
 * @return a reference to the new child window=0A=
 */=0A=
function Popup(url, opt_name, opt_width, opt_height, opt_center,=0A=
               opt_hide_scrollbars, opt_noresize, opt_blocked_msg) {=0A=
  if (!opt_height) {=0A=
    opt_height =3D Math.floor(GetWindowHeight(window.top) * 0.8);=0A=
  }=0A=
  if (!opt_width) {=0A=
    opt_width =3D Math.min(GetAvailScreenWidth(window), opt_height);=0A=
  }=0A=
=0A=
  var features =3D "resizable=3D" + (opt_noresize ? "no" : "yes") + "," +=0A=
                 "scrollbars=3D" + (opt_hide_scrollbars ? "no" : "yes") =
+ "," +=0A=
                 "width=3D" + opt_width + ",height=3D" + opt_height;=0A=
  if (opt_center) {=0A=
    features +=3D ",left=3D" + GetCenteringLeft(window, opt_width) + "," =
+=0A=
                "top=3D" + GetCenteringTop(window, opt_height);=0A=
  }=0A=
  return OpenWindow(window, url, opt_name, features, opt_blocked_msg);=0A=
}=0A=
=0A=
/*=0A=
 * Opens a new window. Returns the new window handle. Tries to open the =
new=0A=
 * window using top.open() first. If that doesn't work, then tries =
win.open().=0A=
 * If that still doesn't work, prints an alert.=0A=
 * (Copied from caribou's common.js library with small modifications.)=0A=
 *=0A=
 * @param win the parent window from which to open the new child window=0A=
 * @param url the URL for the new window (Note: this will be =
unique-ified)=0A=
 * @param opt_name the name of the new window=0A=
 * @param opt_features the properties of the new window=0A=
 * @param opt_blocked_msg message warning that the popup has been blocked=0A=
 * @return a reference to the new child window=0A=
 */=0A=
function OpenWindow(win, url, opt_name, opt_features, opt_blocked_msg) {=0A=
  var newwin =3D OpenWindowHelper(top, url, opt_name, opt_features);=0A=
  if (!newwin || newwin.closed || !newwin.focus) {=0A=
    newwin =3D OpenWindowHelper(win, url, opt_name, opt_features);=0A=
  }=0A=
  if (!newwin || newwin.closed || !newwin.focus) {=0A=
    if (opt_blocked_msg) alert(opt_blocked_msg);=0A=
  } else {=0A=
    // Make sure that the window has the focus=0A=
    newwin.focus();=0A=
  }=0A=
  return newwin;=0A=
}=0A=
=0A=
/*=0A=
 * Helper for OpenWindow().=0A=
 * (Copied from caribou's common.js library with small modifications.)=0A=
 */=0A=
function OpenWindowHelper(win, url, name, features) {=0A=
  var newwin;=0A=
  if (features) {=0A=
    newwin =3D win.open(url, name, features);=0A=
  } else if (name) {=0A=
    newwin =3D win.open(url, name);=0A=
  } else {=0A=
    newwin =3D win.open(url);=0A=
  }=0A=
  return newwin;=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// DOM walking utilities=0A=
//-----------------------------------------------------------------------=
-=0A=
=0A=
function MaybeEscape(str, escape) {=0A=
  return escape ? HtmlEscape(str) : str;=0A=
}=0A=
=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Window data=0A=
//-----------------------------------------------------------------------=
-=0A=
// Gets an array, which can store data for the window. This data=0A=
// is deleted when the window is unloaded.=0A=
var windata =3D [];=0A=
function GetWindowData(win) {=0A=
  var data =3D windata[win.name];=0A=
  if (!data) {=0A=
    windata[win.name] =3D data =3D [];=0A=
  }=0A=
  return data;=0A=
}=0A=
=0A=
// Clear js data for a window.=0A=
function ClearWindowData(win_name) {=0A=
  if (windata[win_name]) {=0A=
    windata[win_name] =3D null;=0A=
  }=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// String utilities=0A=
//-----------------------------------------------------------------------=
-=0A=
// Do html escaping=0A=
var amp_re_ =3D /&/g;=0A=
var lt_re_ =3D /</g;=0A=
var gt_re_ =3D />/g;=0A=
=0A=
// Convert text to HTML format. For efficiency, we just convert '&', =
'<', '>'=0A=
// characters.=0A=
// Note: Javascript >=3D 1.3 supports lambda expression in the =
replacement=0A=
// argument. But it's slower on IE.=0A=
// Note: we can also implement HtmlEscape by setting the value=0A=
// of a textnode and then reading the 'innerHTML' value, but that=0A=
// that turns out to be slower.=0A=
// Params: str: String to be escaped.=0A=
// Returns: The escaped string.=0A=
function HtmlEscape(str) {=0A=
  if (!str) return "";=0A=
  return str.replace(amp_re_, "&amp;").replace(lt_re_, "&lt;").=0A=
    replace(gt_re_, "&gt;").replace(quote_re_, "&quot;");=0A=
}=0A=
=0A=
/** converts html entities to plain text.  It covers the most common =
named=0A=
 * entities and numeric entities.=0A=
 * It does not cover all named entities -- it covers =
&{lt,gt,amp,quot,nbsp}; but=0A=
 * does not handle some of the more obscure ones like &{ndash,eacute};.=0A=
 */=0A=
function HtmlUnescape(str) {=0A=
  if (!str) return "";=0A=
  return str.=0A=
    replace(/&#(\d+);/g,=0A=
      function (_, n) { return String.fromCharCode(parseInt(n, 10)); }).=0A=
    replace(/&#x([a-f0-9]+);/gi,=0A=
      function (_, n) { return String.fromCharCode(parseInt(n, 16)); }).=0A=
    replace(/&(\w+);/g, function (_, entity) {=0A=
      entity =3D entity.toLowerCase();=0A=
      return entity in HtmlUnescape.unesc ? HtmlUnescape.unesc[entity] : =
'?';=0A=
    });=0A=
}=0A=
HtmlUnescape.unesc =3D { lt: '<', gt: '>', quot: '"', nbsp: ' ', amp: =
'&' };=0A=
=0A=
// Replace multiple spaces with &nbsp; to retain whitespace formatting=0A=
// in addition to escaping '&', '<', and '>'.=0A=
var dbsp_re_ =3D /  /g;=0A=
var ret_re_ =3D /\r/g;=0A=
var nl_re_ =3D /\n/g;=0A=
function HtmlWhitespaceEscape(str) {=0A=
  str =3D HtmlEscape(str);=0A=
  str =3D str.replace(dbsp_re_, "&nbsp;&nbsp;");=0A=
  str =3D str.replace(ret_re_, "");=0A=
  str =3D str.replace(nl_re_, "<br>");=0A=
  return str;=0A=
}=0A=
=0A=
// Escape double quote '"' characters in addition to '&', '<', '>' so =
that a=0A=
// string can be included in an HTML tag attribute value within double =
quotes.=0A=
// Params: str: String to be escaped.=0A=
// Returns: The escaped string.=0A=
var quote_re_ =3D /\"/g;=0A=
function QuoteEscape(str) {=0A=
  return HtmlEscape(str).replace(quote_re_, "&quot;");=0A=
}=0A=
=0A=
var JS_SPECIAL_RE_ =3D /[\'\\\r\n\b\"<>&]/g;=0A=
=0A=
function JSEscOne_(s) {=0A=
  if (!JSEscOne_.js_escs_) {=0A=
    var escapes =3D {};=0A=
    escapes['\\'] =3D '\\\\';=0A=
    escapes['\''] =3D '\\047';=0A=
    escapes['\n'] =3D '\\n';=0A=
    escapes['\r'] =3D '\\r';=0A=
    escapes['\b'] =3D '\\b';=0A=
    escapes['\"'] =3D '\\042';=0A=
    escapes['<'] =3D  '\\074';=0A=
    escapes['>'] =3D  '\\076';=0A=
    escapes['&'] =3D  '\\046';=0A=
=0A=
    JSEscOne_.js_escs_ =3D escapes;=0A=
  }=0A=
=0A=
  return JSEscOne_.js_escs_[s];=0A=
}=0A=
=0A=
/** convert a string to a javascript string literal.  This function has =
the=0A=
  * property that the return value is also already html escaped, so the =
output=0A=
  * can be embedded in an html handler attribute.=0A=
  */=0A=
function ToJSString(s) {=0A=
  return "'" + s.toString().replace(JS_SPECIAL_RE_, JSEscOne_) + "'";=0A=
}=0A=
=0A=
// converts multiple ws chars to a single space, and strips=0A=
// leading and trailing ws=0A=
var spc_re_ =3D /\s+/g;=0A=
var beg_spc_re_ =3D /^ /;=0A=
var end_spc_re_ =3D / $/;=0A=
function CollapseWhitespace(str) {=0A=
  if (!str) return "";=0A=
  return str.replace(spc_re_, " ").replace(beg_spc_re_, "").=0A=
    replace(end_spc_re_, "");=0A=
}=0A=
=0A=
var newline_re_ =3D /\r?\n/g;=0A=
var spctab_re_ =3D /[ \t]+/g;=0A=
var nbsp_re_ =3D /\xa0/g;=0A=
function StripNewlines(str) {=0A=
  if (!str) return "";=0A=
  return str.replace(newline_re_, " ");=0A=
}=0A=
=0A=
function CanonicalizeNewlines(str) {=0A=
  if (!str) return "";=0A=
  return str.replace(newline_re_, '\n');=0A=
}=0A=
=0A=
function HtmlifyNewlines(str) {=0A=
  if (!str) return "";=0A=
  return str.replace(newline_re_, "<br>");=0A=
}=0A=
=0A=
function NormalizeSpaces(str) {=0A=
  if (!str) return "";=0A=
  return str.replace(spctab_re_, " ").replace(nbsp_re_, " ");=0A=
}=0A=
=0A=
// URL encodes the string.=0A=
function UrlEncode(str) {=0A=
  return encodeURIComponent(str);=0A=
}=0A=
=0A=
function Trim(str) {=0A=
  if (!str) return "";=0A=
  return str.replace(/^\s+/, "").replace(/\s+$/, "");=0A=
}=0A=
=0A=
function EndsWith(str, suffix) {=0A=
  if (!str) return !suffix;=0A=
  return (str.lastIndexOf(suffix) =3D=3D (str.length - suffix.length));=0A=
}=0A=
=0A=
// Check if a string is empty=0A=
function IsEmpty(str) {=0A=
  return CollapseWhitespace(str) =3D=3D "";=0A=
}=0A=
=0A=
// Check if a character is a letter=0A=
function IsLetterOrDigit(ch) {=0A=
  return ((ch >=3D "a" && ch <=3D "z") ||=0A=
          (ch >=3D "A" && ch <=3D "Z") ||=0A=
         (ch >=3D '0' && ch <=3D '9'));=0A=
}=0A=
=0A=
// Check if a character is a space character=0A=
function IsSpace(ch) {=0A=
  return (" \t\r\n".indexOf(ch) >=3D 0);=0A=
}=0A=
=0A=
// Converts any instances of "\r" or "\r\n" style EOLs into "\n" (Line =
Feed),=0A=
// and also trim the extra newlines and whitespaces at the end.=0A=
var eol_re_ =3D /\r\n?/g;=0A=
var trailingspc_re_ =3D /[\n\t ]+$/;=0A=
function NormalizeText(str) {=0A=
  return str.replace(eol_re_, "\n").replace(trailingspc_re_, "");=0A=
}=0A=
=0A=
// Inserts <wbr>s (word break tag) after every n non-space chars and/or=0A=
// after or before certain special chars. The input string should be =
plain=0A=
// text that has not yet been HTML-escaped.=0A=
// Params:=0A=
//   str: The string to insert <wbr>s into.=0A=
//   n: The maximum number of consecutive non-space characters to allow =
before=0A=
//     adding a <wbr>. To turn off this rule (i.e. if you only want to =
add=0A=
//     breaks based on special characters), pass in the value -1.=0A=
//   chars_to_break_after: The list of special characters (concatenated =
into a=0A=
//     string) after which a <wbr> should be added, if there is no =
natural=0A=
//     break at that point. To turn off this rule, pass in the empty =
string.=0A=
//   chars_to_break_before: The list of special characters (concatenated =
into a=0A=
//     string) before which a <wbr> should be added, if there is no =
natural=0A=
//     break at that point. To turn off this rule, pass in the empty =
string.=0A=
// Returns: The string str htmlescaped, and with <wbr>s inserted =
according to=0A=
//   the rules specified by the other arguments.=0A=
function HtmlEscapeInsertWbrs(str, n, chars_to_break_after,=0A=
                              chars_to_break_before) {=0A=
  AssertNumArgs(4);=0A=
=0A=
  var out =3D '';=0A=
  var strpos =3D 0;=0A=
  var spc =3D 0;=0A=
=0A=
  for (var i =3D 1; i < str.length; ++i) {=0A=
    var prev_char =3D str.charAt(i - 1);=0A=
    var next_char =3D str.charAt(i);=0A=
    if (IsSpace(next_char)) {=0A=
      spc =3D i;=0A=
    } else if (i - spc =3D=3D n ||=0A=
               chars_to_break_after.indexOf(prev_char) !=3D -1 ||=0A=
               chars_to_break_before.indexOf(next_char) !=3D -1) {=0A=
      out +=3D HtmlEscape(str.substring(strpos, i)) + '<wbr>';=0A=
      strpos =3D i;=0A=
      spc =3D i;=0A=
    }=0A=
  }=0A=
  out +=3D HtmlEscape(str.substr(strpos));=0A=
  return out;=0A=
}=0A=
=0A=
// Converts a string to its canonicalized label form.=0A=
var illegal_chars_re_ =3D /[ \/(){}&|\\\"\000]/g;=0A=
function CanonicalizeLabel(str, lowercase) {=0A=
  var uppercase =3D str.replace(illegal_chars_re_, '-');=0A=
  return lowercase ? uppercase.toLowerCase() : uppercase;=0A=
}=0A=
=0A=
// Case-insensitive string comparator=0A=
function CompareStringsIgnoreCase(s1, s2) {=0A=
  s1 =3D s1.toLowerCase();=0A=
  s2 =3D s2.toLowerCase();=0A=
=0A=
  if (s1 < s2) {=0A=
    return -1;=0A=
  } else if (s1 =3D=3D s2) {=0A=
    return 0;=0A=
  } else {=0A=
    return 1;=0A=
  }=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// TextArea utilities=0A=
//-----------------------------------------------------------------------=
-=0A=
=0A=
// Gets the cursor pos in a text area. Returns -1 if the cursor pos =
cannot=0A=
// be determined or if the cursor out of the textfield.=0A=
function GetCursorPos(win, textfield) {=0A=
  try {=0A=
    if (IsDefined(textfield.selectionEnd)) {=0A=
      // Mozilla directly supports this=0A=
      return textfield.selectionEnd;=0A=
=0A=
    } else if (win.document.selection && =
win.document.selection.createRange) {=0A=
      // IE doesn't export an accessor for the endpoints of a selection.=0A=
      // Instead, it uses the TextRange object, which has an extremely =
obtuse=0A=
      // API. Here's what seems to work:=0A=
=0A=
      // (1) Obtain a textfield from the current selection (cursor)=0A=
      var tr =3D win.document.selection.createRange();=0A=
=0A=
      // Check if the current selection is in the textfield=0A=
      if (tr.parentElement() !=3D textfield) {=0A=
        return -1;=0A=
      }=0A=
=0A=
      // (2) Make a text range encompassing the textfield=0A=
      var tr2 =3D tr.duplicate();=0A=
      tr2.moveToElementText(textfield);=0A=
=0A=
      // (3) Move the end of the copy to the beginning of the selection=0A=
      tr2.setEndPoint("EndToStart", tr);=0A=
=0A=
      // (4) The span of the textrange copy is equivalent to the cursor =
pos=0A=
      var cursor =3D tr2.text.length;=0A=
=0A=
      // Finally, perform a sanity check to make sure the cursor is in =
the=0A=
      // textfield. IE sometimes screws this up when the window is =
activated=0A=
      if (cursor > textfield.value.length) {=0A=
        return -1;=0A=
      }=0A=
      return cursor;=0A=
    } else {=0A=
      Debug("Unable to get cursor position for: " + navigator.userAgent);=0A=
=0A=
      // Just return the size of the textfield=0A=
      // TODO: Investigate how to get cursor pos in Safari!=0A=
      return textfield.value.length;=0A=
    }=0A=
  } catch (e) {=0A=
    DumpException(e, "Cannot get cursor pos");=0A=
  }=0A=
  =0A=
  return -1;=0A=
}=0A=
=0A=
function SetCursorPos(win, textfield, pos) {=0A=
  if (IsDefined(textfield.selectionEnd) &&=0A=
      IsDefined(textfield.selectionStart)) {=0A=
    // Mozilla directly supports this=0A=
    textfield.selectionStart =3D pos;=0A=
    textfield.selectionEnd =3D pos;=0A=
=0A=
  } else if (win.document.selection && textfield.createTextRange) {=0A=
    // IE has textranges. A textfield's textrange encompasses the=0A=
    // entire textfield's text by default=0A=
    var sel =3D textfield.createTextRange();=0A=
=0A=
    sel.collapse(true);=0A=
    sel.move("character", pos);=0A=
    sel.select();=0A=
  }=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Array utilities=0A=
//-----------------------------------------------------------------------=
-=0A=
// Find an item in an array, returns the key, or -1 if not found=0A=
function FindInArray(array, x) {=0A=
  for (var i =3D 0; i < array.length; i++) {=0A=
    if (array[i] =3D=3D x) {=0A=
      return i;=0A=
    }=0A=
  }=0A=
  return -1;=0A=
}=0A=
=0A=
// Inserts an item into an array, if it's not already in the array=0A=
function InsertArray(array, x) {=0A=
  if (FindInArray(array, x) =3D=3D -1) {=0A=
    array[array.length] =3D x;=0A=
  }=0A=
}=0A=
=0A=
// Delete an element from an array=0A=
function DeleteArrayElement(array, x) {=0A=
  var i =3D 0;=0A=
  while (i < array.length && array[i] !=3D x)=0A=
    i++;=0A=
  array.splice(i, 1);=0A=
}=0A=
=0A=
// Copies a flat array=0A=
function CopyArray(array) {=0A=
  var copy =3D [];=0A=
  for (var i =3D 0; i < array.length; i++) {=0A=
    copy[i] =3D array[i];=0A=
  }=0A=
  return copy;=0A=
}=0A=
=0A=
// Clone an object (recursively)=0A=
function CloneObject(x) {=0A=
  if ((typeof x) =3D=3D "object") {=0A=
    var y =3D [];=0A=
    for (var i in x) {=0A=
      y[i] =3D CloneObject(x[i]);=0A=
    }=0A=
    return y;=0A=
  }=0A=
  return x;=0A=
}=0A=
=0A=
/**=0A=
 * Clone an event; cannot use CloneObject(event)=0A=
 * because it suffers from infinite recursion.=0A=
 * Thus, only a subset of the event properties are=0A=
 * cloned -- if you need others, just add them=0A=
 * to this function (just don't remove any!)=0A=
 */=0A=
function CloneEvent(ev) {=0A=
  var clone =3D {};=0A=
  clone.clientX =3D ev.clientX;=0A=
  clone.clientY =3D ev.clientY;=0A=
  clone.pageX =3D ev.pageX;=0A=
  clone.pageY =3D ev.pageY;=0A=
  clone.type =3D ev.type;=0A=
  clone.srcElement =3D ev.srcElement;=0A=
  clone.target =3D ev.target;=0A=
  clone.cancelBubble =3D ev.cancelBubble;=0A=
  clone.explicitOriginalTarget =3D ev.explicitOriginalTarget;=0A=
  // add more properties here=0A=
=0A=
  return clone;=0A=
}=0A=
=0A=
function GetEventTarget(/*Event*/ ev) {=0A=
// Event is not a type in IE; IE uses Object for events=0A=
//  AssertType(ev, Event, 'arg passed to GetEventTarget not an Event');=0A=
  return ev.srcElement || ev.target;=0A=
}=0A=
=0A=
/** cancels the event */=0A=
// from http://www.quirksmode.org/js/events_order.html=0A=
function CancelEvent(/*Event*/ ev) {=0A=
  if (is_ie) {=0A=
    ev.cancelBubble =3D true;=0A=
  } else if (ev.stopPropagation) {=0A=
    ev.stopPropagation();=0A=
  }=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Formatting utilities=0A=
//-----------------------------------------------------------------------=
-=0A=
// A simple printf type function that takes in a template array, and a =
data=0A=
// array. e.g. PrintArray(["a",,"b",,"c"], ["x", "y"]) =3D> axbyc=0A=
function PrintArray(array, data) {=0A=
  // Check that the argument count is correct.=0A=
  AssertEquals(array.length, data.length * 2 + 1);=0A=
=0A=
  for (var i =3D 0, idx =3D 1; i < data.length; i++, idx +=3D 2) {=0A=
    array[idx] =3D data[i];=0A=
  }=0A=
  return array.join("");=0A=
}=0A=
=0A=
function ImageHtml(url, attributes) {=0A=
  return "<img " + attributes + " src=3D" + url + ">";=0A=
}=0A=
=0A=
// Formats an object id that has two id numbers, eg, foo_3_7=0A=
function MakeId3(idprefix, m, n) {=0A=
  return idprefix + m + "_" + n;=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Email address parsing=0A=
//-----------------------------------------------------------------------=
-=0A=
// Parse an email address of the form "name" <address> into [name, =
address]=0A=
function ParseAddress(addr) {=0A=
  var name =3D "";=0A=
  var address =3D "";=0A=
  for (var i =3D 0; i < addr.length;) {=0A=
    var token =3D GetEmailToken(addr, i);=0A=
    if (token.charAt(0) =3D=3D '<') {=0A=
      var end =3D token.indexOf(">");=0A=
      address =3D token.substring(1, (end !=3D -1) ? end : token.length);=0A=
    } else if (address =3D=3D "") {=0A=
      name +=3D token;=0A=
    }=0A=
    i +=3D token.length;=0A=
  }=0A=
=0A=
  // Check if it's a simple email address of the form "jlim@google.com"=0A=
  if (address =3D=3D "" && name.indexOf("@") !=3D -1) {=0A=
    address =3D name;=0A=
    name =3D "";=0A=
  }=0A=
=0A=
  name =3D CollapseWhitespace(name);=0A=
  name =3D StripQuotes(name, "'");=0A=
  name =3D StripQuotes(name, "\"");=0A=
  address =3D CollapseWhitespace(address);=0A=
  return [name, address];=0A=
}=0A=
=0A=
// Given an email address, get the address part=0A=
function GetAddress(address) {=0A=
  return ParseAddress(address)[1];=0A=
}=0A=
=0A=
// Get the username part of an email address=0A=
function GetAddressUsername(address) {=0A=
  address =3D GetAddress(address);=0A=
  var at =3D address.indexOf("@");=0A=
  return (at =3D=3D -1) ? address : address.substr(0, at);=0A=
}=0A=
=0A=
// Given an email address, get the personal part=0A=
function GetPersonal(address) {=0A=
  return ParseAddress(address)[0];=0A=
}=0A=
=0A=
// Given an address, get a short name=0A=
function GetPersonalElseUsername(address) {=0A=
  var personal =3D GetPersonal(address);=0A=
  if (personal !=3D "") {=0A=
    return personal;=0A=
  } else {=0A=
    return GetAddressUsername(address);=0A=
  }=0A=
}=0A=
=0A=
// Strip ' or " chars around a string=0A=
function StripQuotes(str, quotechar) {=0A=
  var len =3D str.length;=0A=
  if (str.charAt(0) =3D=3D quotechar &&=0A=
      str.charAt(len - 1) =3D=3D quotechar) {=0A=
    return str.substring(1, len - 1);=0A=
  }=0A=
  return str;=0A=
}=0A=
=0A=
// Convert a string containing list of email addresses into an array=0A=
// of strings=0A=
function EmailsToArray(str) {=0A=
  var result =3D [];=0A=
  var email =3D "";=0A=
  var token;=0A=
=0A=
  for (var i =3D 0; i < str.length; ) {=0A=
    token =3D GetEmailToken(str, i);=0A=
    if (token =3D=3D ",") {=0A=
      AddEmailAddress(result, email);=0A=
      email =3D "";=0A=
      i++;=0A=
      continue;=0A=
    }=0A=
    email +=3D token;=0A=
    i +=3D token.length;=0A=
  }=0A=
=0A=
  // Add last=0A=
  if (email !=3D"" || token =3D=3D ",") {=0A=
    AddEmailAddress(result, email);=0A=
  }=0A=
  return result;=0A=
}=0A=
=0A=
// Get the next token from a position in an address string=0A=
var openers_ =3D "\"<([";=0A=
var closers_ =3D "\">)]";=0A=
function GetEmailToken(str, pos) {=0A=
  var ch =3D str.charAt(pos);=0A=
  var p =3D openers_.indexOf(ch);=0A=
  if (p =3D=3D -1)=0A=
    return ch;=0A=
  var end_pos =3D str.indexOf(closers_.charAt(p), pos + 1);=0A=
  var token =3D (end_pos >=3D 0) ? str.substring(pos, end_pos + 1) :=0A=
              str.substr(pos);=0A=
  return token;=0A=
}=0A=
=0A=
// Add an email address to the result array.=0A=
function AddEmailAddress(result, email) {=0A=
  email =3D CleanEmailAddress(email);=0A=
  result[result.length] =3D email;=0A=
}=0A=
=0A=
// Clean up email address:=0A=
// - remove extra spaces=0A=
// - Surround name with quotes if it contains special characters=0A=
// to check if we need " quotes=0A=
// Note: do not use /g in the regular expression, otherwise the=0A=
// regular expression cannot be reusable.=0A=
var specialchars_re_ =3D /[()<>@,;:\\\".\[\]]/;=0A=
=0A=
function CleanEmailAddress(str) {=0A=
  var name_address =3D ParseAddress(str);=0A=
  var name =3D name_address[0];=0A=
  var address =3D name_address[1];=0A=
=0A=
  if (name.indexOf("\"") =3D=3D -1) {  // If there's no "=0A=
    var quote_needed =3D specialchars_re_.test(name);=0A=
    if (quote_needed) {=0A=
      name =3D "\"" + name + "\"";=0A=
    }=0A=
  }=0A=
=0A=
  if (name =3D=3D "")=0A=
    return address;=0A=
  else if (address =3D=3D "")=0A=
    return name;=0A=
  else=0A=
    return name + " <" + address + ">";=0A=
}=0A=
=0A=
//-----------------------------------------------------------------------=
-=0A=
// Misc=0A=
//-----------------------------------------------------------------------=
-=0A=
// Compare long hex strings=0A=
function CompareID(a, b) {=0A=
  if (a.length !=3D b.length) {=0A=
    return (a.length - b.length);=0A=
  } else {=0A=
    return (a < b) ? -1 : (a > b) ? 1 : 0;=0A=
  }=0A=
}=0A=
=0A=
// Check if a value is defined=0A=
function IsDefined(value) {=0A=
  return (typeof value) !=3D 'undefined';=0A=
}=0A=
=0A=
function GetKeyCode(event) {=0A=
  var code;=0A=
  if (event.keyCode) {=0A=
    code =3D event.keyCode;=0A=
  } else if (event.which) {=0A=
    code =3D event.which;=0A=
  }=0A=
  return code;=0A=
}=0A=
=0A=
// define a forid function to fetch a DOM node by id.=0A=
function forid_1(id) {=0A=
  return document.getElementById(id);=0A=
}=0A=
function forid_2(id) {=0A=
  return document.all[id];=0A=
}=0A=
=0A=
/**=0A=
 * Fetch an HtmlElement by id.=0A=
 * DEPRECATED: use $ in dom.js=0A=
 */=0A=
var forid =3D document.getElementById ? forid_1 : forid_2;=0A=
=0A=
=0A=
=0A=
function log(msg) {=0A=
  /* a top level window is its own parent.  Use !=3D or else fails on IE =
with=0A=
   * infinite loop.=0A=
   */=0A=
  try {=0A=
    if (window.parent !=3D window && window.parent.log) {=0A=
      window.parent.log(window.name + '::' + msg);=0A=
      return;=0A=
    }=0A=
  } catch (e) {=0A=
    // Error: uncaught exception: Permission denied to get property =
Window.log=0A=
  }=0A=
  var logPane =3D forid('log');=0A=
  if (logPane) {=0A=
    var logText =3D '<p class=3Dlogentry><span class=3Dlogdate>' + new =
Date() +=0A=
                  '</span><span class=3Dlogmsg>' + msg + '</span></p>';=0A=
    logPane.innerHTML =3D logText + logPane.innerHTML;=0A=
  } else {=0A=
    window.status =3D msg;=0A=
  }=0A=
}=0A=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/v-app/scripts/1118085881-dom.common.js

=0A=
// Commonly-used functions, reduced.=0A=
=0A=
function d(s) {return document.getElementById(s);}=0A=
function dE(o,s) {return o.getElementsByTagName(s);}=0A=
=0A=
/**=0A=
 * toggleDisplay()=0A=
 *=0A=
 * Will toggle the display property of the style object for any=0A=
 * DOM element or object that supports style as a property.=0A=
 *=0A=
 * Warning: This'll wreak havoc if applied to <TR> elements. Those=0A=
 * babies got different types "table-row" | "block" dependant on =0A=
 * what browser's being used.=0A=
 *=0A=
 * Warning: Written in Texas.  Yeehaw.=0A=
 *=0A=
 * Typical usage:=0A=
 * toggleDisplay(document.getElementById("foo"));=0A=
 */=0A=
function toggleDisplay(o)=0A=
{  =0A=
  var display =3D getStyle(o, "display"); =0A=
  =0A=
  if (o.style)=0A=
    o.style.display =3D=0A=
      (display !=3D "none") ? "none" : getDisplayStyleByTagName(o);=0A=
}=0A=
=0A=
=0A=
function getDisplayStyleByTagName(o)=0A=
{=0A=
  n =3D o.nodeName.toLowerCase(); =0A=
  return (=0A=
          n =3D=3D "span"=0A=
          || n =3D=3D "img"=0A=
          || n =3D=3D "a"=0A=
          ) ? "inline" : "block";=0A=
}=0A=
=0A=
=0A=
/**=0A=
 * hideElement()=0A=
 *=0A=
 * Hides an element from view.=0A=
 *=0A=
 * Typical usage:=0A=
 * hideElement(getElement("the-id-of-the-element"));=0A=
 */=0A=
function hideElement(o)=0A=
{=0A=
  if (o && o.style) o.style.display =3D "none";=0A=
}=0A=
=0A=
=0A=
=0A=
/**=0A=
 * showElement()=0A=
 *=0A=
 * Shows an element that was hidden from view.=0A=
 *=0A=
 * Typical usage:=0A=
 * showElement(getElement("the-id-of-the-element"));=0A=
 */=0A=
function showElement(o)=0A=
{=0A=
  =0A=
  if (o && o.style) o.style.display =3D getDisplayStyleByTagName(o);=0A=
}=0A=
=0A=
=0A=
/**=0A=
 * getElement()=0A=
 *=0A=
 * Returns an element by its ID or shows an alert if it can't be found.=0A=
 *=0A=
 * Typical usage:=0A=
 * getElement("the-id-of-the-element");=0A=
 */=0A=
function getElement(id) {=0A=
  var e =3D d(id);=0A=
  if (!e) {=0A=
    alert("Cannot get element: " + id);=0A=
  }=0A=
  return e;=0A=
}=0A=
=0A=
/**=0A=
 * setInnerHTML()=0A=
 *=0A=
 * Sets the innerHTML of an element or shows an alert if can't be set.=0A=
 *=0A=
 * Typical usage:=0A=
 * setInnerHTML("the-id-of-the-element");=0A=
 */=0A=
function setInnerHTML(id, html) {=0A=
  try {=0A=
    getElement(id).innerHTML =3D html;=0A=
  } catch (ex) {=0A=
    alert("Cannot set inner HTML: " + id);=0A=
  }=0A=
}=0A=
=0A=
=0A=
/**=0A=
 * setCssStyle()=0A=
 *=0A=
 * Sets the style of an element by its id or shows an alert if can't be =
set.=0A=
 *=0A=
 * Typical usage:=0A=
 * setCssStyle("the-id-of-the-element", "display", "block");=0A=
 */=0A=
function setCssStyle(id, name, value) {=0A=
  try {=0A=
    getElement(id).style[name] =3D value;=0A=
  } catch (ex) {=0A=
    alert("Cannot set style: " + id);=0A=
  }=0A=
}=0A=
=0A=
=0A=
/**=0A=
 * getStyle()=0A=
 *=0A=
 * Gets the computed style of any object.=0A=
 *=0A=
 * WARNING: Produces unexpected results in Safari.  To achieve best =0A=
 * results, explicitly set the style property for that browser when the =0A=
 * element is rendered.=0A=
 *=0A=
 * Typical usage:=0A=
 * getStyle(object, "display");=0A=
 */=0A=
function getStyle(el, style) {=0A=
  if (!document.getElementById || !el) return;=0A=
  =0A=
  if (document.defaultView=0A=
      && document.defaultView.getComputedStyle) {=0A=
      return document.defaultView.=0A=
        getComputedStyle(el, "").getPropertyValue(style);=0A=
  }  =0A=
  else if (el.currentStyle) {=0A=
    return el.currentStyle[style];=0A=
  }  =0A=
  else { =0A=
    return el.style.display;=0A=
  }=0A=
}=0A=
=0A=
/**=0A=
 * getStyleAttribute()=0A=
 *=0A=
 * Returns the style attribute of the specified node.=0A=
 */=0A=
function getStyleAttribute(node) {=0A=
  if (Detect.IE()) {=0A=
    return node.getAttribute('style').value;=0A=
  }else {=0A=
    return node.getAttribute('style');=0A=
  }=0A=
}=0A=
=0A=
=0A=
/*=0A=
 * showProps()=0A=
 *=0A=
 * Displays all the properties for a given element=0A=
 */=0A=
function showProps(o) {=0A=
	s=3D""; for (p in o) {=0A=
		s+=3Dp+": "+o[p]+"\n<br />";=0A=
	}=0A=
	document.write(s);=0A=
}=0A=
=0A=
=0A=
=0A=
function setIFrameEvent(iframe, eventName, func)=0A=
{=0A=
  if (document.all) {=0A=
    eval('getIFrameDocument(iframe).on' + eventName + ' =3D func;');=0A=
  } else {=0A=
    iframe.contentWindow.addEventListener(eventName, func, true);=0A=
  }=0A=
}=0A=
=0A=
function setIFrameBody(iframe, strStyle, innerHtml) =0A=
{=0A=
  if (!innerHtml) innerHtml =3D '';=0A=
  if (innerHtml =3D=3D '' && Detect.IE()) {=0A=
    innerHtml =3D '<div></div>';=0A=
  }=0A=
  var doc =3D getIFrameDocument(iframe);=0A=
  doc.open();=0A=
  doc.write('<head></head><body style=3D"' + strStyle + '">'=0A=
    + innerHtml + '</body>');=0A=
  doc.close();=0A=
}=0A=
=0A=
=0A=
function getIFrameDocument(iframe)=0A=
{=0A=
  if (Detect.IE()) {=0A=
    return iframe.document;=0A=
  } else {=0A=
    return iframe.contentDocument;=0A=
  }=0A=
}=0A=
=0A=
function getIFrame(strId)=0A=
{=0A=
  if (Detect.IE()) {=0A=
    return document.frames[strId];=0A=
  } else {=0A=
    return document.getElementById(strId);=0A=
  }=0A=
}=0A=
=0A=
=0A=
function createElementandAppend(nodeName, strId, appendTo) {=0A=
  var el =3D document.createElement(nodeName);=0A=
  el.setAttribute("id", strId);=0A=
  if (appendTo) {=0A=
    appendTo.appendChild(el); =0A=
  } else {=0A=
    document.body.appendChild(el); =0A=
  }=0A=
  return el; =0A=
}=0A=
=0A=
function createElementandInsertBefore(nodeName, strId, appendTo, =
sibling) {=0A=
  var el =3D document.createElement(nodeName);=0A=
  el.setAttribute("id", strId);=0A=
  if (appendTo) {=0A=
    appendTo.insertBefore(el, sibling); =0A=
  } else {=0A=
    document.body.insertBefore(el, sibling); =0A=
  }=0A=
  return el; =0A=
}=0A=
=0A=
=0A=
/**=0A=
* getXY()=0A=
 *=0A=
 * Returns the position of any element as an object.=0A=
 *=0A=
 * Typical usage:=0A=
 * var pos =3D getXY(object);=0A=
 * alert(pos.x + " " +pos.y);=0A=
 */=0A=
function getXY(el) {=0A=
  var x =3D el.offsetLeft;=0A=
  var y =3D el.offsetTop;=0A=
  if (el.offsetParent !=3D null) {=0A=
    var pos =3D getXY(el.offsetParent);=0A=
    x +=3D pos.x;=0A=
    y +=3D pos.y;=0A=
  }=0A=
  return {x: x, y: y}=0A=
}=0A=
=0A=
// The following 3 functions are taken from common.js=0A=
function hasClass(el, cl) {=0A=
  if (el =3D=3D null || el.className =3D=3D null) return false;=0A=
  var classes =3D el.className.split(" ");=0A=
  for (var i =3D 0; i < classes.length; i++) {=0A=
    if (classes[i] =3D=3D cl) {=0A=
      return true;=0A=
    }=0A=
  }=0A=
  return false;=0A=
}=0A=
=0A=
// Add a class to element=0A=
function addClass(el, cl) {=0A=
  if (hasClass(el, cl)) return;=0A=
  el.className +=3D " " + cl;=0A=
} =0A=
=0A=
// Remove a class from an element=0A=
function removeClass(el, cl) {=0A=
  if (el.className =3D=3D null) return;=0A=
  var classes =3D el.className.split(" ");=0A=
  var result =3D [];=0A=
  var changed =3D false;=0A=
  for (var i =3D 0; i < classes.length; i++) {=0A=
    if (classes[i] !=3D cl) {=0A=
      if (classes[i]) { result.push(classes[i]); }=0A=
    } else {=0A=
      changed =3D true;=0A=
    } =0A=
  } =0A=
  if (changed) { el.className =3D result.join(" "); }=0A=
} =0A=
=0A=
function toggleClass(el, cl) {=0A=
  if (hasClass(el, cl)) {=0A=
    removeClass(el, cl);=0A=
  } else {=0A=
    addClass(el, cl);=0A=
  }=0A=
}=0A=
=0A=
=0A=
/* Constants for node types, since IE doesn't support Node.TEXT_NODE */=0A=
var TEXT_NODE =3D 3;=0A=
var ELEMENT_NODE =3D 1;=0A=
=0A=
=0A=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0083_01C869AB.CA0E2D70"


------=_NextPart_001_0083_01C869AB.CA0E2D70
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://psychologyofpain.blogspot.com/2008/02/abc-news-how-chronic-pain-gets-into.html

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML lang=3Den xml:lang=3D"en" =
xmlns=3D"http://www.w3.org/1999/xhtml"><HEAD><TITLE>Psychology of Pain: =
ABC News: How Chronic Pain Gets Into Your Head</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3DUTF-8">
<META content=3Dtrue name=3DMSSmartTagsPreventParsing>
<META content=3D"MSHTML 6.00.6000.16587" name=3DGENERATOR><LINK=20
title=3D"Psychology of Pain - Atom"=20
href=3D"http://psychologyofpain.blogspot.com/feeds/posts/default"=20
type=3Dapplication/atom+xml rel=3Dalternate><LINK title=3D"Psychology of =
Pain - RSS"=20
href=3D"http://psychologyofpain.blogspot.com/feeds/posts/default?alt=3Drs=
s"=20
type=3Dapplication/rss+xml rel=3Dalternate><LINK title=3D"Psychology of =
Pain - Atom"=20
href=3D"http://www.blogger.com/feeds/30284092/posts/default"=20
type=3Dapplication/atom+xml rel=3Dservice.post><LINK title=3DRSD=20
href=3D"http://www.blogger.com/rsd.g?blogID=3D30284092" =
type=3Dapplication/rsd+xml=20
rel=3DEditURI><LINK title=3D"Psychology of Pain - Atom"=20
href=3D"http://psychologyofpain.blogspot.com/feeds/2542770065418675371/co=
mments/default"=20
type=3Dapplication/atom+xml rel=3Dalternate>
<STYLE type=3Dtext/css>@import url( =
http://www.blogger.com/css/blog_controls.css );
@import url( =
http://www.blogger.com/dyn-css/authorization.css?targetBlogID=3D30284092 =
);
</STYLE>

<STYLE type=3Dtext/css>BODY {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #123; =
PADDING-BOTTOM: 20px; MARGIN: 0px; FONT: small/1.5em "Trebuchet =
MS",Verdana,Arial,Sans-serif; COLOR: #ccc; PADDING-TOP: 20px; =
TEXT-ALIGN: center
}

@media All   =20
{
#content {
	MARGIN: 0px auto; WIDTH: 740px; TEXT-ALIGN: left
}
#main {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 97%; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_main_bot.gif) #eec =
no-repeat left bottom; FLOAT: left; PADDING-BOTTOM: 10px; MARGIN: 15px =
0px 0px; WIDTH: 485px; COLOR: #333; LINE-HEIGHT: 1.5em; PADDING-TOP: 0px
}
#main2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_main_top.gif) no-repeat =
left top; FLOAT: left; PADDING-BOTTOM: 0px; WIDTH: 100%; PADDING-TOP: =
10px
}
#sidebar {
	FONT-SIZE: 97%; FLOAT: right; MARGIN: 15px 0px 0px; WIDTH: 240px; =
LINE-HEIGHT: 1.5em
}

}

@media Handheld   =20
{
#content {
	WIDTH: 90%
}
#main {
	BACKGROUND: #eec; FLOAT: none; WIDTH: 100%
}
#main2 {
	BACKGROUND: none transparent scroll repeat 0% 0%; FLOAT: none; WIDTH: =
100%
}
#sidebar {
	FLOAT: none; WIDTH: 100%
}
    }
A:link {
	COLOR: #9db
}
A:visited {
	COLOR: #798
}
A:hover {
	COLOR: #fff
}
A IMG {
	BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: =
0px; BORDER-RIGHT-WIDTH: 0px
}
#main A:link {
	COLOR: #347
}
#main A:visited {
	COLOR: #666
}
#main A:hover {
	COLOR: #68a
}

@media All   =20
{
#header {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_cap_bot.gif) #357 =
no-repeat left bottom; PADDING-BOTTOM: 8px; MARGIN: 0px; COLOR: #fff; =
PADDING-TOP: 0px
}
#header DIV {
	PADDING-RIGHT: 15px; PADDING-LEFT: 15px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_cap_top.gif) no-repeat =
left top; PADDING-BOTTOM: 0px; PADDING-TOP: 8px
}

}

@media Handheld   =20
{
#header {
	BACKGROUND: #357
}
#header DIV {
	BACKGROUND: none transparent scroll repeat 0% 0%
}
    }
#blog-title {
	PADDING-RIGHT: 30px; PADDING-LEFT: 30px; FONT-SIZE: 200%; =
PADDING-BOTTOM: 5px; MARGIN: 0px; LINE-HEIGHT: 1.2em; PADDING-TOP: 10px
}
#blog-title A {
	COLOR: #fff; TEXT-DECORATION: none
}
#description {
	PADDING-RIGHT: 30px; PADDING-LEFT: 30px; FONT-SIZE: 94%; =
PADDING-BOTTOM: 10px; MARGIN: 0px; COLOR: #abc; LINE-HEIGHT: 1.5em; =
PADDING-TOP: 5px
}
.date-header {
	FONT-SIZE: 85%; MARGIN: 0px 28px 0px 43px; TEXT-TRANSFORM: uppercase; =
COLOR: #586; LINE-HEIGHT: 2em; LETTER-SPACING: 0.2em
}
.post {
	BORDER-RIGHT: #bb9 0px dotted; PADDING-RIGHT: 13px; BORDER-TOP: #bb9 =
1px dotted; PADDING-LEFT: 13px; PADDING-BOTTOM: 0px; MARGIN: 0.3em 0px =
25px; BORDER-LEFT: #bb9 0px dotted; PADDING-TOP: 0px; BORDER-BOTTOM: =
#bb9 1px dotted
}
.post-title {
	BORDER-RIGHT: #bb9 1px dotted; PADDING-RIGHT: 14px; BORDER-TOP: #bb9 =
0px dotted; DISPLAY: block; PADDING-LEFT: 29px; FONT-SIZE: 135%; =
BACKGROUND: url(http://www.blogblog.com/rounders3/icon_arrow.gif) =
no-repeat 10px 0.5em; PADDING-BOTTOM: 2px; MARGIN: 0px; BORDER-LEFT: =
#bb9 1px dotted; COLOR: #333; LINE-HEIGHT: 1.5em; PADDING-TOP: 2px; =
BORDER-BOTTOM: #bb9 1px dotted
}
#main A.title-link {
	DISPLAY: block; TEXT-DECORATION: none
}
.post-title STRONG {
	DISPLAY: block; TEXT-DECORATION: none
}
#main A.title-link:hover {
	COLOR: #000; BACKGROUND-COLOR: #fff
}
.post-body {
	BORDER-RIGHT: #bb9 1px dotted; PADDING-RIGHT: 14px; BORDER-TOP: #bb9 =
0px dotted; PADDING-LEFT: 29px; PADDING-BOTTOM: 1px; BORDER-LEFT: #bb9 =
1px dotted; PADDING-TOP: 10px; BORDER-BOTTOM: #eec 1px dotted
}
HTML > BODY .post-body {
	BORDER-BOTTOM-WIDTH: 0px
}
.post P {
	MARGIN: 0px 0px 0.75em
}
P.post-footer {
	BORDER-RIGHT: #bb9 1px dotted; PADDING-RIGHT: 14px; BORDER-TOP: #bb9 =
1px dotted; PADDING-LEFT: 29px; FONT-SIZE: 100%; BACKGROUND: #fff; =
PADDING-BOTTOM: 2px; MARGIN: 0px; BORDER-LEFT: #bb9 1px dotted; COLOR: =
#666; LINE-HEIGHT: 1.5em; PADDING-TOP: 2px; BORDER-BOTTOM: #eee 1px =
solid; TEXT-ALIGN: right
}
HTML > BODY P.post-footer {
	BORDER-BOTTOM-COLOR: transparent
}
P.post-footer EM {
	DISPLAY: block; FLOAT: left; FONT-STYLE: normal; TEXT-ALIGN: left
}
A.comment-link {
	PADDING-LEFT: 14px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/icon_comment.gif) no-repeat 0px =
45%
}
HTML > BODY A.comment-link {
	PADDING-LEFT: 14px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/icon_comment.gif) no-repeat 0px =
45%
}
.post IMG {
	BORDER-RIGHT: #586 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #586 1px =
solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; MARGIN: 0px 0px 5px; =
BORDER-LEFT: #586 1px solid; PADDING-TOP: 4px; BORDER-BOTTOM: #586 1px =
solid
}
BLOCKQUOTE {
	BORDER-RIGHT: #596 0px dotted; PADDING-RIGHT: 15px; BORDER-TOP: #596 =
1px dotted; PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; MARGIN: 0.75em 0px; =
BORDER-LEFT: #596 0px dotted; PADDING-TOP: 5px; BORDER-BOTTOM: #596 1px =
dotted
}
.post BLOCKQUOTE P {
	MARGIN: 0.5em 0px
}
#comments {
	BORDER-RIGHT: #6a7 1px dotted; PADDING-RIGHT: 0px; BORDER-TOP: #6a7 0px =
dotted; PADDING-LEFT: 0px; PADDING-BOTTOM: 15px; MARGIN: -25px 13px 0px; =
BORDER-LEFT: #6a7 1px dotted; PADDING-TOP: 20px; BORDER-BOTTOM: #6a7 1px =
dotted
}
#comments H4 {
	PADDING-RIGHT: 14px; PADDING-LEFT: 29px; FONT-SIZE: 120%; =
PADDING-BOTTOM: 2px; MARGIN: 0px 0px 10px; COLOR: #333; LINE-HEIGHT: =
1.4em; PADDING-TOP: 0px; BORDER-BOTTOM: #6a7 1px dotted
}
#comments-block {
	MARGIN: 0px 15px 0px 9px
}
.comment-data {
	PADDING-RIGHT: 0px; PADDING-LEFT: 20px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/icon_comment.gif) no-repeat 2px =
0.3em; PADDING-BOTTOM: 0px; MARGIN: 0.5em 0px; COLOR: #666; PADDING-TOP: =
0px
}
.comment-poster {
	FONT-WEIGHT: bold
}
.comment-body {
	PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; MARGIN: =
0px 0px 1.25em; PADDING-TOP: 0px
}
.comment-body P {
	MARGIN: 0px 0px 0.5em
}
.comment-timestamp {
	PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0.75em; MARGIN: =
0px 0px 0.5em; COLOR: #fff; PADDING-TOP: 0px
}
.comment-timestamp A:link {
	COLOR: #fff
}
.deleted-comment {
	COLOR: gray; FONT-STYLE: italic
}

@media All   =20
{
#profile-container {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_prof_bot.gif) #586 =
no-repeat left bottom; PADDING-BOTTOM: 10px; MARGIN: 0px 0px 15px; =
COLOR: #fff; PADDING-TOP: 0px
}
#profile-container H2 {
	BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 15px; PADDING-LEFT: 15px; =
BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 115%; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_prof_top.gif) no-repeat =
left top; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0.2em; MARGIN: 0px; =
COLOR: #fff; LINE-HEIGHT: 1.5em; PADDING-TOP: 10px; BORDER-RIGHT-WIDTH: =
0px
}

}

@media Handheld   =20
{
#profile-container {
	BACKGROUND: #586
}
#profile-container H2 {
	BACKGROUND: none transparent scroll repeat 0% 0%
}
    }
.profile-datablock {
	BORDER-TOP: #7a8 1px dotted; MARGIN: 0px 15px 0.5em; PADDING-TOP: 8px
}
.profile-img {
	DISPLAY: inline
}
.profile-img IMG {
	BORDER-RIGHT: #bec 4px solid; BORDER-TOP: #bec 4px solid; FLOAT: left; =
MARGIN: 0px 10px 5px 0px; BORDER-LEFT: #bec 4px solid; BORDER-BOTTOM: =
#bec 4px solid
}
.profile-data STRONG {
	DISPLAY: block
}
#profile-container P {
	MARGIN: 0px 15px 0.5em
}
#profile-container .profile-textblock {
	CLEAR: left
}
#profile-container A {
	COLOR: #fff
}
.profile-link A {
	PADDING-LEFT: 15px; FONT-WEIGHT: bold; BACKGROUND: =
url(http://www.blogblog.com/rounders3/icon_profile.gif) no-repeat 0px =
0.1em
}
UL.profile-datablock {
	LIST-STYLE-TYPE: none
}

@media All   =20
{
.box {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_side_top.gif) #234 =
no-repeat left top; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 15px; COLOR: =
#abc; PADDING-TOP: 10px
}
.box2 {
	PADDING-RIGHT: 13px; PADDING-LEFT: 13px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_side_bot.gif) no-repeat =
left bottom; PADDING-BOTTOM: 8px; PADDING-TOP: 0px
}

}

@media Handheld   =20
{
.box {
	BACKGROUND: #234
}
.box2 {
	BACKGROUND: none transparent scroll repeat 0% 0%
}
    }
.sidebar-title {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 115%; PADDING-BOTTOM: =
0.2em; MARGIN: 0px; COLOR: #abc; LINE-HEIGHT: 1.5em; PADDING-TOP: 0px; =
BORDER-BOTTOM: #456 1px dotted
}
.box UL {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0.5em 0px 1.25em; PADDING-TOP: 0px; LIST-STYLE-TYPE: none
}
.box UL LI {
	PADDING-RIGHT: 0px; PADDING-LEFT: 16px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/icon_arrow_sm.gif) no-repeat 2px =
0.25em; PADDING-BOTTOM: 3px; MARGIN: 0px 0px 3px; LINE-HEIGHT: 1.4em; =
PADDING-TOP: 0px; BORDER-BOTTOM: #345 1px dotted
}
.box P {
	MARGIN: 0px 0px 0.6em
}
#footer {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: =
0px; MARGIN: 0px; PADDING-TOP: 15px
}

@media All   =20
{
#footer DIV {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_cap_top.gif) #357 =
no-repeat left top; PADDING-BOTTOM: 0px; COLOR: #fff; PADDING-TOP: 8px
}
#footer DIV DIV {
	PADDING-RIGHT: 15px; PADDING-LEFT: 15px; BACKGROUND: =
url(http://www.blogblog.com/rounders3/corners_cap_bot.gif) no-repeat =
left bottom; PADDING-BOTTOM: 8px; PADDING-TOP: 0px
}

}

@media Handheld   =20
{
#footer DIV {
	BACKGROUND: #357
}
#footer DIV DIV {
	BACKGROUND: none transparent scroll repeat 0% 0%
}
    }
#footer HR {
	DISPLAY: none
}
#footer P {
	MARGIN: 0px
}
#footer A {
	COLOR: #fff
}
</STYLE>
<!-- -->
<STYLE type=3Dtext/css>@import url( =
http://www.blogger.com/css/navbar/classic.css );
DIV.b-mobile {
	DISPLAY: none
}
</STYLE>
</HEAD>
<BODY><IFRAME id=3Dnavbar-iframe marginWidth=3D0 marginHeight=3D0=20
src=3D"http://www.blogger.com/navbar.g?targetBlogID=3D30284092&amp;blogNa=
me=3DPsychology+of+Pain&amp;publishMode=3DPUBLISH_MODE_BLOGSPOT&amp;navba=
rType=3DBLUE&amp;layoutType=3DCLASSIC&amp;homepageUrl=3Dhttp%3A%2F%2Fpsyc=
hologyofpain.blogspot.com%2F&amp;searchRoot=3Dhttp%3A%2F%2Fpsychologyofpa=
in.blogspot.com%2Fsearch"=20
frameBorder=3D0 width=3D"100%" scrolling=3Dno height=3D30></IFRAME>
<DIV id=3Dspace-for-ie></DIV><!-- Begin #content - Centers all content =
and provides edges for floated columns -->
<DIV id=3Dcontent><!-- Blog Header -->
<DIV id=3Dheader>
<DIV>
<H1 id=3Dblog-title><A =
href=3D"http://psychologyofpain.blogspot.com/">Psychology of=20
Pain </A></H1>
<P id=3Ddescription>Created by Gary B. Rollman, Professor of Psychology, =

University of Western Ontario, London, ON N6A 5C2 (in addition to links =
below,=20
see weekly archives in the right column)</P></DIV></DIV><!-- Begin #main =
- Contains main-column blog content -->
<DIV id=3Dmain>
<DIV id=3Dmain2>
<DIV id=3Dmain3>
<H2 class=3Ddate-header>Wednesday, February 06, 2008</H2><!-- Begin =
.post -->
<DIV class=3Dpost><A name=3D2542770065418675371></A>
<H3 class=3Dpost-title>ABC News: How Chronic Pain Gets Into Your Head =
</H3>
<DIV class=3Dpost-body>
<P>
<DIV style=3D"CLEAR: both"></DIV>
<DIV=20
style=3D"FONT-SIZE: 14px; COLOR: black; FONT-FAMILY: Helvetica; =
TEXT-ALIGN: left">
<DIV style=3D"MARGIN: 0px; LINE-HEIGHT: 37px"><FONT=20
style=3D"FONT: 29px Helvetica; LETTER-SPACING: -1px" face=3DHelvetica =
size=3D6><B>How=20
Chronic Pain Gets Into Your Head</B></FONT></DIV>
<P style=3D"MARGIN: 0px 0px 8px; LINE-HEIGHT: 19px"><FONT=20
style=3D"FONT: 15px Helvetica" face=3DHelvetica size=3D4><B>Long-Lasting =
Pain May Also=20
Explain Depression and Other Mental Problems: Study</B></FONT></P>
<DIV style=3D"MARGIN: 0px; LINE-HEIGHT: 18px"><FONT style=3D"FONT: 14px =
Helvetica"=20
face=3DHelvetica size=3D4><B>By RADHA CHITALE<BR>ABC News Medical=20
Unit</B></FONT></DIV>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5><B>Feb. 6, 2008</B></FONT></P>
<P style=3D"MIN-HEIGHT: 19px; MARGIN: 0px 0px 16px; FONT: 16px =
Times">For many,=20
the impact of chronic pain may not be limited to the pain itself; it =
could also=20
negatively affect their mental state.</P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>New research by scientists at Northwestern University in =
Chicago may=20
explain why people who have chronic pain also suffer from seemingly =
unrelated=20
problems such as depression, anxiety, lack of sleep and trouble=20
focusing.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"The pain is in your head," said Dr. Dante Chialvo, lead author =
of the=20
study and associate research professor of physiology at the Feinberg =
School of=20
Medicine. "The whole head."</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>The study showed that people with chronic pain have a portion =
of the=20
brain that is always active: the region associated with mood and =
attention. This=20
constant activity rewires nerve connections in the brain and leaves =
chronic pain=20
sufferers at greater risk for mental problems.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Chialvo said that a healthy brain exists in a state of =
equilibrium, with=20
about the same number of regions turned on and off. As certain regions =
are=20
recruited for various tasks, other regions turn off to maintain the=20
equilibrium.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>But a person in chronic pain is not so even-keeled.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"We knew there are important differences in behavior in =
[chronic pain]=20
patients," Chialvo said. "That has to come from brain =
abnormalities."</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Chialvo described chronic pain as an idea that gets stuck in =
your head.=20
The brain may not be able to attend to other tasks as well or as quickly =
because=20
it is preoccupied with the pain signals.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Chialvo suggested that receiving pain signals constantly can =
result in=20
mental rewiring that negatively affects the brain, and in particular, =
the=20
regions associated with attention and mood. The rewiring forces their =
brains to=20
allocate mental resources differently to cope with everyday tasks =14 =
from=20
mathematics, to recalling a shopping list, to feeling happy.</FONT></P>
<P style=3D"MIN-HEIGHT: 19px; MARGIN: 0px 0px 16px; FONT: 16px =
Times">The=20
pain-brain connection has been well documented, at least anecdotally, =
and many=20
doctors say they have seen firsthand how a patient's mental state can go =

downhill when they suffer chronic pain.</P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"Disordered sleep, less mental focus, mood irritability, and =
even=20
depression with less overall joy and enthusiasm for life are what I see =
in this=20
patient population," Dr. Doris Cope, professor and vice chairman of pain =

medicine at the University of Pittsburgh Medical Center's Pain Medicine=20
Program.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Such may be the case with John Cannon, 70, who has had chronic =
low back=20
pain for 40 years and says it takes him quite a while to fall =
asleep.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"There are nights that are better than others," he said. "It =
will take me=20
a while to get into a comfortable position to go to sleep. &amp; I just =
learned=20
to operate differently."</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Cannon, who is a participant in Chialvo's study, said he tries =
to not let=20
the pain affect his life drastically, but in some situations, he wishes =
it=20
weren't there.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"I do most things that I always do but I do them more slowly. =
&amp; I=20
know I'm going to pay the price if I lift [heavy things]. You get over =
those=20
things, and I have."</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Misconceptions about the pain-brain connection may have arisen =
from a=20
lack of evidence that pain has a measurable, lasting impact on the=20
brain.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>But Chialvo believes his research finally quantifies the =
connection. His=20
group's experiment monitored patients' brains while they tracked a =
moving object=20
on a computer screen, a task that required minimal attention. Chialvo =
and his=20
group found that patients with chronic pain had 50 times as many active =
regions=20
in their brains than their pain-free counterparts.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"We are providing objective evidence that is not a first person =
report;=20
this is a third-person report," Chialvo said. "There is something inside =
the=20
patient's head, which is different, and we should pay =
attention."</FONT></P>
<P style=3D"MIN-HEIGHT: 19px; MARGIN: 0px 0px 16px; FONT: 16px =
Times">But some are=20
not convinced that these brain changes are as lasting as Chialvo and his =
group=20
suggest.</P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"It really is the 'chicken and the egg' question," said Dr. =
John Wilson,=20
residence program director for the department of neurosurgery at the =
Wake Forest=20
University School of Medicine. "It may well be that this type of =
underlying=20
brain dysfunction was present in this group of patients to start with =
and=20
predisposed this group of patients to develop a chronic pain=20
syndrome."</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Others point out that the study did not report whether patients =
were=20
taking pain medication, nor did it discuss how the brain may change over =
time if=20
a patient were to experience less pain through =
rehabilitation.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"There is no question that changes occur. The question relates =
to=20
permanency," said Dr. Joshua Prager, director of the Pain Medicine =
Center at the=20
University of California at Los Angeles. "I see people come back to life =
and=20
become who they were. When they had pain they were not who they=20
were."</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>Still, Chialvo hopes that with further research into the =
mechanism of how=20
chronic pain makes people more susceptible to mood disorders, people =
will be=20
able to improve their quality of life. Cognitive therapy and other =
techniques=20
that teach people how to distract from their pain may help them as=20
well.</FONT></P>
<P style=3D"MARGIN: 0px 0px 16px"><FONT style=3D"FONT: 16px Times" =
face=3DTimes=20
size=3D5>"Maybe if we treat the consequences, their quality of life will =
be better=20
and they forget about the pain," Chialvo said. "If you are better =
prepared to=20
cope, you are always better."</FONT></P></DIV><A=20
href=3D"http://www.abcnews.go.com/Health/PainManagement/story?id=3D424961=
0&amp;page=3D1">http://www.abcnews.go.com/Health/PainManagement/story?id=3D=
4249610&amp;page=3D1</A>
<DIV=20
style=3D"FONT-SIZE: 14px; COLOR: black; FONT-FAMILY: Helvetica; =
TEXT-ALIGN: left"><BR=20
class=3Dkhtml-block-placeholder></DIV>
<DIV style=3D"CLEAR: both; PADDING-BOTTOM: 0.25em"></DIV>
<P></P></DIV>
<P class=3Dpost-footer><EM>posted by Gary @ <A title=3D"permanent link"=20
href=3D"http://psychologyofpain.blogspot.com/2008/02/abc-news-how-chronic=
-pain-gets-into.html">10:09=20
AM</A></EM> &nbsp; <SPAN class=3Ditem-action><A title=3D"Email Post"=20
href=3D"http://www.blogger.com/email-post.g?blogID=3D30284092&amp;postID=3D=
2542770065418675371"><IMG=20
class=3Dicon-action alt=3D""=20
src=3D"http://www.blogger.com/img/icon18_email.gif"></A></SPAN><SPAN=20
class=3D"item-control blog-admin pid-1139657887"><A title=3D"Edit Post"=20
style=3D"BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; =
BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"=20
href=3D"http://www.blogger.com/post-edit.g?blogID=3D30284092&amp;postID=3D=
2542770065418675371"><IMG=20
class=3Dicon-action alt=3D""=20
src=3D"http://www.blogger.com/img/icon18_edit_allbkg.gif"></A></SPAN> =
</P></DIV><!-- End .post --><!-- Begin #comments -->
<DIV id=3Dcomments>
<P style=3D"PADDING-LEFT: 20px"><A=20
href=3D"http://psychologyofpain.blogspot.com/">&lt;&lt; Home</A> =
</P></DIV><!-- End #comments --></DIV></DIV></DIV><!-- End #main --><!-- =
Begin #sidebar -->
<DIV id=3Dsidebar>
<TABLE cellSpacing=3D0 bgColor=3D#a0a0a0 border=3D0>
  <TBODY>
  <TR>
    <TD bgColor=3D#123>
      <P><A href=3D"http://feeds.feedburner.com/PsychologyOfPain"=20
      type=3Dapplication/rss+xml rel=3Dalternate><IMG=20
      style=3D"BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; =
BORDER-BOTTOM-WIDTH: 0px; VERTICAL-ALIGN: middle; BORDER-RIGHT-WIDTH: =
0px"=20
      alt=3D""=20
      =
src=3D"http://www.feedburner.com/fb/images/pub/feed-icon16x16.png"></A>&n=
bsp;<A=20
      href=3D"http://feeds.feedburner.com/PsychologyOfPain"=20
      type=3Dapplication/rss+xml rel=3Dalternate>Subscribe in a =
reader</A></P>
      <SCRIPT src=3D"http://embed.technorati.com/embed/vinzeeip4w.js"=20
      type=3Dtext/javascript></SCRIPT>
<!-- Start www.Answers.com Answers Box -->
      <DIV id=3DbigBox=20
      style=3D"BORDER-RIGHT: #003399 1px solid; BORDER-TOP: #003399 1px =
solid; BORDER-LEFT: #003399 1px solid; WIDTH: 250px; BORDER-BOTTOM: =
#003399 1px solid; BACKGROUND-COLOR: #003399; TEXT-ALIGN: center">
      <P style=3D"MARGIN: 0px; WIDTH: 250px; BACKGROUND-COLOR: white"><A =

      href=3D"http://www.answers.com/" target=3D_blank><IMG=20
      style=3D"BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; =
BORDER-BOTTOM-WIDTH: 0px; VERTICAL-ALIGN: top; WIDTH: 105px; HEIGHT: =
21px; BORDER-RIGHT-WIDTH: 0px"=20
      alt=3D"Online dictionary at www.Answers.com"=20
      =
src=3D"http://www.answers.com/main/images/answers_small2.gif"></A><BR><SP=
AN=20
      style=3D"FONT-SIZE: 13px; COLOR: #003399; FONT-FAMILY: Trebuchet =
MS"><A=20
      style=3D"COLOR: #003399; TEXT-DECORATION: none"=20
      href=3D"http://www.answers.com/" target=3D_blank>Comprehensive =
information in=20
      one click</A></SPAN></P>
      <FORM style=3D"DISPLAY: inline; WIDTH: 250px" =
accept-charset=3DUTF-8=20
      onsubmit=3D"return document.getElementById('answers_s').value !=3D =
'';"=20
      action=3Dhttp://www.answers.com/main/ntquery method=3Dget =
target=3D_blank><SPAN=20
      style=3D"FONT-SIZE: 12px; COLOR: white; FONT-FAMILY: Trebuchet =
MS">Tell me=20
      about:</SPAN><INPUT id=3Dinitiator type=3Dhidden value=3D11=20
      name=3Dinitiator><INPUT type=3Dhidden value=3D6050 name=3Dafid> =
<INPUT=20
      id=3Danswers_s style=3D"WIDTH: 100px" maxLength=3D80 size=3D16 =
name=3Ds> <INPUT type=3Dsubmit value=3D" Go "></FORM></DIV><!-- End =
www.Answers.com Answers Box -->
      <P>Click on individual Archives below for earlier posts.</P><!-- =
Begin .box -->
      <DIV class=3Dbox>
      <DIV class=3Dbox2>
      <DIV class=3Dbox3>
      <H2 class=3Dsidebar-title>Recent Posts</H2>
      <UL id=3Drecently>
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/02/worlds-hottest-chili=
-wsjcom.html">The=20
        World's Hottest Chili - WSJ.com</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/pitching-relief-phys=
ician-with.html">Pitching=20
        Relief: A Physician With Firsthand Knowle...</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/crankshaft.html">Cra=
nkshaft</A>=20

        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/swiss-study-in-mice-=
may-lead-to-new.html">Swiss=20
        study in mice may lead to new pain drugs | R...</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/best-of-januarys-pai=
n-articles-how-to.html">The=20
        Best of January=E2=80=99s Pain Articles | How To Cope ...</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/emergency-room-pain-=
rating-scales.html">Emergency=20
        room - pain rating scales</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/strange-creature-imm=
une-to-pain.html">Strange=20
        Creature Immune to Pain | LiveScience</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/simply-wait-personal=
-blog-by-writer.html">SIMPLY=20
        WAIT - a personal blog by writer Patry Fran...</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/rein-on-pain-lays-ma=
inly-in-brain.html">Rein=20
        on pain lays mainly in the brain, researchers...</A>=20
        <LI><A=20
        =
href=3D"http://psychologyofpain.blogspot.com/2008/01/training-your-brain-=
to-handle-pain.html">Training=20
        Your Brain to Handle Pain - video</A> </LI></UL>
      <P id=3Dpowered-by><A href=3D"http://www.blogger.com/"><IMG=20
      alt=3D"Powered by Blogger"=20
      src=3D"http://buttons.blogger.com/bloggerbutton1.gif"></A></P>
      <SCRIPT=20
      =
src=3D"http://gmodules.com/ig/ifr?url=3Dhttp://www.openlaszlo.org/apps/cl=
ockblox.xml&amp;synd=3Dopen&amp;w=3D220&amp;h=3D150&amp;title=3DLaszlo+Cl=
ockBlox&amp;border=3D%23ffffff%7C0px%2C1px+solid+%23004488%7C0px%2C1px+so=
lid+%23005599%7C0px%2C1px+solid+%230077BB%7C0px%2C1px+solid+%230088CC&amp=
;output=3Djs"></SCRIPT>
      </DIV></DIV></DIV><!-- End .box -->
      <DIV></DIV><!-- End #sidebar --><!-- Begin #footer -->
      <DIV id=3Dfooter>
      <DIV>
      <DIV>
      <HR>

      <P><!-- This is an optional footer. If you want text here, place =
it inside these tags, and remove this comment. =
-->&nbsp;</P></DIV></DIV></DIV><!-- End #footer -->
      <DIV></DIV><!-- End #content --><!--WEBBOT bot=3D"HTMLMarkup" =
startspan ALT=3D"Site Meter" -->
      <SCRIPT =
src=3D"http://s26.sitemeter.com/js/counter.js?site=3Ds26ppain"=20
      type=3Dtext/javascript>
</SCRIPT>
      <NOSCRIPT><A =
href=3D"http://s26.sitemeter.com/stats.asp?site=3Ds26ppain"=20
      target=3D_top><IMG alt=3D"Site Meter"=20
      src=3D"http://s26.sitemeter.com/meter.asp?site=3Ds26ppain" =
border=3D0></A>=20
      </NOSCRIPT><!--WEBBOT bot=3D"HTMLMarkup" Endspan =
--></TR></TBODY></TABLE></DIV></DIV></BODY></HTML>

------=_NextPart_001_0083_01C869AB.CA0E2D70
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.blogger.com/navbar.g?targetBlogID=30284092&blogName=Psychology+of+Pain&publishMode=PUBLISH_MODE_BLOGSPOT&navbarType=BLUE&layoutType=CLASSIC&homepageUrl=http%3A%2F%2Fpsychologyofpain.blogspot.com%2F&searchRoot=http%3A%2F%2Fpsychologyofpain.blogspot.com%2Fsearch

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML dir=3Dltr><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dutf-8"><LINK=20
href=3D"http://www.blogger.com/v-css/navbar/2173601441-navbar.css" =
type=3Dtext/css=20
rel=3Dstylesheet><LINK =
href=3D"http://www.blogger.com/v-css/navbar/2795506556-1.css"=20
type=3Dtext/css rel=3Dstylesheet>
<META content=3D"MSHTML 6.00.6000.16587" name=3DGENERATOR></HEAD>
<BODY>
<SCRIPT src=3D"http://www.blogger.com/v-js/3625575137-cookies.common.js" =

type=3Dtext/javascript></SCRIPT>

<SCRIPT =
src=3D"http://www.blogger.com/v-app/scripts/1019856700-common.js"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT =
src=3D"http://www.blogger.com/v-app/scripts/1118085881-dom.common.js"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT type=3Dtext/javascript>=0A=
=0A=
  =0A=
   var ID =3D "30284092";=0A=
   var FLAG_COOKIE_NAME =3D 'flaggedBlog';=0A=
   var MAX_FLAGGED_BLOGS =3D 10;=0A=
   var FLAG_BLOG_URL =3D "http://www.blogger.com" +=0A=
                       "/flag-blog.g?nav=3D" +=0A=
                       "1" +=0A=
                       "&toFlag=3D" + ID;=0A=
   var UNFLAG_BLOG_URL =3D "http://www.blogger.com" +=0A=
                       "/unflag-blog.g?nav=3D" +=0A=
                       "1" +=0A=
                       "&toFlag=3D" + ID;=0A=
   var FLAG_IMAGE_URL =3D "http://www.blogger.com" + "/img/navbar/" +=0A=
                        "1" + "/flag.gif";=0A=
   var UNFLAG_IMAGE_URL =3D "http://www.blogger.com" +=0A=
                           "/img/navbar/1/unflag.gif";=0A=
=0A=
   var ncHasFlagged =3D false;=0A=
   var servletTarget =3D new Image();=0A=
=0A=
  =0A=
  function hasFlagged() {=0A=
    if (getCookie(FLAG_COOKIE_NAME)) {=0A=
      var bloglist =3D getCookie(FLAG_COOKIE_NAME);=0A=
      var blogarray =3D bloglist.split(",")=0A=
      if (FindInArray(blogarray, ID) > 0) {=0A=
        return true;=0A=
      }=0A=
    }=0A=
    return ncHasFlagged;=0A=
  }=0A=
  =0A=
=0A=
  function toggleFlag() {=0A=
    var date =3D new Date();=0A=
    if (hasFlagged()) {=0A=
      removeBlogFromFlagCookie();=0A=
      servletTarget.src =3D UNFLAG_BLOG_URL + '&d=3D' + date.getTime();=0A=
      document.getElementById('bt-flag').style.background =3D=0A=
        'url(' + FLAG_IMAGE_URL + ') left no-repeat';=0A=
      ncHasFlagged =3D false;=0A=
      document.getElementById('bt-unflag-body').style.display =3D 'none';=0A=
      document.getElementById('bt-flag-body').style.display =3D 'inline'=0A=
      refreshDrop();=0A=
    } else {=0A=
      setBloggerFlagCookie();=0A=
      servletTarget.src =3D FLAG_BLOG_URL + '&d=3D' + date.getTime();=0A=
      document.getElementById('bt-flag').style.background =3D=0A=
        'url(' + UNFLAG_IMAGE_URL + ') left no-repeat';=0A=
      ncHasFlagged =3D true;=0A=
      document.getElementById('bt-flag-body').style.display =3D 'none'=0A=
      document.getElementById('bt-unflag-body').style.display =3D =
'inline'=0A=
      refreshDrop();=0A=
    }=0A=
  }=0A=
=0A=
  =0A=
  function showDrop() {=0A=
   var overlap =3D 5;=0A=
   var dropdown_position =3D=0A=
     GetPageOffsetRight(document.getElementById('b-flag-this')) - =
overlap + "px";=0A=
=0A=
   document.getElementById('unflagi').style.display =3D 'none';=0A=
   document.getElementById('flagi').style.display =3D 'none';=0A=
=0A=
   if (!hasFlagged()) {=0A=
      document.getElementById('flagi').style.display =3D 'inline';=0A=
      document.getElementById('flagi').style.left =3D dropdown_position;=0A=
      showElement(document.getElementById('flagi'));=0A=
    } else {=0A=
      document.getElementById('unflagi').style.display =3D 'inline';=0A=
      document.getElementById('unflagi').style.left =3D =
dropdown_position;=0A=
      showElement(document.getElementById('unflagi'));=0A=
    }=0A=
  }=0A=
=0A=
  =0A=
  function hideDrop() {=0A=
      hideElement(document.getElementById('flagi'));=0A=
      hideElement(document.getElementById('unflagi'));=0A=
  }=0A=
=0A=
  =0A=
  function refreshDrop() {=0A=
    hideDrop();=0A=
    showDrop();=0A=
  }=0A=
=0A=
  =0A=
  function setBloggerFlagCookie() {=0A=
    var bloglist =3D ""=0A=
    if (getCookie(FLAG_COOKIE_NAME)) {=0A=
      bloglist =3D getCookie(FLAG_COOKIE_NAME)=0A=
      var blogarray =3D bloglist.split(",")=0A=
      if (blogarray.length >=3D MAX_FLAGGED_BLOGS) {=0A=
        blogarray.shift()=0A=
      }=0A=
      InsertArray(blogarray, ID)=0A=
      bloglist =3D blogarray.toString();=0A=
    } else {=0A=
      bloglist =3D ID=0A=
    }=0A=
    setCookie(FLAG_COOKIE_NAME, bloglist, null, null, '/', null)=0A=
   }=0A=
=0A=
  =0A=
  function removeBlogFromFlagCookie(){=0A=
    if (getCookie(FLAG_COOKIE_NAME)) {=0A=
      var bloglist =3D getCookie(FLAG_COOKIE_NAME);=0A=
      var blogarray =3D bloglist.split(",")=0A=
      if (FindInArray(blogarray, ID) > 0) {=0A=
        DeleteArrayElement(blogarray, ID)=0A=
        bloglist =3D blogarray.toString();=0A=
      }=0A=
      setCookie(FLAG_COOKIE_NAME, bloglist, null, null, '/', null);=0A=
    }=0A=
  }=0A=
  =0A=
=0A=
  </SCRIPT>

<DIV id=3Dflagi onmouseover=3DshowDrop() style=3D"POSITION: absolute"=20
onmouseout=3DhideDrop();>
<DIV id=3Dflagi-body>Notify Blogger about <A=20
href=3D"http://help.blogger.com/bin/answer.py?answer=3D42517"=20
target=3D_blank>objectionable content</A> on this page.</DIV></DIV>
<DIV id=3Dunflagi onmouseover=3DshowDrop() style=3D"POSITION: absolute"=20
onmouseout=3DhideDrop()>
<DIV id=3Dunflagi-body>You flagged this blog as having <A=20
href=3D"http://help.blogger.com/bin/answer.py?answer=3D42517"=20
target=3D_blank>objectionable content</A>.</DIV></DIV>
<DIV id=3Db-navbar><A id=3Db-logo title=3D"Go to Blogger.com"=20
href=3D"http://www.blogger.com/">
<DIV id=3Dnavbar-logo></DIV></A>
<DIV class=3Db-mobile id=3Db-sms><A=20
href=3D"sms:?body=3DHi%2C%20check%20out%20Psychology%20of%20Pain%20at%20h=
ttp%3A%2F%2Fpsychologyofpain.blogspot.com%2F">Send=20
As SMS</A></DIV>
<DIV id=3Db-search>
<TABLE cellSpacing=3D0 cellPadding=3D0>
  <TBODY>
  <TR>
    <TD class=3Dnavsearch vAlign=3Dcenter noWrap>
      <FORM id=3Dsearchthis style=3D"DISPLAY: inline"=20
      action=3Dhttp://psychologyofpain.blogspot.com/search method=3Dget>
      <TABLE cellSpacing=3D0 cellPadding=3D0>
        <TBODY>
        <TR>
          <TD vAlign=3Dcenter><INPUT id=3Db-query name=3Dq></TD>
          <TD class=3Dnavbutton vAlign=3Dcenter><NOSCRIPT><INPUT =
id=3Db-searchbtn=20
            title=3D"Search this blog" type=3Dimage alt=3D"Search This =
Blog"=20
            =
src=3D"http://www.blogger.com/img/navbar/1/btn_search_this.png"></NOSCRIP=
T>
            <SCRIPT type=3Dtext/javascript>=0A=
  document.write("\74div id\75\42b-search-this\42 =
onclick\75\42document.getElementById(\47searchthis\47).submit()\42\76\74d=
iv class\75\42bt1\42\76\46nbsp;\74/div\76\n\74div =
class\75\42bt2\42\76Search Blog\74/div\76\n\74div =
class\75\42bt1\42\76\46nbsp;\74/div\76\74/div\076");=0A=
</SCRIPT>
             </TD>
          <TD class=3Dnavbutton vAlign=3Dcenter>
            <SCRIPT type=3Dtext/javascript>=0A=
  document.write("\74div id\75\42b-flag-this\42 =
onclick\75\42toggleFlag();\42 onmouseover\75\42showDrop()\42 =
onmouseout\75\42hideDrop()\42\76\74div =
class\75\42bt1\42\76\46nbsp;\74/div\76\n\74div =
class\75\42bt2\42\76\74div id\75\42bt-flag\42\76\74div =
id\75\42bt-flag-body\42\76Flag Blog\74/div\76\n\74div =
id\75\42bt-unflag-body\42 style\75\42display:none\42\76Unflag =
Blog\74/div\76\74/div\76\74/div\76\n\74div =
class\75\42bt1\42\76\46nbsp;\74/div\76\74/div\076");=0A=
</SCRIPT>
          </TD></TR></TBODY></TABLE></FORM></TD>
    <TD vAlign=3Dcenter noWrap width=3D"100%"><A id=3Db-next=20
      href=3D"http://www.blogger.com/next-blog?navBar=3Dtrue">Next =
Blog=C2=BB</A></TD>
    <TD class=3Dnavbar-right vAlign=3Dcenter noWrap align=3Dright><A =
id=3Db-getorpost=20
      href=3D"http://www.blogger.com/signup.g">Create Blog</A> | <A=20
      href=3D"http://www.blogger.com/">Sign=20
In</A></TD></TR></TBODY></TABLE></DIV></DIV></BODY></HTML>

------=_NextPart_001_0083_01C869AB.CA0E2D70--

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://embed.technorati.com/embed/vinzeeip4w.js

<!--=0A=
drawTREmbed( '<div id=3D"technorati">' +=0A=
'<form id=3D"te_s" method=3D"post" =
action=3D"http://www.technorati.com/search.php">' +=0A=
'<label for=3D"te_search">Search this blog:</label> <input =
id=3D"te_search" type=3D"text" size=3D"12" name=3D"s" maxlength=3D"255" =
/>' +=0A=
'<input type=3D\"submit\" class=3D\"btn\" value=3D\"Search\" /> <input =
type=3D\"hidden\" name=3D\"sub\" value=3D\"searchlet\" /> <input =
type=3D\"hidden\" name=3D\"from\" =
value=3D\"http://psychologyofpain.blogspot.com\" /> <input =
type=3D\"hidden\" name=3D\"cc\" value=3D\"vinzeeip4w\" /> </form>' +=0A=
'<p id=3D"te_l" class=3D"te_l">' +=0A=
'</p>' +=0A=
'<p id=3D"te_lo" class=3D"te_lo"><a =
href=3D"http://www.technorati.com/?cc=3Dvinzeeip4w"><img border=3D"0" =
src=3D"http://static.technorati.com/pix/tn-tiny.gif" alt=3D"Powered by =
Technorati" /></a></p>' +=0A=
'</div>'=0A=
);=0A=
=0A=
=0A=
function drawTREmbed(s){=0A=
    document.write(s);=0A=
}=0A=
// -->=0A=

------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://gmodules.com/ig/ifr?url=http://www.openlaszlo.org/apps/clockblox.xml&synd=open&w=220&h=150&title=Laszlo+ClockBlox&border=%23ffffff%7C0px%2C1px+solid+%23004488%7C0px%2C1px+solid+%23005599%7C0px%2C1px+solid+%230077BB%7C0px%2C1px+solid+%230088CC&output=js

/* Copyright 2007 and beyond, Google Inc.  To use gadgets on your own =
site, visit http://www.google.com/webmasters/gadgets.  To create your =
own gadgets, visit http://www.google.com/apis/gadgets */(function(){var =
c=3Ddocument.bgColor;var =
r,g,b;if(c.length!=3D7){r=3Dg=3Db=3D1;}else{c=3Dc.substring(1,c.length);r=
=3DparseInt(c.substring(0,2),16)/255;g=3DparseInt(c.substring(2,4),16)/25=
5;b=3DparseInt(c.substring(4,6),16)/255;}var =
bgcolor=3D((r+g+b)/3<0.5)?'ffffff':'0000cc';var =
c=3D'color:#'+bgcolor+';';var blue=3D'color:#0000cc;';var =
hover=3D'color:#3366cc;';var visited=3D'color:#551a8b;';var =
active=3D'color:#ff0000;';var sz9=3D'font-size:9px;';var =
sz12=3D'font-size:12px;';var =
underline=3D'text-decoration:underline;';var =
bold=3D'font-weight:bold;';var =
misc=3D'font-family:arial,sans-serif;'+'font-variant:normal;'+'font-style=
:normal;'+'word-spacing:normal;'+'letter-spacing:normal;'+'vertical-align=
:middle;'+'text-transform:none;'+'text-indent:0;'+'line-height:normal;'+'=
white-space:normal;';var css=3D'<style>'+'.ig_tbl_img =
.ig_smbluetext{'+misc+blue+sz9+'}'+'.ig_tbl_img =
.ig_lgbluetext{'+misc+blue+sz12+'}'+'.ig_tbl_img .ig_smbluelink, =
.ig_tbl_img =
.ig_smbluelink:link{'+misc+blue+sz9+underline+'}'+'.ig_tbl_img =
.ig_lgbluelink, .ig_tbl_img =
.ig_lgbluelink:link{'+misc+blue+sz12+underline+'}'+'.ig_tbl_line =
.ig_smbluetext{'+misc+c+sz9+'}'+'.ig_tbl_line =
.ig_lgbluetext{'+misc+c+sz12+'}'+'.ig_tbl_line .ig_smbluelink, =
.ig_tbl_line =
.ig_smbluelink:link{'+misc+c+sz9+underline+'}'+'.ig_tbl_line =
.ig_lgbluelink, .ig_tbl_line =
.ig_lgbluelink:link{'+misc+c+sz12+underline+'}'+'.ig_smbluelink:hover{'+m=
isc+hover+sz9+underline+'}'+'.ig_smbluelink:visited{'+misc+visited+sz9+un=
derline+'}'+'.ig_smbluelink:active{'+misc+active+sz9+underline+'}'+'.ig_l=
gbluelink:hover{'+misc+hover+sz12+underline+'}'+'.ig_lgbluelink:visited{'=
+misc+visited+sz12+underline+'}'+'.ig_lgbluelink:active{'+misc+active+sz1=
2+underline+'}'+'</style>';var html=3D'\x3cstyle\x3e.ig_tbl_img =
table,.ig_tbl_img tr,.ig_tbl_img td,.ig_tbl_img a,.ig_tbl_img =
span,.ig_tbl_line table,.ig_tbl_line tr,.ig_tbl_line td,.ig_tbl_line =
a,.ig_tbl_line =
span,ig_reset{margin:0;padding:0;padding-left:0;padding-right:0;border:0;=
border-collapse:collapse;float:none;clear:none;width:auto;height:auto;bac=
kground:transparent =
none;background-position:0%;font-family:arial,sans-serif;font-variant:nor=
mal;font-style:normal;word-spacing:normal;letter-spacing:normal;vertical-=
align:middle;text-transform:none;text-indent:0;line-height:1.0;white-spac=
e:normal;top:auto;bottom:auto;}\x3c/style\x3e\x3ctable =
class\x3d\x22ig_reset ig_tbl_line\x22width\x3d220\x3e\x3ctr\x3e\x3ctd =
colspan\x3d2 =
style\x3d\x22vertical-align:bottom;text-align:center;width:100%;\x22\x3e\=
x3ca target\x3d_top class\x3d\x22ig_lgbluelink\x22 =
href\x3d\x22http://www.openlaszlo.org/\x22\x3eLaszlo ClockBlox\x3c/a\x3e =
 \x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd style\x3d\x22height:2px;\x22\x3e =
\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d2\x3e\x3cdiv =
style\x3d\x22background:white;padding:0px;border:1px solid =
#004488;\x22\x3e\x3cdiv =
style\x3d\x22background:white;padding:0px;border:1px solid =
#005599;\x22\x3e\x3cdiv =
style\x3d\x22background:white;padding:0px;border:1px solid =
#0077BB;\x22\x3e\x3cdiv =
style\x3d\x22background:white;padding:0px;border:1px solid =
#0088CC;\x22\x3e\x3ciframe =
src\x3d\x22http://gmodules.com/ig/ifr?url\x3dhttp://www.openlaszlo.org/ap=
ps/clockblox.xml\x26amp;synd\x3dopen\x26amp;w\x3d220\x26amp;h\x3d150\x26a=
mp;title\x3dLaszlo+ClockBlox\x26amp;border\x3d%23ffffff%7C0px%2C1px+solid=
+%23004488%7C0px%2C1px+solid+%23005599%7C0px%2C1px+solid+%230077BB%7C0px%=
2C1px+solid+%230088CC\x26amp;source\x3d__LOCATION__\x22 width\x3d220 =
height\x3d150 style\x3d\x22display:block;overflow:autohidden\x22 =
frameborder\x3d0 =
scrolling\x3d\x22no\x22\x3e\x3c/iframe\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\=
x3e\x3ctr\x3e\x3ctd style\x3d\x22text-align:left\x22\x3e\x3cdiv =
style\x3d\x22height:20px\x22 id\x3d\x22left_1389356826\x22\x3e\x3ca =
target\x3d_top =
href\x3d\x22http://fusion.google.com/ig/add?synd\x3dopen\x26source\x3dggy=
p\x26moduleurl\x3dhttp://www.openlaszlo.org/apps/clockblox.xml\x22\x3e\x3=
cimg style\x3d\x22border:0;height:17px;width:68px\x22 =
src\x3d\x22http://gmodules.com/ig/images/plus_google.gif\x22\x3e\x3c/a\x3=
e\x3c/div\x3e\x3c/td\x3e\x3ctd =
style\x3d\x22text-align:right;vertical-align:middle;height:18px\x22\x3e\x=
3cdiv id\x3d\x22right_1389356826\x22\x3e\x3ca target\x3d_top =
style\x3d\x22font-size:10px;color:#0000cc;text-decoration:underline;\x22 =
href\x3d\x22http://www.google.com/webmasters/gadgets.html\x22\x3eGadgets\=
x3c/a\x3e\x3cspan style\x3d\x22font-size:10px;color:#0000cc;\x22\x3e =
powered by =
Google\x3c/span\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e';html=
=3Dhtml.replace(/__LOCATION__/g, =
encodeURIComponent(location.href));document.write(css + html);})();   
------=_NextPart_000_0066_01C869AB.CA0BBC70
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://s26.sitemeter.com/js/counter.js?site=s26ppain

// Copyright (c)2006 Site Meter, Inc.=20
// <![CDATA[
var SiteMeter =3D
{
	init:function( sCodeName, sServerName, sSecurityCode )
	{
		SiteMeter.CodeName =3D sCodeName;
		SiteMeter.ServerName =3D sServerName;	=09
		SiteMeter.SecurityCode =3D sSecurityCode;=09
		SiteMeter.IP =3D "165.124.232.180";=09
		SiteMeter.trackingImage =3D new Image();

		if (typeof(g_sLastCodeName) !=3D 'undefined')
			if (g_sLastCodeName =3D=3D sCodeName)
				return;
			=09
		SiteMeter.onPageLoad();
//		if (!SiteMeter.addEvent( window, "load", SiteMeter.displayCounter ))
//			SiteMeter.onPageLoad();

		SiteMeter.addEvent( window, "load", SiteMeter.trackOutClicks );
	},
=09
	aimInit:function(sCodeName)
	{
		var sSubDomain =3D sCodeName.substr(0,3);
		SiteMeter.init( sCodeName, sSubDomain + ".sitemeter.com", "");
	},

	trackOutClicks:function()
	{
		for(var i=3D0;i<document.links.length;i++)
		{
			SiteMeter.addEvent( document.links[i], "click", SiteMeter.onClick );
			SiteMeter.addEvent( document.links[i], "contextmenu", =
SiteMeter.onContextClick );		=09
		}
	=09
	},

	onPageLoad:function()
	{
		var newImage  =3D document.createElement("img");
		var newHref   =3D document.createElement("a")	=09
		var scriptRef =3D SiteMeter.getScriptElement();

		var newIFrame =3D document.createElement("iframe");
    newIFrame.frameBorder=3D0;
		newIFrame.width =3D 0;
		newIFrame.height =3D 0;
		newIFrame.src =3D "http://dg.specificclick.net/?u=3D" + =
escape(document.location) + "&r=3D" + SiteMeter.getReferral();

		var today=3Dnew Date();
		var sTZO=3D(typeof(today.getTimezoneOffset)!=3D'undefined') ? =
today.getTimezoneOffset() : '';
	=09
		newHref.target =3D "_top";
		newHref.href =3D "http://www.sitemeter.com/stats.asp?site=3D" + =
SiteMeter.CodeName;
		newHref.id =3D "idSiteMeterHREF";
	=09
		newImage.border =3D "0";
		newImage.alt =3D "Site Meter";
	=09
		var sImage =3D "http://" + SiteMeter.ServerName + "/meter.asp?site=3D" =
+ SiteMeter.CodeName;=20
		sImage +=3D "&refer=3D"+SiteMeter.getReferral();
		if (SiteMeter.IP !=3D "")
			sImage +=3D "&ip=3D"+SiteMeter.IP;
		sImage +=3D "&w=3D"+window.screen.width;=20
		sImage +=3D "&h=3D"+window.screen.height;
		sImage +=3D "&clr=3D"+window.screen.colorDepth;
		sImage +=3D "&tzo=3D" + sTZO;
		sImage +=3D "&lang=3D"+escape(navigator.language ? navigator.language =
: navigator.userLanguage);
		if (SiteMeter.SecurityCode !=3D "")
			sImage +=3D "&sc=3D"+escape(SiteMeter.SecurityCode);
		sImage +=3D "&pg=3D"+escape(document.location);
		sImage +=3D "&js=3D1&rnd=3D"+Math.random();
	=09
		newImage.src =3D sImage;
		newHref.appendChild(newImage);
		var parentOfScript =3D SiteMeter.getParent( scriptRef );
	=09
		if (parentOfScript){
			parentOfScript.insertBefore(newHref,scriptRef);
			parentOfScript.insertBefore(newIFrame,scriptRef);
		}
		else
			SiteMeter.trackingImage.src =3D sImage;
	},
=09
	logEvent:function(sEvent, sText, sURL )
	{
		if (document.images && !SiteMeter.isLocalURL(sURL))
		{
			var sImg =3D "http://" + SiteMeter.ServerName + "/meter.asp?site=3D" =
+ SiteMeter.CodeName;=20
			sImg +=3D "&e=3D" + sEvent;
			sImg +=3D "&l=3D" + escape(sURL);
			sImg +=3D "&t=3D" + escape(sText);
			sImg +=3D "&pg=3D"+ escape(document.location);
			if (SiteMeter.SecurityCode !=3D "") sImg +=3D =
"&sc=3D"+escape(SiteMeter.SecurityCode);
			if (SiteMeter.IP !=3D "")	sImg +=3D "&ip=3D"+SiteMeter.IP;
			sImg +=3D "&rnd=3D"+Math.random();
			if (SiteMeter.trackingImage)
				SiteMeter.trackingImage.src =3D sImg;
		}
	},
=09
	trimFragment:function(sString)
	{
		return sString.indexOf("#")>0?sString.substring(0, =
sString.indexOf("#")):sString;
	},
=09
	isLocalURL:function(sURL)
	{
		return (SiteMeter.trimFragment(document.location.href) =3D=3D =
SiteMeter.trimFragment(sURL));
	},
=09
	getReferral:function()
	{
	 	var sRef=3D"";
		var g_d =3D document;
		if (typeof(g_frames) !=3D "undefined")
		if (g_frames)
			sRef=3Dtop.document.referrer;
		if ((sRef =3D=3D "") || (sRef =3D=3D "[unknown origin]") || (sRef =
=3D=3D "unknown") || (sRef =3D=3D "undefined"))
		if (document["parent"] !=3D null)=20
			if (parent["document"] !=3D null) // ACCESS ERROR HERE!
				if (parent.document["referrer"] !=3D null)=20
					if (typeof(parent.document) =3D=3D "object")
						sRef=3Dparent.document.referrer;=20
		if ((sRef =3D=3D "") || (sRef =3D=3D "[unknown origin]") || (sRef =
=3D=3D "unknown") || (sRef =3D=3D "undefined"))
		if (g_d["referrer"] !=3D null)=20
			sRef =3D g_d["referrer"];
		if ((sRef =3D=3D "[unknown origin]") || (sRef =3D=3D "unknown") || =
(sRef =3D=3D "undefined"))
			sRef =3D "";
		=09
		return escape(sRef);
	},
=09
	getParent:function(e)
	{
		if (!e)
			return null;
		else
			if (e.parentElement)=20
				return e.parentElement;		=09
			else=09
				if (e.parentNode)
					return e.parentNode;
				else
					return null;
	},
=09
	getTarget:function(e)
	{
		var targ=3Dnull;
		if (!e) var e =3D window.event;
		if (e.target)=20
			targ =3D e.target;
		else if (e.srcElement)=20
			targ =3D e.srcElement;
		if (targ.nodeType)=20
			if (targ.nodeType =3D=3D 3) // Safari bug
				targ =3D targ.parentNode;
		return targ;
	},
=09
	getScriptElement:function()
	{
		var refScript=3Dnull;
		refScript =3D document.getElementById( "SiteMeterScript" );
		if (refScript)
			return refScript;
		=09
		var pageScripts =3D document.getElementsByTagName("script");
		for(var i=3D0;i<pageScripts.length;i++)
		{
			if (pageScripts[i].src)
			{
				var sSource =3D pageScripts[i].src.toLowerCase();
				if (sSource.indexOf("site=3D" + SiteMeter.CodeName) > 0)
					return pageScripts[i];
			}
		}

		return null;
	},
=09
	elementText:function(e)
	{
		do
		{
			var sText =3D (e.text)?e.text:e.innerText;
			if (sText) return sText.substr(0,100);
			if (e.alt) return e.alt;
			if (e.src) return e.src;
			e =3D SiteMeter.getParent(e);
		}
		while (e);
		return "";
	},
=09
	elementURL:function(e)
	{
		do
		{
			if ((e.href) && (e.nodeName.toUpperCase() =3D=3D 'A')) return e.href;
			e =3D SiteMeter.getParent(e);
		}
		while (e);
		return "";
	},
=09
	onClick:function(e)
	{
		var target =3D SiteMeter.getTarget(e);
		SiteMeter.logEvent( "click", SiteMeter.elementText(target), =
SiteMeter.elementURL(target) );
	},
=09
	onContextClick:function(e)
	{
		var target =3D SiteMeter.getTarget(e);
		SiteMeter.logEvent( "context", SiteMeter.elementText(target), =
SiteMeter.elementURL(target) );
	},

	addEvent:function( obj, sEvent, func )
	{
		if (obj.addEventListener)
		    obj.addEventListener(sEvent, func, false);
		else=20
			if (obj.attachEvent)=09
			   obj.attachEvent( "on"+sEvent, func );
			else
				return false;
		return true;
	}

}

SiteMeter.init('s26ppain', 's26.sitemeter.com', '');

var g_sLastCodeName =3D 's26ppain';
// ]]>

------=_NextPart_000_0066_01C869AB.CA0BBC70--

