
/**
 * Helper function to launch link in a new window
 * 
 * @param url
 * @param height
 * @param width
 * @param scroller
 */
function newWindow(url, height, width, scroller) {
    nameW='feature'
 if (navigator.appVersion.indexOf('4') != -1) {
 // Vars for centering the new window on Version 4 Browsers
 xTop = screen.width/2 - (width/2);
 yTop = screen.height/2 - (height/2);
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars='+scroller+',resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=' + xTop + ',top=' + yTop + '');
 } else {
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars='+scroller+',resizable=1,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
 }
}

$(document).ready(function() {
	$('a[rel*=lightbox]').lightBox();
	$(".slideshowStart").click(startLightbox)
});


function startLightbox() {
	$('a:first[rel*=lightbox]').click();
}
