function thexTog(name)
{
	$('li[name="'+name+'"]').toggle();
}

//DD_roundies.addRule('.moz', '5px', true);

$(document).ready(function(){
	//Examples of how to assign the ColorBox event to elements
	//$("a[rel='example1']").colorbox();
	//$("a[rel='example2']").colorbox({transition:"fade"});
	//$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
	//$("a[rel='example4']").colorbox({slideshow:true});
	
	//$(".aPlisting").colorbox({}, function(){
		//document.write('Produs adaugat');
	//});
	$("#forgotLink").colorbox({}, function(){
													   
	});
	
	//$(".colorbox").colorbox();
	//$(".youtube").colorbox({iframe:true, width:650, height:550});
	//$(".iframe").colorbox({width:"80%", height:"80%", iframe:true});
	//$(".inline").colorbox({width:"50%", inline:true, href:"#inline_example1"});
	
	//Example of preserving a JavaScript event for inline calls.
	/*
	$("#click").click(function(){ 
		$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
		return false;
	});
	*/
	
	
});
/* <![CDATA[ */
jQuery(document).ready(function($) {
	// Your puppet's here
	$("#cauta, #srctext, #nr-bucati").defaultvalue("cauta un produs", "Completeaza o fraza sau cuvant cheie ...", "1");
	//$(document).pngFix(); // For PNG transparency
	
	// Tooltip functions
	$(".tooltip").hover(function(e) {
		this.t=this.title;this.title="";xOffset=-22;yOffset=12;							 
		$("body").append("<p id='tooltip'>"+this.t+"</p>");
		$("#tooltip").css("top",(e.pageY-xOffset)+"px").css("left",(e.pageX+yOffset)+"px").fadeIn("fast");
	},
	function(){
		this.title=this.t;
		$("#tooltip").remove();
		});
	
	$(".tooltip").mousemove(function(e) {
		$("#tooltip").css("top",(e.pageY-xOffset)+"px").css("left",(e.pageX+yOffset)+"px");
		});
	// Togle Boxes
	$('#advanced').hide();
	
	$('a#show-request').click(function() {
		$('#advanced').slideToggle("slow");
		$('.close').addClass('hide');
		return false;
		//$("#numeID").addClass("numeClasa");
	});
	
	
	
});

/* ]]> */

