if (typeof(Mootils) === 'undefined') throw 'Mootils prototypes require the Mootils base.';



if (typeof(Mootils.Preview) !== 'undefined') {

  Mootils.Preview.$prototype = {
    thumb: null,
		border: 0,
		showTransition: {
			time: 300,
			func: Fx.Transitions.Quad.easeOut
		},
		hideTransition: {
			time: 300,
			func: Fx.Transitions.Sine.easeOut
		},
		useOverlay: true,
		btnOptions: {
		  styles: {
		    'width': 27,
		    'height': 30,
		    'margin': '50px 0 0 56px',
		    'background': 'transparent url(/images/btn_close.png) 0 0 no-repeat'
		  }
		}
	}
	
}



if (typeof(Mootils.NetStatus) !== 'undefined') {

  Mootils.NetStatus.$prototype = {
  	parent: null,
    alignWith: '',
    margin: 15,
  	coords: null,
    src: '/images/netstatus.png',
    size: 23,
    timeout: 15
  }
	
}


if (typeof(Mootils.ErrorIcon) !== 'undefined') {

  Mootils.ErrorIcon.$prototype = {
    align: 'right',
    margin: 7,
    src: '/images/error_icon.png',
    size: 20
  }
	
}

if (typeof(Mootils.Alert) !== 'undefined') {

  Mootils.Alert.$prototype = {
    classname: 'alert',
  	btns: [ { text: 'yes', classname: 'green' }, { text: 'no', classname: 'red' } ],
  	showTransition: {
  		time: 300,
  		func: Fx.Transitions.Quad.easeOut
  	},
  	hideTransition: {
  		time: 300,
  		func: Fx.Transitions.Sine.easeOut
  	},
  	useOverlay: true,
  	overlayOptions: {}
  }
  
}


