function theRotator(){$('div#dvds-stuff_fader ul li').css({opacity:0.0});$('div#dvds-stuff_fader ul li:first').css({opacity:1.0});setInterval('rotate()',2500);}
function rotate(){var current=($('div#dvds-stuff_fader ul li.show')?$('div#dvds-stuff_fader ul li.show'):$('div#dvds-stuff_fader ul li:first'));var next=((current.next().length)?((current.next().hasClass('show'))?$('div#dvds-stuff_fader ul li:first'):current.next()):$('div#dvds-stuff_fader ul li:first'));next.css({opacity:0.0}).addClass('show').animate({opacity:1.0},1000);current.animate({opacity:0.0},1000).removeClass('show');};function twitRotator(){$('div#bottom_blocks .twitter_main ul li').css({opacity:0.0});$('div#bottom_blocks .twitter_main ul li.show').css({opacity:1.0});setInterval('twitRotate()',6000);}
function twitRotate(){var current=($('div#bottom_blocks .twitter_main ul li.show')?$('div#bottom_blocks .twitter_main ul li.show'):$('div#bottom_blocks .twitter_main ul li:first'));var next=((current.next().length)?((current.next().hasClass('show'))?$('div#bottom_blocks .twitter_main ul li:first'):current.next()):$('div#bottom_blocks .twitter_main ul li:first'));if(current.hasClass('tweet_content_0')){$("div.twitter-loader").hide();}
next.css({opacity:0.0}).addClass('show').animate({opacity:1.0},1000);current.animate({opacity:0.0},1000).removeClass('show');};

(function($){var params=new Array;var order=new Array;var images=new Array;var links=new Array;var linksTarget=new Array;var titles=new Array;var interval=new Array;var imagePos=new Array;var appInterval=new Array;var squarePos=new Array;var reverse=new Array;$.fn.coinslider=$.fn.CoinSlider=function(options){init=function(el){order[el.id]=new Array();images[el.id]=new Array();links[el.id]=new Array();linksTarget[el.id]=new Array();titles[el.id]=new Array();imagePos[el.id]=0;squarePos[el.id]=0;reverse[el.id]=1;params[el.id]=$.extend({},$.fn.coinslider.defaults,options);$.each($('#'+el.id+' img'),function(i,item){images[el.id][i]=$(item).attr('src');links[el.id][i]=$(item).parent().is('a')?$(item).parent().attr('href'):'';linksTarget[el.id][i]=$(item).parent().is('a')?$(item).parent().attr('target'):'';titles[el.id][i]=$(item).next().is('span')?$(item).next().html():'';$(item).hide();$(item).next().hide();});$(el).css({'background-image':'url('+images[el.id][0]+')','width':params[el.id].width,'height':params[el.id].height,'position':'relative','background-position':'top left'}).wrap("<div class='coin-slider' id='coin-slider-"+el.id+"' />");$('#'+el.id).append("<div class='cs-title' id='cs-title-"+el.id+"' style='position: absolute; bottom:0; left: 0; z-index: 1000;'></div>");$.setFields(el);if(params[el.id].navigation)
$.setNavigation(el);$.transition(el,0);$.transitionCall(el);}
$.setFields=function(el){tWidth=sWidth=parseInt(params[el.id].width/params[el.id].spw);tHeight=sHeight=parseInt(params[el.id].height/params[el.id].sph);counter=sLeft=sTop=0;tgapx=gapx=params[el.id].width-params[el.id].spw*sWidth;tgapy=gapy=params[el.id].height-params[el.id].sph*sHeight;for(i=1;i<=params[el.id].sph;i++){gapx=tgapx;if(gapy>0){gapy--;sHeight=tHeight+1;}else{sHeight=tHeight;}
for(j=1;j<=params[el.id].spw;j++){if(gapx>0){gapx--;sWidth=tWidth+1;}else{sWidth=tWidth;}
order[el.id][counter]=i+''+j;counter++;if(params[el.id].links)
$('#'+el.id).append("<a href='"+links[el.id][0]+"' class='cs-"+el.id+"' id='cs-"+el.id+i+j+"' style='width:"+sWidth+"px; height:"+sHeight+"px; float: left; position: absolute;'></a>");else
$('#'+el.id).append("<div class='cs-"+el.id+"' id='cs-"+el.id+i+j+"' style='width:"+sWidth+"px; height:"+sHeight+"px; float: left; position: absolute;'></div>");$("#cs-"+el.id+i+j).css({'background-position':-sLeft+'px '+(-sTop+'px'),'left':sLeft,'top':sTop});sLeft+=sWidth;}
sTop+=sHeight;sLeft=0;}
$('.cs-'+el.id).mouseover(function(){$('#cs-navigation-'+el.id).show();});$('.cs-'+el.id).mouseout(function(){$('#cs-navigation-'+el.id).hide();});$('#cs-title-'+el.id).mouseover(function(){$('#cs-navigation-'+el.id).show();});$('#cs-title-'+el.id).mouseout(function(){$('#cs-navigation-'+el.id).hide();});if(params[el.id].hoverPause){$('.cs-'+el.id).mouseover(function(){params[el.id].pause=true;});$('.cs-'+el.id).mouseout(function(){params[el.id].pause=false;});$('#cs-title-'+el.id).mouseover(function(){params[el.id].pause=true;});$('#cs-title-'+el.id).mouseout(function(){params[el.id].pause=false;});}};$.transitionCall=function(el){clearInterval(interval[el.id]);delay=params[el.id].delay+params[el.id].spw*params[el.id].sph*params[el.id].sDelay;interval[el.id]=setInterval(function(){$.transition(el)},delay);}
$.transition=function(el,direction){if(params[el.id].pause==true)return;$.effect(el);squarePos[el.id]=0;appInterval[el.id]=setInterval(function(){$.appereance(el,order[el.id][squarePos[el.id]])},params[el.id].sDelay);$(el).css({'background-image':'url('+images[el.id][imagePos[el.id]]+')'});if(typeof(direction)=="undefined")
imagePos[el.id]++;else
if(direction=='prev')
imagePos[el.id]--;else
imagePos[el.id]=direction;if(imagePos[el.id]==images[el.id].length){imagePos[el.id]=0;}
if(imagePos[el.id]==-1){imagePos[el.id]=images[el.id].length-1;}
$('.cs-button-'+el.id).removeClass('cs-active');$('#cs-button-'+el.id+"-"+(imagePos[el.id]+1)).addClass('cs-active');if(titles[el.id][imagePos[el.id]]){$('#cs-title-'+el.id).css({'opacity':0}).animate({'opacity':params[el.id].opacity},params[el.id].titleSpeed);$('#cs-title-'+el.id).html(titles[el.id][imagePos[el.id]]);}else{$('#cs-title-'+el.id).css('opacity',0);}};$.appereance=function(el,sid){$('.cs-'+el.id).attr('href',links[el.id][imagePos[el.id]]).attr('target',linksTarget[el.id][imagePos[el.id]]);if(squarePos[el.id]==params[el.id].spw*params[el.id].sph){clearInterval(appInterval[el.id]);return;}
$('#cs-'+el.id+sid).css({opacity:0,'background-image':'url('+images[el.id][imagePos[el.id]]+')'});$('#cs-'+el.id+sid).animate({opacity:1},300);squarePos[el.id]++;};$.setNavigation=function(el){$(el).append("<div id='cs-navigation-"+el.id+"'></div>");$('#cs-navigation-'+el.id).hide();$('#cs-navigation-'+el.id).append("<a href='#' id='cs-prev-"+el.id+"' class='cs-prev'>prev</a>");$('#cs-navigation-'+el.id).append("<a href='#' id='cs-next-"+el.id+"' class='cs-next'>next</a>");$('#cs-prev-'+el.id).css({'position':'absolute','top':params[el.id].height/2-15,'left':0,'z-index':1001,'line-height':'30px','opacity':params[el.id].opacity}).click(function(e){e.preventDefault();$.transition(el,'prev');$.transitionCall(el);}).mouseover(function(){$('#cs-navigation-'+el.id).show()});$('#cs-next-'+el.id).css({'position':'absolute','top':params[el.id].height/2-15,'right':0,'z-index':1001,'line-height':'30px','opacity':params[el.id].opacity}).click(function(e){e.preventDefault();$.transition(el);$.transitionCall(el);}).mouseover(function(){$('#cs-navigation-'+el.id).show()});$("<div id='cs-buttons-"+el.id+"' class='cs-buttons'></div>").appendTo($('#coin-slider-'+el.id));for(k=1;k<images[el.id].length+1;k++){$('#cs-buttons-'+el.id).append("<a href='#' class='cs-button-"+el.id+"' id='cs-button-"+el.id+"-"+k+"'>"+k+"</a>");}
$.each($('.cs-button-'+el.id),function(i,item){$(item).click(function(e){$('.cs-button-'+el.id).removeClass('cs-active');$(this).addClass('cs-active');e.preventDefault();$.transition(el,i);$.transitionCall(el);})});$('#cs-navigation-'+el.id+' a').mouseout(function(){$('#cs-navigation-'+el.id).hide();params[el.id].pause=false;});$("#cs-buttons-"+el.id).css({'left':'50%','margin-left':-images[el.id].length*15/2-5,'position':'relative'});}
$.effect=function(el){effA=['random','swirl','rain','straight'];if(params[el.id].effect=='')
eff=effA[Math.floor(Math.random()*(effA.length))];else
eff=params[el.id].effect;order[el.id]=new Array();if(eff=='random'){counter=0;for(i=1;i<=params[el.id].sph;i++){for(j=1;j<=params[el.id].spw;j++){order[el.id][counter]=i+''+j;counter++;}}
$.random(order[el.id]);}
if(eff=='rain'){$.rain(el);}
if(eff=='swirl')
$.swirl(el);if(eff=='straight')
$.straight(el);reverse[el.id]*=-1;if(reverse[el.id]>0){order[el.id].reverse();}}
$.random=function(arr){var i=arr.length;if(i==0)return false;while(--i){var j=Math.floor(Math.random()*(i+1));var tempi=arr[i];var tempj=arr[j];arr[i]=tempj;arr[j]=tempi;}}
$.swirl=function(el){var n=params[el.id].sph;var m=params[el.id].spw;var x=1;var y=1;var going=0;var num=0;var c=0;var dowhile=true;while(dowhile){num=(going==0||going==2)?m:n;for(i=1;i<=num;i++){order[el.id][c]=x+''+y;c++;if(i!=num){switch(going){case 0:y++;break;case 1:x++;break;case 2:y--;break;case 3:x--;break;}}}
going=(going+1)%4;switch(going){case 0:m--;y++;break;case 1:n--;x++;break;case 2:m--;y--;break;case 3:n--;x--;break;}
check=$.max(n,m)-$.min(n,m);if(m<=check&&n<=check)
dowhile=false;}}
$.rain=function(el){var n=params[el.id].sph;var m=params[el.id].spw;var c=0;var to=to2=from=1;var dowhile=true;while(dowhile){for(i=from;i<=to;i++){order[el.id][c]=i+''+parseInt(to2-i+1);c++;}
to2++;if(to<n&&to2<m&&n<m){to++;}
if(to<n&&n>=m){to++;}
if(to2>m){from++;}
if(from>to)dowhile=false;}}
$.straight=function(el){counter=0;for(i=1;i<=params[el.id].sph;i++){for(j=1;j<=params[el.id].spw;j++){order[el.id][counter]=i+''+j;counter++;}}}
$.min=function(n,m){if(n>m)return m;else return n;}
$.max=function(n,m){if(n<m)return m;else return n;}
this.each(function(){init(this);});};$.fn.coinslider.defaults={width:565,height:290,spw:7,sph:5,delay:3000,sDelay:30,opacity:0.7,titleSpeed:500,effect:'',navigation:true,links:true,hoverPause:true};})(jQuery);

;jQuery.preloadCssImages=function(settings){settings=jQuery.extend({statusTextEl:null,statusBarEl:null,errorDelay:999,simultaneousCacheLoading:2},settings);var allImgs=[],loaded=0,imgUrls=[],thisSheetRules,errorTimer;function onImgComplete(){clearTimeout(errorTimer);if(imgUrls&&imgUrls.length&&imgUrls[loaded]){loaded++;if(settings.statusTextEl){var nowloading=(imgUrls[loaded])?'Now Loading: <span>'+imgUrls[loaded].split('/')[imgUrls[loaded].split('/').length-1]:'Loading complete';jQuery(settings.statusTextEl).html('<span class="numLoaded">'+loaded+'</span> of <span class="numTotal">'+imgUrls.length+'</span> loaded (<span class="percentLoaded">'+(loaded/imgUrls.length*100).toFixed(0)+'%</span>) <span class="currentImg">'+nowloading+'</span></span>');}
if(settings.statusBarEl){var barWidth=jQuery(settings.statusBarEl).width();jQuery(settings.statusBarEl).css('background-position',-(barWidth-(barWidth*loaded/imgUrls.length).toFixed(0))+'px 50%');}
loadImgs();}}
function loadImgs(){if(imgUrls&&imgUrls.length&&imgUrls[loaded]){var img=new Image();img.src=imgUrls[loaded];if(!img.complete){jQuery(img).bind('error load onreadystatechange',onImgComplete);}else{onImgComplete();}
errorTimer=setTimeout(onImgComplete,settings.errorDelay);}}
function parseCSS(sheets,urls){var w3cImport=false,imported=[],importedSrc=[],baseURL;var sheetIndex=sheets.length;while(sheetIndex--){var cssPile='';if(urls&&urls[sheetIndex]){baseURL=urls[sheetIndex];}else{var csshref=(sheets[sheetIndex].href)?sheets[sheetIndex].href:'window.location.href';var baseURLarr=csshref.split('/');baseURLarr.pop();baseURL=baseURLarr.join('/');if(baseURL){baseURL+='/';}}
if(sheets[sheetIndex].cssRules||sheets[sheetIndex].rules){thisSheetRules=(sheets[sheetIndex].cssRules)?sheets[sheetIndex].cssRules:sheets[sheetIndex].rules;var ruleIndex=thisSheetRules.length;while(ruleIndex--){if(thisSheetRules[ruleIndex].style&&thisSheetRules[ruleIndex].style.cssText){var text=thisSheetRules[ruleIndex].style.cssText;if(text.toLowerCase().indexOf('url')!=-1){cssPile+=text;}}else if(thisSheetRules[ruleIndex].styleSheet){imported.push(thisSheetRules[ruleIndex].styleSheet);w3cImport=true;}}}
var tmpImage=cssPile.match(/[^\("]+\.(gif|jpg|jpeg|png)/g);if(tmpImage){var i=tmpImage.length;while(i--){var imgSrc=(tmpImage[i].charAt(0)=='/'||tmpImage[i].match('://'))?tmpImage[i]:baseURL+tmpImage[i];if(jQuery.inArray(imgSrc,imgUrls)==-1){imgUrls.push(imgSrc);}}}
if(!w3cImport&&sheets[sheetIndex].imports&&sheets[sheetIndex].imports.length){for(var iImport=0,importLen=sheets[sheetIndex].imports.length;iImport<importLen;iImport++){var iHref=sheets[sheetIndex].imports[iImport].href;iHref=iHref.split('/');iHref.pop();iHref=iHref.join('/');if(iHref){iHref+='/';}
var iSrc=(iHref.charAt(0)=='/'||iHref.match('://'))?iHref:baseURL+iHref;importedSrc.push(iSrc);imported.push(sheets[sheetIndex].imports[iImport]);}}}
if(imported.length){parseCSS(imported,importedSrc);return false;}
var downloads=settings.simultaneousCacheLoading;while(downloads--){setTimeout(loadImgs,downloads);}}
parseCSS(document.styleSheets);return imgUrls;};


(function($){$.fn.tweetable=function(options){var defaults={limit:5,username:'marklundholm',time:false,replies:false,position:'append'};var options=$.extend(defaults,options);return this.each(function(options){var act=$(this);var $tweetList;var tweetMonth='';var shortMonths=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var api="http://api.twitter.com/1/statuses/user_timeline.json?screen_name=";var count="&count=";$.getJSON(api+defaults.username+count+defaults.limit+"&callback=?",act,function(data){$.each(data,function(i,item){if(i==0){$tweetList=$('<ul class="tweetList">')[defaults.position.toLowerCase()+'To'](act);}
if(defaults.replies===false){if(item.in_reply_to_status_id===null){$tweetList.append('<li class="tweet_content_'+i+'"><p class="tweet_link_'+i+'">'+item.text.replace(/#(.*?)(\s|$)/g,'<span class="hash">#$1 </span>').replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,'<a href="$&">$&</a> ').replace(/@(.*?)(\s|\(|\)|$)/g,'<a href="http://twitter.com/$1">@$1 </a>$2')+'</p></li>');}}else{$tweetList.append('<li class="tweet_content_'+i+'"><p class="tweet_link_'+i+'">'+item.text.replace(/#(.*?)(\s|$)/g,'<span class="hash">#$1 </span>').replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,'<a href="$&">$&</a> ').replace(/@(.*?)(\s|\(|\)|$)/g,'<a href="http://twitter.com/$1">@$1 </a>$2')+'</p></li>');}
if(defaults.time==true){for(var iterate=0;iterate<=12;iterate++){if(shortMonths[iterate]==item.created_at.substr(4,3)){tweetMonth=iterate+1;if(tweetMonth<10){tweetMonth='0'+tweetMonth;}}}
$('.tweet_link_'+i).append('<small> '+item.created_at.substr(8,2)+'/'+tweetMonth+'/'+item.created_at.substr(26,4)+' '+item.created_at.substr(11,8)+'</small>');}});});});}})(jQuery);

(function($){$.fn.jscroll=function(options){var settings={duration:2000};return this.each(function(){var $this=$(this);var slides=$this.children();var current=0;if(options){$.extend(settings,options);}var scrollIt=function(){if(slides!=undefined && slides.length>0){$(slides[current]).fadeTo('slow',.01,function(){$(this).slideUp('slow',function(){$(this).remove();$this.append($(this));$(this).show(10);$(this).fadeTo(10,1.0);current++;if(current>=slides.length){current=0;}setTimeout(scrollIt,settings.duration);});});}};setTimeout(scrollIt,settings.duration);});};})(jQuery);


addEvent(window,'load',initForm);var highlight_array=new Array();function initForm(){var paymentRedirecting=checkPaypal();initializeFocus();var activeForm=document.getElementsByTagName('form')[0];addEvent(activeForm,'submit',disableSubmitButton);ifInstructs();showRangeCounters();checkMechanicalTurk();if(!paymentRedirecting)initAutoResize();}
function disableSubmitButton(){document.getElementById('saveForm').disabled=true;}
function initializeFocus(){fields=getElementsByClassName(document,"*","field");for(i=0;i<fields.length;i++){if(fields[i].type=='radio'||fields[i].type=='checkbox'){fields[i].onclick=function(){clearSafariRadios();addClassName(this.parentNode.parentNode.parentNode,"focused",true)};fields[i].onfocus=function(){clearSafariRadios();addClassName(this.parentNode.parentNode.parentNode,"focused",true)};highlight_array.splice(highlight_array.length,0,fields[i]);}
else if(fields[i].className.match('addr')){fields[i].onfocus=function(){clearSafariRadios();addClassName(this.parentNode.parentNode.parentNode,"focused",true)};fields[i].onblur=function(){removeClassName(this.parentNode.parentNode.parentNode,"focused")};}
else if(fields[i].className.match('other')){fields[i].onfocus=function(){clearSafariRadios();addClassName(this.parentNode.parentNode.parentNode,"focused",true)};}
else{fields[i].onfocus=function(){clearSafariRadios();addClassName(this.parentNode.parentNode,"focused",true)};fields[i].onblur=function(){removeClassName(this.parentNode.parentNode,"focused")};}}}
function initAutoResize(){var key='wufooForm';if(typeof(__EMBEDKEY)!='undefined')key=__EMBEDKEY;if(parent.postMessage){parent.postMessage(document.body.offsetHeight+'|'+key,"*");}
else createTempCookie(key,document.body.offsetHeight);}
function createTempCookie(name,value)
{var date=new Date();date.setTime(date.getTime()+(60*1000));var expires="; expires="+date.toGMTString();document.cookie=name+"="+value+expires+"; domain=.wufoo.com; path=/";if(readTempCookie(name)!=value){var script=document.createElement("script");script.setAttribute("src","http://wufoo.com/forms/height.js?action=set&embedKey="+name+"&height="+value+"&timestamp = "+new Date().getTime().toString());script.setAttribute("type","text/javascript");document.body.appendChild(script);}}
function readTempCookie(name)
{var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++)
{var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length);}
return'';}
function clearSafariRadios(){for(var i=0;i<highlight_array.length;i++){if(highlight_array[i].parentNode){removeClassName(highlight_array[i].parentNode.parentNode.parentNode,'focused');}}}
function ifInstructs(){var container=document.getElementById('public');if(container){removeClassName(container,'noI');var instructs=getElementsByClassName(document,"*","instruct");if(instructs==''){addClassName(container,'noI',true);}
if(container.offsetWidth<=450){addClassName(container,'altInstruct',true);}}}
function checkPaypal(){var ret=false;if(document.getElementById('merchant')){ret=true;if(typeof(__EMBEDKEY)=='undefined'){document.getElementById('merchantMessage').innerHTML='Your order is being processed. Please wait a moment while we redirect you to our payment page.';document.getElementById('merchantButton').style.display='none';}
document.getElementById('merchant').submit();}
return ret;}
function checkMechanicalTurk(){if(document.getElementById('mechanicalTurk')){document.getElementById('merchantMessage').innerHTML='Your submission is being processed. You will be redirected shortly.';document.getElementById('merchantButton').style.display='none';document.getElementById('mechanicalTurk').submit();}}
function showRangeCounters(){counters=getElementsByClassName(document,"em","currently");for(i=0;i<counters.length;i++){counters[i].style.display='inline';}}
function validateRange(ColumnId,RangeType){if(document.getElementById('rangeUsedMsg'+ColumnId)){var field=document.getElementById('Field'+ColumnId);var msg=document.getElementById('rangeUsedMsg'+ColumnId);switch(RangeType){case'character':msg.innerHTML=field.value.length;break;case'word':var val=field.value;val=val.replace(/\n/g," ");var words=val.split(" ");var used=0;for(i=0;i<words.length;i++){if(words[i].replace(/\s+$/,"")!="")used++;}
msg.innerHTML=used;break;case'digit':msg.innerHTML=field.value.length;break;}}}
function getElementsByClassName(oElm,strTagName,strClassName){var arrElements=(strTagName=="*"&&oElm.all)?oElm.all:oElm.getElementsByTagName(strTagName);var arrReturnElements=new Array();strClassName=strClassName.replace(/\-/g,"\\-");var oRegExp=new RegExp("(^|\\s)"+strClassName+"(\\s|$)");var oElement;for(var i=0;i<arrElements.length;i++){oElement=arrElements[i];if(oRegExp.test(oElement.className)){arrReturnElements.push(oElement);}}
return(arrReturnElements)}
function addClassName(objElement,strClass,blnMayAlreadyExist){if(objElement.className){var arrList=objElement.className.split(' ');if(blnMayAlreadyExist){var strClassUpper=strClass.toUpperCase();for(var i=0;i<arrList.length;i++){if(arrList[i].toUpperCase()==strClassUpper){arrList.splice(i,1);i--;}}}
arrList[arrList.length]=strClass;objElement.className=arrList.join(' ');}
else{objElement.className=strClass;}}
function removeClassName(objElement,strClass){if(objElement.className){var arrList=objElement.className.split(' ');var strClassUpper=strClass.toUpperCase();for(var i=0;i<arrList.length;i++){if(arrList[i].toUpperCase()==strClassUpper){arrList.splice(i,1);i--;}}
objElement.className=arrList.join(' ');}}
function addEvent(obj,type,fn){if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event)};obj.attachEvent("on"+type,obj[type+fn]);}
else{obj.addEventListener(type,fn,false);}}


$(document).ready(function(){var current=$("body").attr("id");$("#nav li a.nav_"+current).parent().addClass("current");$(function(){$('.twitter_main').tweetable({username:'marklundholm',time:false,limit:5,replies:true,position:'append'});});twitRotator();$.preloadCssImages();$('#coin-slider').coinslider({width:600,height:250,delay:4000});$('.featured_news_content').jscroll({duration:3000});$("div#shows div.show").hover(function(){if($(this).hasClass("show_active")){return false;}else{$(this).addClass("show_hover");}},function(){$(this).removeClass("show_hover");});$("div#shows div.show").click(function(){if($(this).hasClass("show_active")){$(this).removeClass("show_hover");}else{$("div.show_content").slideUp('normal',function(){$(this).parent().removeClass("show_active").addClass("show");});$(this).removeClass("show_hover").removeClass("show").addClass("show_active");$(this).find(".show_content").slideDown('normal');}});$('input[type="text"].textbox').focus(function(){$(this).addClass("textbox_focus");if(this.value==this.defaultValue){this.value='';}
if(this.value!=this.defaultValue){this.select();}});$('input[type="text"].textbox').blur(function(){$(this).removeClass("textbox_focus");if($.trim(this.value)==''){this.value=(this.defaultValue?this.defaultValue:'');}});theRotator();$("#about_profile .profile_nav ul li a").click(function(){var element_class=$(this).attr("class");$(this).parent().parent().children("li").removeClass("current");$(this).parent().addClass("current");$(".profile_information .block_wrap").hide();$(".profile_information ."+element_class).show();});$('div.notification').click(function(){$(this).fadeOut(200,function(){$(this).hide();});});$("#newsletter li#foli_newsletter_address").hide();$("#newsletter li#foli_newsletter_postcards").hide();function countChecked(){var this_value=$(this).val();if(this_value==2||this_value==3||this_value==5||this_value==6){$("#newsletter li#foli_newsletter_address").show();$("#newsletter input#newsletter_moreinfo").val("true");$("#newsletter li#foli_newsletter_postcards").show();}}
$("#newsletter :checkbox").click(countChecked);});
