/* smoothScrollBar */
$(function() {
$("div#makeMeScrollable").smoothDivScroll({});
});
/* SlidingBox */
$(document).ready(function(){
$('.boxgrid.captionfull').hover(function(){
$(".cover", this).stop().animate({top:'-150px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({top:'200px'},{queue:false,duration:1000});
});
});

/* LightBox NyroModal */
$(function() {
$.nyroModalSettings({
debug: false,
height: 485,
width: 750,
resizable: true,
autoSizable: true,
padding: 0,
bgColor: '#000',
zIndexStart: 500
});
});

/* NivoSlider (in lightBox) */
$(window).load(function() {
$('#slider').nivoSlider({
effect:'fade', //Specify sets like: 'fold,fade,sliceDown'
slices:15,
animSpeed:500,
pauseTime:4000,
startSlide:0, //Set starting Slide (0 index)
directionNav:true, //Next & Prev
directionNavHide:false, //Only show on hover
controlNav:false, //1,2,3...
controlNavThumbs:false, //Use thumbnails for Control Nav
controlNavThumbsFromRel:false, //Use image rel for thumbs
controlNavThumbsSearch: '.jpg', //Replace this with...
controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
keyboardNav:true, //Use left & right arrows
pauseOnHover:true, //Stop animation while hovering
manualAdvance:true, //Force manual transitions
captionOpacity:1, //Universal caption opacity
beforeChange: function(){},
afterChange: function(){},
slideshowEnd: function(){} //Triggers after all slides have been shown
});
});
 
/* Infobulle */
$(document).ready(function() {
$('a.tTip').tinyTips('title');
$('a.imgTip').tinyTips('<img src="images/demo-image.jpg" /><br />You can even put images or any other markup in the tooltips.');
$('img.tTip').tinyTips('title');
$('h1.tagline').tinyTips('tinyTips are totally awesome!');
});

/* pngFix */
$(document).ready(function(){ 
$(document).pngFix(); 
}); 
	

