function qTableColorer(id) {
	$(id+" > tbody > tr").hover( function(){ $(this).addClass("over"); }, function(){ $(this).removeClass("over"); });
//	$(id+" > tbody > tr").click( function(){ $(this).toggleClass("select"); } );
	$(id+" > tbody > tr:odd").addClass("odd");
}


function prettyForm(){
	$("input").each( function(){ $(this).addClass($(this).attr("type")); });
	$("input,textarea,select").focus( function(){ $(this).addClass("selected"); } );
	$("input,textarea,select").blur( function(){ $(this).removeClass("selected"); } );
}

function rand(min, max){
	return Math.floor(Math.random() * (max + 1 - min)) + min;
};

function show_flash(id) {
	document.getElementById(id).outerHTML = document.getElementById(id).outerHTML;
}

$(document).ready(function(){
	 DD_belatedPNG.fix('div.catalog');
});
