//------------------------------------
//	
//	ZAPPT.JS
//	Author: 	Zappt - Christian Thomas
//	Requires:	jquery 1.3.x
//	
//------------------------------------


$(function() {
// BEGIN JQUERY

	// JSHARE
    $().jshare();
	
	
	// FEEDBACK
	$('#feedback-container').feedback();
	
	$(".iframe").fancybox({
		'width': '50%',
		'height': '70%',
		'type': 'iframe'
	});
	
	
	// SUPPORT
	Cufon.replace('#status_box a');
	
	$("#chat-list li").click(function(){
		window.location=$(this).find("a").attr("href");
		return false;
	});

});
// END JQUERY

var supportWindow = 0;
	
function launchSupport(URLStr, left, top, width, height)
{
	if(supportWindow)
	{
		if(!supportWindow.closed) supportWindow.close();
	}
	supportWindow = open(URLStr, 'supportWindow', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no,copyhistory=yes, width='+width+', height='+height+', left='+left+', top='+top+', screenX='+left+', screenY='+top+'');
	
}
