$(document).ready(function() {
		
		// rounded corner jquery
		$("#examplethumbscontainer").corner("rounded 12px");
		$("#examplethumbscontainertwo").corner("rounded 12px");
		$("#examplethumbscontainerthree").corner("rounded 12px");
		$("#examplethumbscontainerfour").corner("rounded 12px");
		$("#examplethumbscontainerfive").corner("rounded 12px");
				
		// hide large divs
		$("#largeexamples div").hide();
		$("#largeexamplestwo div").hide();
		$("#largeexamplesthree div").hide();
		$("#largeexamplesfour div").hide();
		$("#largeexamplesfive div").hide();

		// set 1, example 1
		$('a#showthumbexampleonea').click(function() {
		$('.thumbexampleonea').slideToggle('slow');
		$('.thumbexampleoneb').slideUp();
		$('.thumbexampleonec').slideUp();
		$('.thumbexampleoned').slideUp();
		$('.thumbexampleonee').slideUp();
		$('.thumbexampleonef').slideUp();
		return false;
		});
		
		// set 1, example 2
		$('a#showthumbexampleoneb').click(function() {
		$('.thumbexampleoneb').slideToggle('slow');
		$('.thumbexampleonea').slideUp();
		$('.thumbexampleonec').slideUp();
		$('.thumbexampleoned').slideUp();
		$('.thumbexampleonee').slideUp();
		$('.thumbexampleonef').slideUp();
		return false;
		});
		
		// set 1, example 3
		$('a#showthumbexampleonec').click(function() {
		$('.thumbexampleonec').slideToggle('slow');
		$('.thumbexampleonea').slideUp();
		$('.thumbexampleoneb').slideUp();
		$('.thumbexampleoned').slideUp();
		$('.thumbexampleonee').slideUp();
		$('.thumbexampleonef').slideUp();
		return false;
		});
		
		// set 1, example 4
		$('a#showthumbexampleoned').click(function() {
		$('.thumbexampleoned').slideToggle('slow');
		$('.thumbexampleonea').slideUp();
		$('.thumbexampleoneb').slideUp();
		$('.thumbexampleonec').slideUp();
		$('.thumbexampleonee').slideUp();
		$('.thumbexampleonef').slideUp();
		return false;
		});
		
		// set 1, example 5
		$('a#showthumbexampleonee').click(function() {
		$('.thumbexampleonee').slideToggle('slow');
		$('.thumbexampleonea').slideUp();
		$('.thumbexampleoneb').slideUp();
		$('.thumbexampleonec').slideUp();
		$('.thumbexampleoned').slideUp();
		$('.thumbexampleonef').slideUp();
		return false;
		});
		
		// set 1, example 6
		$('a#showthumbexampleonef').click(function() {
		$('.thumbexampleonef').slideToggle('slow');
		$('.thumbexampleonea').slideUp();
		$('.thumbexampleoneb').slideUp();
		$('.thumbexampleonec').slideUp();
		$('.thumbexampleoned').slideUp();
		$('.thumbexampleonee').slideUp();
		return false;
		});
	
		// start set two
		
		// set 2, example 1
		$('a#showthumbexampletwoa').click(function() {
		$('.thumbexampletwoa').slideToggle('slow');
		$('.thumbexampletwob').slideUp();
		$('.thumbexampletwoc').slideUp();
		$('.thumbexampletwod').slideUp();
		$('.thumbexampletwoe').slideUp();
		$('.thumbexampletwof').slideUp();
		return false;
		});
		
		// set 2, example 2
		$('a#showthumbexampletwob').click(function() {
		$('.thumbexampletwob').slideToggle('slow');
		$('.thumbexampletwoa').slideUp();
		$('.thumbexampletwoc').slideUp();
		$('.thumbexampletwod').slideUp();
		$('.thumbexampletwoe').slideUp();
		$('.thumbexampletwof').slideUp();
		return false;
		});
		
		// set 2, example 3
		$('a#showthumbexampletwoc').click(function() {
		$('.thumbexampletwoc').slideToggle('slow');
		$('.thumbexampletwoa').slideUp();
		$('.thumbexampletwob').slideUp();
		$('.thumbexampletwod').slideUp();
		$('.thumbexampletwoe').slideUp();
		$('.thumbexampletwof').slideUp();
		return false;
		});
		
		// set 2, example 4
		$('a#showthumbexampletwod').click(function() {
		$('.thumbexampletwod').slideToggle('slow');
		$('.thumbexampletwoa').slideUp();
		$('.thumbexampletwob').slideUp();
		$('.thumbexampletwoc').slideUp();
		$('.thumbexampletwoe').slideUp();
		$('.thumbexampletwof').slideUp();
		return false;
		});
		
		// set 2, example 5
		$('a#showthumbexampletwoe').click(function() {
		$('.thumbexampletwoe').slideToggle('slow');
		$('.thumbexampletwoa').slideUp();
		$('.thumbexampletwob').slideUp();
		$('.thumbexampletwoc').slideUp();
		$('.thumbexampletwod').slideUp();
		$('.thumbexampletwof').slideUp();
		return false;
		});
		
		// set 2, example 6
		$('a#showthumbexampletwof').click(function() {
		$('.thumbexampletwof').slideToggle('slow');
		$('.thumbexampletwoa').slideUp();
		$('.thumbexampletwob').slideUp();
		$('.thumbexampletwoc').slideUp();
		$('.thumbexampletwod').slideUp();
		$('.thumbexampletwoe').slideUp();
		return false;
		});
		
		// start set three
		
		// set 3, example 1
		$('a#showthumbexamplethreea').click(function() {
		$('.thumbexamplethreea').slideToggle('slow');
		$('.thumbexamplethreeb').slideUp();
		$('.thumbexamplethreec').slideUp();
		$('.thumbexamplethreed').slideUp();
		$('.thumbexamplethreee').slideUp();
		$('.thumbexamplethreef').slideUp();
		return false;
		});
		
		// set 3, example 2
		$('a#showthumbexamplethreeb').click(function() {
		$('.thumbexamplethreeb').slideToggle('slow');
		$('.thumbexamplethreea').slideUp();
		$('.thumbexamplethreec').slideUp();
		$('.thumbexamplethreed').slideUp();
		$('.thumbexamplethreee').slideUp();
		$('.thumbexamplethreef').slideUp();
		return false;
		});
		
		// set 3, example 3
		$('a#showthumbexamplethreec').click(function() {
		$('.thumbexamplethreec').slideToggle('slow');
		$('.thumbexamplethreea').slideUp();
		$('.thumbexamplethreeb').slideUp();
		$('.thumbexamplethreed').slideUp();
		$('.thumbexamplethreee').slideUp();
		$('.thumbexamplethreef').slideUp();
		return false;
		});
		
		// set 3, example 4
		$('a#showthumbexamplethreed').click(function() {
		$('.thumbexamplethreed').slideToggle('slow');
		$('.thumbexamplethreea').slideUp();
		$('.thumbexamplethreeb').slideUp();
		$('.thumbexamplethreec').slideUp();
		$('.thumbexamplethreee').slideUp();
		$('.thumbexamplethreef').slideUp();
		return false;
		});
		
		// set 3, example 5
		$('a#showthumbexamplethreee').click(function() {
		$('.thumbexamplethreee').slideToggle('slow');
		$('.thumbexamplethreea').slideUp();
		$('.thumbexamplethreeb').slideUp();
		$('.thumbexamplethreec').slideUp();
		$('.thumbexamplethreed').slideUp();
		$('.thumbexamplethreef').slideUp();
		return false;
		});
		
		// set 3, example 6
		$('a#showthumbexamplethreef').click(function() {
		$('.thumbexamplethreef').slideToggle('slow');
		$('.thumbexamplethreea').slideUp();
		$('.thumbexamplethreeb').slideUp();
		$('.thumbexamplethreec').slideUp();
		$('.thumbexamplethreed').slideUp();
		$('.thumbexamplethreee').slideUp();
		return false;
		});
		
		// start set four
		
		// set 4, example 1
		$('a#showthumbexamplefoura').click(function() {
		$('.thumbexamplefoura').slideToggle('slow');
		$('.thumbexamplefourb').slideUp();
		$('.thumbexamplefourc').slideUp();
		$('.thumbexamplefourd').slideUp();
		$('.thumbexamplefoure').slideUp();
		$('.thumbexamplefourf').slideUp();
		return false;
		});
		
		// set 4, example 2
		$('a#showthumbexamplefourb').click(function() {
		$('.thumbexamplefourb').slideToggle('slow');
		$('.thumbexamplefoura').slideUp();
		$('.thumbexamplefourc').slideUp();
		$('.thumbexamplefourd').slideUp();
		$('.thumbexamplefoure').slideUp();
		$('.thumbexamplefourf').slideUp();
		return false;
		});
		
		// set 4, example 3
		$('a#showthumbexamplefourc').click(function() {
		$('.thumbexamplefourc').slideToggle('slow');
		$('.thumbexamplefoura').slideUp();
		$('.thumbexamplefourb').slideUp();
		$('.thumbexamplefourd').slideUp();
		$('.thumbexamplefoure').slideUp();
		$('.thumbexamplefourf').slideUp();
		return false;
		});
		
		// set 4, example 4
		$('a#showthumbexamplefourd').click(function() {
		$('.thumbexamplefourd').slideToggle('slow');
		$('.thumbexamplefoura').slideUp();
		$('.thumbexamplefourb').slideUp();
		$('.thumbexamplefourc').slideUp();
		$('.thumbexamplefoure').slideUp();
		$('.thumbexamplefourf').slideUp();
		return false;
		});
		
		// set 4, example 5
		$('a#showthumbexamplefoure').click(function() {
		$('.thumbexamplefoure').slideToggle('slow');
		$('.thumbexamplefoura').slideUp();
		$('.thumbexamplefourb').slideUp();
		$('.thumbexamplefourc').slideUp();
		$('.thumbexamplefourd').slideUp();
		$('.thumbexamplefourf').slideUp();
		return false;
		});
		
		// set 4, example 6
		$('a#showthumbexamplefourf').click(function() {
		$('.thumbexamplefourf').slideToggle('slow');
		$('.thumbexamplefoura').slideUp();
		$('.thumbexamplefourb').slideUp();
		$('.thumbexamplefourc').slideUp();
		$('.thumbexamplefourd').slideUp();
		$('.thumbexamplefoure').slideUp();
		return false;
		});
		
		// start set five
		
		// set 5, example 1
		$('a#showthumbexamplefivea').click(function() {
		$('.thumbexamplefivea').slideToggle('slow');
		$('.thumbexamplefiveb').slideUp();
		$('.thumbexamplefivec').slideUp();
		$('.thumbexamplefived').slideUp();
		$('.thumbexamplefivee').slideUp();
		$('.thumbexamplefivef').slideUp();
		return false;
		});
		
		// set 5, example 2
		$('a#showthumbexamplefiveb').click(function() {
		$('.thumbexamplefiveb').slideToggle('slow');
		$('.thumbexamplefivea').slideUp();
		$('.thumbexamplefivec').slideUp();
		$('.thumbexamplefived').slideUp();
		$('.thumbexamplefivee').slideUp();
		$('.thumbexamplefivef').slideUp();
		return false;
		});
		
		// set 5, example 3
		$('a#showthumbexamplefivec').click(function() {
		$('.thumbexamplefivec').slideToggle('slow');
		$('.thumbexamplefivea').slideUp();
		$('.thumbexamplefiveb').slideUp();
		$('.thumbexamplefived').slideUp();
		$('.thumbexamplefivee').slideUp();
		$('.thumbexamplefivef').slideUp();
		return false;
		});
		
		// set 5, example 4
		$('a#showthumbexamplefived').click(function() {
		$('.thumbexamplefived').slideToggle('slow');
		$('.thumbexamplefivea').slideUp();
		$('.thumbexamplefiveb').slideUp();
		$('.thumbexamplefivec').slideUp();
		$('.thumbexamplefivee').slideUp();
		$('.thumbexamplefivef').slideUp();
		return false;
		});
		
		// set 5, example 5
		$('a#showthumbexamplefivee').click(function() {
		$('.thumbexamplefivee').slideToggle('slow');
		$('.thumbexamplefivea').slideUp();
		$('.thumbexamplefiveb').slideUp();
		$('.thumbexamplefivec').slideUp();
		$('.thumbexamplefived').slideUp();
		$('.thumbexamplefivef').slideUp();
		return false;
		});
		
		// set 5, example 6
		$('a#showthumbexamplefivef').click(function() {
		$('.thumbexamplefivef').slideToggle('slow');
		$('.thumbexamplefivea').slideUp();
		$('.thumbexamplefiveb').slideUp();
		$('.thumbexamplefivec').slideUp();
		$('.thumbexamplefived').slideUp();
		$('.thumbexamplefivee').slideUp();
		return false;
		});
	});