function minH(){
	jQuery(document).ready(function(){
		//-- MIN container HEIGHT controller
		var margin = 20;
		var inc = parseInt(jQuery(window).height())-parseInt(jQuery('body').height());
		if(inc > 0){
			//Elements envolved in website HEIGHT
			var elem1_H = parseInt($('#main_content').height());
			jQuery('#main_content').css("height",(elem1_H+inc-margin)+"px");
		}
		//END -- MIN controller
		setTimeout("minH()",1000);
	});
}
minH();


//COLOR CHANGER
//"color: rgb(255, 0, 0);"
function colorC(){
	jQuery(document).ready(function(){
		var html = jQuery('.container').html();
		html = ""+html; //Casting to String
		html = html.replace(/255, 0, 0/g,"0, 175, 40");
		html = html.replace(/ff0000/g,"00AD2E");
		jQuery('.container').html(html);
		
		setTimeout("colorC_slow()",1000);
	});
}
function colorC_slow(){
	jQuery(document).ready(function(){
		var html = jQuery('.container').html();
		html = ""+html; //Casting to String
		html = html.replace(/255, 0, 0/g,"0, 175, 40");
		html = html.replace(/FF0000/g,"00AD2E");
		html = html.replace(/F40000/g,"00AD2E");
		jQuery('.container').html(html);
		
		//setTimeout("colorC_slow()",5000);
	});
}
colorC();