$(document).ready(function() {

	$('a.blank').click(function() {
		window.open(this.href);
		return false;
	});

	$('a.video').click(function() {
		window.open(this.href, 'video', 'width=750, height=650, resizable=yes, scrollbars=yes');
		return false;
	});

	$('a.popup').click(function() {
		window.open(this.href, 'popup', 'width=900, height=500, resizable=yes, scrollbars=yes');
		return false;
	});

	//$("#maincol div.more").hide();
	$("#maincol a.more").click(function() {
		$(this).next().slideToggle();
		$(this).toggleClass('open');
		return false;
	});

	$("div.more a.close").click(function() {
		$(this).parent().slideToggle();
		$(this).parent().prev().removeClass('open');
		return false;
	});

	$("div.archives a.slide").click(function() {
		$(this).parent().next().slideToggle();
		$(this).toggleClass('open');
		return false;
	});

});



function openVideo(hrf) {
	window.open(hrf, 'video', 'width=700, height=650, resizable=yes, scrollbars=no');
}