// JavaScript by PrizeByte
ghl = {};
ghl.lastpic = '';
ghl.lastdesc = '';

$(function(){
		$("#fl > div").mouseenter(function(){
			var n = $(this).children("a").attr('id');
			ghl.lastpic = "img#tstpic" + n; 
			ghl.lastdesc = "div#tstdesc" + n;
			$(ghl.lastpic).removeClass("hidn");
			$(ghl.lastdesc).removeClass("hidn");
			$("img#defpic").addClass("hidn");
			$("div#tstdesc").addClass("hidn");
		}).mouseleave(function(){
			$(ghl.lastpic).addClass("hidn");
			$(ghl.lastdesc).addClass("hidn");
			$("img#defpic").removeClass("hidn");
			$("div#tstdesc").removeClass("hidn");
		});
		
		$("a[rel^='topwin']").topWin("showtst.php");
});

