// JavaScript Document
$(document).ready(function() {
						  					   
	$("#win_loader_table").fadeOut();
	$("#win_loader_table").height($(window).height());
	
	$(".c_link").click(function() {
		$("#win_loader_table").fadeIn("fast");
		$("#loader_title").html($(this).attr("title")+"&nbsp;");
		$("#win_loader_frame").attr("src",$(this).attr("href"));
		$("#loader_footer").html("<B>Yiepie.com</B>");
		return false;
	});
	
	$(".d_link").click(function() {
		$("#win_loader_table2").fadeIn("fast");
		$("#loader_title2").html($(this).attr("title")+"&nbsp;");
		$("#win_loader_frame2").attr("src",$(this).attr("href"));
		$("#loader_footer2").html("<B>Yiepie.com</B>");
		return false;
	});
	
	
	$(".t_link").click(function() {
		window.open($(this).attr("href"),"yiepie","height=600,width=500,toolbar=0,resizable=0,location=0,menubar=0,status=0");				
		return false;
	});
	

	$("#select_all").click(function()				
	{
		var checked_status = this.checked;
		$("input[name='select_item[]']").each(function()
		{
			this.checked = checked_status;					
			
		});
	});		


});
