			$(document).ready(function() {
				/* CYCLE */
				$('#hometeaser').cycle({
					fx: 'fade',
					timeout: 5000,
					prev: '#prev',
					next: '#next',
					pause: 1
				});
				$('#rbma_headerimage').cycle({
					fx: 'fade',
					timeout: 5000,
					prev: '#prev',
					next: '#next',
					pause: 1
				});
				/* REACTION */
				$('#docomment').click(function() { 
					$.blockUI({ 
							message: $('#react1'),
							css: { 
								top: '10%',
								width: '450px',
								left: ($(window).width() - 450) /2 + 'px',
								border: '3px solid #181512',
								borderBottom: '10px solid #181512',
								background: '#181512',
								margin: '0px',
								cursor: 'auto'
							},
							overlayCSS:  { 
								cursor: 'auto'
							}
						});
					$('.rectanglebanner').toggleClass("hide");
					$('#reaction_cancel').toggleClass("hide");
				});
				$('#reaction_cancel').click(function() {
					$.unblockUI();
					$('.rectanglebanner').toggleClass("hide");
					$('#reaction_cancel').toggleClass("hide");
				});
				/* MENU */
				$("div#header_menu ul li.main").hover(
					function() {$("div#header_menu ul li ul").removeClass("unhidden");$("ul",this).addClass("unhidden");}, function () {}
				);
				/* SUPERBANNER BEHAVIOUR */
				$("#superbanner_kill img").click(
					function () {
						$(document.body).click(function () {
							if ($("#superbanner").is(":hidden")) {
								/* do nothing :) */
							} else {
								$("#superbanner").slideUp("slow");
							}								
						});
					}
				);
				/* mostread block v2 */
				$(".mostread_v2_block").not(".mostread_v2_highlight").hover(
					function(){
						if ($(this).not(".jq_switched")) {
							$(this).toggleClass("mostread_v2_highlight");
							$(this).toggleClass("jq_switched");
						}
					},
					function(){
						if ($(this).is(".jq_switched")) {
							$(this).toggleClass("mostread_v2_highlight");
							$(this).toggleClass("jq_switched");
						}
					}
				);
				$(".mostread_v2_popular,.mostread_v2_latest,.mostread_v2_comments").click(
					function(){
						$(".mostread_v2_popular,.mostread_v2_latest,.mostread_v2_comments").parent().parent().hide();
						if ($(this).is(".mostread_v2_popular")) { $("#mostread_block1").show(); }
						if ($(this).is(".mostread_v2_latest")) { $("#mostread_block2").show(); }
						if ($(this).is(".mostread_v2_comments")) { $("#mostread_block3").show(); }
					}
				);
			});
