﻿window.onload = function(){
	$(".gallerynone").attr("style", "display:none"); 
	$(".gallerytext").attr("style", "display:block"); 
};

$(document).ready(function() {

	initShadowbox();
	layout();
	layoutresize();

});

function initShadowbox() {

  var options = {
    overlayOpacity: '0.9',
    slideshowDelay: 5,
    flashParams:{bgcolor:'#ffffff'}
  };

  Shadowbox.init(options);
}


/* ::: - - - - - layout Function - - - - - ::: */
function layout() {
	clientHeight = document.documentElement.clientHeight;
	$("#center").css("min-height",clientHeight);
}
function layoutresize() {
	$(window).resize(function() {
  	layout();
	});
}
