// JavaScript Document
	function ShowDescription(id,ref) {
	var Alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';	
	DivId = "a#" + ref;
	if ($("#ShowPopup").length) { 
	$("#ShowPopup").remove();
	} 
	var GridRef = $(DivId).parent().parent('div').attr('id');
	var XRef = GridRef.substr(1,1);
	var YRef = SetIndexOf = Alphabet.indexOf(GridRef.substr(0,1));
	$(DivId).parent().parent('div').css("position", "relative");
	ClassID = id;
	var ClassDesc = PopUpText(ClassID);
	ClassDesc = ClassDesc.split('^');
	
	var NewJS = '<script type="text\/javascript">$(document).ready(function(){ $("#CloseMe").click(function () { $("#ShowPopup").remove(); }); });<\/script>';
	var HTML = '<div id="ShowPopup"><div class="PopTitle">' + ClassDesc[0] + '<\/div><div class="PopInfo"><span style="background-color:#fff;">' + ClassDesc[1] + '</span><\/div><div id="CloseMe"><img src="images/Timetable/Close.gif" alt="Close" width="58" height="22" \/><\/div>'+NewJS+'<\/div>';

	$(DivId).parent().parent('div').append(HTML);
		if (XRef > 3 ) {
			$("#ShowPopup").css("background-image", "url(images/pngs/f4l_pop_up_size_243x254px_rh.png)");
			$("#ShowPopup").css("left","-200px");
			$(".PopInfo").css("margin","0px 0px 0px 20px");
			$("#CloseMe").css("padding","0px 0px 0px 120px");
			$(".PopTitle").css("width","170px")
			$(".PopTitle").css("padding","14px 0px 0px 20px");
			if (YRef > 10) {
				$("#ShowPopup").css("background-image", "url(images/pngs/f4l_pop_up_size_243x254px_bot_rh.png)");		
				$("#ShowPopup").css("top","-180px");
				$("#ShowPopup").css("left","-210px");
			}

		} else if (YRef > 10) {
			$("#ShowPopup").css("background-image", "url(images/pngs/f4l_pop_up_size_243x254px_bot.png)");
			$("#ShowPopup").css("top","-180px");
			$("#ShowPopup").css("left","90px");
		}
	}