

$(function () {
	
	GUI.contentInit();
});

cGUI.prototype.contentInit = function() {
/*
    var helve = {
		src: WWW_ROOT + 'data/files/sifr.swf',
		forceWidth : true,
		fitExactly : true,
		transparent: true
	};

	sIFR.replace(helve, {
	selector: '#content h2',
	css: [
			'.sIFR-root { color:#6B6B6B; font-size: 17px; height:25px;}'
		],
	onReplacement: function(){
			 $('#content h2').css({
				 padding: '7px 0px 0px 10px',
				 
			 });
	 }
	});
/*
	sIFR.replace(helve, {
		selector: '#content h2',
		css: [
				'.sIFR-root { color:#FFFFFF; font-size: 16pt; background-color: #606060;}'
			],
		onReplacement: function(){
				 $('#content h2').css({
					 padding: '7px 0px 0px 10px'
				 });
		 }
	});

	sIFR.activate();
//*/
	

	$.Lightbox.domReady();

    // box petice - rollover
    $('#petice, #petice_over').bind('mouseover', function(){
        //$(this).css({"background-image":"url(/themes/images/box_petice_over.gif)"});
        if ($('#petice').css('display') != 'none') $('#petice').hide();

    });
    $('#petice, #petice_over').bind('mouseout', function(){
        //$(this).css({"background-image":"url(/themes/images/box_petice.gif)"});
        if ($('#petice').css('display') == 'none') $('#petice').show();
        
    });
    
    // box mapa - rollover
    $('#mapa, #mapa_over').bind('mouseover', function(){
        //$(this).css({"background-image":"url(/themes/images/mapa_over.gif)"});
        if ($('#mapa').css('display') != 'none') $('#mapa').hide();

    });
    $('#mapa, #mapa_over').bind('mouseout', function(){
        //$(this).css({"background-image":"url(/themes/images/mapa.png)"});
        if ($('#mapa').css('display') == 'none') $('#mapa').show();

    });

};

