
/* - actions.js - */
// http://www.anonymizer.com/portal_javascripts/actions.js?original=1
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(2(jq){jq.b.D=jq.b.g=2(7){7=7||p;i=2(1){j(1);1.5=jq("r",1);1.5.q(":o(0)").l().C();1.6=0;h(1)};h=2(1){1.m=t(2(){f(1)},7)};j=2(1){s(1.m)};a=2(1){1.4=9};d=2(1){1.4=c};f=2(1){e(1.4)8;1.4=9;jq(1.5[1.6]).n("k",2(){jq(3).l();1.6=++1.6%(1.5.B());jq(1.5[1.6]).z("k",2(){1.4=c})})};3.y(2(){e(3.x.w()!="A")8;i(3)}).v("g").u(2(){a(3)},2(){d(3)});8 3}})(E);',41,41,'|el|function|this|pause|items|currentitem|delay|return|true|pauseTicker|fn|false|resumeTicker|if|doTick|newsticker|startTicker|initTicker|stopTicker|slow|hide|tickfn|fadeOut|eq|6000|not|li|clearInterval|setInterval|hover|addClass|toLowerCase|nodeName|each|fadeIn|ul|size|end|newsTicker|jQuery'.split('|'),0,{}));(function(a){a.fn.tinyTips=function(h,b){if(h==="null"){h="light"}var d=h+"Tip";var c='<div class="'+d+'"><div class="content"></div><div class="bottom">&nbsp;</div></div>';var e=300;var f;var g;a(this).hover(function(){a("body").append(c);var k="div."+d;f=a(k);f.hide();if(b==="title"){var i=a(this).attr("title")}else{if(b!=="title"){var i=b}}a(k+" .content").html(i);g=a(this).attr("title");a(this).attr("title","");var m=f.height()+2;var j=(f.width()/2)-(a(this).width()/2);var n=a(this).offset();var l=n;l.top=n.top-m;l.left=n.left-j;f.css("position","absolute").css("z-index","1000");f.css(l).fadeIn(e)},function(){a(this).attr("title",g);f.fadeOut(e,function(){a(this).remove()})})}})(jQuery);(function(jq){jq.prettyPhoto={version:'2.5.6'};jq.fn.prettyPhoto=function(settings){settings=jQuery.extend({animationSpeed:'normal',opacity:0.80,showTitle:true,allowresize:true,default_width:500,default_height:344,counter_separator_label:'/',theme:'light_rounded',hideflash:false,wmode:'opaque',autoplay:true,modal:false,changepicturecallback:function(){},callback:function(){},markup:'<div class="pp_pic_holder">\<div class="pp_top">\<div class="pp_left"></div>\<div class="pp_middle"></div>\<div class="pp_right"></div>\</div>\<div class="pp_content_container">\<div class="pp_left">\<div class="pp_right">\<div class="pp_content">\<div class="pp_loaderIcon"></div>\<div class="pp_fade">\<a href="#" class="pp_expand" title="Expand the image">Expand</a>\<div class="pp_hoverContainer">\<a class="pp_next" href="#">next</a>\<a class="pp_previous" href="#">previous</a>\</div>\<div id="pp_full_res"></div>\<div class="pp_details clearfix">\<a class="pp_close" href="#">Close</a>\<p class="pp_description"></p>\<div class="pp_nav">\<a href="#" class="pp_arrow_previous">Previous</a>\<p class="currentTextHolder">0/0</p>\<a href="#" class="pp_arrow_next">Next</a>\</div>\</div>\</div>\</div>\</div>\</div>\</div>\<div class="pp_bottom">\<div class="pp_left"></div>\<div class="pp_middle"></div>\<div class="pp_right"></div>\</div>\</div>\<div class="pp_overlay"></div>\<div class="ppt"></div>',image_markup:'<img id="fullResImage" src=""/>',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}"/><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline clearfix">{content}</div>'},settings);if(jq.browser.msie&&parseInt(jq.browser.version)==6){settings.theme="light_square"}
if(jq('.pp_overlay').size()==0)_buildOverlay();var doresize=true,percentBased=false,correctSizes,jqpp_pic_holder,jqppt,jqpp_overlay,pp_contentHeight,pp_contentWidth,pp_containerHeight,pp_containerWidth,windowHeight=jq(window).height(),windowWidth=jq(window).width(),setPosition=0,scrollPos=_getScroll();jq(window).scroll(function(){scrollPos=_getScroll();_centerOverlay();_resizeOverlay()});jq(window).resize(function(){_centerOverlay();_resizeOverlay()});jq(document).keydown(function(e){if(jqpp_pic_holder.is(':visible'))
switch(e.keyCode){case 37:jq.prettyPhoto.changePage('previous');break;case 39:jq.prettyPhoto.changePage('next');break;case 27:if(!settings.modal)
jq.prettyPhoto.close();break}});jq(this).each(function(){jq(this).bind('click',function(){_self=this;theRel=jq(this).attr('rel');galleryRegExp=/\[(?:.*)\]/;theGallery=galleryRegExp.exec(theRel);var images=new Array(),titles=new Array(),descriptions=new Array();if(theGallery){jq('a[rel*='+theGallery+']').each(function(i){if(jq(this)[0]===jq(_self)[0])setPosition=i;images.push(jq(this).attr('href'));titles.push(jq(this).find('img').attr('alt'));descriptions.push(jq(this).attr('title'))})}else{images=jq(this).attr('href');titles=(jq(this).find('img').attr('alt'))?jq(this).find('img').attr('alt'):'';descriptions=(jq(this).attr('title'))?jq(this).attr('title'):''}
jq.prettyPhoto.open(images,titles,descriptions);return false})});jq.prettyPhoto.open=function(gallery_images,gallery_titles,gallery_descriptions){if(jq.browser.msie&&jq.browser.version==6){jq('select').css('visibility','hidden')};if(settings.hideflash)jq('object,embed').css('visibility','hidden');images=jq.makeArray(gallery_images);titles=jq.makeArray(gallery_titles);descriptions=jq.makeArray(gallery_descriptions);image_set=(jq(images).size()>0)?true:false;_checkPosition(jq(images).size());jq('.pp_loaderIcon').show();jqpp_overlay.show().fadeTo(settings.animationSpeed,settings.opacity);jqpp_pic_holder.find('.currentTextHolder').text((setPosition+1)+settings.counter_separator_label+jq(images).size());if(descriptions[setPosition]){jqpp_pic_holder.find('.pp_description').show().html(unescape(descriptions[setPosition]))}else{jqpp_pic_holder.find('.pp_description').hide().text('')};if(titles[setPosition]&&settings.showTitle){hasTitle=true;jqppt.html(unescape(titles[setPosition]))}else{hasTitle=false};movie_width=(parseFloat(grab_param('width',images[setPosition])))?grab_param('width',images[setPosition]):settings.default_width.toString();movie_height=(parseFloat(grab_param('height',images[setPosition])))?grab_param('height',images[setPosition]):settings.default_height.toString();if(movie_width.indexOf('%')!=-1||movie_height.indexOf('%')!=-1){movie_height=parseFloat((jq(window).height()*parseFloat(movie_height)/100)-100);movie_width=parseFloat((jq(window).width()*parseFloat(movie_width)/100)-100);percentBased=true}
jqpp_pic_holder.fadeIn(function(){imgPreloader="";switch(_getFileType(images[setPosition])){case'image':imgPreloader=new Image();nextImage=new Image();if(image_set&&setPosition>jq(images).size())nextImage.src=images[setPosition+1];prevImage=new Image();if(image_set&&images[setPosition-1])prevImage.src=images[setPosition-1];jqpp_pic_holder.find('#pp_full_res')[0].innerHTML=settings.image_markup;jqpp_pic_holder.find('#fullResImage').attr('src',images[setPosition]);imgPreloader.onload=function(){correctSizes=_fitToViewport(imgPreloader.width,imgPreloader.height);_showContent()};imgPreloader.onerror=function(){alert('Image cannot be loaded. Make sure the path is correct and image exist.');jq.prettyPhoto.close()};imgPreloader.src=images[setPosition];break;case'youtube':correctSizes=_fitToViewport(movie_width,movie_height);movie='http://www.youtube.com/v/'+grab_param('v',images[setPosition]);if(settings.autoplay)movie+="&autoplay=1";toInject=settings.flash_markup.replace(/{width}/g,correctSizes['width']).replace(/{height}/g,correctSizes['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case'vimeo':correctSizes=_fitToViewport(movie_width,movie_height);movie_id=images[setPosition];movie='http://vimeo.com/moogaloop.swf?clip_id='+movie_id.replace('http://vimeo.com/','');if(settings.autoplay)movie+="&autoplay=1";toInject=settings.flash_markup.replace(/{width}/g,correctSizes['width']).replace(/{height}/g,correctSizes['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case'quicktime':correctSizes=_fitToViewport(movie_width,movie_height);correctSizes['height']+=15;correctSizes['contentHeight']+=15;correctSizes['containerHeight']+=15;toInject=settings.quicktime_markup.replace(/{width}/g,correctSizes['width']).replace(/{height}/g,correctSizes['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,images[setPosition]).replace(/{autoplay}/g,settings.autoplay);break;case'flash':correctSizes=_fitToViewport(movie_width,movie_height);flash_vars=images[setPosition];flash_vars=flash_vars.substring(images[setPosition].indexOf('flashvars')+10,images[setPosition].length);filename=images[setPosition];filename=filename.substring(0,filename.indexOf('?'));toInject=settings.flash_markup.replace(/{width}/g,correctSizes['width']).replace(/{height}/g,correctSizes['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+'?'+flash_vars);break;case'iframe':correctSizes=_fitToViewport(movie_width,movie_height);frame_url=images[setPosition];frame_url=frame_url.substr(0,frame_url.indexOf('iframe')-1);toInject=settings.iframe_markup.replace(/{width}/g,correctSizes['width']).replace(/{height}/g,correctSizes['height']).replace(/{path}/g,frame_url);break;case'inline':myClone=jq(images[setPosition]).clone().css({'width':settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline clearfix"></div></div>').appendTo(jq('body'));correctSizes=_fitToViewport(jq(myClone).width(),jq(myClone).height());jq(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,jq(images[setPosition]).html());break;};if(!imgPreloader){jqpp_pic_holder.find('#pp_full_res')[0].innerHTML=toInject;_showContent();};});};jq.prettyPhoto.changePage=function(direction){if(direction=='previous'){setPosition--;if(setPosition<0){setPosition=0;return;};}else{if(jq('.pp_arrow_next').is('.disabled'))return;setPosition++;};if(!doresize)doresize=true;_hideContent(function(){jq.prettyPhoto.open(images,titles,descriptions)});jq('a.pp_expand,a.pp_contract').fadeOut(settings.animationSpeed);};jq.prettyPhoto.close=function(){jqpp_pic_holder.find('object,embed').css('visibility','hidden');jq('div.pp_pic_holder,div.ppt,.pp_fade').fadeOut(settings.animationSpeed);jqpp_overlay.fadeOut(settings.animationSpeed,function(){jq('#pp_full_res').html('');jqpp_pic_holder.attr('style','').find('div:not(.pp_hoverContainer)').attr('style','');_centerOverlay();if(jq.browser.msie&&jq.browser.version==6){jq('select').css('visibility','visible');};if(settings.hideflash)jq('object,embed').css('visibility','visible');setPosition=0;settings.callback();});doresize=true;};_showContent=function(){jq('.pp_loaderIcon').hide();projectedTop=scrollPos['scrollTop']+((windowHeight/2)-(correctSizes['containerHeight']/2));if(projectedTop<0)projectedTop=0+jqppt.height();jqpp_pic_holder.find('.pp_content').animate({'height':correctSizes['contentHeight']},settings.animationSpeed);jqpp_pic_holder.animate({'top':projectedTop,'left':(windowWidth/2)-(correctSizes['containerWidth']/2),'width':correctSizes['containerWidth']},settings.animationSpeed,function(){jqpp_pic_holder.find('.pp_hoverContainer,#fullResImage').height(correctSizes['height']).width(correctSizes['width']);jqpp_pic_holder.find('.pp_fade').fadeIn(settings.animationSpeed);if(image_set&&_getFileType(images[setPosition])=="image"){jqpp_pic_holder.find('.pp_hoverContainer').show()}else{jqpp_pic_holder.find('.pp_hoverContainer').hide()}
if(settings.showTitle&&hasTitle){jqppt.css({'top':jqpp_pic_holder.offset().top-25,'left':jqpp_pic_holder.offset().left+20,'display':'none'});jqppt.fadeIn(settings.animationSpeed)};if(correctSizes['resized'])jq('a.pp_expand,a.pp_contract').fadeIn(settings.animationSpeed);settings.changepicturecallback()})};function _hideContent(callback){jqpp_pic_holder.find('#pp_full_res object,#pp_full_res embed').css('visibility','hidden');jqpp_pic_holder.find('.pp_fade').fadeOut(settings.animationSpeed,function(){jq('.pp_loaderIcon').show();if(callback)callback()});jqppt.fadeOut(settings.animationSpeed)}
function _checkPosition(setCount){if(setPosition==setCount-1){jqpp_pic_holder.find('a.pp_next').css('visibility','hidden');jqpp_pic_holder.find('a.pp_arrow_next').addClass('disabled').unbind('click')}else{jqpp_pic_holder.find('a.pp_next').css('visibility','visible');jqpp_pic_holder.find('a.pp_arrow_next.disabled').removeClass('disabled').bind('click',function(){jq.prettyPhoto.changePage('next');return false})};if(setPosition==0){jqpp_pic_holder.find('a.pp_previous').css('visibility','hidden');jqpp_pic_holder.find('a.pp_arrow_previous').addClass('disabled').unbind('click')}else{jqpp_pic_holder.find('a.pp_previous').css('visibility','visible');jqpp_pic_holder.find('a.pp_arrow_previous.disabled').removeClass('disabled').bind('click',function(){jq.prettyPhoto.changePage('previous');return false})};if(setCount>1){jq('.pp_nav').show()}else{jq('.pp_nav').hide()}};function _fitToViewport(width,height){hasBeenResized=false;_getDimensions(width,height);imageWidth=width;imageHeight=height;if(((pp_containerWidth>windowWidth)||(pp_containerHeight>windowHeight))&&doresize&&settings.allowresize&&!percentBased){hasBeenResized=true;notFitting=true;while(notFitting){if((pp_containerWidth>windowWidth)){imageWidth=(windowWidth-200);imageHeight=(height/width)*imageWidth}else if((pp_containerHeight>windowHeight)){imageHeight=(windowHeight-200);imageWidth=(width/height)*imageHeight}else{notFitting=false};pp_containerHeight=imageHeight;pp_containerWidth=imageWidth};_getDimensions(imageWidth,imageHeight)};return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(pp_containerHeight),containerWidth:Math.floor(pp_containerWidth)+40,contentHeight:Math.floor(pp_contentHeight),contentWidth:Math.floor(pp_contentWidth),resized:hasBeenResized}};function _getDimensions(width,height){width=parseFloat(width);height=parseFloat(height);jqpp_details=jqpp_pic_holder.find('.pp_details');jqpp_details.width(width);detailsHeight=parseFloat(jqpp_details.css('marginTop'))+parseFloat(jqpp_details.css('marginBottom'));jqpp_details=jqpp_details.clone().appendTo(jq('body')).css({'position':'absolute','top':-10000});detailsHeight+=jqpp_details.height();detailsHeight=(detailsHeight<=34)?36:detailsHeight;if(jq.browser.msie&&jq.browser.version==7)detailsHeight+=8;jqpp_details.remove();pp_contentHeight=height+detailsHeight;pp_contentWidth=width;pp_containerHeight=pp_contentHeight+jqppt.height()+jqpp_pic_holder.find('.pp_top').height()+jqpp_pic_holder.find('.pp_bottom').height();pp_containerWidth=width}
function _getFileType(itemSrc){if(itemSrc.match(/youtube\.com\/watch/i)){return'youtube';}else if(itemSrc.match(/vimeo\.com/i)){return'vimeo';}else if(itemSrc.indexOf('.mov')!=-1){return'quicktime';}else if(itemSrc.indexOf('.swf')!=-1){return'flash';}else if(itemSrc.indexOf('iframe')!=-1){return'iframe'}else if(itemSrc.substr(0,1)=='#'){return'inline';}else{return'image';};};function _centerOverlay(){if(doresize){titleHeight=jqppt.height();contentHeight=jqpp_pic_holder.height();contentwidth=jqpp_pic_holder.width();projectedTop=(windowHeight/2)+scrollPos['scrollTop']-((contentHeight+titleHeight)/2);jqpp_pic_holder.css({'top':projectedTop,'left':(windowWidth/2)+scrollPos['scrollLeft']-(contentwidth/2)});jqppt.css({'top':projectedTop-titleHeight,'left':(windowWidth/2)+scrollPos['scrollLeft']-(contentwidth/2)+20})}};function _getScroll(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}}else if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}}else if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}};function _resizeOverlay(){windowHeight=jq(window).height();windowWidth=jq(window).width();jqpp_overlay.css({'height':jq(document).height()})};function _buildOverlay(){jq('body').append(settings.markup);jqpp_pic_holder=jq('.pp_pic_holder');jqppt=jq('.ppt');jqpp_overlay=jq('div.pp_overlay');jqpp_pic_holder.attr('class','pp_pic_holder '+settings.theme);jqpp_overlay.css({'opacity':0,'height':jq(document).height()}).bind('click',function(){if(!settings.modal)
jq.prettyPhoto.close()});jq('a.pp_close').bind('click',function(){jq.prettyPhoto.close();return false});jq('a.pp_expand').bind('click',function(){jqthis=jq(this);if(jqthis.hasClass('pp_expand')){jqthis.removeClass('pp_expand').addClass('pp_contract');doresize=false}else{jqthis.removeClass('pp_contract').addClass('pp_expand');doresize=true};_hideContent(function(){jq.prettyPhoto.open(images,titles,descriptions)});jqpp_pic_holder.find('.pp_fade').fadeOut(settings.animationSpeed);return false});jqpp_pic_holder.find('.pp_previous, .pp_arrow_previous').bind('click',function(){jq.prettyPhoto.changePage('previous');return false});jqpp_pic_holder.find('.pp_next, .pp_arrow_next').bind('click',function(){jq.prettyPhoto.changePage('next');return false})};_centerOverlay()};function grab_param(name,url){name=name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regexS="[\\?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(url);if(results==null)
return"";else
return results[1]}})(jQuery);(function(jq){var current=null;jq.fn.rssfeed=function(url,options){var defaults={limit:10,header:true,titletag:'h4',date:true,content:true,snippet:true,showerror:true,errormsg:'',key:null};var options=jq.extend(defaults,options);return this.each(function(i,e){var jqe=jq(e);if(!jqe.hasClass('rssFeed'))jqe.addClass('rssFeed');if(url==null)return false;var api="http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+url;if(options.limit!=null)api+="&num="+options.limit;if(options.key!=null)api+="&key="+options.key;jq.getJSON(api,function(data){if(data.responseStatus==200){_callback(e,data.responseData.feed,options)}else{if(options.showerror)
if(options.errormsg!=''){var msg=options.errormsg}else{var msg=data.responseDetails};jq(e).html('<div class="rssError"><p>'+msg+'</p></div>')}})})};var _callback=function(e,feeds,options){if(!feeds){return false}
var html='';var row='odd';if(options.header)
html+='<h2 class="rssHeader">'+'<a target="_blank" href="'+feeds.link+'" title="'+feeds.description+'">'+feeds.title+'</a>'+'</h2>';html+='<div class="rssBody">'+'<ul>';for(var i=0;i<feeds.entries.length;i++){var entry=feeds.entries[i];var entryDate=new Date(entry.publishedDate);var pubDate=entryDate.toLocaleDateString()+' '+entryDate.toLocaleTimeString();html+='<li class="rssRow '+row+'">'+'<'+options.titletag+'><a target="_blank" href="'+entry.link+'" title="View this feed at '+feeds.title+'">'+entry.title+'</a></'+options.titletag+'>'
if(options.date)html+='<div>'+pubDate+'</div>'
if(options.content){if(options.snippet&&entry.contentSnippet!=''){var content=entry.contentSnippet}else{var content=entry.content}
html+='<p>'+content+'</p>'}
html+='</li>';if(row=='odd'){row='even'}else{row='odd'}}
html+='</ul>'+'</div>'
jq(e).html(html)}})(jQuery);jQuery.fn.ytplaylist=function(options){var options=jQuery.extend({holderId:'ytvideo',playerHeight:'300',playerWidth:'450',addThumbs:false,thumbSize:'small',showInline:false,autoPlay:true,showRelated:true,allowFullScreen:false},options);return this.each(function(){var selector=jq(this);var autoPlay="";var showRelated="&rel=0";var fullScreen="";if(options.autoPlay)autoPlay="&autoplay=0";if(options.showRelated)showRelated="&rel=0";if(options.allowFullScreen)fullScreen="&fs=1";function play(id){var html='';html+='<object height="'+options.playerHeight+'" width="'+options.playerWidth+'">';html+='<param name="movie" value="http://www.youtube.com/v/'+id+autoPlay+showRelated+fullScreen+'"> </param>';html+='<param name="wmode" value="transparent"> </param>';if(options.allowFullScreen){html+='<param name="allowfullscreen" value="true"> </param>'}
html+='<embed src="http://www.youtube.com/v/'+id+autoPlay+showRelated+fullScreen+'"';if(options.allowFullScreen){html+=' allowfullscreen="true" '}
html+='type="application/x-shockwave-flash" wmode="transparent"  height="'+options.playerHeight+'" width="'+options.playerWidth+'"></embed>';html+='</object>';return html};function youtubeid(url){var ytid=url.match("[\\?&]v=([^&#]*)");ytid=ytid[1];return ytid};var firstVid=selector.children("li:first-child").addClass("currentvideo").children("a").attr("href");jq("#"+options.holderId+"").html(play(youtubeid(firstVid)));selector.children("li").children("a").click(function(){if(options.showInline){jq("li.currentvideo").removeClass("currentvideo");jq(this).parent("li").addClass("currentvideo").html(play(youtubeid(jq(this).attr("href"))))}
else{jq("#"+options.holderId+"").html(play(youtubeid(jq(this).attr("href"))));jq(this).parent().parent("ul").find("li.currentvideo").removeClass("currentvideo");jq(this).parent("li").addClass("currentvideo")}
return false});if(options.addThumbs){selector.children().each(function(i){var replacedText=jq(this).text();if(options.thumbSize=='small'){var thumbUrl="http://img.youtube.com/vi/"+youtubeid(jq(this).children("a").attr("href"))+"/2.jpg"}
else{var thumbUrl="http://img.youtube.com/vi/"+youtubeid(jq(this).children("a").attr("href"))+"/0.jpg"}
jq(this).children("a").empty().html("<img src='"+thumbUrl+"' alt='"+replacedText+"' /><br />"+replacedText).attr("title",replacedText)})}})};jq(function(){jq('#ip_address').newsticker();jq('a.tTip').tinyTips('light','title');jq('a.bTip').tinyTips('dark','title');jq('#protect li').delay(3000).toggle();jq('.tab_content, .tab_contents, .collapse, .legalblock, .sublegalblock, #za .substeps').hide();jq(".control a").click(function(){jq(".control a").removeClass("active");jq(this).addClass("active");jq(".tab_content, .legalblock").hide();var controlTab=jq(this).attr("href");jq(controlTab).show();return false});jq(".switch a").click(function(){jq(".switch a").removeClass("active");jq(this).addClass("active");jq(".sublegalblock").hide();var switchTab=jq(this).attr("href");jq(switchTab).show();return false});jq('#za .subcontrol a:first').addClass('active').show();jq('#za .substeps:first').show();jq('#za .subcontrol a').click(function(){jq("#za .subcontrol a").removeClass("active");jq(this).addClass("active");jq(".substeps").hide();var zaTab=jq(this).attr("href");jq(zaTab).show();return false});jq('.support .prod').hide().prev('p').mouseenter(function(){jq(this).next('.prod').slideDown(function(){jq(this).mouseleave(function(){jq(this).slideUp()})})});jq(".tab_content p.subheader:first").addClass("first");jq('.all').prepend('<span class="op">[+]</span><span class="cl hide">[-]</span>');jq('.op').click(function(){jq(this).parent('.all').find('span').toggleClass('hide');jq(this).nextAll('.collapse:hidden').slideDown()});jq('.cl').click(function(){jq(this).parent('.all').find('span').toggleClass('hide');jq(this).nextAll('.collapse').slideUp()});jq('.all h6').hover(function(){jq(this).toggleClass('color')}).click(function(){jq(this).next('div').slideToggle()});jq('#business .overview h3 span, #business .overview h3 a').hide().delay(3000).fadeIn();jq('#blog').rssfeed('http://www.theprivacyblog.com/feed/',{limit:3,content:false});jq(function(){jq("ul.yt").ytplaylist({addThumbs:true,autoPlay:false,holderId:'ytvideo'})});jq('a[rel^="ltebox"]').prettyPhoto({theme:'dark_rounded'});jq('.instructions .control span').hover(function(){jq(this).toggleClass('color')}).click(function(){jq('.instructions .control span, .install').toggle()});jq('.steps b a').click(function(){jq('html, body').animate({scrollTop:0},'slow');return false});jq('.archive h5 a, .months a').click(function(){return false});jq('.archive h5 a').mouseenter(function(){jq('.archive h5 a').removeClass('highlight');jq(this).addClass('highlight');jq('.months:visible').hide();jq('.archive-items > div:visible').hide();var showItem=jq(this).attr('href');jq(showItem).show()});jq('.months a').mouseenter(function(){jq('.months a').removeClass('highlight');jq(this).addClass('highlight');jq('.archive-items > div:visible').hide();var showItem=jq(this).attr('href');jq(showItem).show()});jq('.archive-items').mouseleave(function(){jq('.archive h5 a').removeClass('highlight');jq('.months:visible').fadeOut();jq('.archive-items > div:visible').fadeOut()});jq(".tns-test nav a").click(function(){jq(".tns-test nav a").removeClass("active");jq(this).addClass("active");jq(".tab_contents").hide();var activeTab=jq(this).attr("href");jq(activeTab).show();return false});jq(".seo").click(function(){jq(this).next('.seo-copy').toggle().find('.close').click(function(){jq(this).parent('.seo-copy').hide();return false});return false});jq('.seo-open').click(function(event){jq('.seo-show').toggle();event.preventDefault()});jq('.seo-close').click(function(event){jq('.seo-show').hide();event.preventDefault()});jq("#backnav").hover(function(){jq(this).toggleClass('shown');jq("#links").toggle()});jq('#q5a_help, #q5b_help, #q5c_help, #q5d_help').parent().addClass('move');jq('#q6_help').parent().addClass('aftermove');jq('#portal-globalnav li a').removeAttr('title');if(location.hash!=""){var target=location.hash.split("#")[1]
jq(location.hash).fadeIn();jq('.sublegalblock:first').show();jq('.tns-test nav a[href=#'+target+'], #left #menu a[href=#'+target+'], .control a[href=#'+target+'], .switch a:first').addClass('active');jq('html, body').animate({scrollTop:0},300)} else{jq('.tns-test nav a:first, .control a:first, .switch a:first, #left #menu a:first').addClass('active').show();jq('.tab_content:first, .tab_contents:first, .legalblock:first, .sublegalblock:first').show();jq('#right > div:first').fadeIn()}
jq('#left #menu a').click(function(){jq('#left #menu a').removeClass('active');jq(this).addClass('active');var showProd=jq(this).attr('href');jq('#right > div:visible').hide();jq(showProd).fadeIn();return false});jq('.control-all span').hover(function(){jq(this).toggleClass('color')}).click(function(){jq('.control-all span').toggle()});jq('.control-all .open').click(function(){jq('.answer').slideDown()});jq('.control-all .close').click(function(){jq('.answer').slideUp()});jq('#faq ul li:odd').addClass('answer').hide();jq('#faq ul li:even').click(function(){jq(this).next('li').slideToggle()});var contactUs='<h2>Anonymizer Support</h2><div id="contact"><span>Contact Us</span><div class="more"><p>If you have additional questions about our Home User products please contact us directly</p><div class="clear"><p id="chat"><a href="https://server1.clickandchat.com/chat/chatstart.htm?domain=www.anonymizer.com&session=373-1324402756484" target="_blank">Chat</a></p><p id="email"><a href="http://www.anonymizer.com/support/email-support-1">Email</a></p><p id="call"><span>1-888-270-0141<i>Within U.S.</i></span> <span>1-858-866-1399<i>Outside U.S.</i></span> Mon - Fri | 7:30am - 5:00pm PST</p></div></div></div>'
jq('.section-support').find('#content').prepend(contactUs);var contact=jq('#contact');var viewArea=jq('#view-area');var slides=viewArea.find('.slide').find('div');var slide=viewArea.find('.slide').find('div').length;var viewOption=jq('.newcontrol').children('a');var moveSlide=jq('.slide');var comb=584 * slide
var control=jq('.newcontrol').find('span');var firewall=jq('#software-firewall');var vendorWare=jq('.vendor').children('h6');var vendorVersion=jq('.version-ctl');contact.delegate('span','click', function(){contact.find('.more').slideToggle(300);jq(this).toggleClass('open')});jq('.i, .o').click(function(){jq('.i, .o, .newcontrol span').toggleClass('selected');jq('.slide').fadeToggle().css('marginLeft',0);jq('.newcontrol span a').removeClass('active');jq('.newcontrol span:visible a:first-child').addClass('active')});moveSlide.css('width',comb);slides.prepend('<span class="next"><a href="#" class="pv">&laquo; back</a><a href="#" class="nx"> next &raquo;</a></span>');moveSlide.children('div:last-child').find('.nx').replaceWith('<a href="#" class="st">back to Step 1</a>');control.delegate('a','click', function(e){var trigger=jq(this).attr("rel")-1;var position=trigger * 584;control.find('a').removeClass('active');jq(this).addClass('active');jq('.slide').animate({marginLeft:-position},500);e.preventDefault()});viewOption.click(function(e){viewOption.toggle();viewArea.toggleClass('tall');e.preventDefault()});slides.find('span').delegate('a','click', function(e){var active=jq('.newcontrol').find('.active').removeClass('active');var speed=500;if(jq(this).is('.pv')){active.prev('a').addClass('active');moveSlide.animate({marginLeft:'+=584'},speed)} else if(jq(this).is('.st')){active;jq('.newcontrol').find('span').find('a:first-child').addClass('active');moveSlide.animate({marginLeft:'0'},1500)} else{active.next('a').addClass('active');moveSlide.animate({marginLeft:'-=584'},speed)}
e.preventDefault()});firewall.delegate('a','click', function(e){var thisLink=jq(this).attr('href');if(jq(thisLink).is(':visible')){} else{firewall.find('a').removeClass('color');jq(this).addClass('color');jq('.vendor, #wide').hide();jq('#tall').show();viewArea.removeClass('tall');moveSlide.css('marginLeft',0);vendorVersion.find('a').removeClass('active')
vendorVersion.find('a:first-child').addClass('active');jq('.newcontrol .active, .vendor > h6 a').removeClass('active')
jq('.vendor > h6 a:first-child, .newcontrol span a:first-child').addClass('active');jq(thisLink).fadeIn().find('.y11').hide()}
e.preventDefault()});vendorWare.find('a:first-child').addClass('active');vendorWare.delegate('a','click', function(e){var home=jq(this).parent().parent();var year=jq(this).attr('href').split('#')[1];var yearClass="."+year;if(jq(yearClass).is(':visible')){} else{vendorWare.find('a').toggleClass('active');jq('.vendor > div:visible').hide();home.find(yearClass).fadeIn()}
e.preventDefault()});vendorVersion.find('a:first-child').addClass('active');vendorVersion.delegate('a','click', function(e){var ver=jq(this).attr('href');if(jq(ver).is(':visible')){} else{vendorVersion.find('a').removeClass('active');jq('.versions:visible').hide();moveSlide.css('marginLeft',0);jq('.newcontrol .active, .vendor > h6 a').removeClass('active')
jq(this,'.vendor > h6 a:first-child, .newcontrol span a:first-child').addClass('active');jq(ver).fadeIn()}
e.preventDefault()});jq('a[href=""]').addClass('dead').click(function(e){e.preventDefault()});jq('.control').delegate('option','click', function(){var showMe=jq(this).attr('label');jq('.tab_content').hide();jq(showMe).fadeIn()});jq('.steps > div').prepend('<p class="slide-ctl"><span class="tall">Tall View</span><span class="slide">Slide View</span><span class="prev">&laquo; prev</span><span class="next">next &raquo;</span></p>');jq('.steps > div:first-child').addClass('selected').find('.prev').hide();jq('.steps > div:last-child').find('.next').replaceWith('<span class="back">back to step 1</span>');jq('.steps').delegate('.next','click', function(){jq(this).parent().parent().slideUp().next('div').slideDown()}).delegate('.prev','click', function(){jq(this).parent().parent().slideUp().prev('div').slideDown()}).delegate('.back','click', function(){jq(this).parent().parent().slideUp();jq('.steps div:first-child').slideDown()}).delegate('.tall','click', function(){jq(this).parent().parent().parent().find('.tall').hide().next().show();jq('.prev, .next, .back').hide();jq('.steps > div').show()}).delegate('.slide','click', function(){jq(this).parent().parent().parent().find('.slide').hide().prev().show();jq('.prev, .next, .back').show();jq('.steps > div').hide();jq('.steps > div:first-child').fadeIn(300)});jq('.product-list-nav').delegate('.show','click', function(){jq('.product-list-nav').animate({marginLeft:0},300)}).delegate('.hide','click', function(){jq('.product-list-nav').animate({marginLeft:275},300)});jq('#content.supporthome').find('#contact').find('.more').show()});

