



<!DOCTYPE html>
<html>
<head>
 <link rel="icon" type="image/vnd.microsoft.icon" href="http://www.gstatic.com/codesite/ph/images/phosting.ico">
 
 
 <script type="text/javascript">
 
 
 
 
 var codesite_token = "e7ada8c9c2487022dca4700e2d1a1b7f";
 
 
 var CS_env = {"assetHostPath":"http://www.gstatic.com/codesite/ph","projectName":"newsmixer","projectHomeUrl":"/p/newsmixer","urlPrefix":"p","domainName":null,"relativeBaseUrl":"","profileUrl":["/u/@UBBTQlNVAhZCWAh%2BGQ%3D%3D/"],"token":"e7ada8c9c2487022dca4700e2d1a1b7f","assetVersionPath":"http://www.gstatic.com/codesite/ph/2215219717728297356","absoluteBaseUrl":"http://code.google.com","loggedInUserEmail":"shibuki.auaua@gmail.com"};
 var _gaq = _gaq || [];
 _gaq.push(
 ['siteTracker._setAccount', 'UA-18071-1'],
 ['siteTracker._trackPageview']);
 
 _gaq.push(
 ['projectTracker._setAccount', 'UA-4270061-3'],
 ['projectTracker._trackPageview']);
 
 </script>
 
 
 <title>jquery.color.js - 
 newsmixer -
 
 
 We&#39;re playing with new ways to talk about news. - Google Project Hosting
 </title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
 
 <meta name="ROBOTS" content="NOARCHIVE">
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/2215219717728297356/css/ph_core.css">
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/2215219717728297356/css/ph_detail.css" >
 
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/2215219717728297356/css/d_sb.css" >
 
 
 
<!--[if IE]>
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/2215219717728297356/css/d_ie.css" >
<![endif]-->
 <style type="text/css">
 .menuIcon.off { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -42px }
 .menuIcon.on { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -28px }
 .menuIcon.down { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 0; }
 
 
 
  tr.inline_comment {
 background: #fff;
 vertical-align: top;
 }
 div.draft, div.published {
 padding: .3em;
 border: 1px solid #999; 
 margin-bottom: .1em;
 font-family: arial, sans-serif;
 max-width: 60em;
 }
 div.draft {
 background: #ffa;
 } 
 div.published {
 background: #e5ecf9;
 }
 div.published .body, div.draft .body {
 padding: .5em .1em .1em .1em;
 max-width: 60em;
 white-space: pre-wrap;
 white-space: -moz-pre-wrap;
 white-space: -pre-wrap;
 white-space: -o-pre-wrap;
 word-wrap: break-word;
 font-size: 1em;
 }
 div.draft .actions {
 margin-left: 1em;
 font-size: 90%;
 }
 div.draft form {
 padding: .5em .5em .5em 0;
 }
 div.draft textarea, div.published textarea {
 width: 95%;
 height: 10em;
 font-family: arial, sans-serif;
 margin-bottom: .5em;
 }

 
 .nocursor, .nocursor td, .cursor_hidden, .cursor_hidden td {
 background-color: white;
 height: 2px;
 }
 .cursor, .cursor td {
 background-color: darkblue;
 height: 2px;
 display: '';
 }
 
 
.list {
 border: 1px solid white;
 border-bottom: 0;
}

 </style>
</head>
<body class="t4">
<script type="text/javascript">
 (function() {
 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
 })();
</script>
<div class="headbg">
 <div id="gaia">
 

 <span>
 
 
 <b>shibuki.auaua@gmail.com</b>
 
 
 | <a href="/u/@UBBTQlNVAhZCWAh%2BGQ%3D%3D/" id="projects-dropdown" onclick="return false;"
 ><u>My favorites</u> <small>&#9660;</small></a>
 | <a href="/u/@UBBTQlNVAhZCWAh%2BGQ%3D%3D/" onclick="_CS_click('/gb/ph/profile');"
 title="Profile, Updates, and Settings"
 ><u>Profile</u></a>
 | <a href="https://www.google.com/accounts/Logout?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fnewsmixer%2Fsource%2Fbrowse%2Ftrunk%2Fpie%2Fpublic%2Fjquery.color.js%3Fspec%3Dsvn2%26r%3D2" 
 onclick="_CS_click('/gb/ph/signout');"
 ><u>Sign out</u></a>
 
 </span>

 </div>
 <div class="gbh" style="left: 0pt;"></div>
 <div class="gbh" style="right: 0pt;"></div>
 
 
 <div style="height: 1px"></div>
<!--[if lte IE 7]>
<div style="text-align:center;">
Your version of Internet Explorer is not supported. Try a browser that
contributes to open source, such as <a href="http://www.firefox.com">Firefox</a>,
<a href="http://www.google.com/chrome">Google Chrome</a>, or
<a href="http://code.google.com/chrome/chromeframe/">Google Chrome Frame</a>.
</div>
<![endif]-->




 <table style="padding:0px; margin: 0px 0px 10px 0px; width:100%" cellpadding="0" cellspacing="0">
 <tr style="height: 58px;">
 
 <td id="plogo">
 <a href="/p/newsmixer/">
 
 <img src="http://www.gstatic.com/codesite/ph/images/defaultlogo.png" alt="Logo">
 
 </a>
 </td>
 
 <td style="padding-left: 0.5em">
 
 <div id="pname">
 <a href="/p/newsmixer/">newsmixer</a>
 </div>
 
 <div id="psum">
 <a id="project_summary_link" href="/p/newsmixer/" >We&#39;re playing with new ways to talk about news.</a>
 
 </div>
 
 
 </td>
 <td style="white-space:nowrap;text-align:right; vertical-align:bottom;">
 
 <form action="/hosting/search">
 <input size="30" name="q" value="" type="text">
 
 <input type="submit" name="projectsearch" value="Search projects" >
 </form>
 
 </tr>
 </table>

</div>

 
<div id="mt" class="gtb"> 
 <a href="/p/newsmixer/" class="tab ">Project&nbsp;Home</a>
 
 
 
 
 <a href="/p/newsmixer/downloads/list" class="tab ">Downloads</a>
 
 
 
 
 
 <a href="/p/newsmixer/w/list" class="tab ">Wiki</a>
 
 
 
 
 
 <a href="/p/newsmixer/issues/list"
 class="tab ">Issues</a>
 
 
 
 
 
 <a href="/p/newsmixer/source/checkout"
 class="tab active">Source</a>
 
 
 
 
 
 <div class=gtbc></div>
</div>
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" class="st">
 <tr>
 
 
 
 
 
 
 <td class="subt">
 <div class="st2">
 <div class="isf">
 
 
 
 <span class="inst1"><a href="/p/newsmixer/source/checkout">Checkout</a></span> &nbsp;
 <span class="inst2"><a href="/p/newsmixer/source/browse/">Browse</a></span> &nbsp;
 <span class="inst3"><a href="/p/newsmixer/source/list">Changes</a></span> &nbsp;
 
 <form action="http://www.google.com/codesearch" method="get" style="display:inline"
 onsubmit="document.getElementById('codesearchq').value = document.getElementById('origq').value + ' package:http://newsmixer\\.googlecode\\.com'">
 <input type="hidden" name="q" id="codesearchq" value="">
 <input type="text" maxlength="2048" size="38" id="origq" name="origq" value="" title="Google Code Search" style="font-size:92%">&nbsp;<input type="submit" value="Search Trunk" name="btnG" style="font-size:92%">
 
 
 
 </form>
 </div>
</div>

 </td>
 
 
 
 <td align="right" valign="top" class="bevel-right"></td>
 </tr>
</table>


<script type="text/javascript">
 var cancelBubble = false;
 function _go(url) { document.location = url; }
</script>
<div id="maincol"
 
>

 
<!-- IE -->




<div class="expand">
<div id="colcontrol">
<style type="text/css">
 #file_flipper { white-space: nowrap; padding-right: 2em; }
 #file_flipper.hidden { display: none; }
 #file_flipper .pagelink { color: #0000CC; text-decoration: underline; }
 #file_flipper #visiblefiles { padding-left: 0.5em; padding-right: 0.5em; }
</style>
<table id="nav_and_rev" class="list"
 cellpadding="0" cellspacing="0" width="100%">
 <tr>
 
 <td nowrap="nowrap" class="src_crumbs src_nav" width="33%">
 <strong class="src_nav">Source path:&nbsp;</strong>
 <span id="crumb_root">
 
 <a href="/p/newsmixer/source/browse/?r=2">svn</a>/&nbsp;</span>
 <span id="crumb_links" class="ifClosed"><a href="/p/newsmixer/source/browse/trunk/?r=2">trunk</a><span class="sp">/&nbsp;</span><a href="/p/newsmixer/source/browse/trunk/pie/?r=2">pie</a><span class="sp">/&nbsp;</span><a href="/p/newsmixer/source/browse/trunk/pie/public/?r=2">public</a><span class="sp">/&nbsp;</span>jquery.color.js</span>
 
 

 </td>
 
 
 <td nowrap="nowrap" width="33%" align="right">
 <table cellpadding="0" cellspacing="0" style="font-size: 100%"><tr>
 
 
 <td class="flipper"><b>r2</b></td>
 
 </tr></table>
 </td> 
 </tr>
</table>

<div class="fc">
 
 
 
<style type="text/css">
.undermouse span {
 background-image: url(http://www.gstatic.com/codesite/ph/images/comments.gif); }
</style>
<table class="opened" id="review_comment_area"
><tr>
<td id="nums">
<pre><table width="100%"><tr class="nocursor"><td></td></tr></table></pre>
<pre><table width="100%" id="nums_table_0"><tr id="gr_svn2_1"

><td id="1"><a href="#1">1</a></td></tr
><tr id="gr_svn2_2"

><td id="2"><a href="#2">2</a></td></tr
><tr id="gr_svn2_3"

><td id="3"><a href="#3">3</a></td></tr
><tr id="gr_svn2_4"

><td id="4"><a href="#4">4</a></td></tr
><tr id="gr_svn2_5"

><td id="5"><a href="#5">5</a></td></tr
><tr id="gr_svn2_6"

><td id="6"><a href="#6">6</a></td></tr
><tr id="gr_svn2_7"

><td id="7"><a href="#7">7</a></td></tr
><tr id="gr_svn2_8"

><td id="8"><a href="#8">8</a></td></tr
><tr id="gr_svn2_9"

><td id="9"><a href="#9">9</a></td></tr
><tr id="gr_svn2_10"

><td id="10"><a href="#10">10</a></td></tr
><tr id="gr_svn2_11"

><td id="11"><a href="#11">11</a></td></tr
><tr id="gr_svn2_12"

><td id="12"><a href="#12">12</a></td></tr
><tr id="gr_svn2_13"

><td id="13"><a href="#13">13</a></td></tr
><tr id="gr_svn2_14"

><td id="14"><a href="#14">14</a></td></tr
><tr id="gr_svn2_15"

><td id="15"><a href="#15">15</a></td></tr
><tr id="gr_svn2_16"

><td id="16"><a href="#16">16</a></td></tr
><tr id="gr_svn2_17"

><td id="17"><a href="#17">17</a></td></tr
><tr id="gr_svn2_18"

><td id="18"><a href="#18">18</a></td></tr
><tr id="gr_svn2_19"

><td id="19"><a href="#19">19</a></td></tr
><tr id="gr_svn2_20"

><td id="20"><a href="#20">20</a></td></tr
><tr id="gr_svn2_21"

><td id="21"><a href="#21">21</a></td></tr
><tr id="gr_svn2_22"

><td id="22"><a href="#22">22</a></td></tr
><tr id="gr_svn2_23"

><td id="23"><a href="#23">23</a></td></tr
><tr id="gr_svn2_24"

><td id="24"><a href="#24">24</a></td></tr
><tr id="gr_svn2_25"

><td id="25"><a href="#25">25</a></td></tr
><tr id="gr_svn2_26"

><td id="26"><a href="#26">26</a></td></tr
><tr id="gr_svn2_27"

><td id="27"><a href="#27">27</a></td></tr
><tr id="gr_svn2_28"

><td id="28"><a href="#28">28</a></td></tr
><tr id="gr_svn2_29"

><td id="29"><a href="#29">29</a></td></tr
><tr id="gr_svn2_30"

><td id="30"><a href="#30">30</a></td></tr
><tr id="gr_svn2_31"

><td id="31"><a href="#31">31</a></td></tr
><tr id="gr_svn2_32"

><td id="32"><a href="#32">32</a></td></tr
><tr id="gr_svn2_33"

><td id="33"><a href="#33">33</a></td></tr
><tr id="gr_svn2_34"

><td id="34"><a href="#34">34</a></td></tr
><tr id="gr_svn2_35"

><td id="35"><a href="#35">35</a></td></tr
><tr id="gr_svn2_36"

><td id="36"><a href="#36">36</a></td></tr
><tr id="gr_svn2_37"

><td id="37"><a href="#37">37</a></td></tr
><tr id="gr_svn2_38"

><td id="38"><a href="#38">38</a></td></tr
><tr id="gr_svn2_39"

><td id="39"><a href="#39">39</a></td></tr
><tr id="gr_svn2_40"

><td id="40"><a href="#40">40</a></td></tr
><tr id="gr_svn2_41"

><td id="41"><a href="#41">41</a></td></tr
><tr id="gr_svn2_42"

><td id="42"><a href="#42">42</a></td></tr
><tr id="gr_svn2_43"

><td id="43"><a href="#43">43</a></td></tr
><tr id="gr_svn2_44"

><td id="44"><a href="#44">44</a></td></tr
><tr id="gr_svn2_45"

><td id="45"><a href="#45">45</a></td></tr
><tr id="gr_svn2_46"

><td id="46"><a href="#46">46</a></td></tr
><tr id="gr_svn2_47"

><td id="47"><a href="#47">47</a></td></tr
><tr id="gr_svn2_48"

><td id="48"><a href="#48">48</a></td></tr
><tr id="gr_svn2_49"

><td id="49"><a href="#49">49</a></td></tr
><tr id="gr_svn2_50"

><td id="50"><a href="#50">50</a></td></tr
><tr id="gr_svn2_51"

><td id="51"><a href="#51">51</a></td></tr
><tr id="gr_svn2_52"

><td id="52"><a href="#52">52</a></td></tr
><tr id="gr_svn2_53"

><td id="53"><a href="#53">53</a></td></tr
><tr id="gr_svn2_54"

><td id="54"><a href="#54">54</a></td></tr
><tr id="gr_svn2_55"

><td id="55"><a href="#55">55</a></td></tr
><tr id="gr_svn2_56"

><td id="56"><a href="#56">56</a></td></tr
><tr id="gr_svn2_57"

><td id="57"><a href="#57">57</a></td></tr
><tr id="gr_svn2_58"

><td id="58"><a href="#58">58</a></td></tr
><tr id="gr_svn2_59"

><td id="59"><a href="#59">59</a></td></tr
><tr id="gr_svn2_60"

><td id="60"><a href="#60">60</a></td></tr
><tr id="gr_svn2_61"

><td id="61"><a href="#61">61</a></td></tr
><tr id="gr_svn2_62"

><td id="62"><a href="#62">62</a></td></tr
><tr id="gr_svn2_63"

><td id="63"><a href="#63">63</a></td></tr
><tr id="gr_svn2_64"

><td id="64"><a href="#64">64</a></td></tr
><tr id="gr_svn2_65"

><td id="65"><a href="#65">65</a></td></tr
><tr id="gr_svn2_66"

><td id="66"><a href="#66">66</a></td></tr
><tr id="gr_svn2_67"

><td id="67"><a href="#67">67</a></td></tr
><tr id="gr_svn2_68"

><td id="68"><a href="#68">68</a></td></tr
><tr id="gr_svn2_69"

><td id="69"><a href="#69">69</a></td></tr
><tr id="gr_svn2_70"

><td id="70"><a href="#70">70</a></td></tr
><tr id="gr_svn2_71"

><td id="71"><a href="#71">71</a></td></tr
><tr id="gr_svn2_72"

><td id="72"><a href="#72">72</a></td></tr
><tr id="gr_svn2_73"

><td id="73"><a href="#73">73</a></td></tr
><tr id="gr_svn2_74"

><td id="74"><a href="#74">74</a></td></tr
><tr id="gr_svn2_75"

><td id="75"><a href="#75">75</a></td></tr
><tr id="gr_svn2_76"

><td id="76"><a href="#76">76</a></td></tr
><tr id="gr_svn2_77"

><td id="77"><a href="#77">77</a></td></tr
><tr id="gr_svn2_78"

><td id="78"><a href="#78">78</a></td></tr
><tr id="gr_svn2_79"

><td id="79"><a href="#79">79</a></td></tr
><tr id="gr_svn2_80"

><td id="80"><a href="#80">80</a></td></tr
><tr id="gr_svn2_81"

><td id="81"><a href="#81">81</a></td></tr
><tr id="gr_svn2_82"

><td id="82"><a href="#82">82</a></td></tr
><tr id="gr_svn2_83"

><td id="83"><a href="#83">83</a></td></tr
><tr id="gr_svn2_84"

><td id="84"><a href="#84">84</a></td></tr
><tr id="gr_svn2_85"

><td id="85"><a href="#85">85</a></td></tr
><tr id="gr_svn2_86"

><td id="86"><a href="#86">86</a></td></tr
><tr id="gr_svn2_87"

><td id="87"><a href="#87">87</a></td></tr
><tr id="gr_svn2_88"

><td id="88"><a href="#88">88</a></td></tr
><tr id="gr_svn2_89"

><td id="89"><a href="#89">89</a></td></tr
><tr id="gr_svn2_90"

><td id="90"><a href="#90">90</a></td></tr
><tr id="gr_svn2_91"

><td id="91"><a href="#91">91</a></td></tr
><tr id="gr_svn2_92"

><td id="92"><a href="#92">92</a></td></tr
><tr id="gr_svn2_93"

><td id="93"><a href="#93">93</a></td></tr
><tr id="gr_svn2_94"

><td id="94"><a href="#94">94</a></td></tr
><tr id="gr_svn2_95"

><td id="95"><a href="#95">95</a></td></tr
><tr id="gr_svn2_96"

><td id="96"><a href="#96">96</a></td></tr
><tr id="gr_svn2_97"

><td id="97"><a href="#97">97</a></td></tr
><tr id="gr_svn2_98"

><td id="98"><a href="#98">98</a></td></tr
><tr id="gr_svn2_99"

><td id="99"><a href="#99">99</a></td></tr
><tr id="gr_svn2_100"

><td id="100"><a href="#100">100</a></td></tr
><tr id="gr_svn2_101"

><td id="101"><a href="#101">101</a></td></tr
><tr id="gr_svn2_102"

><td id="102"><a href="#102">102</a></td></tr
><tr id="gr_svn2_103"

><td id="103"><a href="#103">103</a></td></tr
><tr id="gr_svn2_104"

><td id="104"><a href="#104">104</a></td></tr
><tr id="gr_svn2_105"

><td id="105"><a href="#105">105</a></td></tr
><tr id="gr_svn2_106"

><td id="106"><a href="#106">106</a></td></tr
><tr id="gr_svn2_107"

><td id="107"><a href="#107">107</a></td></tr
><tr id="gr_svn2_108"

><td id="108"><a href="#108">108</a></td></tr
><tr id="gr_svn2_109"

><td id="109"><a href="#109">109</a></td></tr
><tr id="gr_svn2_110"

><td id="110"><a href="#110">110</a></td></tr
><tr id="gr_svn2_111"

><td id="111"><a href="#111">111</a></td></tr
><tr id="gr_svn2_112"

><td id="112"><a href="#112">112</a></td></tr
><tr id="gr_svn2_113"

><td id="113"><a href="#113">113</a></td></tr
><tr id="gr_svn2_114"

><td id="114"><a href="#114">114</a></td></tr
><tr id="gr_svn2_115"

><td id="115"><a href="#115">115</a></td></tr
><tr id="gr_svn2_116"

><td id="116"><a href="#116">116</a></td></tr
><tr id="gr_svn2_117"

><td id="117"><a href="#117">117</a></td></tr
><tr id="gr_svn2_118"

><td id="118"><a href="#118">118</a></td></tr
><tr id="gr_svn2_119"

><td id="119"><a href="#119">119</a></td></tr
><tr id="gr_svn2_120"

><td id="120"><a href="#120">120</a></td></tr
><tr id="gr_svn2_121"

><td id="121"><a href="#121">121</a></td></tr
><tr id="gr_svn2_122"

><td id="122"><a href="#122">122</a></td></tr
><tr id="gr_svn2_123"

><td id="123"><a href="#123">123</a></td></tr
></table></pre>
<pre><table width="100%"><tr class="nocursor"><td></td></tr></table></pre>
</td>
<td id="lines">
<pre><table width="100%"><tr class="cursor_stop cursor_hidden"><td></td></tr></table></pre>
<pre class="prettyprint lang-js"><table id="src_table_0"><tr
id=sl_svn2_1

><td class="source">/*<br></td></tr
><tr
id=sl_svn2_2

><td class="source"> * jQuery Color Animations<br></td></tr
><tr
id=sl_svn2_3

><td class="source"> * Copyright 2007 John Resig<br></td></tr
><tr
id=sl_svn2_4

><td class="source"> * Released under the MIT and GPL licenses.<br></td></tr
><tr
id=sl_svn2_5

><td class="source"> */<br></td></tr
><tr
id=sl_svn2_6

><td class="source"><br></td></tr
><tr
id=sl_svn2_7

><td class="source">(function(jQuery){<br></td></tr
><tr
id=sl_svn2_8

><td class="source"><br></td></tr
><tr
id=sl_svn2_9

><td class="source">	// We override the animation for all of these color styles<br></td></tr
><tr
id=sl_svn2_10

><td class="source">	jQuery.each([&#39;backgroundColor&#39;, &#39;borderBottomColor&#39;, &#39;borderLeftColor&#39;, &#39;borderRightColor&#39;, &#39;borderTopColor&#39;, &#39;color&#39;, &#39;outlineColor&#39;], function(i,attr){<br></td></tr
><tr
id=sl_svn2_11

><td class="source">		jQuery.fx.step[attr] = function(fx){<br></td></tr
><tr
id=sl_svn2_12

><td class="source">			if ( fx.state == 0 ) {<br></td></tr
><tr
id=sl_svn2_13

><td class="source">				fx.start = getColor( fx.elem, attr );<br></td></tr
><tr
id=sl_svn2_14

><td class="source">				fx.end = getRGB( fx.end );<br></td></tr
><tr
id=sl_svn2_15

><td class="source">			}<br></td></tr
><tr
id=sl_svn2_16

><td class="source"><br></td></tr
><tr
id=sl_svn2_17

><td class="source">			fx.elem.style[attr] = &quot;rgb(&quot; + [<br></td></tr
><tr
id=sl_svn2_18

><td class="source">				Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),<br></td></tr
><tr
id=sl_svn2_19

><td class="source">				Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),<br></td></tr
><tr
id=sl_svn2_20

><td class="source">				Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)<br></td></tr
><tr
id=sl_svn2_21

><td class="source">			].join(&quot;,&quot;) + &quot;)&quot;;<br></td></tr
><tr
id=sl_svn2_22

><td class="source">		}<br></td></tr
><tr
id=sl_svn2_23

><td class="source">	});<br></td></tr
><tr
id=sl_svn2_24

><td class="source"><br></td></tr
><tr
id=sl_svn2_25

><td class="source">	// Color Conversion functions from highlightFade<br></td></tr
><tr
id=sl_svn2_26

><td class="source">	// By Blair Mitchelmore<br></td></tr
><tr
id=sl_svn2_27

><td class="source">	// http://jquery.offput.ca/highlightFade/<br></td></tr
><tr
id=sl_svn2_28

><td class="source"><br></td></tr
><tr
id=sl_svn2_29

><td class="source">	// Parse strings looking for color tuples [255,255,255]<br></td></tr
><tr
id=sl_svn2_30

><td class="source">	function getRGB(color) {<br></td></tr
><tr
id=sl_svn2_31

><td class="source">		var result;<br></td></tr
><tr
id=sl_svn2_32

><td class="source"><br></td></tr
><tr
id=sl_svn2_33

><td class="source">		// Check if we&#39;re already dealing with an array of colors<br></td></tr
><tr
id=sl_svn2_34

><td class="source">		if ( color &amp;&amp; color.constructor == Array &amp;&amp; color.length == 3 )<br></td></tr
><tr
id=sl_svn2_35

><td class="source">			return color;<br></td></tr
><tr
id=sl_svn2_36

><td class="source"><br></td></tr
><tr
id=sl_svn2_37

><td class="source">		// Look for rgb(num,num,num)<br></td></tr
><tr
id=sl_svn2_38

><td class="source">		if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))<br></td></tr
><tr
id=sl_svn2_39

><td class="source">			return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];<br></td></tr
><tr
id=sl_svn2_40

><td class="source"><br></td></tr
><tr
id=sl_svn2_41

><td class="source">		// Look for rgb(num%,num%,num%)<br></td></tr
><tr
id=sl_svn2_42

><td class="source">		if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))<br></td></tr
><tr
id=sl_svn2_43

><td class="source">			return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];<br></td></tr
><tr
id=sl_svn2_44

><td class="source"><br></td></tr
><tr
id=sl_svn2_45

><td class="source">		// Look for #a0b1c2<br></td></tr
><tr
id=sl_svn2_46

><td class="source">		if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))<br></td></tr
><tr
id=sl_svn2_47

><td class="source">			return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];<br></td></tr
><tr
id=sl_svn2_48

><td class="source"><br></td></tr
><tr
id=sl_svn2_49

><td class="source">		// Look for #fff<br></td></tr
><tr
id=sl_svn2_50

><td class="source">		if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))<br></td></tr
><tr
id=sl_svn2_51

><td class="source">			return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];<br></td></tr
><tr
id=sl_svn2_52

><td class="source"><br></td></tr
><tr
id=sl_svn2_53

><td class="source">		// Otherwise, we&#39;re most likely dealing with a named color<br></td></tr
><tr
id=sl_svn2_54

><td class="source">		return colors[jQuery.trim(color).toLowerCase()];<br></td></tr
><tr
id=sl_svn2_55

><td class="source">	}<br></td></tr
><tr
id=sl_svn2_56

><td class="source">	<br></td></tr
><tr
id=sl_svn2_57

><td class="source">	function getColor(elem, attr) {<br></td></tr
><tr
id=sl_svn2_58

><td class="source">		var color;<br></td></tr
><tr
id=sl_svn2_59

><td class="source"><br></td></tr
><tr
id=sl_svn2_60

><td class="source">		do {<br></td></tr
><tr
id=sl_svn2_61

><td class="source">			color = jQuery.curCSS(elem, attr);<br></td></tr
><tr
id=sl_svn2_62

><td class="source"><br></td></tr
><tr
id=sl_svn2_63

><td class="source">			// Keep going until we find an element that has color, or we hit the body<br></td></tr
><tr
id=sl_svn2_64

><td class="source">			if ( color != &#39;&#39; &amp;&amp; color != &#39;transparent&#39; || jQuery.nodeName(elem, &quot;body&quot;) )<br></td></tr
><tr
id=sl_svn2_65

><td class="source">				break; <br></td></tr
><tr
id=sl_svn2_66

><td class="source"><br></td></tr
><tr
id=sl_svn2_67

><td class="source">			attr = &quot;backgroundColor&quot;;<br></td></tr
><tr
id=sl_svn2_68

><td class="source">		} while ( elem = elem.parentNode );<br></td></tr
><tr
id=sl_svn2_69

><td class="source"><br></td></tr
><tr
id=sl_svn2_70

><td class="source">		return getRGB(color);<br></td></tr
><tr
id=sl_svn2_71

><td class="source">	};<br></td></tr
><tr
id=sl_svn2_72

><td class="source">	<br></td></tr
><tr
id=sl_svn2_73

><td class="source">	// Some named colors to work with<br></td></tr
><tr
id=sl_svn2_74

><td class="source">	// From Interface by Stefan Petre<br></td></tr
><tr
id=sl_svn2_75

><td class="source">	// http://interface.eyecon.ro/<br></td></tr
><tr
id=sl_svn2_76

><td class="source"><br></td></tr
><tr
id=sl_svn2_77

><td class="source">	var colors = {<br></td></tr
><tr
id=sl_svn2_78

><td class="source">		aqua:[0,255,255],<br></td></tr
><tr
id=sl_svn2_79

><td class="source">		azure:[240,255,255],<br></td></tr
><tr
id=sl_svn2_80

><td class="source">		beige:[245,245,220],<br></td></tr
><tr
id=sl_svn2_81

><td class="source">		black:[0,0,0],<br></td></tr
><tr
id=sl_svn2_82

><td class="source">		blue:[0,0,255],<br></td></tr
><tr
id=sl_svn2_83

><td class="source">		brown:[165,42,42],<br></td></tr
><tr
id=sl_svn2_84

><td class="source">		cyan:[0,255,255],<br></td></tr
><tr
id=sl_svn2_85

><td class="source">		darkblue:[0,0,139],<br></td></tr
><tr
id=sl_svn2_86

><td class="source">		darkcyan:[0,139,139],<br></td></tr
><tr
id=sl_svn2_87

><td class="source">		darkgrey:[169,169,169],<br></td></tr
><tr
id=sl_svn2_88

><td class="source">		darkgreen:[0,100,0],<br></td></tr
><tr
id=sl_svn2_89

><td class="source">		darkkhaki:[189,183,107],<br></td></tr
><tr
id=sl_svn2_90

><td class="source">		darkmagenta:[139,0,139],<br></td></tr
><tr
id=sl_svn2_91

><td class="source">		darkolivegreen:[85,107,47],<br></td></tr
><tr
id=sl_svn2_92

><td class="source">		darkorange:[255,140,0],<br></td></tr
><tr
id=sl_svn2_93

><td class="source">		darkorchid:[153,50,204],<br></td></tr
><tr
id=sl_svn2_94

><td class="source">		darkred:[139,0,0],<br></td></tr
><tr
id=sl_svn2_95

><td class="source">		darksalmon:[233,150,122],<br></td></tr
><tr
id=sl_svn2_96

><td class="source">		darkviolet:[148,0,211],<br></td></tr
><tr
id=sl_svn2_97

><td class="source">		fuchsia:[255,0,255],<br></td></tr
><tr
id=sl_svn2_98

><td class="source">		gold:[255,215,0],<br></td></tr
><tr
id=sl_svn2_99

><td class="source">		green:[0,128,0],<br></td></tr
><tr
id=sl_svn2_100

><td class="source">		indigo:[75,0,130],<br></td></tr
><tr
id=sl_svn2_101

><td class="source">		khaki:[240,230,140],<br></td></tr
><tr
id=sl_svn2_102

><td class="source">		lightblue:[173,216,230],<br></td></tr
><tr
id=sl_svn2_103

><td class="source">		lightcyan:[224,255,255],<br></td></tr
><tr
id=sl_svn2_104

><td class="source">		lightgreen:[144,238,144],<br></td></tr
><tr
id=sl_svn2_105

><td class="source">		lightgrey:[211,211,211],<br></td></tr
><tr
id=sl_svn2_106

><td class="source">		lightpink:[255,182,193],<br></td></tr
><tr
id=sl_svn2_107

><td class="source">		lightyellow:[255,255,224],<br></td></tr
><tr
id=sl_svn2_108

><td class="source">		lime:[0,255,0],<br></td></tr
><tr
id=sl_svn2_109

><td class="source">		magenta:[255,0,255],<br></td></tr
><tr
id=sl_svn2_110

><td class="source">		maroon:[128,0,0],<br></td></tr
><tr
id=sl_svn2_111

><td class="source">		navy:[0,0,128],<br></td></tr
><tr
id=sl_svn2_112

><td class="source">		olive:[128,128,0],<br></td></tr
><tr
id=sl_svn2_113

><td class="source">		orange:[255,165,0],<br></td></tr
><tr
id=sl_svn2_114

><td class="source">		pink:[255,192,203],<br></td></tr
><tr
id=sl_svn2_115

><td class="source">		purple:[128,0,128],<br></td></tr
><tr
id=sl_svn2_116

><td class="source">		violet:[128,0,128],<br></td></tr
><tr
id=sl_svn2_117

><td class="source">		red:[255,0,0],<br></td></tr
><tr
id=sl_svn2_118

><td class="source">		silver:[192,192,192],<br></td></tr
><tr
id=sl_svn2_119

><td class="source">		white:[255,255,255],<br></td></tr
><tr
id=sl_svn2_120

><td class="source">		yellow:[255,255,0]<br></td></tr
><tr
id=sl_svn2_121

><td class="source">	};<br></td></tr
><tr
id=sl_svn2_122

><td class="source">	<br></td></tr
><tr
id=sl_svn2_123

><td class="source">})(jQuery);<br></td></tr
></table></pre>
<pre><table width="100%"><tr class="cursor_stop cursor_hidden"><td></td></tr></table></pre>
</td>
</tr></table>

 
<script type="text/javascript">
 var lineNumUnderMouse = -1;
 
 function gutterOver(num) {
 gutterOut();
 var newTR = document.getElementById('gr_svn2_' + num);
 if (newTR) {
 newTR.className = 'undermouse';
 }
 lineNumUnderMouse = num;
 }
 function gutterOut() {
 if (lineNumUnderMouse != -1) {
 var oldTR = document.getElementById(
 'gr_svn2_' + lineNumUnderMouse);
 if (oldTR) {
 oldTR.className = '';
 }
 lineNumUnderMouse = -1;
 }
 }
 var numsGenState = {table_base_id: 'nums_table_'};
 var srcGenState = {table_base_id: 'src_table_'};
 var alignerRunning = false;
 var startOver = false;
 function setLineNumberHeights() {
 if (alignerRunning) {
 startOver = true;
 return;
 }
 numsGenState.chunk_id = 0;
 numsGenState.table = document.getElementById('nums_table_0');
 numsGenState.row_num = 0;
 if (!numsGenState.table) {
 return; // Silently exit if no file is present.
 }
 srcGenState.chunk_id = 0;
 srcGenState.table = document.getElementById('src_table_0');
 srcGenState.row_num = 0;
 alignerRunning = true;
 continueToSetLineNumberHeights();
 }
 function rowGenerator(genState) {
 if (genState.row_num < genState.table.rows.length) {
 var currentRow = genState.table.rows[genState.row_num];
 genState.row_num++;
 return currentRow;
 }
 var newTable = document.getElementById(
 genState.table_base_id + (genState.chunk_id + 1));
 if (newTable) {
 genState.chunk_id++;
 genState.row_num = 0;
 genState.table = newTable;
 return genState.table.rows[0];
 }
 return null;
 }
 var MAX_ROWS_PER_PASS = 1000;
 function continueToSetLineNumberHeights() {
 var rowsInThisPass = 0;
 var numRow = 1;
 var srcRow = 1;
 while (numRow && srcRow && rowsInThisPass < MAX_ROWS_PER_PASS) {
 numRow = rowGenerator(numsGenState);
 srcRow = rowGenerator(srcGenState);
 rowsInThisPass++;
 if (numRow && srcRow) {
 if (numRow.offsetHeight != srcRow.offsetHeight) {
 numRow.firstChild.style.height = srcRow.offsetHeight + 'px';
 }
 }
 }
 if (rowsInThisPass >= MAX_ROWS_PER_PASS) {
 setTimeout(continueToSetLineNumberHeights, 10);
 } else {
 alignerRunning = false;
 if (startOver) {
 startOver = false;
 setTimeout(setLineNumberHeights, 500);
 }
 }
 }
 function initLineNumberHeights() {
 // Do 2 complete passes, because there can be races
 // between this code and prettify.
 startOver = true;
 setTimeout(setLineNumberHeights, 250);
 window.onresize = setLineNumberHeights;
 }
 initLineNumberHeights();
</script>

 
 
 <div id="log">
 <div style="text-align:right">
 <a class="ifCollapse" href="#" onclick="_toggleMeta('', 'p', 'newsmixer', this)">Show details</a>
 <a class="ifExpand" href="#" onclick="_toggleMeta('', 'p', 'newsmixer', this)">Hide details</a>
 </div>
 <div class="ifExpand">
 
 
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="changelog">
 <p>Change log</p>
 <div>
 <a href="/p/newsmixer/source/detail?spec=svn2&amp;r=2">r2</a>
 by benderbending
 on Dec 7, 2008
 &nbsp; <a href="/p/newsmixer/source/diff?spec=svn2&r=2&amp;format=side&amp;path=/trunk/pie/public/jquery.color.js&amp;old_path=/trunk/pie/public/jquery.color.js&amp;old=">Diff</a>
 </div>
 <pre>Crunchberry Pie? Sounds delicious!</pre>
 </div>
 
 
 
 
 
 
 <script type="text/javascript">
 var detail_url = '/p/newsmixer/source/detail?r=2&spec=svn2';
 var publish_url = '/p/newsmixer/source/detail?r=2&spec=svn2#publish';
 // describe the paths of this revision in javascript.
 var changed_paths = [];
 var changed_urls = [];
 
 changed_paths.push('/trunk/AUTHORS');
 changed_urls.push('/p/newsmixer/source/browse/trunk/AUTHORS?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/COPYING');
 changed_urls.push('/p/newsmixer/source/browse/trunk/COPYING?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/README');
 changed_urls.push('/p/newsmixer/source/browse/trunk/README?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/context_processors.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/context_processors.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/management');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/management?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/management/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/management/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/management/commands');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/management/commands?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/management/commands/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/management/commands/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/management/commands/installfacebooktemplates.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/management/commands/installfacebooktemplates.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/middleware.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/middleware.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/models.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/models.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/accounts');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/accounts?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/accounts/login.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/accounts/login.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/facebook');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/facebook/connect_button.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/connect_button.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/facebook/display.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/display.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/facebook/js.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/js.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/facebook/mosaic.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/mosaic.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templates/facebook/show_string.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/show_string.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templatetags');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templatetags?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templatetags/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templatetags/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/templatetags/facebook.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/templatetags/facebook.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/tests.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/tests.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/urls.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/urls.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/authentication/views.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/authentication/views.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/admin.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/admin.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/models.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/models.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates/bumbles');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates/bumbles/ajax_article_bumbles.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/ajax_article_bumbles.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates/bumbles/bumble.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumble.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates/bumbles/bumble_form.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumble_form.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates/bumbles/bumble_script.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumble_script.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates/bumbles/bumbles.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumbles.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templates/bumbles/profile_feed_bumble.html');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/profile_feed_bumble.html?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templatetags');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templatetags?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templatetags/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templatetags/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/templatetags/bumbles.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/templatetags/bumbles.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/urls.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/urls.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/bumbles/views.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/bumbles/views.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/facebook_templates.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/facebook_templates.py?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/letters');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/letters?r\x3d2\x26spec\x3dsvn2');
 
 
 changed_paths.push('/trunk/pie/letters/__init__.py');
 changed_urls.push('/p/newsmixer/source/browse/trunk/pie/letters/__init__.py?r\x3d2\x26spec\x3dsvn2');
 
 
 function getCurrentPageIndex() {
 for (var i = 0; i < changed_paths.length; i++) {
 if (selected_path == changed_paths[i]) {
 return i;
 }
 }
 }
 function getNextPage() {
 var i = getCurrentPageIndex();
 if (i < changed_paths.length - 1) {
 return changed_urls[i + 1];
 }
 return null;
 }
 function getPreviousPage() {
 var i = getCurrentPageIndex();
 if (i > 0) {
 return changed_urls[i - 1];
 }
 return null;
 }
 function gotoNextPage() {
 var page = getNextPage();
 if (!page) {
 page = detail_url;
 }
 window.location = page;
 }
 function gotoPreviousPage() {
 var page = getPreviousPage();
 if (!page) {
 page = detail_url;
 }
 window.location = page;
 }
 function gotoDetailPage() {
 window.location = detail_url;
 }
 function gotoPublishPage() {
 window.location = publish_url;
 }
</script>

 
 <style type="text/css">
 #review_nav {
 border-top: 3px solid white;
 padding-top: 6px;
 margin-top: 1em;
 }
 #review_nav td {
 vertical-align: middle;
 }
 #review_nav select {
 margin: .5em 0;
 }
 </style>
 <div id="review_nav">
 <table><tr><td>Go to:&nbsp;</td><td>
 <select name="files_in_rev" onchange="window.location=this.value">
 
 <option value="/p/newsmixer/source/browse/trunk/AUTHORS?r=2&amp;spec=svn2"
 
 >/trunk/AUTHORS</option>
 
 <option value="/p/newsmixer/source/browse/trunk/COPYING?r=2&amp;spec=svn2"
 
 >/trunk/COPYING</option>
 
 <option value="/p/newsmixer/source/browse/trunk/README?r=2&amp;spec=svn2"
 
 >/trunk/README</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie?r=2&amp;spec=svn2"
 
 >/trunk/pie</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/__init__.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/__init__.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication?r=2&amp;spec=svn2"
 
 >/trunk/pie/authentication</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/__init__.py?r=2&amp;spec=svn2"
 
 >...k/pie/authentication/__init__.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/context_processors.py?r=2&amp;spec=svn2"
 
 >...entication/context_processors.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/management?r=2&amp;spec=svn2"
 
 >...nk/pie/authentication/management</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/management/__init__.py?r=2&amp;spec=svn2"
 
 >...ntication/management/__init__.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/management/commands?r=2&amp;spec=svn2"
 
 >...thentication/management/commands</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/management/commands/__init__.py?r=2&amp;spec=svn2"
 
 >.../management/commands/__init__.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/management/commands/installfacebooktemplates.py?r=2&amp;spec=svn2"
 
 >...ands/installfacebooktemplates.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/middleware.py?r=2&amp;spec=svn2"
 
 >...pie/authentication/middleware.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/models.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/authentication/models.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates?r=2&amp;spec=svn2"
 
 >/trunk/pie/authentication/templates</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/accounts?r=2&amp;spec=svn2"
 
 >...uthentication/templates/accounts</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/accounts/login.html?r=2&amp;spec=svn2"
 
 >...on/templates/accounts/login.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook?r=2&amp;spec=svn2"
 
 >...uthentication/templates/facebook</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/connect_button.html?r=2&amp;spec=svn2"
 
 >...tes/facebook/connect_button.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/display.html?r=2&amp;spec=svn2"
 
 >.../templates/facebook/display.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/js.html?r=2&amp;spec=svn2"
 
 >...ation/templates/facebook/js.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/mosaic.html?r=2&amp;spec=svn2"
 
 >...n/templates/facebook/mosaic.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templates/facebook/show_string.html?r=2&amp;spec=svn2"
 
 >...plates/facebook/show_string.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templatetags?r=2&amp;spec=svn2"
 
 >.../pie/authentication/templatetags</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templatetags/__init__.py?r=2&amp;spec=svn2"
 
 >...ication/templatetags/__init__.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/templatetags/facebook.py?r=2&amp;spec=svn2"
 
 >...ication/templatetags/facebook.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/tests.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/authentication/tests.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/urls.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/authentication/urls.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/authentication/views.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/authentication/views.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/__init__.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles/__init__.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/admin.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles/admin.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/models.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles/models.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles/templates</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles?r=2&amp;spec=svn2"
 
 >...nk/pie/bumbles/templates/bumbles</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/ajax_article_bumbles.html?r=2&amp;spec=svn2"
 
 >...umbles/ajax_article_bumbles.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumble.html?r=2&amp;spec=svn2"
 
 >...es/templates/bumbles/bumble.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumble_form.html?r=2&amp;spec=svn2"
 
 >...mplates/bumbles/bumble_form.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumble_script.html?r=2&amp;spec=svn2"
 
 >...lates/bumbles/bumble_script.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/bumbles.html?r=2&amp;spec=svn2"
 
 >...s/templates/bumbles/bumbles.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templates/bumbles/profile_feed_bumble.html?r=2&amp;spec=svn2"
 
 >...bumbles/profile_feed_bumble.html</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templatetags?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles/templatetags</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templatetags/__init__.py?r=2&amp;spec=svn2"
 
 >...bumbles/templatetags/__init__.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/templatetags/bumbles.py?r=2&amp;spec=svn2"
 
 >.../bumbles/templatetags/bumbles.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/urls.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles/urls.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/bumbles/views.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/bumbles/views.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/facebook_templates.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/facebook_templates.py</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/letters?r=2&amp;spec=svn2"
 
 >/trunk/pie/letters</option>
 
 <option value="/p/newsmixer/source/browse/trunk/pie/letters/__init__.py?r=2&amp;spec=svn2"
 
 >/trunk/pie/letters/__init__.py</option>
 
 </select>
 </td></tr></table>
 
 
 



 
 </div>
 
 
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="older_bubble">
 <p>Older revisions</p>
 
 <a href="/p/newsmixer/source/list?path=/trunk/pie/public/jquery.color.js&start=2">All revisions of this file</a>
 </div>
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="fileinfo_bubble">
 <p>File info</p>
 
 <div>Size: 3660 bytes,
 123 lines</div>
 
 <div><a href="//newsmixer.googlecode.com/svn-history/r2/trunk/pie/public/jquery.color.js">View raw file</a></div>
 </div>
 
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 </div>
 </div>


</div>

</div>
</div>

<script src="http://www.gstatic.com/codesite/ph/2215219717728297356/js/prettify/prettify.js"></script>
<script type="text/javascript">prettyPrint();</script>


<script src="http://www.gstatic.com/codesite/ph/2215219717728297356/js/source_file_scripts.js"></script>

 <script type="text/javascript" src="https://kibbles.googlecode.com/files/kibbles-1.3.3.comp.js"></script>
 <script type="text/javascript">
 var lastStop = null;
 var initialized = false;
 
 function updateCursor(next, prev) {
 if (prev && prev.element) {
 prev.element.className = 'cursor_stop cursor_hidden';
 }
 if (next && next.element) {
 next.element.className = 'cursor_stop cursor';
 lastStop = next.index;
 }
 }
 
 function pubRevealed(data) {
 updateCursorForCell(data.cellId, 'cursor_stop cursor_hidden');
 if (initialized) {
 reloadCursors();
 }
 }
 
 function draftRevealed(data) {
 updateCursorForCell(data.cellId, 'cursor_stop cursor_hidden');
 if (initialized) {
 reloadCursors();
 }
 }
 
 function draftDestroyed(data) {
 updateCursorForCell(data.cellId, 'nocursor');
 if (initialized) {
 reloadCursors();
 }
 }
 function reloadCursors() {
 kibbles.skipper.reset();
 loadCursors();
 if (lastStop != null) {
 kibbles.skipper.setCurrentStop(lastStop);
 }
 }
 // possibly the simplest way to insert any newly added comments
 // is to update the class of the corresponding cursor row,
 // then refresh the entire list of rows.
 function updateCursorForCell(cellId, className) {
 var cell = document.getElementById(cellId);
 // we have to go two rows back to find the cursor location
 var row = getPreviousElement(cell.parentNode);
 row.className = className;
 }
 // returns the previous element, ignores text nodes.
 function getPreviousElement(e) {
 var element = e.previousSibling;
 if (element.nodeType == 3) {
 element = element.previousSibling;
 }
 if (element && element.tagName) {
 return element;
 }
 }
 function loadCursors() {
 // register our elements with skipper
 var elements = CR_getElements('*', 'cursor_stop');
 var len = elements.length;
 for (var i = 0; i < len; i++) {
 var element = elements[i]; 
 element.className = 'cursor_stop cursor_hidden';
 kibbles.skipper.append(element);
 }
 }
 function toggleComments() {
 CR_toggleCommentDisplay();
 reloadCursors();
 }
 function keysOnLoadHandler() {
 // setup skipper
 kibbles.skipper.addStopListener(
 kibbles.skipper.LISTENER_TYPE.PRE, updateCursor);
 // Set the 'offset' option to return the middle of the client area
 // an option can be a static value, or a callback
 kibbles.skipper.setOption('padding_top', 50);
 // Set the 'offset' option to return the middle of the client area
 // an option can be a static value, or a callback
 kibbles.skipper.setOption('padding_bottom', 100);
 // Register our keys
 kibbles.skipper.addFwdKey("n");
 kibbles.skipper.addRevKey("p");
 kibbles.keys.addKeyPressListener(
 'u', function() { window.location = detail_url; });
 kibbles.keys.addKeyPressListener(
 'r', function() { window.location = detail_url + '#publish'; });
 
 kibbles.keys.addKeyPressListener('j', gotoNextPage);
 kibbles.keys.addKeyPressListener('k', gotoPreviousPage);
 
 
 }
 </script>
<script src="http://www.gstatic.com/codesite/ph/2215219717728297356/js/code_review_scripts.js"></script>
<script type="text/javascript">
 function showPublishInstructions() {
 var element = document.getElementById('review_instr');
 if (element) {
 element.className = 'opened';
 }
 }
 var codereviews;
 function revsOnLoadHandler() {
 // register our source container with the commenting code
 var paths = {'svn2': '/trunk/pie/public/jquery.color.js'}
 codereviews = CR_controller.setup(
 {"assetHostPath":"http://www.gstatic.com/codesite/ph","projectName":"newsmixer","projectHomeUrl":"/p/newsmixer","urlPrefix":"p","domainName":null,"relativeBaseUrl":"","profileUrl":["/u/@UBBTQlNVAhZCWAh%2BGQ%3D%3D/"],"token":"e7ada8c9c2487022dca4700e2d1a1b7f","assetVersionPath":"http://www.gstatic.com/codesite/ph/2215219717728297356","absoluteBaseUrl":"http://code.google.com","loggedInUserEmail":"shibuki.auaua@gmail.com"}, '', 'svn2', paths,
 CR_BrowseIntegrationFactory);
 
 codereviews.registerActivityListener(CR_ActivityType.REVEAL_DRAFT_PLATE, showPublishInstructions);
 
 codereviews.registerActivityListener(CR_ActivityType.REVEAL_PUB_PLATE, pubRevealed);
 codereviews.registerActivityListener(CR_ActivityType.REVEAL_DRAFT_PLATE, draftRevealed);
 codereviews.registerActivityListener(CR_ActivityType.DISCARD_DRAFT_COMMENT, draftDestroyed);
 
 
 
 
 
 
 
 var initialized = true;
 reloadCursors();
 }
 window.onload = function() {keysOnLoadHandler(); revsOnLoadHandler();};

</script>
<script type="text/javascript" src="http://www.gstatic.com/codesite/ph/2215219717728297356/js/dit_scripts.js"></script>

 
 
 
 <script type="text/javascript" src="http://www.gstatic.com/codesite/ph/2215219717728297356/js/ph_core.js"></script>
 
 
 
 
 <script type="text/javascript" src="/js/codesite_product_dictionary_ph.pack.04102009.js"></script>
</div> 
<div id="footer" dir="ltr">
 <div class="text">
 &copy;2011 Google -
 <a href="/projecthosting/terms.html">Terms</a> -
 <a href="http://www.google.com/privacy.html">Privacy</a> -
 <a href="/p/support/">Project Hosting Help</a>
 </div>
</div>
 <div class="hostedBy" style="margin-top: -20px;">
 <span style="vertical-align: top;">Powered by <a href="http://code.google.com/projecthosting/">Google Project Hosting</a></span>
 </div>
 
 


 
 </body>
</html>


