$(document).ready(function() {
// Question 1
$('#question_1').click(function(){

$.scrollTo('#answer_1', {duration: 500, onAfter:function(){
$('#answer_1_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 2
$('#question_2').click(function(){
$.scrollTo('#answer_2', {duration: 500, onAfter:function(){
$('#answer_2_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 3
$('#question_3').click(function(){
$.scrollTo('#answer_3', {duration: 500, onAfter:function(){
$('#answer_3_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 4
$('#question_4').click(function(){
$.scrollTo('#answer_4', {duration: 500, onAfter:function(){
$('#answer_4_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 5
$('#question_5').click(function(){
$.scrollTo('#answer_5', {duration: 500, onAfter:function(){
$('#answer_5_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 6
$('#question_6').click(function(){
$.scrollTo('#answer_6', {duration: 500, onAfter:function(){
$('#answer_6_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 7
$('#question_7').click(function(){
$.scrollTo('#answer_7', {duration: 500, onAfter:function(){
$('#answer_7_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 8
$('#question_8').click(function(){
$.scrollTo('#answer_8', {duration: 500, onAfter:function(){
$('#answer_8_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 9
$('#question_9').click(function(){
$.scrollTo('#answer_9', {duration: 500, onAfter:function(){
$('#answer_9_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 10
$('#question_10').click(function(){
$.scrollTo('#answer_10', {duration: 500, onAfter:function(){
$('#answer_10_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 11
$('#question_11').click(function(){
$.scrollTo('#answer_11', {duration: 500, onAfter:function(){
$('#answer_11_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 12
$('#question_12').click(function(){
$.scrollTo('#answer_12', {duration: 500, onAfter:function(){
$('#answer_12_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 13
$('#question_13').click(function(){
$.scrollTo('#answer_13', {duration: 500, onAfter:function(){
$('#answer_13_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 14
$('#question_14').click(function(){
$.scrollTo('#answer_14', {duration: 500, onAfter:function(){
$('#answer_14_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 15
$('#question_15').click(function(){
$.scrollTo('#answer_15', {duration: 500, onAfter:function(){
$('#answer_15_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 16
$('#question_16').click(function(){
$.scrollTo('#answer_16', {duration: 500, onAfter:function(){
$('#answer_16_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 17
$('#question_17').click(function(){
$.scrollTo('#answer_17', {duration: 500, onAfter:function(){
$('#answer_17_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 18
$('#question_18').click(function(){
$.scrollTo('#answer_18', {duration: 500, onAfter:function(){
$('#answer_18_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});

// Question 19
$('#question_19').click(function(){
$.scrollTo('#answer_19', {duration: 500, onAfter:function(){
$('#answer_19_text').highlightFade({color:'rgb(163, 205, 227)', speed: 500});
} });
});



// Go To TOP

$('.go_to_top').click(function(){

$.scrollTo('#top_zone', {duration: 500});

});

});
function getObject(data)
{
	document.write (data);
}

function getFlash(src, width, height)
{
	if(!src || !width || !height)
	{
		return null;
	}

	var classid  = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000";
	var codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0";
	var wmode    = "transparent";
	var quality  = "high";
	var plugin   = "http://www.macromedia.com/go/getflashplayer";
	var type     = "application/x-shockwave-flash";

	var html = "<object classid='" + classid + "' "
			 + "codebase='" + codebase + "' "
			 + "width='" + width + "' height='" + height + "'>"
			 + "<param name='wmode' value='" + wmode + "'>"
			 + "<param name='movie' value='" + src + "'>"
			 + "<param name='quality' value='" + quality + "'>"
			 + "<embed src='" + src + "' wmode='transparent'" 
			 + "quality='" + quality + "' pluginspage='" + plugin + "' type='" + type + "' "
			 + "width='" + width + "' height='" + height + "'></embed></object>";

	getObject(html);
}
