function addslashes( str ) {
// http://kevin.vanzonneveld.net
// +   original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
// +   improved by: Ates Goral (http://magnetiq.com)
// +   improved by: marrtins
// +   improved by: Nate
// +   improved by: Onno Marsman
// *     example 1: addslashes("kevin's birthday");
// *     returns 1: 'kevin\'s birthday'
 
  return (str+'').replace(/([\\"'])/g, "\\$1").replace(/\0/g, "\\0");
};

$(function() {

	
	
	//function traduce(este, tag, que, por) {
		
	//	lobuscado = tag + ":contains('" + que + "')";
	//	este.find( lobuscado ).each(function(i) {
	//		var $this = $(this);
			//alert("encontrado " + lobuscado);
	//		var expresion = new RegExp(que, "g");
	//		$this.html( $this.html().replace( expresion, por)).css({"padding": "0"});
	//	});
		
	//};

	
	//Debuging... Comentado para probar... Commented for testing.

	//$('.idc-c-plugins').livequery(function() {
	 // traduce ( $(this), 'a', 'Embed video', 'Inserta v&iacute;deo' );
	//});

	$('#header-wrapper').slideDown(1300, function() {
		$('#main').css("float", "right");
		$('#sidebar').fadeIn(900);
				
		$('#HTML8 h2').click(function() {
			$('#HTML8 .widget-content').slideToggle(600);
			
			//$.getJSON("http://www.almapro.com/asoro/blog/aa.php?callback=?", function(data) {
				//$.each(data.items, function(i, item) {
				//$("#aotroa").html(item.anima);
				//});
			//});
		});
		
		$('#HTML9 h2').click(function() {
			$('#HTML9 .widget-content').slideToggle(600);
			//$('#aq').livequery(function() {
			//	$(this).load("http://www.almapro.com/asoro/blog/aq.php");
			//});
		});
	});
});
