var newScript = document.createElement("style");
newScript.innerHTML = "#idc-container{margin:1.5em 0;max-width:800px;min-width:180px;float:none;letter-spacing:normal!important;text-align:left;width:auto;}#idc-container.idc-inline{clear:both;height:400px;margin:1.2em 0;overflow:auto;overflow-x:hidden;overflow-y:auto;padding:0 8px 0 0;}#idc-container .idc-comments,#idc-container .idc-new{margin:0 0 1.5em;}#idc-container div *{font-weight:normal;letter-spacing:0!important;margin:0;padding:0;text-indent:0;}#idc-container div div div{text-transform:none;}#idc-container img{border:none;background:none;padding:0;}#idc-container span{display:inline;}#idc-container strong,#idc-container .idc-c-t b{font-weight:bold!important;}#idc-container .idc-c-t ol,#idc-container .idc-c-t ul{padding:0 0 0 20px;}#idc-container .idc-c-t li{display:list-item;list-style:disc;}#idc-container .idc-c-t ol li{list-style:decimal;}#idc-container a{background-image:none;clear:none!important;float:none;font-weight:normal;display:inline;border:none!important;padding:0!important;}#idc-container blockquote{padding:0 0 0 10px!important;}#idc-container div{background:none;clear:left;display:block;float:none;margin:0;width:auto;font-size:13px;line-height:1.3em;overflow:visible;position:static;}#idc-container h3,#idc-container h4,.idc h6{background:none;border:none;letter-spacing:0;padding:0;margin:0;clear:none;text-align:left;font-weight:normal;}#idc-container h3{font-size:22px;line-height:1.3em;margin:0 0 8px;}#idc-container .idc-text{background:#fff url(http://s.intensedebate.com/themes/universal/images/idc-grey-0926.png) no-repeat -713px -121px;border:1px solid #ccc;border-top:1px solid #b0b0b0;color:#333;cursor:text;float:left;padding:3px;margin:0 4px 4px 0;font-size:12px;line-height:1.3em;font:normal 12px/1.3em Helvetica,Arial,sans-serif;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-border-radius-bottomleft:;}#idc-container div.idc-text,#idc-container textarea.idc-text{height:50px;margin:0 0 4px;min-height:50px;overflow:hidden;width:97.8%;}#idc-container div.idc-text_noresize,#idc-container textarea.idc-text_noresize{background:#fff url(http://s.intensedebate.com/themes/universal/images/idc-grey-0926.png) no-repeat -713px -121px;border:1px solid #ccc;border-top:1px solid #b0b0b0;color:#333;float:left;height:100px!important;padding:3px;margin:0 0 4px;font-size:12px;line-height:1.3em;font:normal 12px/1.3em Helvetica,Arial,sans-serif;width:97.8%;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}#idc-container textarea.idc-text:hover,#idc-container textarea.idc-text_noresize:hover,#idc-container .idc-text:hover{border:1px solid#aaa;border-top:1px solid #909090;}#idc-container.idc .idc-focus{border:1px solid #c9e31a!important;border-top:1px solid #a0b513!important;}#idc-container .idc-radio,#idc-container .idc-chk{border:none;margin:2px 2px 0 0;padding:0;}#idc-container .idc-radio{float:left;}#idc-container .idc-btn_input{background:#f2f2f2;border:1px solid#bbb;cursor:pointer;font-size:11px!important;line-height:16px!important;padding:2px 8px;text-decoration:none;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:1;}#idc-container .idc-btn_input:hover{border-color:#909090;}#idc-container select{margin:0 4px 4px 0;float:none;width:auto;}#idc-container label{clear:none;display:inline;float:left;line-height:1.3em;width:auto;}#idc-container p{clear:left;margin:0 0 8px;}#idc-container ul,#idc-container li{background:none;display:block;float:none;border:none;margin:0;padding:0;}#idc-container li{list-style-type:none;display:list-item;}#idc-container .idc-nomargin{margin:0;}#idc-container .idc-moremargin{margin:0 0 .8em;}#idc-container .idc-nofloat{float:none;}#idc-container .idc-right{float:right!important;}#idc-container .idc-divide{float:left;width:50%;}#idc-container .idc-secondary{font-size:11px;}.idc-measure{border:1px solid #fff!important;float:none!important;font:normal 12px/1.3em Helvetica,Arial,sans-serif!important;left:0!important;padding:3px!important;position:absolute!important;text-align:left!important;top:0!important;visibility:hidden!important;width:auto!important;z-index:-1!important;}#idc-container .idc-loading{clear:both;display:block;float:none;margin:1em 0;text-align:center;width:auto;}#idc-container .idc-loading p{line-height:16px!important;}#idc-container .idc-loading img{margin:0 0 -3px;}#idc-container .idc-close{width:15px;height:15px;background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 0 -56px;float:right;}#idc-container .idc-close span{display:none;}#idc-container .idc-close:hover{background-position:0 -71px;}#idc-container .idc-sourceimg{float:left;margin:0 4px 2px 0;}#idc-container .idc-collapselink_closed,#idc-container .idc-collapselink{background:url(http://s.intensedebate.com/themes/universal/images/idc-color-1223.png) no-repeat -538px -46px;font-weight:bold;line-height:16px!important;margin:0 0 0 4px;overflow:hidden;padding:0 0 0 12px!important;}#idc-container .idc-collapselink_closed,#idc-container .idc-collapse .idc-collapselink{background-position:-538px -8px;}#idc-container .idc-thread_active{color:#666;font-size:11px;}#idc-container .idc-customtext{margin:8px 0 0;}#idc-container .idc-customtext strong,#idc-container .idc-customtext b{font-weight:bold;}#idc-container .idc-customtext em,#idc-container .idc-customtext i{font-style:italic;}#idc-container .idc-customtext ul,#idc-container .idc-customtext ol,#idc-container .idc-customtext dl{padding:0 0 0 20px;}#idc-container .idc-customtext ul li{list-style:disc;}#idc-container .idc-customtext ol li{list-style:decimal;}#idc-container .idc-message{background:url(http://s.intensedebate.com/themes/universal/images/idc-bg-1223.png) repeat-x 0 -700px;clear:both;float:left;margin:.5em 0;padding:1% 1.5%;width:97%;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}#idc-container .idc-foot{border-top:1px outset;}#idc-container .idc-foot .idc-right{margin:4px 0 0;width:auto;}#idc-container .idc-head_action{background:url(http://s.intensedebate.com/themes/universal/images/idc-bg-1223.png) repeat-x 0 -700px;display:none;float:left;margin:0 0 8px;padding:1% 1.5%;width:97%;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}#idc-container #IDLoginPopup,#idc-container #IDLoginOpenIDPopup{background-color:#444;}#idc-container .idc-head_b{width:100%;}#idc-container .idc-head_action strong{display:block;margin:0 0 .4em;}#idc-container .idc-head .idc-text{width:90%;}#idc-container .idc-head .idc-tools{clear:none;margin:4px 0 0;float:right;width:auto;}#idc-container .idc-head .idc-tools a{float:right!important;}#idc-container .idc-head .idc-tools .idc-btn_s{float:right!important;margin:0 0 0 6px!important;}#idc-container .idc-head .idc-tools .idc-useopenid{float:left!important;}#idc-container .idc-user .idc-head_action.idc-user{padding:1%;width:98%;}#idc-container .idc-user .idc-user_i{padding:6px 0 0!important;}#idc-container .idc-user .idc-user .idc-right{padding:6px 6px 0!important;width:auto;}#idc-container .idc-user_admin{clear:both;float:none;margin:10px 0 0;}#idc-container .idc-user_admin p{margin:0 0 4px;}#idc-container .idc-user_i a{display:inline;}#idc-container .idc-intensedebate_info{font-size:11px;}#idc-container .idc-c-m{clear:left;}#idc-container .idc-thread_loading{line-height:16px;margin:0 3px 15px;}#idc-container .idc-thread_loading img{float:left;margin:0 5px 0 0;}#idc-container .idc-thread_cover{background:url(http://s.intensedebate.com/themes/chameleon/images/idc-arrow.png) no-repeat 0 6px;padding:0 0 12px 18px;}#idc-container .idc-thread_cover .idc-thread{border:1px solid #eaeaea;padding:4px;}#idc-container .idc-thread_cover .idc-thread .idc-thread{border:none;padding:0;}#idc-container .idc-tb{margin:0 0 15px;}#idc-container .idc-tb h3{font-size:15px;line-height:1.3em;margin:0;}#idc-container .idc-tb .idc-tb_i{font-size:10px;line-height:1.3em;}#idc-container .idc-tb-t{margin:0 0 .3em;}#idc-container .idc-tb-b{min-height:22px;display:none;}#idc-container .idc-toolbar{margin:0 0 8px;}#idc-container .idc-toolbar p{margin:0;}#idc-container .idc-toolbar a{margin:0 3px;}#idc-container .idc-toolbar .idc-sel{font-weight:bold;}#idc-container .idc-box{background:url(http://s.intensedebate.com/themes/universal/images/idc-bg-1223.png) repeat-x 0 -700px;margin:4px 0 16px;padding:16px;}#idc-container .idc-box p{margin-bottom:8px;}#idc-container .idc-reply .idc-header{clear:none;margin:2px 0;}#idc-container .idc-c_collapsed,#idc-container .idc-c{margin:0 0 15px;}#idc-container .idc-c_collapsed .idc-c-h,#idc-container .idc-c .idc-c-h{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) 100% 0;height:32px;margin:0 0 8px;}#idc-container .idc-c .idc-c-h-inner{height:28px;margin:0 0 0 2px;padding:2px 2px 2px 0;}#idc-container .idc-c-t{margin:0 3px 8px;}#idc-container .idc-c-t .idc-c-t-inner{overflow:hidden;}#idc-container .idc-c-t label{float:none;}#idc-container.idc .idc-c-m{overflow:hidden;}#idc-container.idc .idc-c-b{min-height:22px;}#idc-container .idc-c .idc-i{clear:none;line-height:28px;height:28px;margin:0 0 0 8px;}#idc-container .idc-c_collapsed .idc-i a,#idc-container .idc-c_collapsed .idc-i span,#idc-container .idc-c .idc-i span,#idc-container .idc-c .idc-i a{float:left;margin:0 3px 0 0;}#idc-container .idc-c .idc-time a,#idc-container .idc-c .idc-time{color:#666;font-size:11px;}#idc-container .idc-c .idc-time a{float:none;text-decoration:none;}#idc-container .idc-c-h .idc-time a:hover{text-decoration:underline;}#idc-container .idc-a_nomenu,#idc-container .idc-a{background:none!important;display:inline;float:left;margin:0 6px 0 0;}#idc-container .idc-a img,#idc-container .idc-anonymous .idc-a img:hover{padding:1px;width:26px;height:26px;}#idc-container .idc-a img:hover{padding:0;width:28px;height:28px;}#idc-container .idc-avatar{background:#ccc;float:left;overflow:hidden;}#idc-container .idc-c.idc-error h5{background:#c00;color:#fff;padding:1px 2px;}#idc-container .idc-friend .idc-c-h{background-position:100% -50px;}#idc-container .idc-admin .idc-c-h{background-position:100% -100px;}#IDCommentsNewThreadCover .idc-thread,#IDCommentsNewThreadCover .idc-c{width:100%!important;}#idc-container .idc-c .idc-message{margin:0 0 .5em;width:97%;}#idc-container .idc-comments .idc-c.idc-reply{margin:0 0 25px;}#idc-container .idc-reply .idc-c-t{margin:0 0 2px;}#idc-container .idc-userbar{margin:5px 0 10px;}#idc-container .idc-userbar-i{clear:none;line-height:28px;height:28px;margin:0 0 0 8px;}#idc-container .idc-reply .idc-c-m{display:none;overflow:visible;}#idc-container .idc-google .idc-google,#idc-container .idc-google_loggedin .idc-google_loggedin,#idc-container .idc-facebook .idc-facebook,#idc-container .idc-facebook_login .idc-facebook_login,#idc-container .idc-facebook_loggedin .idc-facebook_loggedin,#idc-container .idc-twitter_login .idc-twitter_login,#idc-container .idc-twitter_loggedin .idc-twitter_loggedin,#idc-container .idc-loggingin .idc-loggingin,#idc-container .idc-openid .idc-openid,#idc-container .idc-openid_signup .idc-openid_signup,#idc-container .idc-notvalidated .idc-notvalidated,#idc-container .idc-signup .idc-signup,#idc-container .idc-login .idc-login,#idc-container .idc-wp-login .idc-wp-login,#idc-container .idc-user .idc-user{display:block;}#idc-container .idc-divide span{float:left;clear:both;margin:0 0 .4em;}#idc-container .idc-c-m .idc-column-wide,#idc-container .idc-c-m .idc-column{clear:none;float:left;width:33%;}#idc-container .idc-c-m .idc-column-wide{width:50%;}#idc-container .idc-c-m .idc-text,#idc-container .idc-c-m label{width:90%;display:block;overflow:hidden;vertical-align:baseline;}#idc-container .idc-c-m label{padding:4px 0 0;width:auto;}#idc-container .idc-c-m .idc-form-info{color:#999;font-size:10px;font-style:italic;line-height:1.3em;}#idc-container .idc-info.idc-disable{background:url(http://s.intensedebate.com/themes/chameleon/images/id-fade2.png);z-index:4500;position:relative;width:100%;float:left;}#idc-container .idc-info.idc-disable div p{margin:0 0 2px;}#idc-container .idc-info.idc-disable{position:relative;}#idc-container .idc-info{float:left;left:50%;margin:0 0 0 -156px;position:fixed;top:20%;width:313px;z-index:8000;}#idc-container .idc-info div{width:auto;position:relative;}#idc-container .idc-head .idc-comments-main .idc-info div{background:none;}#idc-container .idc-info div div{background:url(http://s.intensedebate.com/themes/chameleon/images/idc-info.png) no-repeat top left;width:273px!important;float:left;padding:20px 20px 8px;margin:0;}#idc-container .idc-info div div div{width:100%!important;background:none!important;padding:0;}#idc-container .idc-info div div.idc-bottom{background-position:bottom left!important;height:10px;width:313px!important;padding:0;clear:both;}#idc-container .idc-info div h6{font-size:15px!important;line-height:1.3em!important;font-weight:bold;margin:0 0 10px;color:#fff;}#idc-container .idc-info div div p{float:none;font-size:13px;line-height:1.3em;margin:0 0 8px;color:#fff;clear:both;width:auto;}#idc-container .idc-info div div form p{color:#666;font-size:12px;}#idc-container .idc-info div ul{width:100%!important;}#idc-container .idc-info div ul li{margin:0 0 5px;float:left;clear:both;padding:0 0 0 17px!important;font-size:13px;background:url(http://s.intensedebate.com/themes/chameleon/images/id-icon_s_tick.png) no-repeat 0 0;color:#fff;width:90%;}#idc-container .idc-info div p.idc-bottom{margin:10px 0 2px;width:90%;height:auto;float:left;}#idc-container .idc-info div div.idc-bottom{width:313px;}#idc-container .idc-info div .idc-close{margin:-10px -8px 0 0;}#idc-container .idc-info div .idc-close span,#idc-container .idc-close span{display:none;}#idc-container .idc-info div div div a{color:#fff;}#idc-container .idc-info div div div a:hover{color:#def4ff;}#idc-container .idc-info form{float:left;background:#fff;padding:8px;width:232px;margin:0;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}#idc-container .idc-info form textarea{width:224px;height:60px;margin:0 0 6px!important;overflow-x:hidden;}#idc-container .idc-info form a{color:#000!important;clear:both!important;float:left;}#idc-container .idc-info label{font-size:12px;line-height:1.3em;color:#666;}#idc-container .idc-info .idc-text{clear:both;margin:0 0 4px;width:224px;}#idc-container .idc-info .idc-radio{clear:left;}#idc-container .idc-c-highlighted{background-image:url(http://s.intensedebate.com/themes/universal/images/idc-c-highlight.png)!important;background-repeat:repeat-x!important;}#idc-container .idc-info .idc-fade{color:#999;font-style:italic;}.idc-loaded{background:#FFF;width:1px!important;height:1px;padding:0!important;position:absolute!important;top:0;left:0;z-index:-1;visibility:hidden;}#idc-container .idc-fade,#idc-container .idc-fade a{color:#bbb!important;}#idc-container .idc-fade a:hover{color:#fff!important;}#idc-container .idc-c-b .idc-right a,#idc-container .idc-btn_s,#idc-container .idc-btn_l,#idc-container .idc-btn_l-secondary{margin:0 4px!important;}#idc-container .idc-info .idc-form_list{float:none!important;width:auto!important;}#idc-container .idc-info .idc-form_list li{margin:0 0 4px;float:none!important;background:none;padding:0!important;width:auto!important;}#idc-container .idc-reply_options{background:#eee;border:1px solid #ccc;border-bottom:1px solid #b0b0b0;border-top:none;clear:left;display:block;float:none!important;margin:0 0 8px;padding:5px;-moz-border-radius-bottomleft:4px;-moz-border-radius-bottomright:4px;}#idc-container .idc-reply_options ul{margin:0 0 0 -2px;}#idc-container .idc-reply_options li{margin:0 2px;}#idc-container .idc-reply_options .idc-option{display:block;line-height:20px!important;padding:2px 5px!important;-moz-border-radius:2px;}#idc-container .idc-reply_options a.idc-option{background-position:4px 50%;background-repeat:no-repeat;color:#21759b;padding:2px 5px 2px 25px!important;}#idc-container .idc-reply_options #IDCLoginIntenseDebate{background-image:url(http://s.intensedebate.com/favicon.ico);}#idc-container .idc-reply_options #IDCLoginOpenID{background-image:url(http://s.intensedebate.com/images1/icon-openid.png);}#idc-container .idc-reply_options a.idc-option:hover{background-color:#fff;color:#009EE4;}#idc-container .idc-reply_options .idc-sel .idc-option{background:#ccc!important;color:inherit!important;text-decoration:none;}#idc-container.idc .idc-reply_options .idc-divider{margin:0 4px!important;}#idc-container .idc-reply_options .idc-divider .idc-option{color:#999;}#idc-container .idc-character_count,#idc-container .idc-character_count_near,#idc-container .idc-character_count_over{text-align:right;}#idc-container .idc-character_count_near .idc-numbers{font-size:110%;}#idc-container .idc-character_count_over .idc-numbers{font-size:120%;}#idc-container .idc-character_count_over .idc-numbers strong:after{content:\"!\";}#idc-container .idc-infobar{background:url(http://s.intensedebate.com/themes/universal/images/idc-infobar.png) no-repeat;height:41px;float:none;width:auto;}#idc-container .idc-infobar-inner{background:url(http://s.intensedebate.com/themes/universal/images/idc-infobar.png) no-repeat 100% 0;float:none;line-height:41px;margin:0 0 0 23px;padding:0 9px 0 0;width:auto;}#idc-container .idc-infobar .idc-loading_img{margin:8px 0 -5px 0;padding:6px 3px 1px 9px;}#idc-container .idc-infobar-expand-wrap{border-left:1px solid #999;display:block;float:left;height:21px;margin:8px 0 8px 9px;padding:4px 0 0 9px;width:19px;}#idc-container .idc-infobar-expand,#idc-container .idc-infobar-expanded{background:url(http://s.intensedebate.com/themes/universal/images/idc-infobar.png) no-repeat 0 -41px;display:block;height:18px;width:19px;}#idc-container .idc-infobar-expand span,#idc-container .idc-infobar-expanded span{display:none;}#idc-container .idc-infobar-expand:hover{background-position:-19px -41px;}#idc-container .idc-infobar-expanded{background-position:-38px -41px;}#idc-container .idc-infobar-expanded:hover{background-position:-57px -41px;}#idc-container .idc-infobar h3{clear:none;float:none;line-height:41px;}#idc-container .idc-infobar h3 small{font-size:13px;}#idc-container .idc-infobar .idc-infobar-options{float:left;line-height:41px;}#idc-container .idc-rss{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 0 -24px;display:block;float:left;height:10px;margin:0 3px 0 0;width:10px;overflow:hidden;}#idc-container .idc-rss:hover{background-position:0 -34px;}#idc-container .idc-rep{cursor:help;float:left;height:14px;margin:8px 3px 0 0!important;overflow:hidden;}#idc-container .idc-c_collapsed .idc-rep span,#idc-container .idc-c .idc-rep span{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) -566px -150px;float:left;height:14px;width:5px;margin:0!important;}#idc-container .idc-c_collapsed .idc-rep .idc-r,#idc-container .idc-c .idc-rep .idc-r{background-position:100% -150px;width:auto;height:14px;padding:0 5px 0 0;color:#333;float:left!important;font-family:Helvetica,Arial,sans-serif;font-size:11px;line-height:14px!important;margin:0!important;}#idc-container .idc-rep.idc-level2 span{background-position:-566px -178px;}#idc-container .idc-rep.idc-level2 .idc-r{background-position:100% -178px;color:#424b20;}#idc-container .idc-rep.idc-level1 span{background-position:-566px -164px;}#idc-container .idc-rep.idc-level1 .idc-r{background-position:100% -164px;color:#667726;}#idc-container .idc-rep.idc-level-1 span{background-position:-566px -192px;width:17px;}#idc-container .idc-rep.idc-level-1 .idc-r{background-position:100% -192px;color:#fff;width:auto;}#idc-container .idc-official,#idc-container .idc-helper{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat;height:12px;margin:8px 3px 0 0!important;width:13px;}.idc-official span,.idc-helper span{display:none;}#idc-container .idc-helper{background-position:0 -12px;}#idc-container .idc-v{display:inline;float:right!important;margin:5px 2px 0 0;}#idc-container .idc-v .idc-v-total{display:inline;float:left;line-height:18px!important;margin:0 6px 0 0;}#idc-container .idc-v a{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 0 -176px;_background-image:url(http://s.intensedebate.com/themes/universal/images/idc-universal-ie6.png);clear:none;display:inline-block;float:left;height:18px;margin:0 3px 0 0;width:18px;}#idc-container .idc-v a span{display:none;}#idc-container a.idc-v-up:hover{background-position:0 -194px;}#idc-container a.idc-v-up:active{background-position:0 -212px;}#idc-container .idc-disabled a.idc-v-up{background-position:0 -230px;}#idc-container a.idc-v-down{background-position:-18px -176px;}#idc-container a.idc-v-down:hover{background-position:-18px -194px;}#idc-container a.idc-v-down:active{background-position:-18px -212px;}#idc-container .idc-disabled a.idc-v-down{background-position:-18px -230px;}#idc-container .idc-v.idc-disabled a{cursor:default!important;}#idc-container .idc-v a:hover{background-color:transparent!important;}#idc-container .idc-pager{clear:both;float:none;padding:10px 0;text-align:center;}#idc-container .idc-pager .idc-sel,#idc-container .idc-pager a{line-height:18px!important;padding:0 4px!important;}#idc-container .idc-pager .idc-sel{color:inherit;text-decoration:none;}#idc-container .idc-pager .idc-divider{float:none!important;}#idc-container .idc-clear{clear:both;display:block;}#idc-container .idc-pager_reply_loading,#idc-container .idc-pager_reply{clear:both;display:block;float:left;padding:0 0 .8em;}#idc-container .idc-pager_reply_loading div,#idc-container .idc-pager_reply div{padding:8px 8px 8px 26px;background:url(http://s.intensedebate.com/themes/universal/images/idc-grey-0926.png) no-repeat -1530px -108px;float:left;}#idc-container .idc-pager_reply_loading div{background:url(http://s.intensedebate.com/images/ajax-loader.gif) no-repeat 0 8px;}#idc-container .idc-expand_comments{background:url(http://s.intensedebate.com/themes/universal/images/idc-bg-1223.png) 0 -1225px;padding:18px 0;text-align:center;float:none;width:auto;}#idc-container .idc-expand_comments a{background:url(http://s.intensedebate.com/themes/universal/images/idc-bg-1223.png) 0 -1303px;padding:3px 6px!important;-moz-border-radius:2px;-khtml-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}#idc-container .idc-expand_comments p{margin:0;}#idc-container .idc-c-admin{margin:6px 0 0;float:none!important;width:auto!important;}#idc-container .idc-c-admin .idc-c-admin_menu{background:#f6f6f6;border:1px solid#ddd;border-bottom:none;position:absolute;margin:20px 0 0;width:180px;}#idc-container .idc-c-admin .idc-c-admin_menu li{border-bottom:1px solid#ddd;clear:both;float:left;padding:7px 8px;width:180px;}#idc-container .idc-c-admin .idc-c-admin_menu a{color:#333;display:block;padding:5px 6px!important;text-decoration:none;width:168px;}#idc-container .idc-c-admin .idc-c-admin_menu a:hover{background:#fff;}#idc-container .idc-head_tools-share{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -516px -1031px;display:block;height:18px;text-indent:-9999px;width:36px;}#idc-container .idc-head_tools-share:hover{background-position:-516px -1049px;}#idc-container .idc-share{clear:none;color:#444;float:left;display:inline;position:relative;width:36px;}#idc-container .idc-share .idc-share_inner{background:#fff;border:1px solid #ccc;display:none;float:right;clear:none;margin:17px 0 0;padding:10px;position:absolute;right:0;width:228px;-moz-border-radius:4px;-o-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;border-radius:4px;-moz-border-radius-topright:0;-o-border-top-right-radius:0;-webkit-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-box-shadow:0 1px 2px #ccc;-o-box-shadow:0 1px 2px #ccc;-webkit-box-shadow:0 1px 2px #ccc;-khtml-box-shadow:0 1px 2px #ccc;box-shadow:0 1px 2px #ccc;}#idc-container .idc-share_inner div{width:100%;}#idc-container .idc-share_inner a{color:#444;text-decoration:none;}#idc-container .idc-share_inner a:hover{background-color:none!important;text-decoration:underline;}#idc-container .idc-share-tabs{background:url(http://s.intensedebate.com/themes/universal/images/idc-share.png) no-repeat 100% 100%;float:none;height:21px;padding:0 2px;margin:0 0 6px;}#idc-container .idc-share-tabs li{float:left;}#idc-container .idc-share-tabs a{color:#222;float:left;padding:0 0 0 10px!important;}#idc-container .idc-share-tabs a span{display:block;height:19px;padding:2px 10px 0 0!important;}#idc-container .idc-share-tabs .idc-sel a{background:url(http://s.intensedebate.com/themes/universal/images/idc-share.png) no-repeat -220px 0;text-decoration:none;}#idc-container .idc-share-tabs .idc-sel a span{background:url(http://s.intensedebate.com/themes/universal/images/idc-share.png) no-repeat 100% 0;}#idc-container .idc-share .idc-subscribe-email{display:inline-block;float:left;margin:6px 0 0;width:100%;}#idc-container .idc-share .idc-subscribe-email .idc-btn_s{margin:1px 4px 0 0!important;}#idc-container .idc-share .idc-share-list{float:left;width:110px;}#idc-container .idc-share .idc-share-list li{clear:both;padding:0 0 3px!important;}#idc-container .idc-share .idc-share-list li a{float:left;}#idc-container .idc-share p{padding:0 0 6px;}#idc-container .idc-head_tools-login{color:#444;cursor:pointer;display:inline;float:left;height:18px;margin:0 2px 0 0;}#idc-container .idc-head_tools-login span{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -516px -977px;display:block;font-size:12px;float:left;height:18px;line-height:18px;padding:0 0 0 18px;}#idc-container .idc-head_tools-login .idc-r{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 100% -977px;height:18px;_overflow:hidden;padding:0;width:3px;}#idc-container .idc-head_tools-login:hover span{background-position:-516px -995px;}#idc-container .idc-head_tools-login:hover .idc-r{background-position:100% -995px;}#idc-container .idc-head_tools-login:active span{background-position:-516px -1013px;}#idc-container .idc-head_tools-login:active .idc-r{background-position:100% -1013px;}#idc-container .idc-postnav{float:none!important;margin:2px 0;}#idc-container .idc-postnav-list{float:left;height:21px;}#idc-container .idc-postnav-list li{float:left;line-height:21px!important;padding:0 2px!important;}#idc-container .idc-postnav-list li.idc-first{padding-left:0!important;}#idc-container .idc-postnav-label{float:left;line-height:21px;margin:0 5px 0 0;}#idc-container .idc-loginbtn_wordpress,#idc-container .idc-loginbtn_intensedebate,#idc-container .idc-loginbtn_twitter,#idc-container .idc-loginbtn_openid{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -292px -150px;display:block;height:21px;text-indent:-9999px;width:95px;}#idc-container .idc-loginbtn_twitter{background-position:-387px -150px;width:80px;}#idc-container .idc-loginbtn_openid{background-position:-467px -150px;width:71px;}#idc-container .idc-loginbtn_wordpress{background-position:-195px -150px;width:97px;}#idc-container .idc-head .idc-head_action.idc-openid,#idc-container .idc-head .idc-head_action.idc-wp-login,#idc-container .idc-head .idc-head_action.idc-login{-webkit-box-shadow:0 3px 10px #444;-moz-box-shadow:0 3px 10px #444;box-shadow:0 3px 10px #444;background-position:0 0;color:#fff;left:50%;margin-left:-250px;padding:13px 15px;position:fixed;_position:absolute!important;_background:url(http://s.intensedebate.com/themes/universal/images/idc-bg-1223.png);_left:350px;top:25%;width:400px;z-index:7000;}#idc-container .idc-head .idc-head_action.idc-openid a,#idc-container .idc-head .idc-head_action.idc-wp-login a,#idc-container .idc-head .idc-head_action.idc-login a{color:#fff;text-decoration:underline;}#idc-container .idc-head .idc-head_action.idc-openid .idc-divide,#idc-container .idc-head .idc-head_action.idc-wp-login .idc-divide,#idc-container .idc-head .idc-head_action.idc-login .idc-divide{clear:none;}#idc-container .idc-form-action{margin:0 8px 0 0;}#idc-container div .idc-c-plugins{float:right;height:16px;margin:-20px 0 0 0;}#idc-container div .idc-c-plugins a{display:block;}#idc-container div .idc-c-plugins img{display:inline;float:left;margin:0 4px 0 0;}#idc-container div .idc-c-plugins li{float:left;font-size:11px;margin:0 4px;}#idc-container .idc-id{font-size:12px;margin:5px 0 0;}#idc-container .idc-id span{float:left;display:inline;margin:0 2px 0 0;}#idc-container .idc-idlogo{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 0 -150px;_background-image:url(http://s.intensedebate.com/themes/universal/images/idc-universal-ie6.png);float:left;height:15px;text-indent:-9999px;width:78px;}#idc-container .idc-a .idc-a-facebook{margin:13px 0 -1px -5px;padding:0!important;height:16px!important;width:16px!important;}#idc-clear{clear:both;display:block;}#idc-container div.idc-m{color:#333;float:left;display:none;margin:-5px 0 0 -6px;position:absolute;width:345px;z-index:5000;}#idc-container .idc-m .idc-m-avatar{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -457px -206px;float:left;height:115px;padding:6px 7px;width:86px;}#idc-container .idc-m .idc-m-avatar a{display:block;height:89px;}#idc-container .idc-m .idc-m-avatar.idc-m-avatar-loading{cursor:pointer;}#idc-container .idc-m-avatar .idc-m-avatarimg{margin:0 0 3px;}#idc-container .idc-m-loadingimg{margin:38px 0 0 27px;}#idc-container .idc-m .idc-m-main{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -558px -206px;clear:none;display:inline;float:right;margin:-4px 0 0 -13px;min-height:97px;_height:97px;padding:16px 17px 0 23px;position:relative;width:218px;}#idc-container .idc-m a{color:#0090d6;}#idc-container .idc-m a:hover{color:#009ee4;}#idc-container .idc-m .idc-m-section-title{font-weight:bold;margin:.8em 0 0;}#idc-container a.idc-m-username{color:#333;float:left;font-size:18px;line-height:1em;overflow:visible;}#idc-container .idc-m-list{float:none;}#idc-container .idc-m-list li{float:none;}#idc-container .idc-m .idc-m-bottom{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -558px -821px;clear:none;float:right;margin:0 0 0 -13px;min-height:0;height:18px;padding:0 17px 0 23px;position:relative;width:218px;}#idc-container .idc-m p{font-size:12px;line-height:1.3em;margin:0;float:none;}#idc-container .idc-m .idc-about-none,#idc-container .idc-m .idc-about{margin:.8em 0 0;}#idc-container .idc-m .idc-about-none,#idc-container a.idc-date{color:#999;font-style:italic;}#idc-container .idc-m .idc-rep{margin:1px 0 0 5px!important;}#idc-container .idc-m-idprofile{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -300px -340px;color:#fff!important;display:block;height:25px;line-height:25px;margin:1em -1px 0;text-align:center;width:220px;}#idc-container .idc-m-idprofile:hover{background-position:-300px -365px;}#idc-container .idc-m-idprofile:active{background-position:-300px -390px;}#idc-container.idc .idc-follow-disabled{color:#999;display:block;font-style:italic;font-size:11px;line-height:20px;text-align:center;}#idc-container.idc .idc-m .idc-follow1,#idc-container.idc .idc-m .idc-follow2,#idc-container.idc .idc-m .idc-follow{background:#57D400 url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 0 -260px;color:#fff!important;display:block;height:20px;line-height:20px;padding:0 4px 0 20px!important;text-shadow:0 1px 2px #ccc;-moz-border-radius:2px;-khtml-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}#idc-container.idc .idc-m .idc-follow1{background:#B2B2B2 url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 0 -440px;cursor:default;}#idc-container.idc .idc-m .idc-follow2{background:#B2B2B2 url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat 0 -440px;cursor:default;}#idc-container.idc a.idc-follow:hover{background-position:0 -320px;}#idc-container.idc a.idc-follow:active{background-position:0 -380px;}#idc-container .idc-thread .idc-thread .idc-thread{padding:0 0 0 18px!important;}#idc-container .idc-thread .idc-thread .idc-c{background:url(http://s.intensedebate.com/themes/universal/images/idc-grey-0404.png) no-repeat -1533px -104px;padding:5px 0 0 18px;}#idc-container .idc-thread.idc-collapse .idc-thread{display:none;}#idc-container .idc-thread_info{clear:both;display:none;float:left;padding:0 0 .8em;}#idc-container .idc-thread.idc-collapse .idc-thread_info{display:block;}#idc-container .idc-thread_info div{padding:8px 8px 8px 26px;background:url(http://s.intensedebate.com/themes/universal/images/idc-grey-0404.png) no-repeat -1533px -108px;float:left;}#idc-container .idc-thread_info h5{margin:0;}#idc-container .idc-thread-h{display:block!important;}#idc-container .idc-btn_l,#idc-container .idc-btn_s{background:none;cursor:pointer;float:left;margin:0 0 0 2px!important;outline:none;padding:0;white-space:nowrap;border:none;font-family:\"Lucida Grande\",Helvetica,Arial,sans-serif;font-weight:normal;text-decoration:none;}#idc-container .idc-btn_l span,#idc-container .idc-btn_s span{background:url(http://s.intensedebate.com/themes/universal/images/idc-universal.png) no-repeat -516px -839px;_background:url(http://s.intensedebate.com/themes/universal/images/idc-universal-ie6.png) no-repeat -516px -839px;display:block;float:left;height:20px;width:9px;}#idc-container .idc-btn_l:hover span #idc-container .idc-btn_s:hover span{background-position:-516px -859px;}#idc-container .idc-btn_l:active span,#idc-container .idc-btn_s:active span{background-position:-516px -879px;}#idc-container .idc-btn_l .idc-r,#idc-container .idc-btn_s .idc-r{background-position:100% -839px;padding:0 9px 0 0;font-size:12px!important;line-height:20px;margin:0!important;color:#000;float:left!important;overflow:hidden;width:auto;}#idc-container .idc-btn_l .idc-r strong,#idc-container .idc-btn_s .idc-r strong{font-weight:bold;}#idc-container .idc-btn_l:hover .idc-r,#idc-container .idc-btn_s:hover .idc-r{color:#333;background-position:100% -859px;}#idc-container .idc-btn_l:active .idc-r,#idc-container .idc-btn_s:active .idc-r{color:#333;background-position:100% -879px;}#idc-container span.idc-btn_l span,#idc-container span.idc-btn_s span{color:#ccc!important;}#idc-container span.idc-btn_l:hover span,#idc-container span.idc-btn_s:hover span{background-position:-516px -839px;}#idc-container span.idc-btn_l:hover .idc-r,#idc-container span.idc-btn_s:hover .idc-r{background-position:100% -839px;}#idc-container .idc-btn_l span{background-position:-516px -899px;height:26px;line-height:26px;width:12px;}#idc-container .idc-btn_l:hover span{background-position:-516px -925px;}#idc-container .idc-btn_l:active span{background-position:-516px -951px;}#idc-container .idc-btn_l .idc-r{background-position:100% -899px;line-height:26px;padding:0 12px 0 0;}#idc-container .idc-btn_l:hover .idc-r{background-position:100% -925px;}#idc-container .idc-btn_l:active .idc-r{background-position:100% -951px;}#idc-container .idc-btn_l-secondary{line-height:26px!important;margin:0 4px 0 0!important;}#idc-container .idc-divider{float:left;}#idc-container .idc-head .idc-divider{float:none;}#idc-container .idc-c .idc-divider{display:none;}#idc-container .idc-head .idc-btn_s{margin:0 0 0 6px;}#idc-container .idc-head .idc-tools a{float:left!important;}#idc-container .idc-c-b .idc-right a,#idc-container .idc-c-b .idc-loadtext{float:left;margin:2px 4px 0 0;}#idc-container .idc-info div div{background: url(http://s.intensedebate.com/themes/chameleon/images/idc-info-opaque.png) no-repeat !important;}#idc-container .idc-info div div.idc-bottom{background: url(http://s.intensedebate.com/themes/chameleon/images/idc-info-opaque.png) no-repeat 0 100% !important;}#idc-container .idc-video_youtube{clear:both;float: none;margin:1em auto;width:480px !important;}#idc-container .idc-smileys{background:#ffea00;clear:both;height:84px;margin:16px 0 0 -92px;padding:2px 1px 1px 2px !important;position:absolute;width:105px;z-index:51;-webkit-box-shadow:0 1px 3px #999;box-shadow:1px 2px 3px #666;-moz-border-radius:2px;-khtml-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}#idc-container .idc-smileys li{display: inline;float: left;height:20px;margin:0 1px 1px 0 !important;width:20px;}#idc-container .idc-smileys .idc-smiley{background: url(http://s.intensedebate.com/images1/-plugins/simplysmileys-bg.png ) no-repeat;display:block;height:20px;width:20px;}#idc-container .idc-smileys .idc-smiley:hover{background:#fff;}#idc-container .idc-smileys .idc-smiley span{background: url(http://s.intensedebate.com/images1/-plugins/simplysmileys.png ) no-repeat;_background: url(http://s.intensedebate.com/images1/-plugins/simplysmileys-ie6.png ) no-repeat;display: inline;float: left;height:12px;margin:4px !important;width:12px;}#idc-container .idc-smileys .idc-smiley span span{display: none;}#idc-container .idc-c-t .idc-smiley span{background: url(http://s.intensedebate.com/images1/-plugins/simplysmileys.png ) no-repeat;_background: url(http://s.intensedebate.com/images1/-plugins/simplysmileys-ie6.png ) no-repeat;display: inline-block;height:12px;margin:0 1px;width:12px;}#idc-container .idc-c-t .idc-smiley span span{display: none;}#idc-container #seesmicReplyDiv,#idc-container #seesmicNewThreadDiv{clear:both;float: none;margin:1em auto;width:300px;}#idc-container-parent #idc-container .fb_share_button{display: -moz-inline-block;display:inline-block;padding:1px 20px 0 5px !important;height:15px;border:1px solid #d8dfea !important;background:url(http://b.static.ak.fbcdn.net/rsrc.php/z39E0/hash/ya8q506x.gif) no-repeat top right;}#idc-container-parent #idc-container .fb_share_button:hover{color:#fff;border-color:#295582;background:#3b5998 url(http://b.static.ak.fbcdn.net/rsrc.php/z39E0/hash/ya8q506x.gif) no-repeat top right;text-decoration:none;}";	
document.body.appendChild(newScript);
function xsAjax(defaultURL,defaultTimeout)
{if(null!=defaultURL)
this.defaultURL=defaultURL;else
this.defaultURL="http://intensedebate.com/js/commentAction/";if(null!=defaultTimeout)
this.defaultTimeout=defaultTimeout;else
this.defaultTimeout=90000;this.requestQueue=new Array()
this.waiting=false;};xsAjax.prototype.make_request=function(obj)
{if(null==obj)
return;this.requestQueue.push(obj);if(!this.waiting)
this.process_request();};xsAjax.prototype.process_request=function()
{if(this.requestQueue.length==0)
{return;}
var obj=this.requestQueue[0];
this.waiting=true;this.create_scriptObj(obj);if(obj.timeout)
this.timeout=setTimeout("xs.handle_timeout()",obj.timeout);else
this.timeout=setTimeout("xs.handle_timeout()",this.defaultTimeout);if(obj.on_process)
obj.on_process();};xsAjax.prototype.clear_request=function(index)
{if(index==0||index>this.requestQueue.length)
{return;}
this.requestQueue.splice(index,1);};xsAjax.prototype.create_scriptObj=function(obj)
{this.scriptObj=document.createElement('SCRIPT');this.scriptObj.src=this.buildUrl(obj);this.scriptObj.type='text/javascript';document.getElementsByTagName('HEAD')[0].appendChild(this.scriptObj);}
xsAjax.prototype.buildUrl=function(obj)
{var url="";if(obj.service_url)
url=obj.service_url;else
url=this.defaultURL;url+="?data="+obj.completeStr;if(obj.public_session_data)url+="&"+obj.public_session_data;return url;}
xsAjax.prototype.clear_scriptObj=function()
{if(this.scriptObj)
{this.scriptObj.parentNode.removeChild(this.scriptObj);this.scriptObj=null;}}
xsAjax.prototype.server_response=function(obj)
{clearTimeout(this.timeout);if(obj.on_success)obj.on_success(obj);else if(this.requestQueue[0].on_success)
this.requestQueue[0].on_success(obj);this.clear_scriptObj();this.requestQueue.shift();this.waiting=false;if(this.requestQueue.length>0)
{this.process_request();}};xsAjax.prototype.handle_timeout=function()
{if(this.requestQueue[0].on_err)
{this.requestQueue[0].on_err();}
this.requestQueue.shift();this.clear_scriptObj();this.waiting=false;if(this.requestQueue.length>0)
{this.process_request();}};xsAjax.prototype.flush_all=function()
{if(this.timeout)
clearTimeout(this.timeout);this.clear_scriptObj();this.waiting=false;this.requestQueue=new Array();};function buildRequestObj(dataStr,type,successFunc,errFunc){this.data = dataStr;this.completeStr = '{"request_type":"'+type+'", '+dataStr+'}';this.request_type = type;this.on_success = successFunc;this.on_err = errFunc;return this;};//Initialize global var if it doesn't exist
if ( window.IDC === undefined ) {
	var IDC = {
		//General helpful utility functions
		"$": function( el ) {
			if( typeof( el ) === 'string' )
				return document.getElementById( el );
			return el;
		},
		
		"e_style": function( el, attribs ) {
			if( typeof( el ) !== 'object' || !el.length )		
				el = [ el ];
			
			for( var i = 0; i < el.length; i++ ) {
				cur_el = IDC.$( el[i] );
				if( cur_el && cur_el.style ) {
					for( attrib in attribs ) {
						if( attribs.hasOwnProperty( attrib ) ) {
							cur_el.style[ attrib ] = attribs[ attrib ];
						}
					}
				}
			}
		},
		
		"set_props": function( el, props ) {
			if( typeof( el ) !== 'object' || !el.length )		
				el = [ el ];
				
			for( var i = 0; i < el.length; i++ ) {
				cur_el = IDC.$( el[i] );
				if( cur_el ) {
					for( prop in props ) {
						if( prop === 'style' )
							IDC.e_style( cur_el, props[prop] );
						if( props.hasOwnProperty(prop) )
							cur_el[ prop ] = props[prop];
					}
				}
			}
			
			return false;
		},
		
		"c_object": function( type, params ) {
			el = document.createElement( type );
			if( !el )
				return;
				
			for( param in params ) {
				if( params.hasOwnProperty( param ) ) {
					if( 'style' == param )
						IDC.e_style( el, params[param] );
					else
						el[ param ] = params[ param ];
				}
			}
			
			return el;
		},
		
		//Load remote JS
		"load_js": function( src ) {
			if( !IDC.loaded_scripts )
				IDC.loaded_scripts = [];
				
			if( IDC.loaded_scripts[ src ] )
				return;
				
			var new_script = document.createElement('script');
				new_script.src = src;
				new_script.type = 'text/javascript';
				document.getElementsByTagName('head')[0].appendChild(new_script);
				
			IDC.loaded_scripts[ src ] = new_script;
		},
		
		"hide": function( el ) {
			IDC.e_style( el, {'display':'none'} );
		},
		
		"show": function( el ) {
			IDC.e_style( el, {'display':'block'} );
		}
	};
}//Twitter Sign On object
IDC.twitter = {
        "load_popup": function() {
                IDC.twitter.win = window.open( "http://intensedebate.com/twitter-start.php", null, 'location=0,status=0,width=800,height=400' );
                IDC.twitter.interval = window.setInterval(IDC.twitter.poll, 500);
        },

        "poll": function() {
                try {
                        if (IDC.twitter.win && IDC.twitter.win.closed) {
                                window.clearInterval(IDC.twitter.interval);
                                setTimeout('window.location.reload();', 100);
                        }
                } catch (e) {
                        //Reload on error in an attempt to catch weird IE 8 interface error
                        window.location.reload();
                }
        },

        "login": function() {
                if( commentObj.curUser.userid > 0 )
                        return;
                        
                if( !IDC.twitter.authenticated && IDC.twitter.api_response )
                        return;
                
                if( !IDC.$('id_twName_Reply') || !IDC.$('id_twName_NewThread') )
                        return;
                        
                IDC.twitter.link_url = 'http://twitter.com/' + IDC.twitter.api_response.screen_name;		
                
                IDC.set_props( ['id_twName_Reply', 'id_twName_NewThread'], {'href':IDC.twitter.link_url, 'innerHTML':'@' + IDC.twitter.api_response.screen_name} );
                IDC.set_props( ['id_twAvatar_Reply', 'id_twAvatar_NewThread'], {'src':IDC.twitter.api_response.profile_image_url} );
                
                commentObj.postUsingTwitter = true;
                showTWLoggedInNewThread(); showTWLoggedInReply();
                IDC.hide( ['IDCommentsHeadLogin', 'IDCPostNavReply', 'IDCPostNav'] );
        }
};

IDC.fbc = {
        "load_js": function() {
                //Add the hidden FBC iframe container to prevent document.writes
                IDC.$('idc-container').appendChild( IDC.c_object( 'div', {'id': 'FB_HiddenContainer', 'style': {'position':'absolute', 'top':'-10000px', 'left':'-10000px', 'width':'0px', 'height':'0px'} } ) );
                IDC.load_js( 'http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php' );
        },

        "init_fbc": function() {
                if( undefined === window.idc_xd_receiver )
                        window.idc_xd_receiver = null;
                
                FB.init( IDC.fbc.apikey, window.idc_xd_receiver );
                FB.ensureInit(function() {
                FB.Connect.ifUserConnected( IDC.fbc.login, function() {} );
                });
        },

        "logout": function() {
                FB.Connect.logout();
                if( commentObj ) { commentObj.fbConnect = false; commentObj.postUsingFBC = false; commentObj.fbName = ''; commentObj.fbUrl = ''; commentObj.fbPic = ''; };
                showSignupNewThread();
                showSignupReply();
        },

        "login": function( val ) {
                if( commentObj.curUser.userid > 0 )
                        return;
                FB.Facebook.get_sessionState().waitUntilReady(function(){
                        try {
                                var uid = FB.Facebook.apiClient.get_session().uid ;
                                var sql = "SELECT name, pic_square, pic_small, profile_url FROM user WHERE uid ="+uid;
                                FB.Facebook.apiClient.fql_query(sql, function(result, ex) {
                                        if( !result ) {
                                                alert('An error has occured.  Please refresh and try again.');
                                                return;
                                        }
                                        
                                        res_data = result[0];
                                        if( commentObj ) { commentObj.fbConnect = true; commentObj.postUsingFBC = true; commentObj.fbName = res_data['name']; commentObj.fbUrl = res_data['profile_url']; commentObj.fbPic = res_data['pic_square'] };
                                        
                                        if( res_data['pic_square'] )
                                                IDC.set_props( ['id_fbAvatar_NewThread', 'id_fbAvatar_Reply'], {'src':res_data['pic_square'], 'alt':res_data['name']  + "'s avatar"} );
                                        else
                                                IDC.hide( ['id_fbAvatar_NewThread', 'id_fbAvatar_Reply', 'id_fbAvatar_NewThread-fav', 'id_fbAvatar_Reply-fav'] );
                                        
                                        IDC.set_props( ['id_fbName_NewThread', 'id_fbName_Reply'], {'innerHTML':res_data['name'], 'href':res_data['profile_url']} );

                                        showFBLoggedInNewThread(); showFBLoggedInReply();
                                        IDC.hide( ['IDCommentsHeadLogin', 'IDCPostNavReply', 'IDCPostNav'] );
                                });
                                
                                FB.Connect.addSignedPublicSessionDataToUrl('', function(data) { IDC.fbc.public_session_data = data.replace('?', ''); } );
                        } catch (e) {
                                //Fail
                        }
                });
        }
};/*
 * Helper functions and globals
 */
var IDHost = "http://intensedebate.com/";
var xs = new xsAjax(IDHost+"js/commentAction/");
var numSheets = document.styleSheets.length;
var browser=navigator.appName;

function $id(objId)
{
	return document.getElementById(objId);
};

function $name(objName)
{
	return document.getElementByName(objName);
};

function $tagName(objTagName)
{
	return document.getElementsByTagName(objTagName);
};

function $newEl(objTagName)
{
	return document.createElement(objTagName);
};

function IDgetTop(obj)
{
	//return obj.offsetTop;
	var curtop = 0;
    if(obj.offsetParent)
        while(1)
        {
          curtop += obj.offsetTop;
          if(!obj.offsetParent)
            break;
          obj = obj.offsetParent;
        }
    else if(obj.y)
        curtop += obj.y;
    return curtop;
};

function IDgetWidth(obj)
{
	return obj.offsetWidth;
};

function IDgetHeight(obj)
{
	return obj.offsetHeight;
};

function IDgetScrollY() 
{
	return f_filterResults (
		window.pageYOffset ? window.pageYOffset : 0,
		document.documentElement ? document.documentElement.scrollTop : 0,
		document.body ? document.body.scrollTop : 0
	);
};

function IDgetWindowHeight() 
{
	 var viewportheight;
	 
	 // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
	 
	 if (typeof window.innerWidth != 'undefined')
	 {
	      viewportheight = window.innerHeight
	 }
	 
	// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)
	
	 else if (typeof document.documentElement != 'undefined'
	     && typeof document.documentElement.clientWidth !=
	     'undefined' && document.documentElement.clientWidth != 0)
	 {
	       viewportheight = document.documentElement.clientHeight;
	 }
	 else
	 {
	       viewportheight = document.getElementsByTagName('body')[0].clientHeight;
	 }

	return viewportheight;
};

function f_filterResults(n_win, n_docel, n_body) {
	var n_result = n_win ? n_win : 0;
	if (n_docel && (!n_result || (n_result > n_docel)))
		n_result = n_docel;
	return n_body && (!n_result || (n_result > n_body)) ? n_body : n_result;
};

function checkForNewThreadEnter(e)
{
	var keycode = IDgetKeycode(e);	
	if(keycode == 13)
		postComment(0);
};

function checkForHeaderLoginEnter(e)
{
	var keycode = IDgetKeycode(e);	
	if(keycode == 13)
	{
		if(navigator.userAgent.toLowerCase().indexOf("safari")==-1)
		{
			logUserIn();			
		}
		else
		{
			document.getElementById('IDfrmHeaderLogin').submit();
		}
	}
};

function checkForReplyEnter(e)
{
	var keycode = IDgetKeycode(e);	
	if(keycode == 13)
		postComment(1);
};

function IDgetKeycode(e)
{
	var code;
	if (!e) 
		var e = window.event;
	if (e.keyCode) 
		code = e.keyCode;
	else if (e.which) 
		code = e.which;
	return code;	
};

function IDaddslashes(str)
{
	if(null==str)
		return "";
	str = str.toString();
		
	str=str.replace(/\\/g,'\\\\');
	str=str.replace(/\'/g,"\\'");
	str=str.replace(/\"/g,'\\"');
	str=str.replace(/\0/g,'\\0');
	str=str.replace(/\n/g,'\\n');
	return str;
};

/*function checkForNewThreadEmail(e)
{
	if($id("txtEmailNewThread").value.length>0)
	{
		$id("IDSignupChkDivNewThread").style.display = "block";
		//$id("IDOpenIDLinkNewThread").style.display = "none";
		if($id("chkSignUpNewThread").value==3)
		{
			$id("chkSignUpNewThread").value=0;
			commentObj.newthreadType = 0;
		}	
		else
		{
			$id("chkSignUpNewThread").value=3;
			commentObj.newthreadType = 3;
		}		
	}
	else
	{
		$id("IDSignupChkDivNewThread").style.display = "none";
		$id("IDOpenIDLinkNewThread").style.display = "block";
		commentObj.newthreadType = 0;
	}
};

function checkForReplyEmail(e)
{
	if($id("txtEmailReply").value.length>0)
	{
		$id("IDSignupChkDivReply").style.display = "block";
		//$id("IDOpenIDLinkReply").style.display = "none";
		if($id("chkSignup").value==3)
		{
			$id("chkSignup").value=0;
			commentObj.replyType = 0;
		}	
		else
		{
			$id("chkSignup").value=3;
			commentObj.replyType = 3;
		}		
	}
	else
	{
		$id("IDSignupChkDivReply").style.display = "none";
		$id("IDOpenIDLinkReply").style.display = "block";
		commentObj.replyType = 0;
	}
};*/

function txtOnFocus(obj, defaultText, clearText)
{
	if(clearText==null)
		clearText = true;
		
	obj.className += " idc-focus";	
	if(obj.value == defaultText)	
	{
		if(clearText)
			obj.value = "";
		obj.style.color = "black";
	}
};

function txtOnBlur(obj, defaultText, colorChange)
{
	if(colorChange == null)
		colorChange = true;
		
	obj.className = obj.className.replace(/idc-focus/g, "");
	if(obj.value == "")
	{
		obj.value = defaultText;
		if(colorChange)
			obj.style.color = "#CCC";
	}	
};

function updateReplyTextareaSize(e)
{		
	var keycode = IDgetKeycode(e);              

	IDReplaceHtml($id("divReplyExpandingText"), this.value.replace(/\n/g,'<br />')+'&nbsp;');
	$id("divReplyExpandingText").style.width = ($id('txtComment').offsetWidth - 12)+'px';
	if(parseInt($id("divReplyExpandingText").offsetHeight) + 10<=50)
		var newHeight = 50;
	else
		var newHeight = parseInt($id("divReplyExpandingText").offsetHeight) + 10;
	this.style.height = newHeight+'px';
	
};

function updateNewPostTextareaSize(e)
{
	var keycode = IDgetKeycode(e);              
	
	IDReplaceHtml($id("divNewPostExpandingText"), this.value.replace(/\n/g,'<br />')+'&nbsp;');
	$id("divNewPostExpandingText").style.width = ($id('IDCommentNewThreadText').offsetWidth - 12)+'px';
	this.style.height = (parseInt($id("divNewPostExpandingText").offsetHeight) + 10)+'px';
	if(parseInt($id("divNewPostExpandingText").offsetHeight)+ 10 <=50)
		var newHeight = 50;
	else
		var newHeight = parseInt($id("divNewPostExpandingText").offsetHeight) + 10;
	this.style.height = newHeight+'px';
	
};

function IDReplaceHtml(el, html) {
	//To stop js errors
	if(el)
	{
        var oldEl = (typeof el === "string" ? document.getElementById(el) : el);
        var newEl = document.createElement(oldEl.nodeName);
        
        // Preserve the element's id and class (other properties are lost)
        newEl.id = oldEl.id;
        newEl.className = oldEl.className;
        
        // Replace the old with the new
        newEl.innerHTML = html;
        if(oldEl.parentNode)
        	oldEl.parentNode.replaceChild(newEl, oldEl);
        else
			oldEl.innerHTML = html;
        /* Since we just removed the old element from the DOM, return a reference
        to the new element, which can be used to restore variable references. */
        return newEl;
	}
};
function getCurTime() {
	dateObj = new Date();
	return dateObj.getTime();
}

function loadFuncs() {
	IDC.load_js( IDHost + 'idc/js/comment-func.php?token=' + commentObj.token + '&blogpostid=' + commentObj.blogpostid + "&time=" + getCurTime() );
};

function IDCommentInit() {
	commentObj.idcCover = $id("idc-cover");
	commentObj.divReply = $id("IDCommentReplyDiv");
	
	if(commentObj.expanding == 'T') {
		$id('txtComment').onkeyup = updateReplyTextareaSize;
		$id('txtComment').onchange = updateReplyTextareaSize;
		$id('IDCommentNewThreadText').onkeyup = updateNewPostTextareaSize;
		$id('IDCommentNewThreadText').onchange = updateNewPostTextareaSize;
	} else {
		$id("IDCommentNewThreadText").className='idc-text_noresize';
		$id("txtComment").className='idc-text_noresize';
	}
	
	$id('IDReturnAddress').value = window.location.href;
	resizeTextAreas(0);	
	id_fire_action('idcomments_init', '');
};

function IDComments(blogpostid, acctid, acct, themeDir, cssURL, adminid, token, expanding) {
	this.blogpostid = blogpostid;
	this.acctid = acctid;
	this.adminid = adminid;
	this.token = token;
	this.expanding = expanding;
	
	this.comments = new Array();
	this.commentIds = new Array();
	this.trackbacks = new Array();
	
	this.users = new Array();
	this.anonUsers = new Array();
	this.themeDir = themeDir;
	this.cssURL = cssURL;
		
	//Add user custom css
	if( cssURL.length > 8 ) {
		var objCSS5 = $newEl('link');
		objCSS5.rel = 'stylesheet';
		objCSS5.href = cssURL;
		objCSS5.type = 'text/css';
		$tagName("head")[0].appendChild(objCSS5);
	}
			
	this.replyType=0;
	this.newthreadType=0;
	this.depth=0;
	this.parentid=0;
	
	this.userMenu = new Array();
	
	//Add div for expanding reply field
	divReplyExpandingText = $newEl("div");
	divReplyExpandingText.id = "divReplyExpandingText";
	divReplyExpandingText.className = "idc-measure";
	$id("idc-container").appendChild(divReplyExpandingText);
	
	//Add div for expanding new post field
	divNewPostExpandingText = $newEl("div");
	divNewPostExpandingText.id = "divNewPostExpandingText";	
	divNewPostExpandingText.className = "idc-measure";
	$id("idc-container").appendChild(divNewPostExpandingText);	
		
	return this;
}

function IDPageLoad(page, nextprev, commentid, gotocomments) {	
	if(!commentObj.sortType)
		commentObj.sortType="date";
		
	if(document.getElementById("idc-pager")) IDReplaceHtml( document.getElementById("idc-pager"), '<span class="idc-pager_'+nextprev+'_loading">Loading comments...</span>' );	
	if(!commentid)
		commentid=0;
		
	setTimeout("IDloadGetInnerComments("+page+","+commentid+","+gotocomments+")", 0);
}

function IDloadGetInnerComments(page, commentid, gotocomments) {
	var newScriptTag = document.createElement("script");
	newScriptTag.type="text/javascript";
	newScriptTag.src="http://intensedebate.com/idc/js/getInnerComments.php?postid="+commentObj.blogpostid+"&acctid="+commentObj.acctid+"&userid="+commentObj.curUser.userid+"&sort="+commentObj.sortType+"&page="+page+"&commentid="+commentid+"&gotocomments="+gotocomments;	
	document.getElementsByTagName("head")[0].appendChild(newScriptTag);	
}

function IDloadGetInnerCommentsChildren(commentid, startindex) {
	//Hide and move reply div
	commentObj.divReply.style.display = "none";
	$id("idc-container").appendChild(commentObj.divReply);
	
	IDReplaceHtml(document.getElementById('IDShowMoreCommentsInThread'+commentid+'-'+startindex+'-2'), "Loading...");
	var newScriptTag = document.createElement("script");
	newScriptTag.type="text/javascript";
	newScriptTag.src="http://intensedebate.com/idc/js/getInnerCommentsChildren.php?postid="+commentObj.blogpostid+"&acctid="+commentObj.acctid+"&userid="+commentObj.curUser.userid+"&commentid="+commentid+"&startindex="+startindex;	
	document.getElementsByTagName("head")[0].appendChild(newScriptTag);
}

function resizeTextAreas(val) {
	//Fix width of textarea
	if( val == 1 ) {	
		if($id("idc-container").style.display=="none" || $id(idcContainerParentName).style.display=="none") {
			if($id("IDLoadingDivImage"))	
				$id("IDLoadingDivImage").style.display = "none";
			if($id("IDCommentLoadingDiv"))	
				$id("IDCommentLoadingDiv").style.display = "none";
			$id("idc-container").style.display="block";		
			$id(idcContainerParentName).style.display="block";
		}
		
		var curLocation = window.location.hash;
		if(curLocation.indexOf("IDComment") > 0) {
			var selectedCommentID = curLocation.substr(curLocation.indexOf("IDComment")+9);			
			var commentPage = "undefined";
			IDPageLoad(commentPage, "next", selectedCommentID);
		}

		if($id("IDCommentNewThreadText") && navigator.appName != "Microsoft Internet Explorer")
			$id("IDCommentNewThreadText").style.width = ($id("IDCommentsNewThread").offsetWidth - 8) +"px";						
		
		$id("txtNameNewThread").onkeypress = checkForNewThreadEnter;
		$id("txtEmailNewThread").onkeypress = checkForNewThreadEnter;
		$id("txtNameReply").onkeypress = checkForReplyEnter;
		$id("txtEmailReply").onkeypress = checkForReplyEnter;
		$id("IDtxtLoginPass").onkeypress = checkForHeaderLoginEnter;
	} else if($id('IDCommentLoadingDiv') && $id('IDCommentLoadingDiv').offsetWidth==1) {
		setTimeout('resizeTextAreas(1)',200);
	} else {
		setTimeout('resizeTextAreas(0)',100);	
		if(document.readyState && document.readyState != 'complete') {
			if (window.addEventListener)
			    window.addEventListener("load", addLoadingDiv, false); 
			else if (window.attachEvent)
			    window.attachEvent('onload', addLoadingDiv);
		} else {
			addLoadingDiv();
		}
	}
};

function highlightIt(id) {
	if(document.getElementById(id)) {
		if(document.getElementById(id).className.indexOf("idc-c-highlighted") == -1) {
			var divHeight = document.getElementById(id).offsetHeight;
			var start = 0 - (450 - divHeight);
			if(start > 0)
				start = 0;
			//ie6 check
			var b_version=navigator.appVersion;
			var version=parseFloat(b_version);
			document.getElementById(id).className += ' idc-c-highlighted';
			document.getElementById(id).style.backgroundPosition = '0px '+start+'px';
			if(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.indexOf("MSIE 7.")==-1)
				setTimeout("ieHighlight('"+id+"');", 3000);
			else
				setTimeout("fadeIt('"+id+"', "+start+", -550, 2000);", 1000);
		}
	}
}

function fadeIt(id, posStart, posEnd, millisec) {
	//speed for each frame
	var dividend = Math.abs(posEnd-posStart);
	var speed = Math.round(millisec / dividend);
	var timer = 0;

	//determine the direction for the blending, if start and end are the same nothing happens
	if(posStart > posEnd) {
		for(i = posStart; i >= posEnd; i--) {
			setTimeout("changePos("+i+",'"+id+"');",(timer*speed));
			timer++;
			if(i == posEnd)
				setTimeout("removeClass('"+id+"');", ((timer*speed)+200));
		}
	} else if(posStart < posEnd) {
		for(i = posStart; i <= posEnd; i++) {
			setTimeout("changePos("+i+",'"+id+"');",(timer*speed));
			timer++;
			if(i == posEnd)
				setTimeout("removeClass('"+id+"');", ((timer*speed)+200));
		}
	}
};

function removeClass(id) {
	if(document.getElementById(id).style.backgroundPosition == '0px -550px') {
		document.getElementById(id).className = document.getElementById(id).className.replace(/ idc-c-highlighted/, "");
		document.getElementById(id).style.backgroundPosition = '-1533px -108px';
	}
};

//change the position/fade
function changePos(pos, id) {
	var object = document.getElementById(id).style;
	if((Math.abs(object.backgroundPosition.replace(/0px /, "").replace(/px/, ""))-5)<=Math.abs(pos))
		object.backgroundPosition = "0px " + pos + "px";
};

function ieHighlight(id) {
	document.getElementById(id).className = document.getElementById(id).className.replace(/ idc-c-highlighted/, "");
	document.getElementById(id).style.backgroundColor = "transparent";
	document.getElementById(id).style.backgroundImage = "none";
};

function addLoadingDiv() {
	if(!$id('IDCommentLoadingDiv')) {
		if(!document.getElementById('IDCommentLoadingDiv')) {
			var loadingCheck = $newEl("div");
			loadingCheck.className = "idc-loaded";
			loadingCheck.id = "IDCommentLoadingDiv";	
			document.body.appendChild(loadingCheck);	
		} else {			
			document.body.appendChild(document.getElementById('IDCommentLoadingDiv'));			
		}
	}
	
	document.getElementById('IDCommentLoadingDiv').style.display="block";	
};

function IDUser(userid, username, reputation, repLevel, blogTitle, blogRss, blogUrl, friendStatus, isAdmin, profiles, blogs) {
	this.userid = userid;
	this.username = username;
	this.reputation = reputation;
	this.repLevel = repLevel;
	this.blogtitle = blogTitle;
	this.blogrss = blogRss;
	this.blogurl = blogUrl;
	this.friendStatus = friendStatus;
	this.isAdmin = isAdmin;
	this.profiles = eval('('+profiles+')');
	this.blogs = eval('('+blogs+')');
	this.imgurl = IDHost+"smallimages/"+userid;
	this.url = IDHost+"users/"+userid;
	
	return this;
};

function IDAnonUser(userid, name, imgurl, url) {
	this.userid = userid;
	this.username = name;
	this.imgurl = imgurl;
	this.url = url;
	this.reputation = 0;
	this.repLevel = 0;
	this.blogtitle = "";
	this.blogrss = "";
	this.blogurl = "";
	this.friendStatus = 0;
	this.isAdmin = false;
	this.profiles = '[]';	
	return this;
};

function IDTrackback(id, url, title, content, time) {
	this.id = id;
	this.url = url;
	this.title = title;
	this.content = content;
	this.time = time;
	
	return this;
};

function curUser(userid, username, reputation, rep_level, isLoggedIn, isValidated, anonEmail, token, friendRequests) {
	this.userid = userid;
	if(username.length>0)
		this.username = username;
	else
		this.username = "Posting Anonymously";
	this.reputation = reputation;
	this.rep_level = rep_level;
	this.isLoggedIn = isLoggedIn;
	this.isValidated = isValidated;
	this.anonEmail = anonEmail;
	this.token = token;
	this.friendRequests = friendRequests;
	
	if(isLoggedIn && isValidated && userid>0)
		this.imgurl = IDHost+"smallimages/"+userid;
	else
		this.imgurl = IDHost+"images/id-noavatar.png";
	
	if(isLoggedIn) {
		commentObj.replyType = 1;
		commentObj.newthreadType = 1;
	}
};

function IDComment(userid, commentid, time, status, depth, votescore, totalChildren, lastActivity, threadparentid, commentDiv, displayName) {
	this.userid = userid;
	this.commentid = commentid;
	this.time = time;
	this.status = status;
	this.votescore = votescore;
	this.depth = depth;
	this.threadparentid = threadparentid;
	
	if(null!=totalChildren)
		this.totalChildren = totalChildren;
	if(null!=lastActivity && lastActivity.length>0)
		this.lastActivity = lastActivity;		
	if(null!=commentDiv)
		this.commentDiv = commentDiv;
	if(null!=displayName)
		this.displayName = displayName;	
};

function IDUpdateTimeStamps() {
	var d = new Date();
	var now=d.getTime();	
	
	for(objElem in commentObj.comments) {				
		if(document.getElementById('IDCommentTime'+commentObj.comments[objElem].commentid) && document.getElementById('IDCommentTime'+commentObj.comments[objElem].commentid).className == "IDCommentTime") {
			var id=commentObj.comments[objElem].commentid;						
			
			if(commentObj.comments[id])
				var time=Date.parse(commentObj.comments[id].time) - Math.floor(d.getTimezoneOffset()/60)*60*60000;
			else
				continue;
			
			var diff=now-time;						
			replaceHTML(document.getElementById('IDCommentTime'+commentObj.comments[objElem].commentid), '#time# ago'.replace(/#time#/, IDTimeToStr(diff)), 0);
			if(document.getElementById('IDCommentTime'+commentObj.comments[objElem].commentid).innerHTML.indexOf("")<0 && document.getElementById('IDCommentTime'+commentObj.comments[objElem].commentid).innerHTML.indexOf("")<0)
				document.getElementById('IDCommentTime'+commentObj.comments[objElem].commentid).className = "";						
		}

		if(document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid) && document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).className == "IDCommentThreadTime") {
			var id=commentObj.comments[objElem].commentid;
			if(commentObj.comments[id])
				var time=Date.parse(commentObj.comments[id].lastActivity) - Math.floor(d.getTimezoneOffset()/60)*60*60000;	
			else
				continue;
									
			var diff=now-time;
			replaceHTML(document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid), 'active #time# ago'.replace(/#time#/, IDTimeToStr(diff)), 0);
			if(document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).innerHTML.indexOf("")<0 && document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).innerHTML.indexOf("")<0)
				document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).className = "";	
			else
				document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).className = "IDCommentThreadTimeRead";
		}
		
		if(document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid) && document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).className == "IDCommentThreadTimeRead") {
			var id=commentObj.comments[objElem].commentid;
			if(commentObj.comments[id])			
				var time=Date.parse(commentObj.comments[id].lastActivity) - Math.floor(d.getTimezoneOffset()/60)*60*60000;	
			else
				continue;			
			var diff=now-time;
			replaceHTML(document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid), 'active #time# ago'.replace(/#time#/, IDTimeToStr(diff)), 0);
			if(document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).innerHTML.indexOf("")<0 && document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).innerHTML.indexOf("")<0)
				document.getElementById('IDCommentThreadTime'+commentObj.comments[objElem].commentid).className = "";			
		}
	}
	
	if(commentObj)
		commentObj.timestampUpdateTimeout = setTimeout("IDUpdateTimeStamps()", 30000);
	else
		setTimeout("IDUpdateTimeStamps()", 30000);
};

function replaceHTML(obj, html, type) {
	var parent = obj.parentNode;
	document.body.appendChild(obj);
	obj.innerHTML = html;
	if(type==0)
		parent.appendChild(obj);
	else
		parent.insertBefore(obj, parent.firstChild);
};

function IDTimeToStr(time) {
	var weeksConv = 60*60*24*7*1000;
	var daysConv = 60*60*24*1000;
	var hoursConv = 60*60*1000;
	var minutesConv = 60*1000;
	var secondsConv = 1000;
	
	var weeks = Math.floor(time/weeksConv);
	var days = Math.floor(time/daysConv);
	var hours = Math.floor(time/hoursConv);
	var minutes = Math.floor(time/minutesConv);
	var seconds = Math.floor(time/secondsConv);
	
	if(weeks>1)
		return "#num# weeks".replace(/#num#/, weeks.toString());
	else if(weeks==1)
		return "#num# week".replace(/#num#/, weeks.toString());
	else if(days>1)
		return "#num# days".replace(/#num#/, days.toString());
	else if(days==1)
		return "#num# day".replace(/#num#/, days.toString());
	else if(hours>1)
		return "#num# hours".replace(/#num#/, hours.toString());
	else if(hours==1)
		return "#num# hour".replace(/#num#/, hours.toString());
	else if(minutes>1)
		return "#num# minutes".replace(/#num#/, minutes.toString());
	else if(minutes==1)
		return "#num# minute".replace(/#num#/, minutes.toString());
	else
		return "less than 1 minute";
};

var id_action_list = [];
var id_filter_list = [];

function id_add_action(action, func, priority) {
	if(typeof(func)!="function")
		return false;
	if(typeof(priority)!="number")
		priority = 10;

	if(!id_action_list[action])
		id_action_list[action] = [];
	
	func.priority = priority;
	id_action_list[action][id_action_list[action].length] = func;
	id_action_list[action][id_action_list[action].length - 1].bind = function() {};
	id_action_list[action].bind = function() {};
	id_action_list[action].sort(id_action_array_sort);
	
	return true;
};

function id_add_filter(filter, func, priority) {
	if(typeof(func)!="function")
		return false;
	if(typeof(priority)!="number")
		priority = 10;
		
	if(!id_filter_list[filter])
		id_filter_list[filter] = [];
	
	func.priority = priority;
	id_filter_list[filter][id_filter_list[filter].length] = func;
	id_filter_list[filter][id_filter_list[filter].length - 1].bind = function() {};
	id_filter_list[filter].bind = function() {};
	id_filter_list[filter].sort(id_action_array_sort);
	
	return true;
};

function id_fire_action(action, args) {	
	if(id_action_list[action]) {	
		for(var i = 0; i < id_action_list[action].length; i++) {
			if(typeof(id_action_list[action][i])=="function" && id_action_list[action][i].toString().indexOf('return this[this.length - 1];')==-1 && id_action_list[action][i].toString().indexOf('function (value, index)')==-1)
				id_action_list[action][i](args);
		}
	}
};

function id_apply_filter(filter, args) {
	if(id_filter_list[filter]) {		
		for(var i = 0; i < id_filter_list[filter].length; i++) {	
			if(typeof(id_filter_list[filter][i])=="function" && id_filter_list[filter][i].toString().indexOf('return this[this.length - 1];')==-1 && id_filter_list[filter][i].toString().indexOf('function (value, index)')==-1)
				if(typeof(args)=='object')
					args['text'] = id_filter_list[filter][i](args);
				else
					args = id_filter_list[filter][i](args);
		}
	}
	if(typeof(args)=='object')
		return args['text'];
	else
		return args;
};

function id_apply_comment_text_filter() {
	if(id_filter_list['comment_text_load']) {
		for(objElem in commentObj.comments) {
			if(!commentObj.comments[objElem].commentDiv)
				continue;
			
			var text = $id('IDComment-CommentText'+objElem).innerHTML;
			var args = [];
			args['text'] = text;
			args['commentid'] = commentObj.comments[objElem].commentid;
			
			//for(var func in id_filter_list['comment_text_load']) {
			for(var i = 0; i < id_filter_list['comment_text_load'].length; i++) {
				if(typeof(id_filter_list['comment_text_load'][i])=="function" && id_filter_list['comment_text_load'][i].toString().indexOf('return this[this.length - 1];')==-1 && id_filter_list['comment_text_load'][i].toString().indexOf('function (value, index)')==-1)
					args['text'] = id_filter_list['comment_text_load'][i](args);
			}
			
			$id('IDComment-CommentText'+objElem).innerHTML = args['text'];		
		}
	}
};

function id_clean_array(arr) {	
	var returnArray = {};
	
	for(var val in arr) {
		if(val=='peek') continue;
		if(val=='each') continue;
			returnArray[val] = arr[val];
	}

	return returnArray;
};

function id_add_plugin_button(linkUrlNT, linkUrlR, imgURL, imgTitle, imgAlt, labelText) {
	if(typeof labelText === 'undefined')
		labelText = "";
		
	var li1 = document.createElement('LI');
	li1.innerHTML = '<a href="'+linkUrlNT+'"><img title="'+imgTitle+'" alt="'+imgAlt+'" src="'+imgURL+'" /><span>'+labelText+'</span></a>';
	$id('idc-plugin-buttons-new-thread').appendChild(li1);
	
	var li2 = document.createElement('LI');
	li2.innerHTML = '<a href="'+linkUrlR+'"><img title="'+imgTitle+'" alt="'+imgAlt+'" src="'+imgURL+'" /><span>'+labelText+'</span></a>';
	$id('idc-plugin-buttons-reply').appendChild(li2);
};

function id_action_array_sort(a,b) { if(a.priority == b.priority) return 0; if(a.priority < b.priority) return -1; else return 1; };var id_youtube_plugin = {};
id_youtube_plugin.youtube_disabled_edit_ids = []; /* IntenseDebate commentid's that should have edit functionality disabled (contain youtube embeds) */
id_youtube_plugin.youtube_posted_from = 0; /* Which field should the poll embed code be inserted in (Reply or New Comment) */

/* add the YouTube button to the interface */
id_youtube_plugin.id_add_youtube_button = function() {
	id_add_plugin_button("javascript: id_youtube_plugin.id_show_youtube_embed(0)", "javascript: id_youtube_plugin.id_show_youtube_embed(1)", "http://www.youtube.com/favicon.ico", "Add a YouTube Video", "YouTube", "Embed video");
	
	id_youtube_plugin.id_youtube_disable_edit_buttons();
};

/* display the popup for the url of the video to embed */
id_youtube_plugin.id_show_youtube_embed = function(posted_from) {
	/* keep track of if it was for a reply or a new comment */
	id_youtube_plugin.youtube_posted_from = posted_from;
	
	var link2 = $newEl('a');
	link2.href="javascript: id_youtube_plugin.id_add_youtube_embed_code();";
	IDReplaceHtml(link2, "<span></span><span class='idc-r'>Embed Video</span>");
	link2.className="idc-btn_s idc-disablestyles";
	link2.style.cssFloat = 'right';
	
	showMsgBox('Embed a YouTube Video', '<p>Enter the video URL to embed below:</p><input type="text" id="txtYouTubeURL"/>', 0, null, link2);
};

id_youtube_plugin.id_add_youtube_embed_code = function() {	
	/* Grab the url and identify the target textbox */
	var vidUrl = $id('txtYouTubeURL').value;
	
	/* make sure we add the embed code to the right textbox ( a reply or a new comment) */
	if(id_youtube_plugin.youtube_posted_from == 0)
		var textBox = $id('IDCommentNewThreadText');
	else
		var textBox = $id('txtComment');
	
	/* Check for valid match */
	var regex=/http:\/\/([a-zA-Z0-9]+\.)?youtube\.com\/watch\?v=(.*)/ig; 
	var m=regex.exec(vidUrl);
	
	/* If there is a match */
	if(m && m.length>2) {
		/* If no comment text has been entered yet be sure to clear the default stuff */
		if(textBox.value=='Enter text right here!') {
			textBox.value = '';
			textBox.style.color = 'black';
		}
				
		/* Add the embed code to the textbox */
		textBox.value += "[youtube " + m[2] + " " + vidUrl + " youtube]";
		
		/* Hide the popup box */
		hideMsgBox();
		
		/* reset the regex */
		regex.lastIndex=0;
		
		/* Give focus to the text box */
		textBox.focus();
	}
	else
		/* Failed to match the url */
		alert('Unable to parse that url');
};

/* Disable the edit button for any comments that have a video */
id_youtube_plugin.id_youtube_disable_edit_buttons = function() {
	for(objElem in id_youtube_plugin.youtube_disabled_edit_ids) {		
		if($id('IDCommentPostReplyLinkEdit'+id_youtube_plugin.youtube_disabled_edit_ids[objElem]))
			$id('IDCommentPostReplyLinkEdit'+id_youtube_plugin.youtube_disabled_edit_ids[objElem]).style.display = 'none';	
	}
};

id_youtube_plugin.id_youtube_embed_replace = function(args) {
	var text = args['text'];
	
	//Check for valid match
	var youtube_regex=/\[youtube\s+(.*?)\s+(.*?)\s+youtube\]/ig;
	var m = youtube_regex.exec(text);

	//If there is a match
	if(m && m.length>1) {
		/* add the IntenseDebate commentid to the array of comments to disable editing for */
		id_youtube_plugin.youtube_disabled_edit_ids[id_youtube_plugin.youtube_disabled_edit_ids.length] = args['commentid'];
		
		/* reset the regex */
		youtube_regex.lastIndex=0;
		
		/* return the polldaddy div (where the poll will go */
		return text.replace(youtube_regex, '<div class="idc-video_youtube"><object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/'+m[1]+'&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/'+m[1]+'&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></div>');
	}
	else {
		/* reset the regex */
		youtube_regex.lastIndex=0;
		return text;
	}
};

/* add filter to swap embed code */
/*id_add_filter('comment_text_load', function (args) { var text=args['text']; var newtext = text.replace(/\[youtube /ig, '<div class="idc-video_youtube"><object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/zbLEtE4b-is&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/'); if(newtext!=text) id_youtube_plugin.youtube_disabled_edit_ids[id_youtube_plugin.youtube_disabled_edit_ids.length] = args['commentid']; return newtext;});
id_add_filter('comment_text_load', function (args) { var text=args['text']; return text.replace(/(.*?)\syoutube\]/ig, '&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></div>'); });*/

id_add_filter('comment_text_load', id_youtube_plugin.id_youtube_embed_replace);
id_add_action('idcomments_func_load',id_youtube_plugin.id_add_youtube_button); /* add youtube button on load */
id_add_action('user_login',id_youtube_plugin.id_youtube_disable_edit_buttons); /* disable edit buttons on login */
id_add_action('comment_post',id_youtube_plugin.id_youtube_disable_edit_buttons); /* disable edit buttons on comment post (for new comments w/ YouTube videos) */var id_polldaddy_plugin = {};
id_polldaddy_plugin.id_polldaddy_ids = []; /* PollDaddy id's to load proper JavaScript for later */
id_polldaddy_plugin.polldaddy_disabled_edit_ids = []; /* IntenseDebate commentid's that should have edit functionality disabled (contain polls) */
id_polldaddy_plugin.polldaddy_posted_from = 0; /* Which field should the poll embed code be inserted in (Reply or New Comment) */

/* Replace polldaddy embed code with a div of a proper ID to have the poll inserted when the PollDaddy javascript is loaded */
id_polldaddy_plugin.id_replace_polldaddy_and_add_poll_code = function(args) {
	var text = args['text'];
	
	//Check for valid match
	var polldaddy_regex=/\[polldaddy\s+(.*?)\s+(.*?)\s+polldaddy\]/ig;
	var m = polldaddy_regex.exec(text);

	//If there is a match
	if(m && m.length>1) {
		/* Extract the id from the embed code */
		id_polldaddy_plugin.id_polldaddy_ids[id_polldaddy_plugin.id_polldaddy_ids.length] = m[1];
		
		/* add the IntenseDebate commentid to the array of comments to disable editing for */
		id_polldaddy_plugin.polldaddy_disabled_edit_ids[id_polldaddy_plugin.polldaddy_disabled_edit_ids.length] = args['commentid'];
		
		/* reset the regex */
		polldaddy_regex.lastIndex=0;
		
		/* return the polldaddy div (where the poll will go */
		return text.replace(polldaddy_regex, '<div id="PDI_container'+m[1]+'"></div>');
	}
	else
		return text;
};

/* Display the popup of fields to fill out when creating a PollDaddy poll */
id_polldaddy_plugin.id_show_polldaddy_creator = function(val) {
	id_polldaddy_plugin.polldaddy_posted_from = val;
	
	var link2 = $newEl('a');
	link2.href="javascript: id_polldaddy_plugin.id_send_poll_request();";
	IDReplaceHtml(link2, "<span></span><span class='idc-r'>Add Poll</span>");
	link2.className="idc-btn_s idc-disablestyles";
	link2.style.cssFloat = 'right';
	
	showMsgBox('Add a PollDaddy Poll', '<form><ul class="idc-form_list"><li><label for="txtPollTitle">Poll Title:</label><input type="text" class="idc-text" id="txtPollTitle"/><span class="idc-clear"/></li></ul><p>Answers:</p><ul class="idc-form_list"><li><input type="radio" disabled="disabled" class="idc-radio" name="radOption" id="radOption1"/><input type="text" id="txtPollAnswer1" style="width: 160px; clear: none;" class="idc-text"/></li><li><input type="radio" disabled="disabled" class="idc-radio" name="radOption" id="radOption2"/><input type="text" id="txtPollAnswer2" style="width: 160px; clear: none;" class="idc-text"/></li><li><input type="radio" disabled="disabled" class="idc-radio" name="radOption" id="radOption3"/><input id="txtPollAnswer3" type="text" style="width: 160px; clear: none;" class="idc-text"/></li><li><input type="radio" disabled="disabled" class="idc-radio" name="radOption" id="radOption4"/><input type="text" id="txtPollAnswer4" style="width: 160px; clear: none;" class="idc-text"/></li><li><input type="radio" disabled="disabled" class="idc-radio" name="radOption" id="radOption5"/><input type="text" id="txtPollAnswer5" style="width: 160px; clear: none;" class="idc-text"/></li></ul><p style="margin: 0pt;" class="idc-fade">Fields not filled out will automatically be discarded.</p></form>', 0, null, link2);
};

/* Pull in the JavaScript portion of each poll */
id_polldaddy_plugin.id_load_polldaddy_js = function() {
	/* If there's anything new */
	if(id_polldaddy_plugin.id_polldaddy_ids.length > 0) {
		for(objElem in id_polldaddy_plugin.id_polldaddy_ids) {
			if( typeof(id_polldaddy_plugin.id_polldaddy_ids[objElem]) != 'string' )
				continue;
				
			var polldaddyJS = document.createElement('SCRIPT');
			polldaddyJS.type='text/javascript';
			polldaddyJS.src='http://static.polldaddy.com/p/'+id_polldaddy_plugin.id_polldaddy_ids[objElem]+'.js';
			document.getElementsByTagName('HEAD')[0].appendChild(polldaddyJS);
		}
		
		id_polldaddy_plugin.id_polldaddy_disable_edit_buttons();
		
		/* Clear out the array now that it's been taken care of */
		id_polldaddy_plugin.id_polldaddy_ids = [];
	}
};

/* Add the PollDaddy button to the interface */
id_polldaddy_plugin.id_add_polldaddy_button = function() {
	id_add_plugin_button("javascript: id_polldaddy_plugin.id_show_polldaddy_creator(0)", "javascript: id_polldaddy_plugin.id_show_polldaddy_creator(1)", "http://www.polldaddy.com/favicon.ico", "Add a PollDaddy Poll", "PollDaddy", "Add poll");
	
	id_polldaddy_plugin.id_polldaddy_disable_edit_buttons();
};

/* Disable the edit button on comments w/ a poll since it doesn't make sense anymore */
id_polldaddy_plugin.id_polldaddy_disable_edit_buttons = function() {
	for(objElem in id_polldaddy_plugin.polldaddy_disabled_edit_ids) {		
		if($id('IDCommentPostReplyLinkEdit'+id_polldaddy_plugin.polldaddy_disabled_edit_ids[objElem]))
			$id('IDCommentPostReplyLinkEdit'+id_polldaddy_plugin.polldaddy_disabled_edit_ids[objElem]).style.display = 'none';	
	}	
};

/* Send all the poll data back to a script that actually creates the poll and calls one of the callback functions below */
id_polldaddy_plugin.id_send_poll_request = function() {
	var scriptURL = "http://intensedebate.com/pd-poll-creator.php?q=" + encodeURIComponent($id('txtPollTitle').value) + "&a1=" + encodeURIComponent($id('txtPollAnswer1').value) + "&a2=" + encodeURIComponent($id('txtPollAnswer2').value) + "&a3=" + encodeURIComponent($id('txtPollAnswer3').value) + "&a4=" + encodeURIComponent($id('txtPollAnswer4').value) + "&a5=" + encodeURIComponent($id('txtPollAnswer5').value);
	var theScriptTag = document.createElement('SCRIPT');
	theScriptTag.src = scriptURL;
	theScriptTag.type = "text/javascript";
	document.getElementsByTagName('HEAD')[0].appendChild(theScriptTag);
};

/* Called when a poll has been successfully created */
id_polldaddy_plugin.id_add_poll_callback = function(pollid) {
	/* Make sure we put the embed code in the correct textbox (reply or new comment) */
	if(id_polldaddy_plugin.polldaddy_posted_from == 0)
		var textBox = $id('IDCommentNewThreadText');
	else
		var textBox = $id('txtComment');
	
	/* If no comment text has been entered yet be sure to clear the default stuff */
	if(textBox.value=='Enter text right here!') {
		textBox.value = '';
		textBox.style.color = 'black';
	}
		
	/* Add the embed code to the textbox */
	textBox.value += '[polldaddy ' + pollid + ' http://answers.polldaddy.com/poll/' + pollid + '/ polldaddy]';
	
	/* Hide the popup box */
	hideMsgBox();
	
	/* Give focus to the text box */
	textBox.focus();
};

/* Called on poll creation failure */
id_polldaddy_plugin.id_add_poll_callback_error = function() {
	alert("An error has occured and your poll could not be created. Please try again in a moment.");
};

id_add_filter('comment_text_load',id_polldaddy_plugin.id_replace_polldaddy_and_add_poll_code); /*Swap out embed code for PD poll when comment is output*/
id_add_action('idcomments_func_load', id_polldaddy_plugin.id_load_polldaddy_js); /*Load the PD JS when we load */
id_add_action('idcomments_func_load',id_polldaddy_plugin.id_add_polldaddy_button); /*Add the PD button to IntenseDebate interface on load */
id_add_action('user_login',id_polldaddy_plugin.id_polldaddy_disable_edit_buttons); /* Disable edit buttons on user login */
id_add_action('comment_post', id_polldaddy_plugin.id_load_polldaddy_js); /* Load the new JS for a PD poll when a comment is posted *///associative array of smileys, if editing, escape all regex chars
var smiley_array = new Array();
smiley_array[':)'] = '0pt 0pt;';
smiley_array[':D'] = '-12px 0pt;';
smiley_array['xD'] = '-24px 0pt;';
smiley_array[';)'] = '-36px 0pt;';
smiley_array[':p'] = '-48px 0pt;';
smiley_array['^_^'] = '0pt -12px;';
smiley_array[':$'] = '-12px -12px;';
smiley_array['B)'] = '-24px -12px;';
smiley_array[':*'] = '-36px -12px;';
smiley_array['<3'] = '-48px -12px;';
smiley_array[':S'] = '0pt -24px;';
smiley_array[':|'] = '-12px -24px;';
smiley_array['=/'] = '-24px -24px;';
smiley_array[':x'] = '-36px -24px;';
smiley_array['o.0'] = '-48px -24px;';
smiley_array[':o'] = '0pt -36px;';
smiley_array[':('] = '-12px -36px;';
smiley_array[':@'] = '-24px -36px;';
smiley_array[":%27("] = '-36px -36px;';

smiley_array = id_clean_array(smiley_array);

function id_add_smiley_button() {
	var contents_new_thread = '<ul class="idc-smileys" id="idc-smileys-new-thread" style="display:none;" onmouseout=\'$id("idc-smileys-new-thread").style.display="none";\' onmouseover=\'$id("idc-smileys-new-thread").style.display="block";\'>';
	var contents_reply = '<ul class="idc-smileys" id="idc-smileys-reply" style="display:none;" onmouseout=\'$id("idc-smileys-reply").style.display="none";\' onmouseover=\'$id("idc-smileys-reply").style.display="block";\'>';

	for( var smiley in smiley_array) {
		if(typeof(smiley_array[smiley]) != 'string')
			continue;
		contents_new_thread += '<li><a class="idc-smiley" href=\'javascript:insertSmileyNewThread("'+smiley+'");\'><span onmouseover=\'$id("idc-smileys-new-thread").style.display="block";\' style=\'background-position: '+smiley_array[smiley]+'\'><span>'+smiley+'</span></span></a>';
		contents_reply += '<li><a class="idc-smiley" href=\'javascript:insertSmileyReply("'+smiley+'");\' title="'+smiley+'"><span style=\'background-position: '+smiley_array[smiley]+'\'><span>'+smiley+'</span></span></a>';
	}

	contents_new_thread += '</ul><a href="javascript:void(0);" onclick=\'javascript:$id("idc-smileys-new-thread").style.display="block";\'><img src="http://s.intensedebate.com/images1/-plugins/simplysmileys-icon.png" alt="Smileys" title="Add a smiley"/><span/></a>';
	contents_reply += '</ul><a href="javascript:void(0);" onclick=\'javascript:$id("idc-smileys-reply").style.display="block";\'><img src="http://s.intensedebate.com/images1/-plugins/simplysmileys-icon.png" alt="Smileys" title="Add a smiley"/><span/></a>';

	li_new_thread = document.createElement("LI");
	IDReplaceHtml(li_new_thread, contents_new_thread);	
	li_reply = document.createElement("LI");
	IDReplaceHtml(li_reply, contents_reply);
	$id('idc-plugin-buttons-new-thread').appendChild(li_new_thread); 
	$id('idc-plugin-buttons-reply').appendChild(li_reply); 
};

function id_replace_smileys_with_images(array) {
	var text = array['text'];

	//Add all the - to smileys
	smiley_array_replace = new Array();
	for( var smiley in smiley_array) {
		if(typeof(smiley) != 'string')
			continue;
		smiley_array_replace[smiley] = smiley_array[smiley];
	}
	smiley_array_replace[':-)'] = '0pt 0pt;';
	smiley_array_replace[':-D'] = '-12px 0pt;';
	smiley_array_replace['x-D'] = '-24px 0pt;';
	smiley_array_replace[';-)'] = '-36px 0pt;';
	smiley_array_replace[':-p'] = '-48px 0pt;';
	smiley_array_replace[':-$'] = '-12px -12px;';
	smiley_array_replace['B-)'] = '-24px -12px;';
	smiley_array_replace[':-*'] = '-36px -12px;';
	smiley_array_replace['&lt;3'] = '-48px -12px;';
	smiley_array_replace[':-S'] = '0pt -24px;';
	smiley_array_replace[':-|'] = '-12px -24px;';
	smiley_array_replace[':-/'] = '-24px -24px;';
	smiley_array_replace[':-x'] = '-36px -24px;';
	smiley_array_replace['o.0'] = '-48px -24px;';
	smiley_array_replace[':-o'] = '0pt -36px;';
	smiley_array_replace[':-('] = '-12px -36px;';
	smiley_array_replace[':-@'] = '-24px -36px;';
	smiley_array_replace[":-%27("] = '-36px -36px;';
	smiley_array_replace[":-'("] = '-36px -36px;';
	smiley_array_replace[":'("] = '-36px -36px;';

	for( var smiley in smiley_array_replace) {
		if(typeof(smiley_array_replace[smiley]) != 'string')
			continue;
		
		//Escape regex
		var smiley_match = id_regex_escape( smiley );

		//Find the match
		var smiley_regex = new RegExp( smiley_match, 'g' );
		
		//HTML span tag
		var smiley_image = ' <span class="idc-smiley"><span style=\'background-position: '+smiley_array_replace[smiley]+'\'><span>'+smiley+'</span></span></span> ';
	
		if(text){
			//Replace the match
			//trim
			text = text.replace(/^\s+|\s+$/g,'');
			text = ' '+text+' ';
			text = text.replace( smiley_regex, smiley_image );	
		}

	}

	return text;
};

//Escape regex
function id_regex_escape(str) {
	if (!arguments.callee.sRE) {
		var chars = new Array('/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '^', '$', '<', '>');
		arguments.callee.sRE = new RegExp( '(\\' + chars.join('|\\') + ')', 'g' );
	}
	return str.replace(arguments.callee.sRE, '\\$1');
};

function insertSmileyNewThread( smiley ) {
	txtOnFocus($id('IDCommentNewThreadText'), 'Enter text right here!');
	$id('IDCommentNewThreadText').focus();
	$id('IDCommentNewThreadText').value += smiley;
	//Hide smiley span
	$id("idc-smileys-new-thread").style.display="none";
	
	//WYSIWYG Support
	if(typeof nicEditors != 'undefined') {
		newThreadNic = nicEditors.findEditor('IDCommentNewThreadText');
		newContent = newThreadNic.getContent().replace(/^\s+|\s+$/g,'');
		if( newContent == 'Enter text right here!' )
			newContent = '';
		newContent += smiley;
		newThreadNic.setContent( newContent );
	}
};

function insertSmileyReply( smiley ) {
	txtOnFocus($id('txtComment'), 'Enter text right here!');
	$id('txtComment').focus();
	$id('txtComment').value += smiley;
	//Hide smiley span
	$id("idc-smileys-reply").style.display="none";

	//WYSIWYG Support
	if(typeof nicEditors != 'undefined') {
		replyNic = nicEditors.findEditor('txtComment');
		newContent =replyNic.getContent().replace(/^\s+|\s+$/g,'');
		if( newContent == 'Enter text right here!' )
			newContent = '';
		newContent += smiley;
		replyNic.setContent( newContent );
	}
};
id_add_filter('comment_text_load',id_replace_smileys_with_images, 1);
id_add_action('idcomments_func_load',id_add_smiley_button);
var id_seesmic_plugin = {};
id_seesmic_plugin.seesmic_disabled_edit_ids = [];
id_seesmic_plugin.seesmic_posted_from = 0;
id_seesmic_plugin.seesmic_script_loaded = false;

//Load Seesmic JS
id_seesmic_plugin.id_load_seesmic_script = function()  {
	if( id_seesmic_plugin.seesmic_script_loaded )
		return;
		
	var seesmicScript = document.createElement('SCRIPT');
	seesmicScript.src = 'http://api.seesmic.com/js/pkg/seesmic_standalone.js';
	seesmicScript.type = 'text/javascript';
	document.getElementsByTagName('HEAD')[0].appendChild(seesmicScript);
};

id_seesmic_plugin.id_load_seesmic = function (posted_from) {
	id_seesmic_plugin.id_load_seesmic_script();
	
	var flashvars = {
	  version: "recorder",
	  urlName: "IntenseDebate",
	  allowAnonymous: "1"
	};
	var params = {
	  allowscriptaccess: "always",
	  allowfullscreen: "true",
	  bgcolor:"#000000",
	  quality:"high",
	  pluginspage:"http://www.adobe.com/go/getflashplayer",
	  type:"application/x-shockwave-flash",
	  loop:"false",
	  play:"true"
	};
	var attributes = {
	  id: "seesmicrecorder"
	};

	if(posted_from == 0) {
		$id('seesmicNewThreadDiv').style.display = 'block';
		$id('seesmicNewThreadP').style.display = 'block';
		$id('idc-plugin-buttons-new-thread').style.display = 'none';
		$id('seesmicNewThreadPPost').style.display = 'none';
		$id('IDCommentNewThreadText').style.display = 'none';
		$id('IDNewThreadSubmitLI').style.display = 'none';
		$id('seesmicNewThreadDiv').innerHTML = '<object id="seesmicrecorder" width="300" height="270"  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" ><param value="http://seesmic.com/embeds/wrapper.swf" name="movie"/><param value="high" name="quality"/><param value="#000000" name="bgcolor"/><param value="always" name="allowScriptAccess"/><param value="version=recorder&urlName=IntenseDebate&allowAnonymous=1" name="flashVars"/><embed width="300" height="270" flashvars="version=recorder&urlName=IntenseDebate&allowAnonymous=1" allowscriptaccess="always" allowfullscreen="true" bgcolor="#000000" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" type="application/x-shockwave-flash" loop="false" play="true" src="http://seesmic.com/embeds/wrapper.swf" id="seesmicrecorder"/></object>';
	} else {
		$id('seesmicReplyDiv').style.display = 'block';
		$id('seesmicReplyP').style.display = 'block';
		$id('idc-plugin-buttons-reply').style.display = 'none';
		$id('seesmicReplyPPost').style.display = 'none';
		$id('txtComment').style.display = 'none';
		$id('IDReplyDivSubmitLI').style.display = 'none';
		$id('seesmicReplyDiv').innerHTML = '<object id="seesmicrecorder" width="300" height="270"  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" ><param value="http://seesmic.com/embeds/wrapper.swf" name="movie"/><param value="high" name="quality"/><param value="#000000" name="bgcolor"/><param value="always" name="allowScriptAccess"/><param value="version=recorder&urlName=IntenseDebate&allowAnonymous=1" name="flashVars"/><embed width="300" height="270" flashvars="version=recorder&urlName=IntenseDebate&allowAnonymous=1" allowscriptaccess="always" allowfullscreen="true" bgcolor="#000000" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" type="application/x-shockwave-flash" loop="false" play="true" src="http://seesmic.com/embeds/wrapper.swf" id="seesmicrecorder"/></object>';
	}
	id_seesmic_plugin.seesmic_posted_from = posted_from;
};

id_seesmic_plugin.id_hide_seesmic = function (posted_from) {
	if(posted_from == 0) {
		$id('seesmicNewThreadDiv').style.display = 'none';
		$id('seesmicNewThreadP').style.display = 'none';
		$id('idc-plugin-buttons-new-thread').style.display = 'block';
		$id('seesmicNewThreadPPost').style.display = 'block';
		$id('IDCommentNewThreadText').style.display = 'block';
		$id('IDNewThreadSubmitLI').style.display = 'block';		
	} else {
		$id('seesmicReplyDiv').style.display = 'none';
		$id('seesmicReplyP').style.display = 'none';
		$id('idc-plugin-buttons-reply').style.display = 'block';
		$id('seesmicReplyPPost').style.display = 'block';
		$id('txtComment').style.display = 'block';
		$id('IDReplyDivSubmitLI').style.display = 'block';
	}	
};

id_seesmic_plugin.id_add_seesmic_button = function () {
	var seesmicP = document.createElement('P');
	seesmicP.id = "seesmicNewThreadP";
	seesmicP.style.display='none';
	seesmicP.className = "idc-secondary";
	seesmicP.innerHTML = '<a href="javascript: id_seesmic_plugin.id_hide_seesmic(0);">Go back and post a text comment</a>';
	$id('IDCommentNewThreadText').parentNode.appendChild(seesmicP);
	
	var seesmicPPost = document.createElement('P');
	seesmicPPost.id = "seesmicNewThreadPPost";	
	seesmicPPost.className = "idc-secondary";
	seesmicPPost.innerHTML = 'Or <a href="javascript: id_seesmic_plugin.id_load_seesmic(0);">post a video comment</a>';
	$id('IDCThread').parentNode.insertBefore(seesmicPPost, $id('IDCThread'));
	
	var seesmicDiv = document.createElement('DIV');
	seesmicDiv.id = "seesmicNewThreadDiv";
	seesmicDiv.style.display='none';
	seesmicDiv.style.background = "url(http://t.seesmic.com/thumbnail/oX82dG69ZI_th1.jpg) no-repeat";
	seesmicDiv.style.margin = "10px auto";
	seesmicDiv.style.width = "300px";
	seesmicDiv.style.clear = "both";
	$id('IDCommentsNewThreadListItem1').parentNode.insertBefore(seesmicDiv, $id('IDCommentsNewThreadListItem1'));
	
	var seesmicP2 = document.createElement('P');
	seesmicP2.id = "seesmicReplyP";
	seesmicP2.className = "idc-secondary";
	seesmicP2.style.display='none';
	seesmicP2.innerHTML = '<a href="javascript: id_seesmic_plugin.id_hide_seesmic(1);">Go back and post a text comment</a>';
	$id('txtComment').parentNode.appendChild(seesmicP2);
	
	var seesmicP2Post = document.createElement('P');
	seesmicP2Post.id = "seesmicReplyPPost";	
	seesmicP2Post.className = "idc-secondary";
	seesmicP2Post.innerHTML = '<a href="javascript: id_seesmic_plugin.id_load_seesmic(1);">Post a video comment</a>';
	$id('txtComment').parentNode.insertBefore(seesmicP2Post, $id('txtComment'));
	
	var seesmicDiv2 = document.createElement('DIV');
	seesmicDiv2.id = "seesmicReplyDiv";
	seesmicDiv2.style.display='none';
	seesmicDiv2.style.background = "url(http://t.seesmic.com/thumbnail/oX82dG69ZI_th1.jpg) no-repeat";
	seesmicDiv2.style.margin = "10px auto";
	seesmicDiv2.style.width = "300px";



	seesmicDiv2.style.clear = "both";	
	$id('IDCommentReplyListItem1').parentNode.insertBefore(seesmicDiv2, $id('IDCommentReplyListItem1'));
	
	id_seesmic_plugin.id_seesmic_disable_edit_buttons();
};

id_seesmic_plugin.id_seesmic_disable_edit_buttons = function () {
	for(objElem in id_seesmic_plugin.seesmic_disabled_edit_ids) {		
		if($id('IDCommentPostReplyLinkEdit'+id_seesmic_plugin.seesmic_disabled_edit_ids[objElem]))
			$id('IDCommentPostReplyLinkEdit'+id_seesmic_plugin.seesmic_disabled_edit_ids[objElem]).style.display = 'none';	
	}
};

id_seesmic_plugin.id_replace_seesmic_and_add_embed_code = function (args) {
	var text = args['text'];
	
	//Check for valid match
	var seesmic_regex=/\[seesmic\s+(.*?)\s(.*?)\s+seesmic\]/ig;
	var m = seesmic_regex.exec(text);

	//If there is a match
	if(m && m.length>1) {
		id_seesmic_plugin.id_load_seesmic_script();
		
		var parts = m[1].split("|");
		seesmic_regex.lastIndex = 0;
		id_seesmic_plugin.seesmic_disabled_edit_ids[id_seesmic_plugin.seesmic_disabled_edit_ids.length] = args['commentid'];
			
		return '<div id="seesmicVid'+parts[0]+'" style="width: 300px; margin: 10px auto;"></div><div id="seesmicVidThumb'+parts[0]+'" style="background: url(http://t.seesmic.com/thumbnail/'+parts[1]+') no-repeat; margin: 10px auto; height: 120px; width: 160px;"><a style="display: block; height: 120px; width: 160px; background: url(http://s.intensedebate.com/images1/-plugins/playvideo.png) no-repeat 50% 50% !important; _background: url(http://s.intensedebate.com/images1/-plugins/playvideo-ie6.png) no-repeat 50% 50% !important;" href="javascript: id_seesmic_plugin.id_load_seesmic_player(\''+parts[0]+'\', \'seesmicVid'+parts[0]+'\');"></a></div>';
	}
	else
		return text;
};

id_seesmic_plugin.id_load_seesmic_player = function (vidID, elemID) {
	$id('seesmicVidThumb'+vidID).style.display = 'none';
	seesmic.player.createPlayer($id(elemID), vidID, false, true);
};

id_seesmic_plugin.id_post_comment = function () {
	id_seesmic_plugin.id_hide_seesmic(id_seesmic_plugin.seesmic_posted_from);
	id_seesmic_plugin.id_seesmic_disable_edit_buttons();
};

id_add_filter('comment_text_load',id_seesmic_plugin.id_replace_seesmic_and_add_embed_code);
id_add_action('idcomments_func_load',id_seesmic_plugin.id_add_seesmic_button);
id_add_action('user_login',id_seesmic_plugin.id_seesmic_disable_edit_buttons);
id_add_action('comment_post',id_seesmic_plugin.id_post_comment);

function videoFromRecorder(videoUri, title, url_thumbnail, recState, hasTitle) {
	var commentText = '[seesmic '+videoUri.replace(/http:\/\/www\.seesmic\.com\/video\//i, '')+'|'+url_thumbnail.replace(/http:\/\/t\.seesmic\.com\/thumbnail\//i, '')+' '+videoUri+' seesmic]';
	if(id_seesmic_plugin.seesmic_posted_from == 0) {
		$id('IDCommentNewThreadText').value = commentText;
		$id('IDNewThreadSubmitLI').style.display = 'block';
	}
	else {
		$id('txtComment').value = commentText;
		$id('IDReplyDivSubmitLI').style.display = 'block';
	}
	
	postComment(id_seesmic_plugin.seesmic_posted_from);	
};var id_addtoany_plugin = {};
id_addtoany_plugin.comment_ids = [];
id_addtoany_plugin.addtoany_script_loaded = false;

// Return comment IDs as they appear in DOM (modified getElementsByClass)
id_addtoany_plugin.get_comment_ids = function (className) {
	var testClass = new RegExp("(^|\\s)" + className + "(\\s|$)");
	var elm = document.getElementById('idc-cover'); // Assumed idc-cover
	var elements = elm.getElementsByTagName('div'); // Assumed DIV
	var returnElements = [];
	var current;
	var length = elements.length;
	for(var i=0; i<length; i++){
		current = elements[i];
		if(testClass.test(current.className)){
			returnElements.push(current.id); // Set element ID
		}
	}
	return returnElements; // Return element IDs
}

// Detect external script onLoad
id_addtoany_plugin.load_external_js = function (src, test, callback) {
	var s = document.createElement('script');
	s.src = src;
	document.getElementsByTagName('head')[0].appendChild(s);
	
	var callbackTimer = setInterval(function() {
	var call = false;
	try {
	  call = test.call();
	} catch (e) {}
	
	if (call) {
	  clearInterval(callbackTimer);
	  callback.call();
	}
	}, 100);
};

// Initiate AddToAny drop-down(s)
id_addtoany_plugin.load_addtoany_js = function() {
	a2a_linkname = document.title; // AddToAny global
	var base_location = location.href.split('#')[0] + '#IDComment';
	
	// Additional drop-downs: set location, call a2a_init
	if ( id_addtoany_plugin.addtoany_script_loaded ) {
		var num_ids = id_addtoany_plugin.comment_ids.length;
		for(var i = 1; i < num_ids; i++) {
			a2a_linkurl = base_location + id_addtoany_plugin.comment_ids[i]; // AddToAny global
			a2a_init("page");
		}
	}
	// First drop-down, set location, load AddToAny script (which also calls a2a_init)
	else {
		// Set all comment IDs
		id_addtoany_plugin.comment_ids = id_addtoany_plugin.get_comment_ids('idc-c');
		
		id_addtoany_plugin.addtoany_script_loaded = true;
		a2a_linkurl = base_location + id_addtoany_plugin.comment_ids[0]; // AddToAny global
		id_addtoany_plugin.load_external_js('http://static.addtoany.com/menu/page.js',
			function(){ return (typeof window['a2apage_init'] != 'undefined') },
			function(){ id_addtoany_plugin.load_addtoany_js() }
		);
	}
};


// Insert AddToAny button below each comment
id_addtoany_plugin.insert_share_button = function(args) {
	var comment_text = args['text'],
		comment_id = args['commentid'];
	
	// Add the IntenseDebate commentid to the array of comment IDs
	//id_addtoany_plugin.comment_ids[id_addtoany_plugin.comment_ids.length] = comment_id;

	return comment_text+'<div style="display:block;margin:6px 0 0"><a class="a2a_dd" href="http://www.addtoany.com/share_save"><img src="http://static.addtoany.com/buttons/share_save_171_16.png" width="171" height="16" border="0" alt="Share/Save/Bookmark"/></a></div>';	 
};


// IntenseDebate Filters
id_add_filter('comment_text_load', id_addtoany_plugin.insert_share_button); // Should ideally call our function in the order of comments as they appear in the DOM
id_add_action('idcomments_func_load', id_addtoany_plugin.load_addtoany_js);function add_fb_share() {
var fb_link = document.createElement('a');
fb_link.href = 'http://www.facebook.com/share.php?u=' + window.location.href;
fb_link.className = 'fb_share_button';
fb_link.onclick = 'return fbs_click()';
fb_link.target = '_blank';
fb_link.style.textDecoration = 'none';
fb_link.innerHTML = 'Share';
fb_link.style.cssFloat = 'right';
document.getElementById('idc-container').insertBefore(fb_link, document.getElementById('idc-container').firstChild);
}

function fbs_click() {
u=location.href;
t=document.title;
window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
return false;
}
id_add_action( 'idcomments_func_load', add_fb_share);/**
 * @author Vivek Puri
 */
var id_retweeters_plugin = {}

id_retweeters_plugin.insert_tweets = function(data) {
        if(data == null) {
                return;
        }
        if(data.errorCode != 0) {
                return;
        }
        tweetCount = data.results.length;
        if(tweetCount == 0) {
                return;
        }

        html = '<div style="margin-top:20px;padding:0px;"><h3><a target="_blank" href="http://www.linksalpha.com/link?id='+data.link_id+'">Social Trackbacks</a></h3></div>';
        jQuery.each(data.results, function(i, val) {
                val['tweet'] = id_retweeters_plugin.replaceURLWithHTMLLinks(val['tweet']);
                val['tweet'] = id_retweeters_plugin.replaceATWithHTMLLinks(val['tweet']);
                html = html + '<div style="margin-bottom:3px;width:100%;border:0px;"><div style="margin:0px;padding:0px;">';
                html = html + '<table style="border:0px;padding:0px;border-collapse:collapse;width:100%;margin:0px;"><tr>';
                html = html + '<td style="width:40px;vertical-align:top;padding:5px;background-color:#EFEFF7;border:0px;">';
                html = html + '<a target="_blank" href="http://twitter.com/'+val["from_user"]+'">';
                html = html + '<img style="height:35px;width:35px;border:2px solid #FFF;" src="'+val["profile_image_url"]+'" class="imageProfileSmall" /></a>';
                html = html + '</td><td style="vertical-align:top;padding:5px;background-color:#EFEFF7;border:0px;"><div class="fontLight">';
                html = html + '<span><a style="font-weight:bold;font-size:105%;" target="_blank" href="http://twitter.com/'+val["from_user"]+'">'+val["from_user"]+'</a></span>';
                html = html + '<span>&nbsp;'+val["tweet"]+'</span>';
                html = html + '</div></td></tr></table></div></div>';
        });
        if(data.next_page != null) {
                html = html + '<table style="width:100%;"><tr><td style="padding-top:10px;"><div style="margin: 0 auto;width:170px;text-align:center;border:1px solid #BFBFBF;background-color:#F7F7F7;padding:3px 0px 3px 0px;"><a target="_blank" href="http://www.linksalpha.com/link?id='+data.link_id+'">Click Here to View All</a></div></td></tr></table>';
        }
        jQuery("#idc-container").append(html);

};

id_retweeters_plugin.replaceURLWithHTMLLinks = function(text) {
        var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
        return text.replace(exp,'<a href="$1">$1</a>');

}


id_retweeters_plugin.replaceATWithHTMLLinks = function(text) {
        var exp = /(@[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
        return text.replace(exp,'<a target="_blank" href="http://twitter.com/$1">$1</a>');
}

id_retweeters_plugin.init_plugin = function()
{
        if (typeof jQuery == 'undefined')
        {
                var s = document.createElement('script');
                s.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js';
                document.getElementsByTagName('head')[0].appendChild(s);
        }

        var link = window.location.href;
        var script = document.createElement('script');
        script.src = 'http://www.linksalpha.com/a/tweets?link='+link+'&callback=id_retweeters_plugin.insert_tweets';
        document.getElementsByTagName('head')[0].appendChild(script);

};

id_retweeters_plugin.init_plugin();	if(!idcomments_container_id)	{		var idcomments_container_id = 'idc-container-parent';	}			var idcContainerParentName = idcomments_container_id;			if(!document.getElementById(idcContainerParentName))	{			var idcCommentsDiv = document.createElement('div');		if(document.getElementById('idc-container'))		{			idcCommentsDiv.className = document.getElementById('idc-container').className;			document.getElementById('idc-container').id = idcContainerParentName;			idcCommentsDiv.id = "idc-container";		}	}	else	{		var idcCommentsDiv = document.getElementById ('idc-container');		document.body.appendChild(idcCommentsDiv);	}	if(idcCommentsDiv.className.indexOf('idc-inline')<0)		idcCommentsDiv.className="idc";	else		idcCommentsDiv.className="idc-inline idc";	if(document.getElementById('IDLoadingDivImage') && document.getElementById('IDLoadingDivImage').style.display=="block")	{		document.getElementById('IDLoadingDivImage').style.display="none";	}	var innerHTML = '<div id=\"IDCommentPopup\" style=\"display: none;\" class=\"idc-info\"> <div> <div id=\"IDCommentPopupInner\"> <a href=\"#\" class=\"idc-close\"><span>Close</span></a> <h6>Forgot password?</h6> <form> <label for=\"txtResolveEmail\">Please put in your email:</label> <input class=\"idc-text\" id=\"txtResolveEmail\" type=\"text\"> <a href=\"#\" class=\"idc-btn_s\"><span>Send me my password!</span></a> </form> <p class=\"idc-bottom\"><a href=\"#\">Close message</a></p> </div> <div class=\"idc-bottom\"></div> </div> </div><div id=\'IDCommentsHead\' class=\'idc-head\'> <span id=\"IDCommentsHeadDivider\" style=\"display:none\"></span> <div class=\"idc-right\"> <a href=\"javascript: showLogin();\" id=\"IDCommentsHeadLogin\" class=\"idc-head_tools-login\"><span>Login</span><span class=\"idc-r\"></span></a> <div class=\"idc-share\" onmouseover=\'showFollowThisDiscussion();\' onmouseout=\"hideFollowThisDiscussion();\"> <div class=\"idc-share_inner\" id=\"IDCommentsHeadFollowMenu\" onmouseover=\'showFollowThisDiscussion();\' onmouseout=\"hideFollowThisDiscussion();\"> <ul class=\"idc-share-tabs\" onmouseover=\'showFollowThisDiscussion();\' onmouseout=\"hideFollowThisDiscussion();\"> <li id=\"IDShareMenuPost\" class=\"idc-sel\"><a href=\"javascript: IDShowFollowPost();\"><span>This blog post</span></a></li> <li id=\"IDShareMenuBlog\"><a href=\"javascript: IDShowFollowBlog();\"><span>All blog posts</span></a></li> </ul> <div id=\"divIdcSharePost\" onmouseover=\'showFollowThisDiscussion();\' onmouseout=\"hideFollowThisDiscussion();\"> <p>Subscribe to this blog post\'s comments through...</p> <ul class=\"idc-share-list\"> <li><a href=\"http://www.netvibes.com/subscribe.php?type=rss&url=http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowNetvibes\' width=\"91\" height=\"17\" border=\"0\" alt=\"Add to netvibes\" /></a></li> <li><a href=\"http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowGator\' runat=\"server\" alt=\"Subscribe in NewsGator Online\" border=\"0\" /></a></li> <li><a href=\"http://add.my.yahoo.com/rss?url=http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowYahoo\' border=\"0\" alt=\"Add to My Yahoo!\" /></a></li> <li><a href=\"http://www.feedblitz.com/f/f.fbz?Track=http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowFeedblitz\' alt=\"Feedblitz\" /></a></li> </ul> <ul class=\"idc-share-list\"> <li><a href=\'http://www.pageflakes.com/subscribe.aspx?url=http://intensedebate.com/postRSS/15040711\'><img id=\'IDCommentsShowPageflakes\' alt=\'Add to Pageflakes\' border=\'0\' /></a></li> <li><a href=\"http://fusion.google.com/add?source=atgs&feedurl=http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowGoogle\' border=\"0\" alt=\"Add to Google\" /></a></li> <li><a href=\"http://www.bloglines.com/sub/http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowBloglines\' border=\"0\" alt=\"Subscribe with Bloglines\" /></a></li> <li><a href=\"http://www.live.com/?add=http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowMsn\' border=\"0\" style=\"width: 92px; height: 17px;\" alt=\"Add to Microsoft Live\" /></a></li> </ul> <p class=\"idc-b\"><a href=\"http://intensedebate.com/postRSS/15040711\"><img id=\'IDCommentsShowRss\' alt=\"RSS Icon\" /> RSS Feed</a></p> <div class=\"idc-subscribe-email\"> <p><strong>Subscribe via email</strong></p> <span id=\"IDCSubscribeSpan0\"><input type=\"text\" value=\"Email Address\" id=\"IDCSubscribeEmail0\" class=\"idc-text\" onfocus=\"this.style.color=\'#333\';this.value=\'\';\" onblur=\"if(this.value==\'\'){this.style.color=\'#ccc\';this.value=\'Email Address\';}\" /></span> <span id=\"IDCSubscribeSubmit0\"><a class=\"idc-btn_s\" href=\"javascript:IDCSubscribeByEmail(0);\"><span></span><span class=\"idc-r\">Subscribe</span></a> </span> </div> </div> <div id=\"divIdcShareBlog\" style=\"display:none\" onmouseover=\'showFollowThisDiscussion();\' onmouseout=\"hideFollowThisDiscussion();\"> <p>Subscribe to this blog\'s comments through...</p> <ul class=\"idc-share-list\"> <li><a href=\"http://www.netvibes.com/subscribe.php?type=rss&url=http://intensedebate.com/allBlogCommentsRSS/116520\"><img id=\"IDCommentsShowNetvibes2\" width=\"91\" height=\"17\" border=\"0\" alt=\"Add to netvibes\" /></a></li> <li><a href=\"http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http://intensedebate.com/allBlogCommentsRSS/116520\"><img runat=\"server\" id=\"IDCommentsShowGator2\" alt=\"Subscribe in NewsGator Online\" border=\"0\" /></a></li> <li><a href=\"http://add.my.yahoo.com/rss?url=http://intensedebate.com/allBlogCommentsRSS/116520\"><img border=\"0\" alt=\"Add to My Yahoo!\" id=\"IDCommentsShowYahoo2\" /></a></li> <li><a href=\"http://www.feedblitz.com/f/f.fbz?Track=http://intensedebate.com/allBlogCommentsRSS/116520\"><img id=\"IDCommentsShowFeedblitz2\" alt=\"Feedblitz\" /></a></li> </ul> <ul class=\"idc-share-list\"> <li><a href=\'http://www.pageflakes.com/subscribe.aspx?url=http://intensedebate.com/allBlogCommentsRSS/116520\'><img id=\"IDCommentsShowPageflakes2\" alt=\'Add to Pageflakes\' border=\'0\' /></a></li> <li><a href=\"http://fusion.google.com/add?source=atgs&feedurl=http://intensedebate.com/allBlogCommentsRSS/116520\"><img id=\"IDCommentsShowGoogle2\" border=\"0\" alt=\"Add to Google\" /></a></li> <li><a href=\"http://www.bloglines.com/sub/http://intensedebate.com/allBlogCommentsRSS/116520\"><img border=\"0\" alt=\"Subscribe with Bloglines\" id=\"IDCommentsShowBloglines2\" /></a></li> <li><a href=\"http://www.live.com/?add=http://intensedebate.com/allBlogCommentsRSS/116520\"><img border=\"0\" id=\"IDCommentsShowMsn2\" style=\"width: 92px; height: 17px;\" alt=\"Add to Microsoft Live\" /></a></li> </ul> <p class=\"idc-b\"><a href=\"http://intensedebate.com/allBlogCommentsRSS/116520\"><img alt=\"RSS Icon\" id=\"IDCommentsShowRss2\" /> RSS Feed</a></p> <div class=\"idc-subscribe-email\"> <p><strong>Subscribe via email</strong></p> <span id=\"IDCSubscribeSpan1\"><input type=\"text\" value=\"Email Address\" id=\"IDCSubscribeEmail1\" class=\"idc-text\" onfocus=\"this.style.color=\'#333\';this.value=\'\';\" onblur=\"if(this.value==\'\'){this.style.color=\'#ccc\';this.value=\'Email Address\';}\" /></span> <span id=\"IDCSubscribeSubmit1\"><a class=\"idc-btn_s\" href=\"javascript:IDCSubscribeByEmail(1);\"><span></span><span class=\"idc-r\">Subscribe</span></a> </span> </div> </div> </div> <a href=\"http://intensedebate.com/postRSS/15040711\" class=\"idc-head_tools-share\" title=\"http://intensedebate.com/postRSS/15040711\" onmouseover=\'showFollowThisDiscussion();\' onmouseout=\"hideFollowThisDiscussion();\">Follow the discussion</a> </div> </div><h3><span id=\'idc-commentcount_label\'>Comments</span></h3><input type=\'hidden\' id=\'userid\' value=\'\' /><span class=\"idc-clear\"></span><div class=\"idc-message\" id=\"commentMessage\" style=\"display:none;\"></div><span id=\'IDCustomReportTxt\' style=\'display:none\'>You are about to flag this comment as being inappropriate. Please explain why you are flagging this comment in the text box below and submit your report. The blog admin will be notified. Thank you for your input.</span> <div class=\"idc-head_action idc-loggingin\"> <span><img style=\'padding-right: 5px\' src=\'http://s.intensedebate.com/images/ajax-loader.gif\' alt=\'Loading...\' /> Logging you in...</span> </div> <div class=\"idc-head_action idc-login\" id=\"IDLoginPopup\"> <form id=\"IDfrmHeaderLogin\" method=\"post\" action=\"http://intensedebate.com/login\"> <a href=\"javascript: hideLoginSignup();\" class=\"idc-close\"><span>Close</span></a> <p><strong>Login to IntenseDebate</strong></p> <p>Or <a href=\"http://intensedebate.com/signup\" target=\"_blank\">create an account</a></p> <div class=\"idc-columns\"> <div class=\"idc-divide\"> <label for=\"IDtxtLoginEmail\">Username or Email:</label> </div> <div class=\"idc-divide\"> <label for=\"IDtxtLoginPass\">Password:</label> </div> <span class=\"idc-clear\"></span> </div> <div class=\"idc-divide\"> <input id=\"IDtxtLoginEmail\" name=\"txtLoginEmail\" value=\"\" class=\"idc-text\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\" type=\"text\"> </div> <div class=\"idc-divide\"> <input id=\"IDtxtLoginPass\" name=\"txtLoginPass\" class=\"idc-text idc-password\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\" type=\"password\"> <p class=\"idc-fade\"<a href=\"javascript: showForgotPassword();\">Forgot login?</a></p> </div> <div class=\"idc-head_b\"> <a class=\"idc-useopenid\" href=\"javascript: showLoginOpenID();\">OpenID</a> <div class=\"idc-tools\"> <a class=\"idc-btn_l-secondary\" href=\"javascript: hideLoginSignup();\"><span></span><span class=\"idc-r\">Cancel</span></a> <a href=\"javascript: logUserIn();\" class=\"idc-btn_l\"><span></span><span class=\"idc-r\"><strong>Login</strong></span></a> </div> </div> </form> </div> <div class=\"idc-head_action idc-openid\" id=\"IDLoginOpenIDPopup\"> <a href=\"javascript: hideLoginSignup();\" class=\"idc-close\"><span>Close</span></a> <p><strong>Login with your OpenID</strong></p> <p>Or <a href=\"http://intensedebate.com/openIDSignup\" target=\"_blank\">create an account using OpenID</a></p> <div class=\"idc-divide\"> <form action=\"http://intensedebate.com/loginOpenID\" method=\"post\" id=\"frmHeadLoginOpenID\"> <label for=\"txtHeadLoginOpenID\">OpenID URL:</label> <input id=\"txtHeadLoginOpenID\" name=\"openid\" value=\"http://\" class=\"idc-text\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\', false);\" type=\"text\"> <input style=\"display: none;\" name=\"returnAddress\" value=\"\" type=\"hidden\" id=\"IDReturnAddress\"> </form> </div> <div class=\"idc-head_b\"> <a class=\"idc-useopenid\" href=\"javascript: showLogin();\">Back</a> <div class=\"idc-tools\"> <a class=\"idc-btn_l-secondary\" href=\"javascript: hideLoginSignup();\"><span></span><span class=\"idc-r\">Cancel</span></a> <a class=\"idc-btn_l\" href=\"javascript: if(document.getElementById(\'txtHeadLoginOpenID\').value.length>7) document.getElementById(\'frmHeadLoginOpenID\').submit(); else showMsgBox(\'Invalid OpenID url.\', \'<p>Please put in your OpenID URL and try to login again!</p>\', 0, this);\"><span></span><span class=\"idc-r\"><strong>Login</span></strong></a> </div> </div> </div> <div class=\"idc-head_action idc-user\"> <div class=\"idc-right\"> <a href=\"http://intensedebate.com/userDash\">Dashboard</a> <span class=\"idc-divider\"><span>|</span></span> <a href=\"http://intensedebate.com/editprofile\">Edit profile</a> <span class=\"idc-divider\"><span>|</span></span> <a href=\"http://intensedebate.com/logout\">Logout</a> </div> <div> <a id=\"IDCommentUserBarLink1\" href=\"http://intensedebate.com/people/0\" class=\"idc-a\"></a> </div> <ul class=\"idc-user_i\"> <li>Logged in as <a id=\"IDCommentUserBarLink2\" href=\"http://intensedebate.com/people/0\"></a></li> </ul> <div class=\"idc-user_admin\" id=\"idc-user_admin\" style=\"display:none;\"> <p><a href=\"javascript:showHideOpts();\" id=\"IDAdminOptsLink\" class=\"idc-collapselink_closed\">Admin options</a></p> <div id=\"showHideAdminOpts\" style=\"display:none;\"> <p> <input type=\"hidden\" id=\"IDUserAdminVal\" value=\"1\"> <span onclick=\"javascript: changeDisabledLink();\"><label for=\"chkDisableIDC\" class=\"idc-nofloat\"><input type=\"checkbox\" id=\"chkDisableIDC\" /> Disable comments for this blog post</label></span> <p><a id=\"adminOptions\" class=\"idc-btn_s\"><span></span><span class=\"idc-r\" id=\"IDCSavedSettings\">Save settings</span></a></p> </p> </div> </div> </div></div><div id=\"idc-cover\" class=\"idc-comments\">	<div class=\"idc-message\" id=\"IDCommentsNoCommentsDiv\"> <div> There are no comments posted yet. <a href=\"javascript: document.getElementById(\'IDCommentNewThreadText\').focus()\">Be the first one!</a> </div> </div></div>	<div id=\"IDCommentsNewThreadCover\" class=\"idc-new\"> <a name=\'respond\'></a> <h3>Post a new comment</h3> <div class=\"idc-thread\" id=\"IDCThread\"> <div style=\"width: 100%;\" id=\"IDCommentsNewThread\" class=\"idc-c idc-reply idc-anonymous idc-signup\"> <div class=\"idc-c-h\" id=\"IDCommentsNewThreadHeader\" style=\"display: none;\"> <div class=\"idc-right\" id=\"IDCommentsNewThreadHeaderRight\"> <div class=\"idc-expand\"></div> </div> </div> <ul class=\"idc-c-plugins\" id=\"idc-plugin-buttons-new-thread\"></ul> <div class=\"idc-c-t\"> <form id=\"IDCommentNewThreadForm1\"> <div class=\"idc-c-t-inner\"> <textarea class=\"idc-text\" style=\"color:#CCC\" id=\"IDCommentNewThreadText\" onfocus=\"txtOnFocus(this, \'Enter text right here!\');\" onblur=\"txtOnBlur(this, \'Enter text right here!\');\">Enter text right here!</textarea> <span class=\"idc-clear\" /> </div> </form> </div> <div class=\"idc-postnav\" id=\"IDCPostNav\"> <p id=\"IDCNavGuest2\" style=\"display: inline;\" class=\"idc-postnav-label\"><span>Comment as a Guest, or login:</span></p> <ul class=\"idc-postnav-list\" id=\"IDCNavList\"> <li class=\"idc-first\"><a href=\"javascript: showLogin();\" class=\"idc-loginbtn_intensedebate\">Login to IntenseDebate</a></li> <li><a href=\"javascript: IDCNav(\'IDCNavOpenID\'); showSignupOpenIDNewThread();\" id=\"IDCNavOpenID\" class=\"idc-loginbtn_openid\">Login to OpenID</a></li> </ul> <a href=\"javascript: IDCNavReply(\'IDCNavGuest\'); showSignupNewThread(); id_fbStopPoll(); id_show_nav();\" id=\"IDCNavGuest\" style=\"display:none;margin:2px 0;line-height:21px;\">Go back</a> </div> <div class=\"idc-c-m idc-signup\"> <form id=\"IDCommentNewThreadForm2\"> <div style=\"width: 100%;\"> <div class=\"idc-columns\"> <div class=\"idc-column\" id=\"IDCColumnNameLabel\"> <label for=\"txtNameNewThread\">Name</label> </div> <div class=\"idc-column\" id=\"IDCColumnEmailLabel\"> <label for=\"txtEmailNewThread\">Email</label> </div> <div class=\"idc-column\" id=\"IDCColumnURLLabel\"> <label for=\"txtURLNewThread\">Website (optional)</label> </div> <span class=\"idc-clear\"></span> </div> <div class=\"idc-column\" id=\"IDCColumnName\"> <input type=\"text\" id=\"txtNameNewThread\" class=\"idc-text\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\" /> <p class=\"idc-form-info\">Displayed next to your comments.</p> </div> <div class=\"idc-column\" id=\"IDCColumnEmailReply\"> <input type=\"text\" id=\"txtEmailNewThread\" class=\"idc-text\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\" /> <p class=\"idc-form-info\">Not displayed publicly.</p> </div> <div class=\"idc-column\" id=\"IDCColumnURL\"> <input type=\"text\" class=\"idc-text\" id=\"txtURLNewThread\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\"/> <p class=\"idc-form-info\">If you have a website, link to it here.</p> </div> </div> </form> </div> <div class=\"idc-c-m idc-openid_signup\"> <div style=\"width: 100%;\"> <form id=\"IDCommentsOpenIDSignupNewThread\" action=\"http://intensedebate.com/openIDComments.php\" method=\"get\"> <input id=\"IDCommentsOpenIDSignupNewThreadComment\" style=\"display: none;\" name=\"comment\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupNewThreadParentid\" style=\"display: none;\" name=\"parentid\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupNewThreadType\" style=\"display: none;\" name=\"type\" value=\"4\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupNewThreadSrc\" style=\"display: none;\" name=\"src\" value=\"http://www.marketing-web.it/social-media-marketing/social-media-reporting-metrics.html\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupNewThreadBlogpostid\" style=\"display: none;\" name=\"blogpostid\" value=\"15040711\" type=\"hidden\"> <div class=\"idc-column-wide\"> <label for=\"txtOpenIDSignupNewThreadURL\">OpenID URL</label> <input id=\"txtOpenIDSignupNewThreadURL\" name=\"openid\" class=\"idc-text\" value=\"http://\" onfocus=\"txtOnFocus(this, \'\', false);\" onblur=\"txtOnBlur(this, \'\', false);\" type=\"text\"> <p class=\"idc-form-info\">Comment as a Guest or <a href=\"javascript:showLoginOpenID();\">login</a> using OpenID</p> </div> </form> </div> </div> <p id=\"IDCommentsNewThreadListItem1\" style=\"display:none;\">Posting anonymously.</p> <p id=\"IDNewThreadTweetThisWrapper\" style=\"display:none\"><label for=\"IDNewThreadTweetThis\" class=\"idc-nofloat\"><input type=\"checkbox\" id=\"IDNewThreadTweetThis\" /> Tweet this comment</label></p> <div class=\"idc-c-b\"> <div class=\"idc-right\" id=\"IDNewThreadSubmitLI\"> <a class=\"idc-btn_l\" href=\"javascript: postComment(0);\"><span></span><span class=\"idc-r\"><strong>Submit Comment</strong></span></a> </div> <div class=\"idc-new_subscribe\" id=\"IDSubscribeToThisWrapper\"> <!--<input type=\"checkbox\" id=\"IDSubscribeToThis\" class=\"idc-chk\" />--> <label for=\"IDSubscribeToThis\" class=\"idc-nofloat\"> Subscribe to <select id=\"IDSubscribeToThis\" name=\"IDSubscribeToThis\"> <option value = \"-1\" id=\"IDSubscribeToThis-def\">None</option> <option value = \"1\" id=\"IDSubscribeToThis-replies\">Replies</option> <option value = \"0\">All new comments</option> </select> </label> </div> <div class=\"idc-customtext\"> <span id=\"customText\"></span> </div> <span class=\"idc-clear\"></span> </div> </div> </div> </div> <div class=\"idc-foot\"> <p class=\'idc-id\'><span>Comments by </span><a href=\'http://intensedebate.com/\' class=\'idc-idlogo\' target=\'_blank\'>IntenseDebate</a></p> <span class=\"idc-clear\"></span> </div>'; idcCommentsDiv = IDReplaceHtml(idcCommentsDiv, innerHTML); document.getElementById(idcContainerParentName).appendChild(idcCommentsDiv); document.getElementById(idcContainerParentName).className = ''; var IDhiddenSpan=document.createElement('SPAN'); IDhiddenSpan.id='idc-clear'; document.getElementById(idcContainerParentName).appendChild(IDhiddenSpan);
	var commentObj = IDComments(15040711, 116520, '05812bc91b14c14728373745e0d8d7c8', '', 'http://', 0, 'token', '');
	addReplyDiv();
	function addReplyDiv()
	{
		var replyDiv = $newEl("div");
		replyDiv.style.display="none";
		replyDiv.className="idc-c idc-reply idc-anonymous idc-signup";
		replyDiv.id="IDCommentReplyDiv";
		replyDiv.innerHTML='<p class=\"idc-header\" id=\"IDCommentReplyName\"></p> <ul class=\"idc-c-plugins\" id=\"idc-plugin-buttons-reply\"></ul> <div class=\"idc-c-t\"> <div class=\"idc-c-t-inner\"> <form id=\"IDCommentReplyForm1\"> <textarea id=\"txtComment\" class=\"idc-text\" onfocus=\"txtOnFocus(this, \'Enter text right here!\');\" onblur=\"txtOnBlur(this, \'Enter text right here!\');\">Enter text right here!</textarea> </form> <span class=\"idc-clear\" /> </div> </div> <div class=\"idc-postnav\" id=\"IDCPostNavReply\"> <p id=\"IDCNavGuestReply2\" style=\"display: inline;\" class=\"idc-postnav-label\"><span>Reply as a Guest, or login:</span></p> <ul class=\"idc-postnav-list\" id=\"IDCNavListReply\"> <li class=\"idc-first\"><a href=\"javascript: showLogin();\" class=\"idc-loginbtn_intensedebate\">Login to IntenseDebate</a></li> <li><a href=\"javascript: IDCNavReply(\'IDCNavOpenIDReply\'); showSignupOpenIDReply();\" id=\"IDCNavOpenIDReply\" class=\"idc-loginbtn_openid\">Login to OpenID</a></li> </ul> <a href=\"javascript: IDCNavReply(\'IDCNavGuestReply\'); showSignupReply(); id_fbStopPoll(); id_show_nav();\" id=\"IDCNavGuestReply\" style=\"display:none;margin:2px 0;line-height:21px;\">Go back</a> </div> <div class=\"idc-c-m idc-signup\" id=\"IDCommentReplyOuterDiv\"> <form id=\"IDCommentReplyForm2\"> <div style=\"width: 100%;\" id=\"IDCommentReplyInnerDiv\"> <div class=\"idc-columns\"> <div class=\"idc-column\" id=\"IDCColumnNameReplyLabel\"> <label for=\"txtNameReply\">Name</label> </div> <div class=\"idc-column\" id=\"IDCColumnEmailReplyLabel\"> <label for=\"txtEmailReply\">Email</label> </div> <div class=\"idc-column\" id=\"IDCColumnURLReplyLabel\"> <label for=\"txtURLReply\">Website (optional)</label> </div> <span class=\"idc-clear\"></span> </div> <div class=\"idc-column\" id=\"IDCColumnNameReply\"> <input type=\"text\" id=\"txtNameReply\" class=\"idc-text\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\"/> <p class=\"idc-form-info\">Displayed next to your comments.</p> </div> <div class=\"idc-column\" id=\"IDCColumnEmailReply\"> <input type=\"text\" id=\"txtEmailReply\" class=\"idc-text\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\" /> <p class=\"idc-form-info\">Not displayed publicly.</p> </div> <div class=\"idc-column\" id=\"IDCColumnURLReply\"> <input type=\"text\" class=\"idc-text\" id=\"txtURLReply\" onfocus=\"txtOnFocus(this, \'\');\" onblur=\"txtOnBlur(this, \'\');\"/> <p class=\"idc-form-info\">If you have a website, link to it here.</p> </div> </div> </form> </div> <div class=\"idc-c-m idc-openid_signup\"> <div id=\"IDCommentsOpenIDReplyInnerDiv\"> <form id=\"IDCommentsOpenIDSignupReply\" action=\"http://intensedebate.com/openIDComments.php\" method=\"get\"> <input id=\"IDCommentsOpenIDSignupReplyComment\" style=\"display: none;\" name=\"comment\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupReplyParentid\" style=\"display: none;\" name=\"parentid\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupReplyType\" style=\"display: none;\" name=\"type\" value=\"4\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupReplySrc\" style=\"display: none;\" name=\"src\" value=\"http://www.marketing-web.it/social-media-marketing/social-media-reporting-metrics.html\" type=\"hidden\"> <input id=\"IDCommentsOpenIDSignupReplyBlogpostid\" style=\"display: none;\" name=\"blogpostid\" value=\"15040711\" type=\"hidden\"> <div class=\"idc-column-wide\"> <label for=\"txtOpenIDSignupReplyURL\">OpenID URL</label> <input id=\"txtOpenIDSignupReplyURL\" name=\"openid\" class=\"idc-text\" value=\"http://\" onfocus=\"txtOnFocus(this, \'http://\', false);\" onblur=\"txtOnBlur(this, \'http://\');\" type=\"text\"> <p class=\"idc-form-info\">Comment as a Guest or <a href=\"javascript:showLoginOpenID();\">login</a> using OpenID</p> </div> </form> </div> </div> <p id=\"IDCommentReplyListItem1\" style=\"display:none;\">Posting anonymously.</p> <p id=\"IDReplyTweetThisWrapper\" style=\"display:none\"><label for=\"IDReplyTweetThis\" class=\"idc-nofloat\"><input type=\"checkbox\" id=\"IDReplyTweetThis\" /> Tweet this comment</label></p> <div class=\"idc-c-b\"> <div class=\"idc-right\" id=\"IDReplyDivSubmitLI\"> <a href=\"javascript: hideReply();\" class=\"idc-btn_l-secondary\"><span></span><span class=\"idc-r\">Cancel</span></a> <a id=\"IDReplyDivSubmitLIButton\" class=\"idc-btn_l\" href=\"javascript: postComment(1);\"><span></span><span class=\"idc-r\"><strong>Submit Comment</strong></span></a> </div> <div class=\"idc-new_subscribe\" id=\"IDSubscribeToThisWrapperReply\"> <!--<input type=\"checkbox\" id=\"IDSubscribeToThisReply\" class=\"idc-chk\" />--> <label for=\"IDSubscribeToThisReply\" class=\"idc-nofloat\"> Subscribe to <select id=\"IDSubscribeToThisReply\" name=\"IDSubscribeToThisReply\"> <option value = \"-1\" id=\"IDSubscribeToThisReply-def\">None</option> <option value = \"1\" id=\"IDSubscribeToThisReply-replies\">Replies</option> <option value = \"0\">All new comments</option> </select> </label> </div> <span class=\"idc-clear\"></span> </div></div>'; var idcDummyComment = document.createElement('DIV'); idcDummyComment.id='idc-dummy-comment'; commentObj.replyDiv=replyDiv; commentObj.userImgDir='smallimages'; $id('idc-container').appendChild(replyDiv); IDCommentInit();};commentObj.sortType = "date";id_apply_comment_text_filter(); IDUpdateTimeStamps();	commentObj.token='v0wohQEr0Clnemx5IiFdPEjWqx2CU8pq';
	var thisdate = new Date();	
	
	var newIFrame = document.createElement('iframe');
	newIFrame.src ="http://intensedebate.com/empty.php";		
	newIFrame.style.display = "none";
	document.getElementById('idc-container').appendChild(newIFrame);
			
	var newImage = document.createElement('img');
	newImage.src ="http://intensedebate.com/remoteCheckin.php?token="+commentObj.token+"&blogpostid="+blogpostid+"&time="+thisdate.getTime();
	newImage.style.display = "none";
	newImage.onload = loadFuncs;
	document.getElementById('idc-container').appendChild(newImage);if ( document.getElementById('idc-loading-comments') )
	document.getElementById('idc-loading-comments').style.display='none';
if ( document.getElementById('idc-noscript') )
	document.getElementById('idc-noscript').style.display='none';
