$(document).ready(function () {
	
	/*sIFR.replaceElement("div.title p", named({
		sFlashSrc: 	"/flash/helveticaneue.swf", 
		sWmode: 	"transparent", 
		sColor:		"#777777"
	}));*/
	
	$('#print_button').click(function(){
		window.print();
	});
	
	$('#faq_panels p').css('display', 'none');
	
	$('#faq_panels h3').click(function() {
		$(this).next().slideToggle('fast');		
	});
	
	var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
		if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") {
			anchor.target = "_blank";
		}
	}
	
	$('#wallpaper_en').click(function () {
    _gaq.push(['_trackPageview', '/wallpaper_en']);
	});
	$('#wallpaper_de').click(function () {
    _gaq.push(['_trackPageview', '/wallpaper_de']);
	});
	$('#wallpaper_it').click(function () {
    _gaq.push(['_trackPageview', '/wallpaper_it']);
	});
	$('#wallpaper_fr').click(function () {
    _gaq.push(['_trackPageview', '/wallpaper_fr']);
	});
	$('#wallpaper_es').click(function () {
    _gaq.push(['_trackPageview', '/wallpaper_es']);
	});
	$('#wallpaper_ru').click(function () {
    _gaq.push(['_trackPageview', '/wallpaper_ru']);
	});
	$('#wallpaper_pl').click(function () {
    _gaq.push(['_trackPageview', '/wallpaper_pl']);
	});
		
});
