function Hide(obj, url){	var small = 33;	if($(obj).parent().parent().parent().height() != small){		$(obj).parent().parent().parent().children('iframe').animate({"height": "toggle", "opacity": "toggle"}, "slow", function(){			$(obj).parent().parent().parent().animate({height: small + "px"}, "slow");					var src = $(obj).children('img').attr('src');			var newSrc = src.split('_min.gif').join('_max.gif');			$(obj).children('img').attr('src', newSrc);			$(obj).parent().parent().parent()				.css('background-repeat', 'no-repeat')				.css('background-position', 'bottom')				.css('background-image', 'url(' + url + 'img/bg_min.png)');			});	}else{		$(obj).parent().parent().parent().animate({height: "262px"}, "slow", function(){			var src = $(obj).children('img').attr('src');			var newSrc = src.split('_max.gif').join('_min.gif');			$(obj).children('img').attr('src', newSrc);			$(obj).parent().parent().parent().children('iframe').animate({"height": "toggle", "opacity": "toggle"}, "slow", function(){				$(obj).parent().parent().parent()					.css('background-image', 'url(' + url + 'img/bg_chat.png)')					.css('background-repeat', 'no-repeat')					.css('background-position', 'bottom');			});		});	}}function Logout(url){	window.frames['chatClientFrame'].location.href = url + 'logout.php';		getChat($('#chatHolder'));}$(document).ready( function() {		$('#chatClient').draggable({ handle: '.handle'});});
