function ShowAlert(Message)
{
	$j.prompt(Message);
}

function Shwconfirm(Message)
{
	$j.prompt('Example 2',{ buttons: { Ok: true, Cancel: false }, submit:function(v,m) { if(v==true) { alert("Return True"); } else { alert("Return False"); } } });
}

function ShowVideo(VideoPath, VideoTitle)
{
	$j.prompt('<iframe src="showvideo.php?video=' + VideoPath + '" width="352" height="292" frameborder="0"></iframe><div align="center">' + VideoTitle + '</div>', {buttons:{Close:false}});
	//var video = 
}

function ShowAllAlumni(Start)
{
	jQuery.post("ShowAllAlumni.php?start=" + Start, null, function(Data, textStatus){
		if(Start=='-1')
		{
			$j.prompt('<div id="ShowAllAlumniDiv">' + Data + '</div>', {buttons:{Close:false}});
		}
		else
		{
			document.getElementById("ShowAllAlumniDiv").innerHTML=Data;
		}
	});
}

function ShowHeadMessage(ID)
{
	jQuery.post("GetMessage.php?ID=" + ID, null, function(Data, textStatus){
		$j.prompt(Data, {buttons:{Close:false}});
	});
}

/* Accordian Start */
$(document).ready(function(){
	//$j(".accordion2 h3:first").addClass("active");
	//$j(".accordion2 p:not(:first)").hide();

	$j(".accordion2 h3").click(function(){
		$j(this).next("p").slideToggle("slow")
		.siblings("p:visible").slideUp("slow");
		$j(this).toggleClass("active");
		$j(this).siblings("h3").removeClass("active");
		$j(this).siblings("h3").focus();
	});
});
/* Accordian End */

// Jquery lite box
$(function() {
	$j('#gallery a').lightBox();
});

$(function() {
	$j('#library_gallery a').lightBox();
});

$(function() {
	$j('#computer_gallery a').lightBox();
});

$(function() {
	$j('#transport_gallery a').lightBox();
});


function ShowStudents(DivID)
{
	var StudentData = document.getElementById(DivID).innerHTML;
	$j.prompt(StudentData, {buttons:{Close:false}});
}