function getPage(page)
{
	var xmlhttp=false;
        try {
                xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
			} 
			catch (e) 
			{
                try {
                        xmlhttp = new
                        ActiveXObject('Microsoft.XMLHTTP');
					}
				catch (E) 
					{
						xmlhttp = false;
					}
			}
        if (!xmlhttp && typeof XMLHttpRequest!='undefined') 
			{
                xmlhttp = new XMLHttpRequest();
			}
		xmlhttp.open('GET', page, true);
		xmlhttp.onreadystatechange=function() 
			{
			if (xmlhttp.readyState==4) 
				{ //Check if it is ready to recieve data
					var content = xmlhttp.responseText; //The content data which has been retrieved ***
					if( content )
						{ 
						  document.getElementById('content').innerHTML = content; 
						}
				}
			}
		xmlhttp.send(null) 
	return;
}

function Show(negeri)
    {
		if (negeri == 'sarawak')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -220;
			/* display the pop-up */
			Popupsarawak.style.display="block";
			/* set the pop-up's left */
			Popupsarawak.style.left = x;
			/* set the pop-up's top */
			Popupsarawak.style.top = y;
		}
		else if (negeri == 'sabah')
		{        
			/* get the mouse left position */
			x =  document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + 5;
			/* display the pop-up */
			Popupsabah.style.display="block";
			/* set the pop-up's left */
			Popupsabah.style.right = x;
			/* set the pop-up's top */
			Popupsabah.style.top = y;
		}
		else if (negeri == 'penang')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -50;
			/* display the pop-up */
			Popuppenang.style.display="block";
			/* set the pop-up's left */
			Popuppenang.style.left = x;
			/* set the pop-up's top */
			Popuppenang.style.top = y;
		}
		else if (negeri == 'kelantan')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + 35;
			/* display the pop-up */
			Popupkelantan.style.display="block";
			/* set the pop-up's left */
			Popupkelantan.style.left = x;
			/* set the pop-up's top */
			Popupkelantan.style.top = y;
		}
		else if (negeri == 'pahang')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -75;
			/* display the pop-up */
			Popuppahang.style.display="block";
			/* set the pop-up's left */
			Popuppahang.style.left = x;
			/* set the pop-up's top */
			Popuppahang.style.top = y;
		}
		else if (negeri == 'johor')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y =  document.body.scrollTop + 30;
			/* display the pop-up */
			Popupjohor.style.display="block";
			/* set the pop-up's left */
			Popupjohor.style.left = x;
			/* set the pop-up's top */
			Popupjohor.style.top = y;
		}
		else if (negeri == 'melaka')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -400;
			/* display the pop-up */
			Popupmelaka.style.display="block";
			/* set the pop-up's left */
			Popupmelaka.style.left = x;
			/* set the pop-up's top */
			Popupmelaka.style.top = y;
		}
		else if (negeri == 'ipoh')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -200;
			/* display the pop-up */
			Popupipoh.style.display="block";
			/* set the pop-up's left */
			Popupipoh.style.left = x;
			/* set the pop-up's top */
			Popupipoh.style.top = y;
		}
		else if (negeri == 'putrajaya')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -200;
			/* display the pop-up */
			Popupputrajaya.style.display="block";
			/* set the pop-up's left */
			Popupputrajaya.style.left = x;
			/* set the pop-up's top */
			Popupputrajaya.style.top = y;
		}
		else if (negeri == 'KL')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -300;
			/* display the pop-up */
			PopupKL.style.display="block";
			/* set the pop-up's left */
			PopupKL.style.left = x;
			/* set the pop-up's top */
			PopupKL.style.top = y;
		}
		else if (negeri == 'perlis')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + 0;
			/* display the pop-up */
			Popupperlis.style.display="block";
			/* set the pop-up's left */
			Popupperlis.style.left = x;
			/* set the pop-up's top */
			Popupperlis.style.top = y;
		}
		else if (negeri == 'kedah')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + 35;
			/* display the pop-up */
			Popupkedah.style.display="block";
			/* set the pop-up's left */
			Popupkedah.style.left = x;
			/* set the pop-up's top */
			Popupkedah.style.top = y;
		}
		else if (negeri == 'selangor')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -160;
			/* display the pop-up */
			Popupselangor.style.display="block";
			/* set the pop-up's left */
			Popupselangor.style.left = x;
			/* set the pop-up's top */
			Popupselangor.style.top = y;
		}
		else if (negeri == 'NS')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -160;
			/* display the pop-up */
			PopupNS.style.display="block";
			/* set the pop-up's left */
			PopupNS.style.left = x;
			/* set the pop-up's top */
			PopupNS.style.top = y;
		}
		else if (negeri == 'TG')
		{        
			/* get the mouse left position */
			x = event.clientX + document.body.scrollLeft;
			/* get the mouse top position  */
			y = event.clientY + document.body.scrollTop + -160;
			/* display the pop-up */
			PopupTG.style.display="block";
			/* set the pop-up's left */
			PopupTG.style.left = x;
			/* set the pop-up's top */
			PopupTG.style.top = y;
		}
	
	}
    /* this function hides the pop-up when
     user moves the mouse out of the link */

function Hide()
    {
        /* hide the pop-up */
        Popupsarawak.style.display="none";
		Popuppenang.style.display="none";
		Popupsabah.style.display="none";
		Popupkelantan.style.display="none";
		Popuppahang.style.display="none";
		Popupjohor.style.display="none";
		Popupmelaka.style.display="none";
		Popupputrajaya.style.display="none";
		PopupKL.style.display="none";
		Popupipoh.style.display="none";
		PopupNS.style.display="none";
		Popupperlis.style.display="none";
		Popupkedah.style.display="none";
		PopupTG.style.display="none";
		Popupselangor.style.display="none";
	}
