//Setup Accordion
function initMenu() {
	$('#accordion div').hide();
	$('#accordion h3').click(
function () {
	$(this).next().slideToggle('normal');
}
);
}

$(document).ready(function () {

	//Highlight table rows
	$(".tabs1 table tr").hover(function () {
		$(this).addClass("highlight");
	}, function () {
		$(this).removeClass("highlight");
	});

	//Assign the ColorBox event to elements

	$("a[rel='gallery-epbx']").colorbox({ opacity: 0.75 });


	$('a[rel=gallery-onehub]').each(function (i) {
		$(this).colorbox({ inline: true, href: '.display1:eq(' + i + ')', opacity: 0.75 });
	});

	$('a[rel=gallery-gigaset]').each(function (i) {
		$(this).colorbox({ inline: true, href: '.display3:eq(' + i + ')', opacity: 0.75 });
	});

	$('a[rel=gallery-voicebox]').each(function (i) {
		$(this).colorbox({ inline: true, href: '.display:eq(' + i + ')', opacity: 0.75 });
	});

	$('a[rel=gallery-voicebox2]').each(function (i) {
		$(this).colorbox({ inline: true, href: '.display2:eq(' + i + ')', opacity: 0.75 });
	});

	$('a[rel=gallery-spa525g]').each(function (i) {
		$(this).colorbox({ inline: true, href: '.display4:eq(' + i + ')', opacity: 0.75 });
	});

	$('a[rel=gallery-spa504g]').each(function (i) {
		$(this).colorbox({ inline: true, href: '.display5:eq(' + i + ')', opacity: 0.75 });
	});

	//Accordion
	initMenu();
});



