String.format=function(){if(arguments.length==0){return null}var b=arguments[0];for(var a=1,c=arguments.length;a<c;a++){b=b.replace(RegExp("\\{"+(a-1)+"\\}","gm"),arguments[a])}return b};Array.prototype.remove=function(c,b){var a=this.slice((b||c)+1||this.length);if(typeof c!="undefined"){this.length=c<0?this.length+c:c}return this.push.apply(this,a)};function verisignWindow(a){vWin=window.open($(a).attr("href"),"verisignWindow","height=500,width=560");if(window.focus){vWin.focus()}return false}var dmjs={};var cracked={};dmjs.cookies={createCookie:function(c,f,g){var d=document.location.host.split(".");d[0]=null;var e=d.join(".");var b=new Date();var a="";if(g){b.setTime(b.getTime()+(g*24*60*60*1000));a="; expires="+b.toGMTString()}document.cookie=c+"="+f+a+"; path=/; domain="+e},readCookie:function(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null},eraseCookie:function(a){createCookie(a,"",-1)}};var MobileWeb=(function(){return{isMobileBrowser:function(a){if(typeof a=="undefined"){if(navigator.userAgent.match(/(iPod|iPhone|iPad|Android|Blackberry)/i)){return true}else{return false}}else{var b=new RegExp(a,"i");if(navigator.userAgent.match(b)){return true}else{return false}}},switchToMobile:function(){dmjs.cookies.createCookie("dmp","mobile",5);if(self.location.search==""){self.location=self.location.href+"?mobile_version=1"}else{if(self.location.href.indexOf("?mobile_version=1")==-1){self.location=self.location.href.replace(/[&|\?]mobile_version=1/g,"")+"&mobile_version=1"}else{self.location.reload(true)}}return false}}})();var IS_MOBILE=false;if(navigator.cookieEnabled!=false){if(dmjs.cookies.readCookie("dmp")==null){if(MobileWeb.isMobileBrowser("ipod")||MobileWeb.isMobileBrowser("iphone")||MobileWeb.isMobileBrowser("android")){dmjs.cookies.createCookie("dmp","mobile",5);location.reload(true)}else{dmjs.cookies.createCookie("dmp","desk",5)}}else{if(dmjs.cookies.readCookie("dmp")=="mobile"){IS_MOBILE=true;dmjs.cookies.createCookie("dmp","desk",5)}}};printd=function(c,d,l){var h="debugger_output";document.debug_div=document.getElementById(h);if(!document.debug_div){document.debug_div=document.createElement("div");document.debug_div.id="debugger_output";document.debug_div.style.width="300px";document.debug_div.style.position="absolute";document.debug_div.style.top="10px";document.debug_div.style.right="10px";document.debug_div.style.background="#FFFFFF";document.debug_div.style.border="1px solid #AEAEAE";document.debug_div.style.font="11px Arial";document.debug_div.style.textAlign="left";document.debug_div.style.zIndex="9999"}var a=document.createElement("div");a.innerHTML=c;if(typeof c=="object"){var j=document.createElement("div");j.style.margin="0px 0px 0px 10px";j.style[".padding"]="0px 0px 0px 0px";j.style.listStyleType="none";for(var k in c){var f=document.createElement("span");f.style.margin="0px 2px 0px 0px";f.style.padding="0px 4px 0px 4px";try{f.object_value=c[k];f.object_key=k}catch(g){}f.onclick=function(){var p=Math.round((Math.random()*155)+100);var o=Math.round((Math.random()*155)+100);var e=Math.round((Math.random()*155)+100);var m="rgb("+p+","+o+","+e+")";var n=printd(this.object_value,"#000000",m);this.onmouseover=function(){};this.onmouseout=function(){};this.style.backgroundColor=m+""};f.onmouseover=function(){this.style.background="#E5EBF1";this.style.cursor="pointer"};f.onmouseout=function(){this.style.background="none"};var i=document.createTextNode(k);f.appendChild(i);j.appendChild(f);var b=document.createTextNode("\n");j.appendChild(b)}a.appendChild(j)}else{if(typeof c=="function"){}}a.style.padding="2px 3px 2px 4px";a.style.borderBottom="1px solid #DEDEDE";a.style.color="#000000";if(d!=null){a.style.color=d}if(Boolean(l)==true){a.style.borderLeft="3px solid "+l}document.debug_div.appendChild(a);document.body.appendChild(document.debug_div);return(a)};var block_index=0;var google_adnum=0;var ad_arr=new Array();var ad_arr_counter=0;var google_bid;var google_ad_type;var google_max_num_ads;var google_image_size;var google_ad_client;var google_ad_channel;var google_ad_output;var google_safe;var google_encoding;var google_ad_section;var google_skip;function clear_google(){block_index=google_adnum=ad_arr_counter=0;google_bid=google_ad_type=google_max_num_ads=google_image_size=google_ad_client=google_ad_channel=google_ad_output=google_safe=google_encoding=google_ad_section=google_skip=null;ad_arr=new Array()}function print_google_ad(e,d,c,a){var b=e;ad_arr[ad_arr_counter]={unique_id:b,css:"",num_ads:Number(d),type:c,bid:"cpc",category_title:"",safe:"high",display_order:e,channel:a};if(typeof(class_name)=="undefined"){class_name=""}if(typeof(image_size)=="string"){ad_arr[ad_arr_counter]["image_size"]=image_size}if(typeof(ad_client)=="string"){ad_arr[ad_arr_counter]["ad_client"]=ad_client;delete ad_client}if(typeof(ad_label)=="string"){ad_arr[ad_arr_counter]["ad_label"]=ad_label}if(typeof(page)=="string"){ad_arr[ad_arr_counter]["page"]=page}if(typeof(search_query)=="string"){ad_arr[ad_arr_counter]["search_query"]=search_query}if(typeof(ad_keywords)!="undefined"){ad_arr[ad_arr_counter]["keywords"]=ad_keywords}if(typeof(kw_type)=="string"){ad_arr[ad_arr_counter]["kw_type"]=kw_type}if(typeof(hints)=="string"){ad_arr[ad_arr_counter]["hints"]=hints}if(typeof(contents)=="string"){ad_arr[ad_arr_counter]["contents"]=contents}if(typeof(google_rt)=="string"){ad_arr[ad_arr_counter]["google_rt"]=google_rt}if(typeof(google_page_url)=="string"){ad_arr[ad_arr_counter]["google_page_url"]=google_page_url}if(typeof(studio_id)=="string"){ad_arr[ad_arr_counter]["studio_id"]=studio_id}if(typeof(content_id)=="string"){ad_arr[ad_arr_counter]["content_id"]=content_id}ad_arr_counter++;document.write('<span name="KonaFilter"><div id="googlead_'+b+'" class="ad_block '+class_name+'"></div></span>')}function google_radlink_request_done(g){var a=block_index;block_index++;if(block_index<ad_arr.length){request_google_ads()}if(g.length<=0){return}var d=document.getElementById("googlead_"+(ad_arr[a].unique_id));var e=document.createElement("span");e.className="ads_by";if(typeof(ad_arr[a].ad_label)=="string"){e.innerHTML=ad_arr[a].ad_label+" Ads"}else{e.innerHTML="Related Ads"}d.appendChild(e);var j=g[0].line1;for(i=1;i<g.length;i++){j+=","+g[i].line1}var f=0;for(i=0;i<g.length;i++){var l=document.createElement("span");var k=g[f].line1;var c=g[f].term;var h=g[f].url_escaped_term;l.innerHTML+='<a href="/related_ads.php?term='+h+"&channel="+ad_arr[a].channel+"&category="+ad_arr[a].category_title+"&links="+j+"&google_rt="+g[f].radlink_token+"&studio_id="+ad_arr[a].studio_id+"&content_id="+ad_arr[a].content_id+'" class="rad" onmouseover="window.status=\''+c+'\'; return true;" onmouseout="window.status=\'\'; return true;" taget="_blank">'+k+"</a>";d.appendChild(l);f++}var b=document.getElementById("side_bar_content");if(b){b.style.visibility="visible"}return}function google_ad_request_done(b){if(b.length==0){return}var e=document.getElementById("googlead_"+(ad_arr[block_index].unique_id));var a=0;if(b[0].type=="image"){e.className=e.className.trim()+"_image";e.style.width=b[0].image_width+"px";var c=document.createElement("div");c.className="ad";c.innerHTML+='<a href="'+b[0].url+'" title="go to '+b[0].visible_url+'" target="_blank" ><img src="'+b[0].image_url+'" width="'+b[0].image_width+'" height="'+b[0].image_height+'" border="0" /></a>';e.appendChild(c)}else{if(b[0].type=="flash"){e.className=e.className.trim()+"_flash";e.style.width=b[0].image_width+"px";var c=document.createElement("div");c.className="ad";c.innerHTML+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+b[0].image_width+'" HEIGHT="'+b[0].image_height+'"><PARAM NAME="movie" VALUE="'+b[0].image_url+'"><PARAM NAME="quality" VALUE="high"><PARAM NAME="AllowScriptAccess" VALUE="never"><EMBED src="'+b[0].image_url+'" WIDTH="'+b[0].image_width+'" HEIGHT="'+b[0].image_height+'" TYPE="application/x-shockwave-flash" AllowScriptAccess="never"  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';e.appendChild(c)}else{e.className=e.className.trim()+" "+e.className.trim()+"_"+b.length;var d=document.createElement("div");d.className="ads_by";d.innerHTML='<a href="'+google_info.feedback_url+'" target="_blank" rel="nofollow" style="display:inline;">Sponsored Links</a>';e.appendChild(d);for(i=0;i<b.length;i++){var c=document.createElement("div");c.className="ad ad"+(i+1);c.url=b[a].url;c.innerHTML+=add_line(b[a].line1,b[a].url,b[a].visible_url,"line1");c.innerHTML+='<span class="line2">'+b[a].line2+"</span> ";c.innerHTML+='<span class="line3">'+b[a].line3+"</span> ";c.innerHTML+=add_line(b[a].visible_url,b[a].url,b[a].visible_url,"url");e.appendChild(c);a++}}}google_adnum=google_adnum+b.length;return}function google_afs_request_done(c){if(c.length==0){return}var a=0;for(var e=0;e<ad_arr.length;e++){var g=document.getElementById("googlead_"+(ad_arr[e].unique_id));g.className=g.className.trim()+" "+g.className.trim()+"_"+c.length;var f=document.createElement("div");f.className="ads_by";f.innerHTML="Sponsored Links";g.appendChild(f);for(var b=0;b<ad_arr[e].num_ads;b++){if(c[a]==undefined){break}var d=document.createElement("div");d.className="ad ad"+(b+1);d.url=c[a].url;d.innerHTML+=add_line(c[a].line1,c[a].url,c[a].visible_url,"line1");d.innerHTML+='<span class="line2">'+c[a].line2+"</span> ";if(c[a].type=="text/narrow"){d.innerHTML+='<span class="line3">'+c[a].line3+"</span> "}d.innerHTML+=add_line(c[a].visible_url,c[a].url,c[a].visible_url,"url");g.appendChild(d);a++}google_adnum=google_adnum+c.length}return}function sort_ads(d,c){return d.display_order-c.display_order}function request_google_ads(){if(block_index==0){ad_arr.sort(sort_ads)}if(ad_arr[block_index]){if(ad_arr[block_index]["ad_client"]){var a=ad_arr[block_index]["ad_client"]}if(ad_arr[block_index]["type"]=="radlinks"){document.write('<script type="text/javascript" language="JavaScript">');if(ad_arr[block_index]["hints"]){document.write('google_hints = "'+ad_arr[block_index]["hints"]+'";')}document.write('google_safe = "high";');document.write('google_ad_output = "js";');document.write('google_encoding = "utf8";');document.write('google_ad_section = "default";');document.write('google_ad_client = "'+a+'";');document.write('google_max_num_ads = "'+0+'";');document.write("google_max_radlink_len = 27;");document.write('google_kw_type = "radlink";');document.write("google_num_radlinks = "+ad_arr[block_index]["num_ads"]+";");document.write('google_ad_channel = "'+ad_arr[block_index]["channel"]+'";');document.write("<\/script>");document.write('<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')}else{if(ad_arr[block_index]["type"]=="search"){var b=0;for(i=0;i<ad_arr.length;i++){b+=Number(ad_arr[i]["num_ads"])}document.write('<script type="text/javascript" language="JavaScript">');document.write('google_afs_query = "'+ad_arr[block_index]["search_query"]+'";');document.write('google_afs_adpage = "'+ad_arr[block_index]["page"]+'";');document.write('google_afs_ad = "w'+b+'";');document.write('google_afs_client = "'+a+'";');document.write('google_afs_channel = "'+ad_arr[block_index]["channel"]+'";');document.write('google_afs_adsafe = "high";');document.write('google_afs_ie = "utf8";');document.write('google_afs_oe = "utf8";');document.write("<\/script>");document.write('<script language="JavaScript" src="http://www.google.com/afsonline/show_afs_ads.js"><\/script>')}else{document.write('<script type="text/javascript" language="JavaScript">');if(ad_arr[block_index]["keywords"]){document.write('google_kw = "'+ad_arr[block_index]["keywords"]+'";');if(ad_arr[block_index]["kw_type"]){document.write('google_kw_type = "'+ad_arr[block_index]["kw_type"]+'";')}else{document.write('google_kw_type = "broad";')}}if(ad_arr[block_index]["hints"]){document.write('google_hints = "'+ad_arr[block_index]["hints"]+'";')}if(ad_arr[block_index]["contents"]){document.write('google_contents = "'+ad_arr[block_index]["contents"]+'";')}if(ad_arr[block_index]["google_rt"]){document.write("google_rt = '"+ad_arr[block_index]["google_rt"]+"';");document.write("google_page_url = '"+ad_arr[block_index]["google_page_url"]+"';");document.write('google_prev_ad_formats_by_region = "adlinks";')}document.write('google_safe = "high";');document.write('google_ad_output = "js";');document.write('google_encoding = "utf8";');document.write('google_ad_section = "default";');document.write('google_ad_client = "'+a+'";');document.write("google_max_num_ads = "+ad_arr[block_index]["num_ads"]+";");document.write('google_ad_type = "'+ad_arr[block_index]["type"]+'";');document.write('google_ad_channel = "'+ad_arr[block_index]["channel"]+'";');document.write('google_image_size = "'+ad_arr[block_index]["image_size"]+'";');document.write("google_skip = google_adnum;");document.write("<\/script>");document.write('<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')}}}}function add_line(a,b,e,c){var d="";d+='<div class="'+c+'"><a href="'+b+'" onmouseover="window.status=\'go to '+e+'\'; return true;" onmouseout="window.status=\'\'; return true;" rel="nofollow" target="_blank">'+a+"</a></div>";return(d)}function html_entity_decode(b){var a=document.createElement("textarea");a.innerHTML=b;return a.value}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/,"")};var UserAction={scripts:[],scriptCallbacks:[],init:false,add:function(a,b){this.scripts.push(a);if(typeof(b)=="function"){this.scriptCallbacks[a]=b}},execute:function(){var a=this;$(function(){function b(){if(!a.init){a.init=true;for(var c=0;c<a.scripts.length;c++){if(typeof a.scripts[c]=="string"){if(typeof(a.scriptCallbacks[a.scripts[c]])!="function"){$.getScript(a.scripts[c])}else{var d=a.scriptCallbacks[a.scripts[c]];$.getScript(a.scripts[c],function(){d.call()})}}else{if(typeof a.scripts[c]=="function"){a.scripts[c]()}}}}}$(window).one("mousemove touchstart keypress scroll",function(){b()});$("body").one("mousemove touchstart keypress scroll",function(){b()})})}};var DartUtils=(function(){taken=false;return{isTakeover:function(){return taken},feature:function(e,c,b){if(window.location.pathname=="/"){var a="";var f="";onClickURL=c;var d=document.getElementById("specialFeature");if(typeof b=="object"){if(b.sameWindow==false){a='target="_blank" '}if(b.noClick==true){a="";onClickURL="#"}}f+="<a "+a+'href="'+onClickURL+'">';f+='<img src="'+e+'" />';f+="</a>";d.innerHTML=f;d.style.display="block"}},takeover:function(c,b,n){taken=true;var e=document.getElementsByTagName("html")[0];e.style.background='url("'+c+'") no-repeat center top';if(typeof n=="object"&&n.fixedBg){e.style.backgroundAttachment="fixed"}if(typeof n=="object"&&n.bgcolor){e.style.backgroundColor=n.bgcolor}if(typeof n=="object"&&n.branded){e.setAttribute("branded",n.branded)}var j=document.getElementById("Logo");j.style.margin="0 0 0 10px";if(typeof n=="object"&&n.takeoverBanner){var m=document.createElement("a");m.href=b;m.target="_blank";m.style.display="block";m.style.height="130px";document.getElementById("takeOverFun").appendChild(m);var f=document.getElementById("Wrapper");f.style.padding="15px 0 0 0"}var d=function(a){if(typeof a.pageX=="number"&&typeof window.innerWidth=="number"){if(a.pageX<window.innerWidth-18){window.open(b)}}else{window.open(b)}};var k=document.getElementsByTagName("html")[0].childNodes;var l=navigator.appName;var h=document.getElementById("brandedBlip");if(l.match(/microsoft/gi)){e.attachEvent("onclick",d);e.attachEvent("onmouseover",function(a){e.style.cursor="pointer"});for(var g=0;g<k.length;g++){k[g].attachEvent("onmouseover",function(a){document.getElementsByTagName("body")[0].style.cursor="default"});k[g].attachEvent("onclick",function(a){a.cancelBubble=true})}h.attachEvent("onclick",d)}else{e.addEventListener("click",d,false);e.addEventListener("mouseover",function(a){e.style.cursor="pointer"},false);for(var g=0;g<k.length;g++){k[g].addEventListener("mouseover",function(a){document.getElementsByTagName("body")[0].style.cursor="default"},false);k[g].addEventListener("click",function(a){a.stopPropagation();return(false)},false)}h.addEventListener("click",d,false)}}}})();
