jQuery(function($) {
    $('#login').click(function() {
		$('#loginbox').lightbox_me({
			centered: false, 
			onLoad: function() { 
				$('#loginbox').find('input:first').focus()
				}
			});
		return false;
	});
	
	$('#pop1').click(function() {
		$('#popup1').lightbox_me();
		return false;
	});
	$('#pop2').click(function() {
		$('#popup2').lightbox_me();
		return false;
	});
	$('#pop3').click(function() {
		$('#popup3').lightbox_me();
		return false;
	});
	
	$(".content-table tr:even").addClass("alt");
	
	$('#testimonials').innerfade({ animationtype: 'fade', speed: 1000, timeout: 6000, type: 'random' });
	
	// Anything classed with .collapse should be collapsed as well by default
	$( '.collapse' ).each(function(){
	 this.id = 'collapser-' + Math.floor( Math.random() * ( Math.random() * 10000 ) );
	 jQuery(this).wrap( '<div id="' + this.id + '-expand"></div>' );
	 jQuery(this).before( '<a id="' + this.id + '-link" href="#" class="open" onclick="javascript:jQuery(\'#' + this.id + '\').slideToggle();return false;">Click to show/hide...</a>' );
	 jQuery(this).wrap( '<div></div>' );
	 jQuery(this).slideUp();
	});
	
	$("div#slider1").codaSlider();
	
	$('.archive .post-content').css({border: '1px solid #666'});
	$('.archive .post-content:last').css({border: 'none', margin: 0});
	
});

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=760,height=530,left = 580,top = 335');");
}
// End -->

<!-- Begin
function popUpCalc(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=760,height=530,left = 580,top = 335');");
}
// End -->

