var mapImages = new Array();
function preloading()
{
	for (x=0; x<preloading.arguments.length; x++)
	{
		mapImages[x] = new Image();
		mapImages[x].src = preloading.arguments[x];
	}
}
preloading("/images/banner_nhls.png","/images/index_text_bg.png","/images/maps/provinces.png","/images/maps/central.png","/images/maps/coastal.png","/images/maps/nothern.png","/images/maps/kwazulu.png");
	
var bannerImages = new Array();
var titleText = new Array();
function preloadImages()
{
	for (x=0; x<preloadImages.arguments.length; x++)
	{
		bannerImages[x] = new Image();
		bannerImages[x].src = preloadImages.arguments[x];
	}
}
preloadImages("/images/nhls/nhls.jpg","/images/nhls/nicd.jpg","/images/nhls/nioh.jpg","/images/nhls/ncr.jpg","/images/nhls/savp.jpg");
titleText[0] = "The <b>National Health Laboratory Service</b> (NHLS) is a dynamic, focused health service provider of cost-effective and professional laboratory medicine through competent, qualified professionals and state-of-the-art technology, supported by academic and internationally recognised research, training and product development to maximise healthcare delivery in South Africa. The NHLS is the largest diagnostic pathology service in South Africa with the responsibility of supporting the National and Provincial Department of Health in the delivery of healthcare. The NHLS provides laboratory and related public health services to over 80% of the population through a national network laboratories.";
titleText[1] = "The <b>NHLS - National Institute for Communicable Diseases</b> (NICD) is a major global player in infectious disease intelligence. The NICD is a resource of knowledge and expertise in regionally relevant communicable diseases to the South African Government, to SADC countries and the African continent. The NICD assists in the planning of policies and programmes and supports appropriate responses to communicable disease problems and issues.<br /><br />Visit the NICD Website: <a href=\"http://www.nicd.ac.za/\" title=\"Visit the NICD Website\" target=\"_blank\">http://www.nicd.ac.za/</a>";
titleText[2] = "The <b>NHLS - National Institute for Occupational Health</b> (NIOH) is South Africa’s major centre for occupational health development, training, service support and research. The NIOH is a national and regional reference centre, providing leadership and support for the development of effective occupational health services by maintaining and developing specialist reference laboratory, advisory and information services centrally and peripherally.<br /><br />Visit the NIOH Website: <a href=\"http://www.nioh.ac.za/\" title=\"Visit the NIOH Website\" target=\"_blank\">http://www.nioh.ac.za/</a>";
titleText[3] = "The <b>National Cancer Registry</b> (NCR) is incorporated into the NIOH and is a surveillance unit whose major role is to collate and analyse cancer cases diagnosed in pathology laboratories and report annual cancer incidence rates.<br /><br />Visit the NIOH Website: <a href=\"http://www.nioh.ac.za/\" title=\"Visit the NIOH Website\" target=\"_blank\">http://www.nioh.ac.za/</a>";
titleText[4] = "The <b>NHLS - Antivenom Unit</b> is the sole southern African producer of equine antivenoms for the treatment of bites from 11 of the most medically significant snakes prevalent in southern and other parts of Africa, as well as for spider bite and scorpion sting. The Antivenom Unit supplies normal horse, sheep and goat blood/serum for use in the production of diagnostic media and reagents. South African Vaccine Producers (PTY) Ltd is a wholly owned subsidiary of the NHLS, committed to developing strategic life/limb saving antivenom products.<br /><br />Visit the SAVP Website: <a href=\"http://www.savp.co.za/\" title=\"Visit the SAVP Website\" target=\"_blank\">http://www.savp.co.za/</a>";

var pause = 7000;
var pausetoggle='false';
var p = bannerImages.length;
var j = 0;
