var workTitles = new Array();
var workDescriptions = new Array();

// Print & Web
workTitles["jackson"] = "Jackson Hole";
workDescriptions["jackson"] = "This poster campaign branded fear as a condition of skiing at Jackson Hole, one of the nation's most extreme skiing destinations.";
workTitles["dtn"] = "DTN";
workDescriptions["dtn"] = "DTN is one of the most pervasive, popular information resources for farmers nationwide. This ad was selling space on DTN to media buyers in farm publications. If you want to reach farmers, advertising on DTN is a no-brainer. It's the only thing they focus on besides work.";
workTitles["specialOlympics"] = "Fill in a blank, fill in a need";
workDescriptions["specialOlympics"] = "This is one of the pieces promoting the Special Olympics Tax Check-off program. By checking a blank on your tax form, consumers could donate a portion of your refund to the Special Olympics. MERIT FINALIST, DENVER 50";
workTitles["fortuneValley"] = "Fortune Valley Hotel and Casino";
workDescriptions["fortuneValley"] = "These ads, with their bawdy approach, helped Fortune Valley Hotel and Casino break into the undiscovered homosexual market. They were run in Denver’s major homosexual weekly.";
workTitles["metro"] = "Metro Brokers";
workDescriptions["metro"] = "This campaign connected high school sports to the emotions of home. It ran in assorted high school sports programs.";
workTitles["premier"] = "Premier Members Federal Credit Union";
workDescriptions["premier"] = "This website lived in tandem with testimonial television that prompted users to visit this site, blog about their own credit union experiences and enter to win a chance at being in the next Premier Members TV commercial.";
workTitles["peloton"] = "The Peloton";
workDescriptions["peloton"] = "This website debuted Boulder’s newest major residential development as well as its world-class quality of life.";
workTitles["penterra"] = "Penterra Plaza";
workDescriptions["penterra"] = "This site promoted one of Denver’s newest upscale residential developments, Penterra Plaza.";
workTitles["regis"] = "Regis University’s College for Professional Studies";
workDescriptions["regis"] = "Regis hired me to rebrand their College for Professional Studies. With my help, our team came up with this ‘Influential’ campaign that included a microsite, twelve print ads, 14 interviews, a robust Facebook interface, three sales videos and direct mail. Leads have never been higher for the college. For more, visit the Regis College for Professional Studies (link to cps.regis.edu/beinfluential).";
workTitles["redemptorists"] = "Redemptorists of Denver Flagship Brochure";
workDescriptions["redemptorists"] = "This brochure serves as the flagship sales piece for the Redemptorist Mission worldwide. It’s used for recruitement and to solicit donations for this Christian sect that helps the world’s poor and most abandoned through missionary work.";

// TV
workTitles["holymoly"] = "Holy Moly";
workDescriptions["holymoly"] = "This viral self-promotion video asks the question: How far will an advertising agency go to get good work without working too hard? \nAGENCY: Pure Brand Communications.";
workTitles["fathom"] = "National CineMedia Fathom Movie Spots";
workDescriptions["fathom"] = "These :30 spots appeared during the ‘First Look’—a 20 minute advertising presentation shown before movies in Regal Cinemas, AMC Cinemas and more. They sold National Cinemedia’s Fathom line of cinema entertainment. They are currently the most well-received Fathom spots ever produced.";
workTitles["stapleton"] = "Stapleton Man";
workDescriptions["stapleton"] = "See what happens when a cultural anthropologist is dropped in Stapleton—a new urban/suburban idea about living. \nAGENCY: Pure Brand Communications.";

// Radio
workTitles["goodTimes"] = "Good Times Burgers";
workDescriptions["goodTimes"] = '"Big Daddy"';
workTitles["bellcoRadio"] = "Bellco Credit Union";
workDescriptions["bellcoRadio"] = '"Cookies"';
workTitles["fortuneValleyRadio"] = "Fortune Valley Hotel and Casino";
workDescriptions["fortuneValleyRadio"] = '"Arrrrr"';

function setDescription(name) {
    $('#work_title').text(workTitles[name]);
    $('#work_description').text(workDescriptions[name]);
}

function resetDescription() {
    $('#work_title').text("Here is a smattering from my head.");
    $('#work_description').text("These are ideas that clients loved, that award shows honored, and that agencies sometimes even put on their company websites.  You can have ideas like this too.  Just call.  My head has ears.");
}


var videoBlocks = new Array();
videoBlocks["fathom_1"] = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/LEAuUdyh2TM&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/LEAuUdyh2TM&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';
videoBlocks["fathom_2"] = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/FzdONOAwqKk&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/FzdONOAwqKk&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';
videoBlocks["fathom_3"] = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GK7DAsr0SZc&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GK7DAsr0SZc&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';
videoBlocks["fathom_4"] = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/9RrwUuZPw_g&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/9RrwUuZPw_g&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';
videoBlocks["viral"] = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/4xysiQhJZ0E&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/4xysiQhJZ0E&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';
videoBlocks["stapleton"] = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Zxh0K7MA4OM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Zxh0K7MA4OM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';

function swapVideo(name) {
    $('#video_player').html(videoBlocks[name]);

}

var medImages = new Array();
var largeImages = new Array();

medImages["bunnyslope"] = "/images/work/jackson_bunnyslope.jpg";
medImages["furcoat"] = "/images/work/jackson_furcoat.jpg";
medImages["voice"] = "/images/work/jackson_voice.jpg";
medImages["charge"] = "/images/work/jackson_charge.jpg";
medImages["hurdles"] = "/images/work/olympics_hurdles.jpg";
medImages["rings"] = "/images/work/olympics_rings.jpg";
medImages["swim"] = "/images/work/olympics_swim.jpg";
medImages["dtn"] = "/images/work/DTN.jpg";
medImages["queens"] = "/images/work/fortunevalley_queens.jpg";
medImages["sins"] = "/images/work/fortunevalley_sins.jpg";
medImages["baseball"] = "/images/work/metro_baseball.jpg";
medImages["track"] = "/images/work/metro_track.jpg";
medImages["premier"] = "/images/work/premier.jpg";
medImages["peloton"] = "/images/work/peloton.jpg";
medImages["penterra"] = "/images/work/penterra.jpg";
medImages["regis"] = "/images/work/regis-web.jpg";
medImages["redemptorists"] = "/images/work/redemptorists.jpg";

largeImages["bunnyslope"] = "/images/work/large/jackson_bunnyslope.jpg";
largeImages["furcoat"] = "/images/work/large/jackson_furcoat.jpg";
largeImages["voice"] = "/images/work/large/jackson_voice.jpg";
largeImages["charge"] = "/images/work/large/jackson_charge.jpg";
largeImages["hurdles"] = "/images/work/large/olympics_hurdles.jpg";
largeImages["rings"] = "/images/work/large/olympics_rings.jpg";
largeImages["swim"] = "/images/work/large/olympics_swim.jpg";
largeImages["dtn"] = "/images/work/large/DTN.jpg";
largeImages["queens"] = "/images/work/large/fortunevalley_queens.jpg";
largeImages["sins"] = "/images/work/large/fortunevalley_sins.jpg";
largeImages["baseball"] = "/images/work/large/metro_baseball.jpg";
largeImages["track"] = "/images/work/large/metro_track.jpg";
largeImages["premier"] = "http://www.youbelongatpremier.com/";
largeImages["peloton"] = "http://www.thepeloton.com/";
largeImages["penterra"] = "http://www.penterraplaza.com/";
largeImages["regis"] = "http://cps.regis.edu/beinfluential/";
largeImages["redemptorists"] = "../RDP-901-Brochure-proof-b6.pdf";


function swapMainImage(name, link) {
    $('#medImageLink').attr('href', largeImages[name]);
    $('#medImage').attr('src', medImages[name]);

    if(link) {
        $('#medImageLink').attr('class','nolink');
        $('#medImageLink').unbind('click');
    }
    else {
        $('#medImageLink').attr('class','thumb');
    }

    $('.thumb').fancybox();

}

function swapMainImageToLink(name) {

}
