$(document).ready(function() {
  $('#go-top').click(function() {
    $('html, body').animate({scrollTop: '0px'}, 500);
	return false;

  });
});

// create a singleton called PLB (perfectlightboxjquery) and use it as a namespace for the configuration
	// -> this is necessary as we needed to outsource the conf to a JS file because TypoScript cannot handle 
	// -> this singleton makes the vars accessible within the external JS file 
	var PLB = new Object();

    // assign the values which where set in constants.txt	
	PLB.auto_resize_percentage = 70;
	
    PLB.slideshowAutoplay = true;
    PLB.slideshowAutoclose = true;
    PLB.slideshowInterval = 5000;
	
	PLB.show_helper_text = false;
	PLB.show_info = true;
	PLB.show_extended_info = true;
	PLB.download_link = false;
	PLB.auto_resize = true;
	PLB.colorBlend = null;
	PLB.ie6_support = true;
	PLB.ie6_upgrade = true;
	PLB.show_linkback = false;
	PLB.auto_scroll = "disabled";
	PLB.speed = 400;
	PLB.baseurl = null;
	// PLB.files = ;
	// PLB.text = ;
	PLB.textClose = '<img src="typo3conf/ext/perfectlightboxjquery/res/images/close.gif" alt="schliessen X" />';
	PLB.textImageSet = 'Bild';
	PLB.textImageSetOf = 'von';
	// PLB.keys = ;
	PLB.opacity = 0.9;
	PLB.padding = 10;
	PLB.rel = "lightbox";
	PLB.auto_relify = true;
	
