/* DO NOT EDIT. THIS IS A CACHE FILE AND WILL GET OVERWRITTEN RANDOMLY.
INSTEAD EDIT THE TEMPLATE FROM WITHIN THE ADMIN ZONE, OR BY MANUALLY EDITING A TEMPLATES_CUSTOM OVERRIDE. */


var thumbFadeTimers=[];function nereidFade(fadeElement,destPercentOpacity,periodInMsecs,increment)
{if(!fadeElement)return;if(typeof thumbFadeTimers=='undefined')return;if(typeof fadeElement.faderKey=='undefined')fadeElement.faderKey=fadeElement.id+'_'+Math.round(Math.random()*10000);if(thumbFadeTimers[fadeElement.faderKey])
{window.clearTimeout(thumbFadeTimers[fadeElement.faderKey]);thumbFadeTimers[fadeElement.faderKey]=null;}
var again;if((window.is_ie)&&(is_ie())&&(typeof fadeElement.style.opacity=='undefined'))
{if((typeof fadeElement.filters=='undefined')||(typeof fadeElement.filters=='unknown'))fadeElement.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity='100')";if((typeof fadeElement.filters=='undefined')||(typeof fadeElement.filters=='unknown')||(!fadeElement.filters['DXImageTransform.Microsoft.Alpha']))return;var diff=destPercentOpacity-fadeElement.filters['DXImageTransform.Microsoft.Alpha'].opacity;fadeElement.filters['DXImageTransform.Microsoft.Alpha'].enabled=1;var direction=1;if(increment>0)
{if(fadeElement.filters['DXImageTransform.Microsoft.Alpha'].opacity>destPercentOpacity)
{direction=-1;}
increment=Math.min(direction*diff,increment);}else
{if(fadeElement.filters['DXImageTransform.Microsoft.Alpha'].opacity<destPercentOpacity)
{direction=-1;}
increment=Math.max(direction*diff,increment);}
fadeElement.filters['DXImageTransform.Microsoft.Alpha'].opacity+=direction*increment;again=(fadeElement.filters['DXImageTransform.Microsoft.Alpha'].opacity!=destPercentOpacity);if((!again)&&(destPercentOpacity==100))
{fadeElement.filters['DXImageTransform.Microsoft.Alpha'].enabled=0;}}else
{if(fadeElement.style.opacity)
{var diff=(destPercentOpacity/100.0)-fadeElement.style.opacity;var direction=1;if(increment>0)
{if(fadeElement.style.opacity>destPercentOpacity/100.0)
{direction=-1;}
var new_increment=Math.min(direction*diff,increment/100.0);}else
{if(fadeElement.style.opacity<destPercentOpacity/100.0)
{direction=-1;}
var new_increment=Math.max(direction*diff,increment/100.0);}
var temp=parseFloat(fadeElement.style.opacity)+direction*new_increment;fadeElement.style.opacity=temp;again=(temp!=destPercentOpacity/100.0);}else again=true;}
if(again)
{thumbFadeTimers[fadeElement.faderKey]=window.setTimeout(function(){nereidFade(fadeElement,destPercentOpacity,periodInMsecs,increment);},periodInMsecs);}}
function expandImages()
{var te_pos=window.location.href.indexOf('&te_');if(te_pos==-1)te_pos=window.location.href.indexOf('?te_');if(te_pos==-1)return;var a=window.location.href.indexOf('=1',te_pos);var b=window.location.href.indexOf('=0',te_pos);if(((b<a)&&(b!=-1))||(a==-1))return;var to_do=window.location.href.substring(te_pos+4,a);if(to_do=='all')
{var i;var posts=document.getElementsByTagName('td');for(i=0;i<posts.length;i++)
{if(posts[i].id.substring(0,3)=='pe_')
{expandPost(posts[i]);}}
expandPost(document.getElementById('pe_cedi_page_description'));}else expandPost(document.getElementById('pe_'+to_do));}
function expandPost(post)
{if(!post)return;var i;var images=post.getElementsByTagName('img');var pass_id,first,second;for(i=0;i<images.length;i++)
{first=2;pass_id=images[i].id.substring(first+1);images[i].src=eval("te_"+pass_id);images[i].thumb_expanded=1;}}
