var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isOpera=(navigator.userAgent.toLowerCase().indexOf("opera")!=-1)?true:false;var isIE6=navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;var isIE7=navigator.userAgent.toLowerCase().indexOf("msie 7")!=-1;var isIE8=navigator.userAgent.toLowerCase().indexOf("msie 8")!=-1;var isChrome=navigator.userAgent.toLowerCase().indexOf("chrome")!=-1;var isSafari=navigator.userAgent.toLowerCase().indexOf("safari")!=-1&&navigator.userAgent.toLowerCase().indexOf("chrome")==-1;function thisMovie(b){var a=window[b];if(typeof(a)=="undefined"){a=document[b]}if(typeof(a)=="undefined"){a=document.getElementById(b)}return a}function expandMedia(d,b){a1=thisMovie("MediaPlayer"+d);var c=document.getElementById("expandSmall"+d);var a=document.getElementById("expandBig"+d);if(b=="Big"){c.className="item_hide";a.className="expandBig";if(a1!=null){setTimeout("a1.jsPlay()",1000)}}else{c.className="expandSmall mediathumb aligned";a.className="item_hide";if(a1!=null){a1.jsStop()}}return false}function RedirectToForum(a,d,b,c){if(b>2){window.location="/comments/"+a+"/"+b+"/"+d+".html"+c+"#relatedInfoContainer"}else{window.location="/discussion/"+a+"/"+d+".html"+c+"#relatedInfoContainer"}}function in_array(c,b){for(var a=0;a<b.length;a++){if(b[a]==c){return true}}return false}function setThumbOpacity(b,a){b.style.opacity=a/10;b.style.filter="alpha(opacity="+a*10+")"}var files2include=new Array();function includeJS(a){if(!in_array(a,files2include)){files2include[files2include.length]=a}}var onloadActions=new Array();function addOnloadAction(a){onloadActions[onloadActions.length]=a}var included_files=new Array();function include_once(a){if(!in_array(a,included_files)){included_files[included_files.length]=a;include_dom(a)}}function include_dom(a){var b=document.getElementsByTagName("head").item(0);var c=document.createElement("script");c.setAttribute("language","javascript");c.setAttribute("type","text/javascript");c.setAttribute("src",a);b.appendChild(c);return false}function Set_Cookie(c,e,a,h,d,g){var b=new Date();b.setTime(b.getTime());if(a){a=a*1000*60*60*24}var f=new Date(b.getTime()+(a));document.cookie=c+"="+escape(e)+((a)?";expires="+f.toGMTString():"")+((h)?";path="+h:"")+((d)?";domain="+d:"")+((g)?";secure":"")}function Get_Cookie(c){var d=document.cookie.indexOf(c+"=");var a=d+c.length+1;if((!d)&&(c!=document.cookie.substring(0,c.length))){return null}if(d==-1){return null}var b=document.cookie.indexOf(";",a);if(b==-1){b=document.cookie.length}return unescape(document.cookie.substring(a,b))}function saveVolume(a){Set_Cookie("mp_volume",a,365)}function getVolume(){var a=Get_Cookie("mp_volume");if(a===null){a=100}return a}function mixMail(){var d=$(".mixmail");for(var b=0;b<d.length;b++){var a=d[b].firstChild.nodeValue.lastIndexOf("/");if(a>-1){d[b].firstChild.nodeValue=d[b].firstChild.nodeValue.substr(a+1)}d[b].firstChild.nodeValue=d[b].firstChild.nodeValue.replace("+","@");for(var c=0;c<d[b].attributes.length;c++){if(d[b].attributes[c].name=="href"){var a=d[b].attributes[c].nodeValue.lastIndexOf("/");if(a>-1){d[b].attributes[c].nodeValue=d[b].attributes[c].nodeValue.substr(a+1)}d[b].attributes[c].nodeValue="mailto:"+d[b].attributes[c].nodeValue.replace("+","@");break}}}}function fixTabs(){$(".tablink").click(function(a){a.preventDefault()});$(".tab_acc").click(function(a){a.preventDefault()});$(".nohref").click(function(a){a.preventDefault()})}function SearchButton(a,b){location.href="/search/?k="+encodeURI(this.document.getElementById(a).value)}var fixOperaRedrawInProgress=false;function fixOperaRedraw(a){if(window.opera){var b=$(document.body).css("background-color");if(!a){a="#ffffff"}$(document.body).css("background-color",a);if(fixOperaRedrawInProgress!=true){setTimeout(function(){$(document.body).css("background-color",b);fixOperaRedrawInProgress=false},10)}fixOperaRedrawInProgress=true}}function sharemoreOut(a){var b=document.getElementById(a);b.style.display="none"}function sharelinkOver(a){var b=document.getElementById(a);if(b.style.display=="block"){b.style.display="none"}else{b.style.display="block"}}function winName(b,c){b=b==null?publicSiteId:b;c=(c==null)?"embededPopupWin":c;var a=String.format("{0}_{1}",c,b);return a}function winFocus(a){if(window.focus){a.focus()}if(isChrome){a.blur()}}function playNextItem(b){try{if(document.playlist){document.playlist.playNextItem(b)}}catch(a){}}var coverageMapURI="http://flashvideo.rferl.org/Flashmaps/en-US/coverageOneWin/default.htm";function FlashMapOpen(){wleft=(screen.width-969)/2;wtop=(screen.height-644)/2;newwindow=window.open(coverageMapURI,"rferlCoverageMap","titlebar=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=969,height=644,left="+wleft+",top="+wtop);if(window.focus){newwindow.focus()}}function disableSelection(a){if(typeof a.onselectstart!="undefined"){a.onselectstart=function(){return false}}else{if(typeof a.style.MozUserSelect!="undefined"){a.style.MozUserSelect="none"}else{a.onmousedown=function(){return false}}}a.style.cursor="default"};