
window.addEvent('domready', function(){
	//call multiBox
	var initMultiBoxTips = new multiBox({
		mbClass: '.mb2',//class you need to add links that you want to trigger multiBox with (remember and update CSS files)
		container: $(document.body),//where to inject multiBox
		descClassName: 'multiBoxDesc',//the class name of the description divs
                showNumbers: false,//show numbers such as "4 of 12"
		showControls: false,//show the previous/next, title, download etc

		//path: './Files/',//path to mp3 and flv players
		useOverlay: false,//use a semi-transparent background. default: false;
		maxSize: {w:600, h:400}//max dimensions (width,height) - set to null to disable resizing
//		addDownload: true,//do you want the files to be downloadable?
//		pathToDownloadScript: './Scripts/ForceDownload.asp',//if above is true, specify path to download script (classicASP and ASP.NET versions included)
//		addRollover: true,//add rollover fade to each multibox link
//		addChain: true,//cycle through all images fading them out then in
//		recalcTop: true,//subtract the height of controls panel from top position
//		addTips: true//adds MooTools built in 'Tips' class to each element (see: http://mootools.net/docs/Plugins/Tips)
	});

});

function dymek_pomocy(cos){
    alert(cos);
    /*
    var bg = new Element('div',
    {	'class': 'login-popup-bg',
        'id': 'login-popup-bg',
        'events': {
            'click': function() {
                this.destroy();
                div.destroy();
            }}}).injectInside(document.body);

    var div = new Element('div',{
        'class': 'login-popup',
        'id': 'login-popup-div'
    }).injectInside(document.body);

    var divClose= new Element('div',{'class':'close_img'}).injectInside(div);
    var close   =  new Element('img',{'src':'../ikony/del.gif',
        'events':{
            'click':function(e){bg.destroy();
                div.destroy();}}}).injectInside(divClose);

    var div2    =  new Element('div',{'class':'dyskusja_submit'}).injectInside(div);

	var page = getSize();
	var sc = getScrollSize();
	var scroll = getScroll();

	bg.setStyles({
            'height': sc.y.toInt()+'px',
            'width': sc.x.toInt()+'px'
        });
	div.setStyles({
            'top': scroll.y+(page.y/2-(div.getStyle('height').toInt()/2))+'px',
            'left': scroll.x+(sc.x/2-(div.getStyle('width').toInt()/2))+'px'
        });
        */

}