/* use to load functions after loading page - jquery util*/
$(document).ready(function() {

	$('.toslideshow').slideshow({
		width: 400,
		height: 324,
		time:10000,
		title:false,     // show title
		titleshow:false,// always show title
		callback:null,  // callback function - call when slide changed - receive index and label
		panel:false,     // show controls panel
		play:true,     // play slideshow
		loop:true,      // looping
		effect:'fade',  // aviable fade, scrollUp/Down/Left/Right, zoom, zoomFade, growX, growY
		effecttime:3000,// aviable fast,slow,normal and any valid fx speed value
		filter:true,    // remove <br/>, empty <div>, <p> and other stuff
		nextclick:false,      // bind content click next slide
		playclick:false,      // bind content click play/stop
		playhover:false,      // bind content hover play/stop
		playhoverr:false,     // bind content hover stop/play (reverse of playhover)
		playframe:false,       // show frame "Play Now!"
		fullscreen:false,     // in full window size
		imgresize:false,      // resize image to slideshow window
		imgzoom:false,         // zoom image to slideshow window (for smaller side)
		imgcenter:true,       // set image to center
		imgajax:true,         // load images from links
		linkajax:false,       // load html from links
		help:'Plugin homepage: <a href="http://slideshow.hohli.com">(a)Slideshow</a><br/>'+
		'Author homepage: <a href="http://anton.shevchuk.name">Anton Shevchuk</a>',
		controls :{         // show/hide controls elements
			'hide':true,    // show controls bar on mouse hover
			'first':true,   // goto first frame
			'prev':true,    // goto previouse frame (if it first go to last)
			'play':true,    // play slideshow
			'next':true,    // goto next frame (if it last go to first)
			'last':true,    // goto last frame
			'help':false,    // show help message
			'counter':true  // show slide counter
		}
	});
}
);
