function getDidYouKnow()

{

	var didYouKnowArray = new Array();

	didYouKnowArray = [

		"Najaf International Airport was formerly a military airfield known as Al-Hamza Iraqi Air Force base.",

		"Imam Ali (A.S) Holy shrine is a RESTRICTED & PROHIBITED AREA which means flying over that area is considered against the law and an offence.",

		"Najaf International Airport is 6km east of the Najaf City.",

		"Iraqi Airways was the first official plane to touchdown the Najaf Airport runway on 20 July 2008.",

		"On 14 November 2008, Najaf Airport was recognized by ICAO as an International airport.",

		"Najaf International Airport operates from sunrise to sunset and 24 hr on exceptional occasions.",

		"Najaf Airport Authority works hard to identify opportunities to improve energy efficiency and we have been able to maintain the same overall level of energy consumption.",
];

	var tempHtml = '';

	

	var num1 = Math.floor(Math.random()*didYouKnowArray.length);

	//tempHtml += '<div style="border-bottom:1px solid #E5E5E5; padding-bottom:7px; margin-bottom:7px;">';

	tempHtml += didYouKnowArray[num1];

	//tempHtml += '</div>';

	

	/*var tempArray = new Array();

	for (var i=0; i<didYouKnowArray.length; i++)

	{

		if (i != num1)	tempArray.push(didYouKnowArray[i]);

	}

	didYouKnowArray = tempArray;

	

	var num2 = Math.floor(Math.random()*didYouKnowArray.length);

	tempHtml += didYouKnowArray[num2];

	//alert("num1:  "+num1+"  num2:  "+num2);*/

	

	d.getElementById('didYouKnow').innerHTML = tempHtml;

}



var hour = (-1); // this would be assigned as the value of system time


//Email Function

function emailAFriend()
{
	var emailMsg = new Array();
	emailMsg[0] = "Click the following to access the sent link:%0A%0A";
	emailMsg[1] = "You have received the following link to the Al-Najaf website";
	var winEF = window.open("mailto:?body="+ emailMsg[0] + escape((window.top.location.href).replace("?","!")) + "&subject=" + emailMsg[1]);
}

