$(function(){

	// inhoud, voor elke page een item, voor elk item eerst de url daarna de kleur van de titel en als laatste de inhoud
	var item = [];
	item[0] = null;
	item[1] = ["_gfx/bg_world.jpg", "", "<h2>Wondering what happened to the PICNIC website? </h2><p class='intro'>Well, since we want to redesign the world, we decided to start with our website. Our new look will be revealed in a few weeks bit by bit, but keep reading to learn more about PICNIC '10. </p> <p>The world around us is changing fast, and not all the changes are positive. We're facing the biggest natural, social and economic challenges our world has ever seen. We've addressed some of these issues in the past, but the days of just talking are over. It's time to take action.<br/><br/>To make an impact, we need some help. So we're asking you &mdash; yes, YOU &mdash; to roll up your sleeves and Redesign the World with us at PICNIC '10. Are you up for the challenge?<br/><br/>Of course we can't possibly redesign the whole world in three days, so we're limiting our focus to <a href='#' id='3' class='pink colorlink'>Life</a>, <a href='#' class='green colorlink' id='5'>Cities</a>, <a href='#' id='4' class='purple colorlink'>Media</a> and <a href='#' id='2' class='yellow colorlink'>Design</a>. The high-impact changes these areas are undergoing provide real opportunities to make a difference. PICNIC '10 brings you a platform to create new solutions for a better world.<br/><br/>What are you bringing?<br/><br/><br/><br/></p>"];
	
	item[2] = ["_gfx/bg_design.jpg", "#9bcdee", "<h2>Redesign <span style='color:#eacf4a'>design</span></h2><p class='intro'>Design is going through some fundamental changes: open design, downloadable design and distributed design, democratize the design industry and imply that anyone can be a designer or a producer. On the other hand design methodology as a problem solving process has found new applications in a broad range of seemingly unrelated sectors. </p><p>Can design maintain its integrity whilst finding itself in the midst of disciplinary meltdown, globalization and knowledge distribution? How will these trends impact the very essence of the design industry, including copyright issues, traditional business models and the role of the professional designer?</p>"];	
	
	item[3] = ["_gfx/bg_life.jpg", "#9bcdee", "<h2>Redesign <span style='color:#f59cba'>life</span></h2> <p class='intro'>As we are increasingly able to manipulate the building blocks of life and the (living) world around us, the possibilities seem endless: prolonging and enhancing human life with improved healthcare, implanting nano chips in our brains to boost human intelligence, creating smart materials for more sustainable use, improving food crops and developing renewable energy sources.</p> <p>But not all is glory. What about the ethical and moral implications of these developments? How does it change our role as human beings in the greater order of things? Is there such a thing as nature any more? Does it shift our notion of life and the rights and responsibilities that go with that? </p>"];		
	item[4] = ["_gfx/bg_media.jpg", "#9bcdee", "<h2>Redesign <span style='color:#7455a3'>media</span></h2><p class='intro'>The changing role of media and its professionals continues to be the subject of intense debate. The sector is still struggling. Numerous interesting experiments, successful projects and promising new concepts have been introduced over the last years. But will still donŐt have the right answers. What do we want from our media?</p><p>Can we trust our news outlets or are they hopelessly untrustworthy and irreparably damaged by editorial bias? How can the industry reinvent itself and positively impact on the 21-century? PICNIC brings together knowledgeable experts, experienced professionals and you to develop new business models and redefine the role of media professionals.</p>"];	
	
	item[5] = ["_gfx/bg_city.jpg", "#9bcdee", "<h2>Redesign <span style='color:#80ac57'>the city</span></h2><p class='intro'>Within the next few decades, 80% of the worldŐs population will live in an urban environment. This urbanization will amplify challenges in cities throughout the world, including aging populations, growing economic divide, decreased mobility, social detachment and diminished sustainability.</p><p>How can we face such challenges and enhance the quality of living in cities? And how can social engineering, technology and open data help us to achieve that? Will cities provide us with the strategies for survival or will they become ghettos of pollution, overpopulation and decay?</p>"];				
	
	$("#slides a").click(function(){
		showbackground( $(this).attr("id") );
	});	

	/*$("body").everyTime(6000,function() {
			var counter = $("#counter").attr("class");
			var counter = parseFloat(counter) + 1;
			
			if(counter == item.length){
				counter = 1;
			}
			showbackground(counter);
	}); */


	// eerste contentitem direct laden
	$("#content").html(item[1][2]);

	// font replacement en fullscreen background
	Cufon.replace('h2,.intro,.infopane h3, .parintro, .speaker h3, .speaker h4');
	$('#fullscreenbg').resizenow();
	
	// achtergrond image weergeven on hover
	$("#ctrl_left").hover(function(){
		$(this).addClass("prev");
	}, function(){
		$(this).removeClass("prev");
	});
	
	$("#ctrl_right").hover(function(){
		$(this).addClass("next");
	}, function(){
		$(this).removeClass("next");	
	});	
	

	$(".infopane a").hover(function(){
		$(this).animate({
    		opacity: 0.5
    	}, 150)
    }, function(){
		$(this).animate({
    		opacity: 1
    	}, 150)
    });			
	
	
	// click rechts is volgende uit de array tonen
	$("#ctrl_right").click(function(){	
		var counter = $("#counter").attr("class");
		var counter = parseFloat(counter) + 1;
		
		if(counter == item.length){
			counter = 1;
		}

		showbackground(counter);
	});
	
	// click links is vorige uit de array tonen
	$("#ctrl_left").click(function(){	
		var counter = $("#counter").attr("class");
		var counter = parseFloat(counter) - 1;
			
		if(counter == "0"){
			counter = parseFloat(item.length) - 1;
		}
						
		showbackground(counter);
	});	
	
	$(".colorlink").click(function(){
		showbackground( $(this).attr("id") );
	});
	

	var legal = [];
	legal['legal_disclaimer'] = "<h2>Disclaimer</h2><p class='intro'>This website has been drafted with the greatest possible care. Nonetheless, the Amsterdam Cross Media Week Foundation (ACMW) cannot guarantee the absence of any mistakes and/or incorrect information on this website.</p><p>Please be informed the content of this website is solely intended as general information and the content of this website is not in any way construed as granting any right to any party. Therefore, no party shall have any claim pursuant to the content of this website and ACMW shall not be held liable for any incorrect information on this website. In addition, ACMW is not liable for any virus or other failure on this website.<br/><br/>This website contains referrals or links to other websites, which are outside of the domain of this website. These referrals and/or links are selected by ACMW for information purposes only. The Foundation is not responsible and/or liable for any and all content of or availability of these external websites and no referral or link may be deemed to be an approval by ACMW of the content of any external website.<br/><br/>ACMW explicitly reserves the right to deny any visitor the access to this website or part(s) thereof. In addition, ACMW may monitor the access of its visitors to this website. Furthermore, ACMW explicitly reserves the right to adjust this website in such way it deems appropriate.<br/><br/>Visitors of this website indemnify and hold harmless ACMW and any of ACMW's employees, board members and/or representatives from any claim from any third party pursuant to the use of this website or the content thereof.<br/><br/>During your visit, so-called 'cookies' may be automatically saved on the hard disk of your computer. These cookies allow ACMW to further develop our website and adjust it better to the wishes of the visitors of this website. Most internet browsers have the possibility to delete cookies, reject cookies or to have you informed before cookies are saved on your hard disk. Please read the instruction manual and/or help program of your internet browser for further details.<br/><br/>Any and all information provided to us through this website shall be provided without security and any such information shall not be considered as confidential.<br/><br/>The content of this website is subject to copyrights and cannot be used without prior written approval from ACMW. The name and trademark of ACMW are protected as trademarks, as a consequence of which these cannot be used without ACMW's prior written approval. Should you be interested in using the trademarks, please contact ACMW to request approval.<br/><br/>To the terms and conditions of this website are subject to the laws of the Netherlands. Any dispute arising out of or pursuant to these terms and conditions shall be settled by the competent courts in Amsterdam, the Netherlands.<br/><br/>";
	
	legal['legal_terms']  = "<h2>Terms &amp; Conditions</h2><p>Please be informed the content of this website is solely intended as general information and the content of this website is not in any way construed as granting any right to any party. Therefore, no party shall have any claim pursuant to the content of this website and ACMW shall not be held liable for any incorrect information on this website. In addition, ACMW is not liable for any virus or other failure on this website.<br/><br/>This website contains referrals or links to other websites, which are outside of the domain of this website. These referrals and/or links are selected by ACMW for information purposes only. The Foundation is not responsible and/or liable for any and all content of or availability of these external websites and no referral or link may be deemed to be an approval by ACMW of the content of any external website.<br/><br/>ACMW explicitly reserves the right to deny any visitor the access to this website or part(s) thereof. In addition, ACMW may monitor the access of its visitors to this website. Furthermore, ACMW explicitly reserves the right to adjust this website in such way it deems appropriate.<br/><br/>Visitors of this website indemnify and hold harmless ACMW and any of ACMW's employees, board members and/or representatives from any claim from any third party pursuant to the use of this website or the content thereof.<br/><br/>During your visit, so-called 'cookies' may be automatically saved on the hard disk of your computer. These cookies allow ACMW to further develop our website and adjust it better to the wishes of the visitors of this website. Most internet browsers have the possibility to delete cookies, reject cookies or to have you informed before cookies are saved on your hard disk. Please read the instruction manual and/or help program of your internet browser for further details.<br/><br/>Any and all information provided to us through this website shall be provided without security and any such information shall not be considered as confidential.<br/><br/>The content of this website is subject to copyrights and cannot be used without prior written approval from ACMW. The name and trademark of ACMW are protected as trademarks, as a consequence of which these cannot be used without ACMW's prior written approval. Should you be interested in using the trademarks, please contact ACMW to request approval.<br/><br/>To the terms and conditions of this website are subject to the laws of the Netherlands. Any dispute arising out of or pursuant to these terms and conditions shall be settled by the competent courts in Amsterdam, the Netherlands.</p>";


	legal['legal_privacy']  = "<h2>Privacy Policy</h2><p class='parintro'>Collect Data and Purpose</p><p>Amsterdam Cross Media Week Foundation (ACMW) collects various sorts of personal data. These include your name, address (including e-mail address), and phone number. The Foundation collects such data in order to (i) make it possible for the Foundation to inform you about the event PICNIC '10 and additional events organized by the ACMW; (ii) make it possible to register visitors of this website who wish to attend PICNIC '10. The Foundation only uses your email address and name to send you a newsletter about PICNIC, which you can opt-out of at any time. ACMW explicitly does not provide any personal data to third parties having a (legal) relationship with ACMW. Any provision by ACMW of personal data to any third party shall only be done after the prior written approval of the individual concerned.</p><br/><p class='parintro'>Non-personal information</p><p>ACMW collects certain non-personal information, including but not limited to the type of internet browser you are using and the site through which you are linked to the PICNIC website. ACMW shall use such information to optimize its website and to become more informed about the visitors of its website.</p><br/><p class='parintro'>Other websites</p><p>ACMW cannot be held responsible for the content, use and/or privacy policy of any third party, irrespective of whether such site links to the PICNIC website (or PICNIC links to such website) or not. We advise you to take (prior) notice of the privacy policy of such website(s).</p><br/><p class='parintro'>Protection</p><p>ACMW has taken sufficient precautions to try to prevent the unauthorized and/or improper use of your personal information.</p><br/><p class='parintro'>Correction</p><p>Upon request, you shall be provided with a copy of your personal data collected by ACMW. After reviewing the details, you can request ACMW to (i) adjust your personal data; or (ii) remove your personal data. ACMW shall respond within four (4) weeks of the date of the request and shall inform you if and which changes or deletions have been made.</p><br/><p class='parintro'>Contact</p><p>If you have any questions with regard to the collection of personal data by ACMW, please contact us.</p>";
	
	legal['legal_contact']  = "<h2>Contact us</h2><p class='intro'>Want to get in touch with PICNIC? You'll find all the necessary contact details below.</p><p>PICNIC<br/>Cross Media Week Foundation<br/>Haarlemmerweg 321 B<br/>1051 LG Amsterdam<br/>The Netherlands<br/><br/>Tel: +31 20 320 5813<br/>Fax +31 20 797 7901<br/>Email: <a href='mailto:info@picnicnetwork.org'>info@picnicnetwork.org</a><br/><br/>Company Registration & Tax Information<br/>Amsterdam Chamber of Commerce (KvK) Number: 34234137<br/>VAT Number: 8149.09.322";

	legal['buy_tickets']  = "<h2>Buy tickets</h2><p class='intro'>Tickets are now available for PICNIC '10. Purchase your ticket today! In addition to 1 Day and 3 Day Tickets, you can also buy tickets for special networking dinners on Wednesday and Thursday night.</p><p>Below you'll find a description of the different tickets.<br/> <a href='http://www.eventpartners04.nl/picnic'>Go to the registration page and buy your ticket now.</a> <br/><br/><p class='parintro'>3 day ticket</p><p>This ticket provides access to PICNIC on 22, 23 and 24 September. With this ticket you can attend the Conference, Festival and the PICNIC Club. Lunch is included.<br/><br/>Full Price: &euro; 995 (ex VAT)<br/>Early Bird Price Until 31 July: &euro; 695 (ex VAT)<a href='http://www.eventpartners04.nl/picnic' class='buy_tickets_now'>Buy tickets</a><br/><br/><br/><p class='parintro'>1 day ticket</p><p>This ticket provides access to PICNIC on 22, 23 OR 24 September. With this ticket you can attend the Conference, Festival and the PICNIC Club on the day of your choice. Lunch is included.<br/><br/>Full Price: &euro; 395 (ex VAT)<br/>Early Bird Price Until 31 July: &euro; 295 (ex VAT)<a href='http://www.eventpartners04.nl/picnic' class='buy_tickets_now'>Buy tickets</a><br/><br/><br/></p><p class='parintro'>Dinner @ PICNIC Wednesday</p><p>Family-style Moroccan dinner featuring lamb, fish and vegetarian tajine. Drinks are not included, but will be available for purchase at the bar. This ticket is only available in combination with a 3 Day Ticket or a 1 Day Ticket.<br/><br/>Price: &euro; 25 (ex VAT)<a href='http://www.eventpartners04.nl/picnic' class='buy_tickets_now'>Buy tickets</a></p><br/><br/><p class='parintro'>Dinner @ PICNIC Thursday</p><p>Surf & Turf BBQ including grilled rib-eye, lobster and vegetables, fresh bread, a variety of salads and dessert. Wine and bottled water are also included in the price. This ticket is only available in combination with a 3 Day Ticket or a 1 Day Ticket.<br/><br/>Price: &euro; 50 (ex VAT)<a href='http://www.eventpartners04.nl/picnic' class='buy_tickets_now'>Buy tickets</a></p>";		

	legal['speakers']  = "<h2>Speakers PICNIC'10</h2><p class='intro'>We're pleased to introduce you to a selection of the speakers at PICNIC '10. Get to know these thought leaders that are redesigning the world, media, life, design and cities.</p><div class='speaker'><img src='/2010/_images/Andreas_Weigend.png' style='float:left' /> <h3>Dr. Andreas Weigend, Ph.D.</h3><h4>Consumer Data Expert</h4><p>Andreas Weigend studies people and the data they create. He was the Chief Scientist at Amazon.com, where he helped the company build its customer-centric, measurement-focused culture. He currently advises startups and established firms worldwide, helping them leverage user data to create innovative products and business models. In his spare time, Andreas regularly teaches courses at Stanford, UC Berkeley and Tsinghua/INSEAD.</p><p class='tags'>Themes: World</p></div><div class='speaker'><img src='/2010/_images/Charles_Leadbeater.png' style='float:left' /> <h3>Charles Leadbeater</h3><h4>Author, Advisor on Innovation &amp; Creativity</h4><p>Charles Leadbeater is a leading authority on innovation and creativity. He has advised companies, cities and governments worldwide on innovation strategy and used that experience in writing his latest book We-think: the power of mass creativity, which charts the rise of mass, participative approaches to innovation. He is co-founder of Participle, working with government to devise new approaches social challenges.</p><p class='tags'>Themes: Media, World</p></div><div class='speaker'><img src='/2010/_images/Cory_Doctorow.png' style='float:left' /> <h3>Cory Doctorow</h3><h4>Author, Blogger, Journalist, Activist</h4><p>Cory Doctorow (craphound.com) is a science fiction author, activist, journalist and blogger -- the co-editor of Boing Boing (boingboing.net) and the author of the Teens/HarperCollins UK novels like \"For the Win\" and the bestselling \"Little Brother\". He is the former European director of the Electronic Frontier Foundation and co-founded the UK Open Rights Group. Born in Toronto, Canada, he now lives in London.</p><p class='tags'>Themes: Media</p></div><div class='speaker'><img src='/2010/_images/David_Gallo.png' style='float:left' /> <h3>David Gallo</h3><h4>Director of Special Projects, Woods Hole Oceanographic Institution</h4><p>David Gallo is Director of Special Projects at the Woods Hole Oceanographic Institution. He participated in numerous high-profile expeditions, including the RMS Titanic and the German battleship Bismarck, and was one of the first oceanographers to use a combination of submarines and robots to map the undersea world. In 2010, David joined James Cameron and a group of 28 marine experts to discuss alternative solutions to capping or controlling the flow of oil in the Gulf of Mexico. </p><p class='tags'>Themes: World</p></div><div class='speaker'><img src='/2010/_images/Denise_Caruso.png' style='float:left' /> <h3>Denise Caruso</h3><h4>Journalist, Researcher</h4><p>Denise Caruso has extensively covered one of the most significant innovations in human history - the move to digital technology - from posts at the San Francisco Examiner, New York Times and MSNBC. She founded the Hybrid Vigor Institute, a non-profit organization dedicated to advancing science via interdisciplinary collaboration. She is author of the award-winning book Intervention: Confronting the Real Risks of Genetic Engineering and Life on a Biotech Planet.</p><p class='tags'>Themes: Media, Life</p></div><div class='speaker'><img src='/2010/_images/Geoff_Mulgan.png' style='float:left' /> <h3>Geoff Mulgan</h3><h4>Director, Young Foundation</h4><p>Geoff Mulgan is director of the Young Foundation, bringing together insights, innovation and entrepreneurship to meet social needs. He worked in the UK Prime Minister's office and Cabinet Office from 1997 to 2004, and before that was the founding director of the think-tank Demos. His latest book is \"The Art of Public Strategy: mobilising power and knowledge for the common good\".</p><p class='tags'>Themes: World</p></div><div class='speaker'><img src='/2010/_images/Jeff_Jarvis.png' style='float:left' /> <h3>Jeff Jarvis</h3><h4>Blogger, Entrepreneur, Media Consultant</h4><p>Jeff Jarvis, author of \"What Would Google Do?\" blogs about media and news at Buzzmachine.com. He is associate professor and director of the interactive journalism program and the new business models for news project at the City University of New York's Graduate School of Journalism. He is well known for his opinion on the current and future state of media, and does consulting for various media companies.</p><p class='tags'>Themes: Media</p></div><div class='speaker'><img src='/2010/_images/Matthias-Hollwich.png' style='float:left' /> <h3>Matthias Hollwich</h3><h4>Architect, Co-founder HWKN</h4><p>Matthias Hollwich is co-founder of HollwichKuschner (HKWN), an architecture firm specializing in physical, digital and branded environments. He has worked in several internationally acclaimed architectural firms in the United States and Europe. In 2004 Matthias finished editing his first book with Rainer Weisbach at the Bauhaus: UmBauhaus – Updating Modernism. He is driven to upgrade manmade environments on a human and engaging scale with an ECONIC twist.</p><p class='tags'>Themes: City, Life</p></div><div class='speaker'><img src='/2010/_images/Mitchell_Joachim.png' style='float:left' /> <h3>Dr. Mitchell Joachim</h3><h4>Architect & Urban Designer: Terreform ONE, Terrefuge, Bioworks Institute</h4><p>Dr. Mitchell Joachim is a leader in ecological design and urbanism. He is a co-founder of Terreform ONE, Terrefuge and Bioworks Institute. His projects focus on uniting experts from a broad range of disciplines to create innovative solutions for sustainable energy, transportation, infrastructure, buildings and more. Rolling Stone called him one of \"The 100 People Who Are Changing America\" and Popular Science named him a visionary for \"The Future of the Environment\".</p><p class='tags'>Themes: Life, City</p></div><div class='speaker'><img src='/2010/_images/Oliver_Medvedik.png' style='float:left' /> <h3>Dr. Oliver Medvedik, Ph.D.</h3><h4>Co-founder, Bioworks Institute</h4><p>Oliver Medvedik works at the intersection of biology and art. He co-founded the Bioworks Institute, a tightly knit group of designers, artists and scientists who seek to develop new forms of products and designs using biotechnology. They aim to produce a radical new architectural craft, featuring new organisms and synthetic ecosystems. Previously Oliver was a consultant for Sirtris Pharmaceuticals, a company specializing in development of treat age-onset diseases.</p><p class='tags'>Themes: Life, City</p></div><div class='speaker'><img src='/2010/_images/Philip_Beesley.png' style='float:left' /> <h3>Philip Beesley</h3><h4>Architect, Professor, Artist</h4><p>Philip Beesley is an associate professor in the School of Architecture, University of Waterloo who practices digital media art, experimental and applied architecture. His recent projects increasingly feature digitally fabricated 'textile' structures and kinetic systems that use microprocessors, sensors and actuator systems. He is also director of the Integrated Centre for Visualization, Design and Manufacturing at Waterloo and co-directs Riverside Architectural Press.</p><p class='tags'>Themes: Design, City</p></div><div class='speaker'><img src='/2010/_images/Rachel_Armstrong_1.png' style='float:left' /> <h3>Dr. Rachel Armstrong</h3><h4>Scientist, Researcher</h4><p>Rachel Armstrong is an interdisciplinary researcher with a background in medicine. She collaborates with artists and architects to explore scientific concepts and re-engage with the fundamental creativity of science. She encourages change and new ways of thinking to develop innovative and different solutions in the fields of Technology, Science, Environment and Architecture.</p><p class='tags'>Themes: Life, Design, City</p></div><div class='speaker'><img src='/2010/_images/Reinier-de-Graaf-2006-L.png' style='float:left' /> <h3>Reinier de Graaf</h3><h4>Partner OMA, Director AMO</h4><p>Reinier de Graaf is partner at OMA (Office for Metropolitan Architecture, founded by Rem Koolhaas), responsible for a number of prestigious building projects in Europe, Russia and the Middle East. He's also director of AMO, the think tank of OMA, where he oversees their involvement in sustainability and energy planning, including the publication \"Roadmap 2050: A Practical Guide to a Prosperous, Low-Carbon Europe\".</p><p class='tags'>Themes: City, World</p></div><div class='speaker'><img src='/2010/_images/Seb_Chan.png' style='float:left' /> <h3>Sebastian Chan</h3><h4>Head of Digital, Social &amp; Emerging Technologies, Powerhouse Museum</h4><p>Sebastian Chan is Head of Digital, Social & Emerging Technologies at the Powerhouse Museum in Australia. His varied background includes social policy, journalism, media criticism, information technology, and interactive media. At Powerhouse he is responsible for the museum's online presence and a large suite of experimental and collaborative projects, as well as the Museum's collection database, which has won several international awards.</p><p class='tags'>Themes: Media, City</p></div><div class='speaker'><img src='/2010/_images/Tom_Hulme.png' style='float:left' /> <h3>Tom Hulme</h3><h4>Design Director, IDEO</h4><p>Tom is a Design Director at IDEO in London, where he uses the innovation and design process to develop new business opportunities. A serial entrepreneur and angel investor, Tom has first-hand experience in building successful enterprises and is particularly interested in commercializing new products and services. Having spent a year teaching secondary school in Tanzania, he also believes in the power of entrepreneurship for sustainable social good.</p><p class='tags'>Themes: Design</p></div><br/><br/><br/><br/><br/>";
	
	$("#servicelinks li a").click(function(){	
		$("#slides a").removeClass("currentslide");
		$("#fullscreenbg img").fadeOut("fast").delay("500").fadeIn("fast");
		$("#fullscreenbg img").attr("src", "_gfx/bg_legal.jpg");
		$("#content").html( legal[$(this).attr("id")] );

		Cufon.refresh();
	});
	
	$("#speakers").click(function(){	
		$("#slides a").removeClass("currentslide");
		$("#fullscreenbg img").fadeOut("fast").delay("500").fadeIn("fast");
		$("#fullscreenbg img").attr("src", "_gfx/bg_legal.jpg");
		$("#content").html( legal[$(this).attr("id")] );

		Cufon.refresh();
	});	
	
	

	$("#buy_tickets").click(function(){	
		$("#slides a").removeClass("currentslide");
		$("#fullscreenbg img").fadeOut("fast").delay("500").fadeIn("fast");
		$("#fullscreenbg img").attr("src", "_gfx/bg_legal.jpg");
		$("#content").html( legal[$(this).attr("id")] );
		
		Cufon.refresh();
	});	
	
	// tonen van het nummer uit de array
	function showbackground(i){	
		$("#fullscreenbg img").fadeOut("fast").delay("500").fadeIn("fast");
		$("#fullscreenbg img").attr("src", item[i][0]);
		$("#content").html(item[i][2]);		
		$("#counter").removeClass().addClass(""+i);
		$("#slides a").removeClass("currentslide");

		$("#slides a#"+i+"").addClass("currentslide");

		Cufon.refresh();
		
		return false;
	}
	
});	