// JavaScript Document
function checkFileExt(ctrl,checktype) 
{
    // retrieve our control
    // var file = DOMCall(ctrl).value;
    var file = ctrl.value;
    var type ="";
    var extDesc;
    //create an array of acceptable files
    var validExtensions ;
    
    if(checktype==1){
    
       validExtensions = new Array(".jpg", ".jpeg");
       extDesc = ".jpg, .jpeg";
       }
    else if(checktype==2){
       validExtensions = new Array(".jpg", ".jpeg");
       extDesc = ".jpg, .jpeg";

    }
    else{
        validExtensions = new Array(".jpg", ".jpeg",".pdf");
        extDesc = ".jpg, .jpeg,.pdf";
    }

    
    
    var allowSubmit = false;
    //if our control contains no file then alert the user
    if (file.indexOf(".") == -1)
    {
        alert("You must select a file before hitting the Submit button");
        return false;;
    }
    else
    {
        //get the file type
        type = file.slice(file.indexOf("\\") + 1);
        var ext = file.slice(file.lastIndexOf(".")).toLowerCase();
        //loop through our array of extensions
        for (var i = 0; i < validExtensions.length; i++) 
        {

            //check to see if it's the proper extension
            if (validExtensions[i] == ext) 
            { 
                //it's the proper extension
                allowSubmit = true; 
            }
        }
    }
    //now check the final bool value
    if (allowSubmit == false)
    {
        //let the user know they selected a wrong file extension
        alert("Only files with extensions " + extDesc + " are allowed");
        return false;
    }
    else
    {
        return true
    }       
    
    
    return allowSubmit;
}


function Image_Blank(chName,flName,blank){
	var bchBlank = eval("document.frm." + chName)
	var bfl_photo = eval("document.frm." + flName)
	var bblank = document.getElementById(blank);
	if (bchBlank.checked == true){		
		bfl_photo.disabled = true
		bblank.style.display = "none"
	}else{
		bfl_photo.disabled = false
		bblank.style.display = ""
	}
}

function CheckBox(chName){
	var chName = eval("document.frm." + chName)
	if (chName.checked == true){	
		chName.checked = false
	}else{	
		chName.checked = true		
	}
	
}

function go_page(bpage){
	document.frm.action = bpage;
	document.frm.submit()
}

function hid_msg(dis_smg){
	document.getElementById(dis_smg).style.display = "none"
}
	
function check_pwd(txtpwd,txtpwd2){
	bvalid = true

	
	var txtpassword = document.getElementById(txtpwd);
	var txtpassword2 = document.getElementById(txtpwd2);
	var lenPWD = txtpassword.value
	var lenPWD2 = txtpassword2.value
	/*
	if (lenPWD.length < 4){
		bvalid = false	
		txtpassword.value = ""	
		txtpassword2.value = ""
	}else if (lenPWD2.length < 4){
		bvalid = false
		txtpassword.value = ""	
		txtpassword2.value = ""
	}else
	
	if (txtpassword.value != txtpassword2.value){
		bvalid = false
		// txtpassword.value = ""	
		// txtpassword2.value = ""
	}
	*/
	return bvalid; 
	
}

/*function ch_Hour(bname){
	var bvalid = true;
	var bHour= eval("document.frm."+bname)
	if (isInteger(bHour.value)== false){		
		bvalid = false
		bHour.value = ""
	}else if (bHour.value >= 24){		
		bvalid = false		
		//bHour.focus()
		bHour.value = ""
	}else bvalid = true
	if (!bvalid) alert ("Number Only or least than 24")
}
function ch_Minute(bname){
	var bvalid = true;
	var bMinute= eval("document.frm."+bname)
	if (isInteger(bMinute.value)== false){		
		bvalid = false
		bMinute.value = ""
	}else if (bMinute.value >= 60){		
		bvalid = false
		//bMinute.focus()
		bMinute.value = ""
	}else bvalid = true
	
	if (!bvalid) alert ("Number Only or least than 60")
}
function time_Alert(hName,mName,RowId){
	var bErr = false;
	var bHour =eval("document.frm." + hName )
	var bMin =eval("document.frm." + mName)
	if ((!RequireField(bHour.value,RowId))||(!RequireField(bMin.value,RowId))){
		bErr = true;		
	}
}*/

function ch_Radio(bRdName,bTextName,rdIndex){
	var rdName = eval("document.frm."+ bRdName+"["+rdIndex+"]")
	var txtName = eval("document.frm."+bTextName)
	if (rdName.checked== true){
		txtName.disabled = false
		txtName.focus()
	}else{
		txtName.value = ""
		txtName.disabled = true
	}
}

// Disabled Icon
function DisableIcon(myIds){
	if (myIds == "") return "";
	var mySplitResult = myIds.split(",");
	for(i = 0; i < mySplitResult.length; i++){
		document.getElementById(mySplitResult[i]).style.display = "";
	}
}
 //End Disabled Icon

<!--
//// @author HENG SOKCHEA
//
function Tab_Over(image_v, image_h, image_v_src) {
	image_v.src = image_v_src
	image_h.style.visibility = 'visible'				
}
//
function Tab_Out(image_v, image_h, image_v_src) {
	image_v.src = image_v_src
	image_h.style.visibility = 'hidden'				
}
//
function LTrim(myString) {
	//Trim Space at Left
	var i = 0;
	var j = 0;
	var oStLength = 0;
	var temp = "";
	
	if (myString == "") return "";	
	oStLength = myString.length;	
	while (i < oStLength && (myString.charAt(i) + "") == " ") i++;	
	for(j = i; j < oStLength; j++) temp += myString.charAt(j);		
	return temp;			
}
//	
function RTrim(myString) {
	//Trim Space at Right
	var i = 0;
	var j = 0;
	var oStLength = 0;
	var temp = "";
	
	if (myString == "") return "";	
	oStLength = myString.length;	
	i = oStLength - 1;
	while (i > -1 && (myString.charAt(i) + "") == " ") i--;	
	for(j = i; j > -1; j--) temp = myString.charAt(j) + temp;		
	return temp;
}
//
function Trim(myString) {
	var temp = myString;
	temp = LTrim(temp);
	temp = RTrim(temp);
	return temp;
}
//
function validateMail(myMail) {
	var re = /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/
	var oMail = LTrim(RTrim(myMail))
	
	if (re.test(oMail) || oMail.length <= 0) {
		return true;
	}		
	return false;
}

function ch_tick(Ch_name,Hid_Id,TextIndex,LinkPage){
	var bValid = true
	var bHid_Id = eval("document.frm." + Hid_Id)
	var bTextIndex = eval("document.frm."+ TextIndex )
	var itemDel = ""
	for(var k = 1; k <= bTextIndex.value; k++) {
		var bObjCheck = eval("document.frm." + Ch_name + k)
			if((bObjCheck.checked) == true){
				itemDel += ", " + bObjCheck.value
				var check_chk = "ch"
			}
			else
				var check_chk1 = "un"				
	}	
	if (check_chk == "ch")
	{
		 bValid = true}
	else
		bValid = false
		
	if (!bValid)
		alert ("Please check the check box!")
	else{
		bHid_Id.value = itemDel.substring(2, itemDel.length)
		document.frm.action = LinkPage// Create Page delele
		document.frm.submit()
	}
}

function Ch_All(txthid_name,ch_name_all,ch_name)
{
	var hid_name = eval("document.frm." +  txthid_name)
	var ch_all = eval("document.frm." + ch_name_all)
	for(var k=1; k<=hid_name.value; k++) {
		var bObjCheck = eval("document.frm."+ch_name+k)
		if (ch_all.checked==true)
			bObjCheck.checked=true
		else
			bObjCheck.checked=false
	}	
}

function validateMail(myMail) {
	var re = /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/
	var oMail = LTrim(RTrim(myMail))
	
	if (re.test(oMail) || oMail.length <= 0) {
		return true;
	}		
	return false;
}

function checkMail(objname, objlabel, objtype)
	{
		smg="";
		obj=objname.toString();
		if (obj.indexOf("+") == -1)		
		{

			if (objname.value!="" && objtype=="email")
			{
				//if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(objname.value))
				if (/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/.test(objname.value))
				{
					return true;
				}
				smg="Please enter a valid email as xxx@xxx.xxx";
			}


			if (smg!="")
			{
				alert(smg);
				objname.focus();
				objname.select();
				return false;
			}
		}
	}
	
function change_language(myID, myHref) {
	
//	myID is id of <A>
//	myHref is href of <A>
//	
	document.getElementById(myID).href = myHref
}
//
function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
var bBgErr = "#F9FAD3";
function RequireField(myText, myRowId) {
	bReturn = true;
	bText = Trim(myText);
	if (bText == "") {
		bReturn = false;
		document.getElementById(myRowId).bgColor = bBgErr;
		//document.getElementById(myMsgId).style.display = "";
	}
	else {
		document.getElementById(myRowId).bgColor = "";
		//document.getElementById(myMsgId).style.display = "none";
	}
	return bReturn;	
}
function ClearMessage(myMsgId){
	document.getElementById(myMsgId).style.display = "none";
}
function ClearBgColor(myRowId){
	document.getElementById(myRowId).bgColor = "";
}

function numberConvertToUnicodeCharacter (myNumber)  {
	var oResult = ""
	var oTemp = ""
	for (var i=0; i < myNumber.length; i++) {
		oTemp = myNumber.charAt(i)
		switch (oTemp) {
			case '0' :
				oResult += '&#6112;'
				break
			case '1' :
				oResult += '&#6113;'
				break
			case '2' :
				oResult += '&#6114;'
				break
			case '3' :
				oResult += '&#6115;'
				break
			case '4' :
				oResult += '&#6116;'
				break
			case '5' :
				oResult += '&#6117;'
				break
			case '6' :
				oResult += '&#6118;'
				break
			case '7' :
				oResult += '&#6119;'
				break
			case '8' :
				oResult += '&#6120;'
				break
			case '9' :
				oResult += '&#6121;'
				break			
		}
	}	
	return oResult
}

//// function use for setting DayName
function DayName(myDay,myLang)
		{
			if(myLang=="en")
				var oDN = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
			if(myLang=="kh")
				var oDN = new Array("&#6050;&#6070;&#6033;&#6071;&#6031;&#6098;&#6041;", 
				 "&#6021;&#6096;&#6035;&#6098;&#6033;",	
				 "&#6050;&#6020;&#6098;&#6018;&#6070;&#6042;", 
				 "&#6038;&#6075;&#6034;",
				 "&#6038;&#6098;&#6042;&#6048;&#6047;&#6098;&#6036;&#6031;&#6071;", 
				 "&#6047;&#6075;&#6016;&#6098;&#6042;", 
				 "&#6047;&#6085;&#6042;&#6093;")
			return oDN[myDay]
		}
//// function use for setting MonthName
function MonthName(myMonth,myLang)
		{
			if(myLang=="en")
				var oMN = new Array("January", "February", "March", "April", "May", "June", 
				"July", "August", "September", "October", "November", "December")
			if(myLang=="kh")
				var oMN = new Array("&#6040;&#6016;&#6042;&#6070;", "&#6016;&#6075;&#6040;&#6098;&#6039;&#6087;", 
				 "&#6040;&#6071;&#6035;&#6070;", "&#6040;&#6081;&#6047;&#6070;", "&#6055;&#6047;&#6039;&#6070;", 
				 "&#6040;&#6071;&#6032;&#6075;&#6035;&#6070;", "&#6016;&#6016;&#6098;&#6016;&#6026;&#6070;", 
				 "&#6047;&#6072;&#6048;&#6070;", "&#6016;&#6025;&#6098;&#6025;&#6070;", "&#6031;&#6075;&#6043;&#6070;", 
				 "&#6044;&#6071;&#6021;&#6098;&#6022;&#6071;&#6016;&#6070;", "&#6034;&#6098;&#6035;&#6076;")
			return oMN[myMonth]
		}
//// function use for setting Time
function Timer()
	{
		var oDate = new Date
		var oTime = ""
		var oH, oM, oS, oSun
		oH = oDate.getHours()
		oM = oDate.getMinutes()
		oS = oDate.getSeconds()
		if (oH > 12)
			{
			oH = oH - 12
			oSun = "PM"
			}
		else
			{
			oSun = "AM"
			}
		if (oH < 10) oH = "0" + oH
		if (oM < 10) oM = "0" + oM
		if (oS < 10) oS = "0" + oS
		oTime = oH + ":" + oM + ":" + oS + " " + oSun
		document.Panel.txtTime.value = oTime
		setTimeout("Timer();", 100)
	}
//// function use for Load Date Khmer
function LoadDate_Kh(){
	var oDate = new Date
	var gDate=new String(oDate.getDate())
	var gYear=new String(oDate.getYear())
	var oStr = ""
	oStr = "&#6032;&#6098;&#6020;&#6083;&#6035;&#6081;&#6087;<span style='font-size:15px;color:black;font-weight:bold'class='text'>:</span>&nbsp;&#6032;&#6098;&#6020;&#6083;" + DayName(oDate.getDay(),"kh")
	oStr = oStr + " &#6033;&#6072; " + numberConvertToUnicodeCharacter(gDate)
	oStr = oStr + " &#6017;&#6082; " + MonthName(oDate.getMonth(),"kh")+ " &#6022;&#6098;&#6035;&#6070;&#6086; " + numberConvertToUnicodeCharacter(gYear)
	document.write (oStr)	
}
//// function use for Load Date English
function LoadDate_En(){
	var oDate = new Date
	var oStr = ""
	oStr = "Today is :" + DayName(oDate.getDay(),"en")
	oStr = oStr + ", " + oDate.getDate()
	oStr = oStr + " " + MonthName(oDate.getMonth(),"en")+ ", " + oDate.getYear()
	document.write (oStr)	
}
//// function use for Load Date Khmer ***FONT ABC***
function LoadDate_ABC(textcolor){
	var oDate = new Date
	var gDate=new String(oDate.getDate())
	var gYear=new String(oDate.getYear())
	var oStr = ""
	oStr = "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class="+ textcolor +">"
	oStr = oStr + "<tr class=\"Text\" style=\"font-size:24px;font-weight:bold\"><td>éf¶</td>"
	oStr = oStr + "<td style=\"width:20px\"></td>"
	oStr = oStr + "<td>" + DayName_ABC(oDate.getDay()) + "</td>"
	oStr = oStr + "<td style=\"width:20px\"></td>"
	oStr = oStr + "<td >TI</td>"
	oStr = oStr + "<td style=\"width:20px\"></td>"
	oStr = oStr + "<td>" + gDate + "</td>"
	oStr = oStr + "<td style=\"width:20px\"></td>"
	oStr = oStr + "<td >Ex&nbsp;</td>"
	oStr = oStr + "<td style=\"width:20px\"></td>"
	oStr = oStr + "<td>" + MonthName_ABC(oDate.getMonth()) + "</td>"
	oStr = oStr + "<td style=\"width:20px\"></td>"
	oStr = oStr + "<td >qñaM</td>"
	oStr = oStr + "<td style=\"width:20px\"></td>"
	oStr = oStr + "<td>" + gYear + "</td>"
	oStr = oStr + "<td >&nbsp;</td></tr></table>"
	document.write (oStr)	
}

function isInteger(passedVal) {
	// Return true if the passedVal is integer
	//var ValidChars = "0123456789," 
	var ValidChars = "0123456789" 
	var IsNumber = true 
	var Char 
	if (passedVal == "") return false 
	for (i = 0; i < passedVal.length && IsNumber == true; i++)
	{
		Char = passedVal.charAt(i)
		if (ValidChars.indexOf(Char) == -1)	IsNumber = false
	}
	return IsNumber
}
///// End Special validation
//
//// For Page Method
function PageChange(mySelect, myPageLink) {
	var bSelectedPage = mySelect.options[mySelect.selectedIndex].value;
	var bLocation = myPageLink + bSelectedPage;
	
	window.location = bLocation;
}
//
function MoveFirst(myPageLink) {
	var bLocation = myPageLink + "1";
	window.location = bLocation;
}
//
function MoveLast(myPageLink, myLastPage) {
	var bLocation = myPageLink + myLastPage;
	window.location = bLocation;
}
//
function MovePreNext(myPageLink, myPage) {
	var bLocation = myPageLink + myPage;
	window.location = bLocation;
}
//// End For Page Method
//// For Text Box type Number only

function Validate(e) {
if ((e.keyCode >=48 && e.keyCode <=57) || e.keyCode == 8 || e.keyCode == 44 || e.keyCode == 46 || e.keyCode == 47 || e.keyCode == 13){
}
else 
	e.keyCode = 0;
}
//// End For Text Box Type Number only
//
//// Function format number
function isNumericMinus(passedVal) {
	// Return true if the passedVal is numeric
	var ValidChars = "0123456789.,-"
	
	var IsNumber = true 
	var Char 
	if (passedVal == "") return false 
	for (i = 0; i < passedVal.length && IsNumber == true; i++)
	{
		Char = passedVal.charAt(i)
		if (ValidChars.indexOf(Char) == -1)	IsNumber = false
	}
	return IsNumber	
}
//
function FormatNum(myValue , myFormat) {
	myValue = Trim(myValue)
	if (myValue == ""){
		if (myFormat == 0) 
			return 0;
		for (i=0; i<myFormat ; i++)
			myValue += "0";
		return "0." + myValue;
	}	
	else if(isNumericMinus(myValue)) {
		bValue = "";
		bPoint = "";
		bValueNotFormat = "";
		bValueFormat = "";
		bCountChar = 0;
		bArrValue = myValue.split("."); 
		bMinus = myValue.substr(0,1);
		
		if (bMinus != "-")
			bMinus = "";
		
		if (bArrValue.length == 1)
			bValue = bArrValue[0];
		else 
			for (i=0 ; i<bArrValue.length ; i++){
				if (i == bArrValue.length - 1)
					bPoint = bArrValue[i];
				else 
					bValue += bArrValue[i];
			}
		
		for (i=0 ; i<bValue.length ; i++) // Clear symbol "." and "," 
			if ((bValue.charAt(i) != ".") && (bValue.charAt(i) != ",") && (bValue.charAt(i) != "-"))
				bValueNotFormat += bValue.charAt(i);	
		
		for (i=bValueNotFormat.length-1 ; i>=0 ; i--) {
			if (bCountChar == 3){
				bValueFormat = bValueNotFormat.charAt(i) + "," + bValueFormat; 
				bCountChar = 0;
			}
			else 
				bValueFormat = bValueNotFormat.charAt(i) + bValueFormat;
			bCountChar++;
		}
		
		bNum = myFormat;
		if (bPoint.length > myFormat)
			bNum = bPoint.length;		
		
		for (i=0 ; i<bNum ; i++){
			if (bPoint.charAt(i) == "" )
				bPoint += "0";
			else if (bPoint.charAt(i) == ",")
				bPoint = bPoint.replace(bPoint.charAt(i) , "") + "0";
		}
		
		if (bValueFormat == "") bValueFormat = "0";
		if (myFormat > 0)
			return bMinus + bValueFormat + "." + bPoint.substring(0,myFormat);	
		else 
			return bMinus + bValueFormat;
	}
	return myValue;	
}
//
function FormatNumber(myValue , myFormat){
	return FormatNum(myValue , myFormat);
}
//
function FormatTextboxNumber(myObj , myPoint) {
	
	var bPoint = parseInt(myPoint);
	
	myObj.value = FormatNumber(myObj.value , bPoint);
}
//
//// Validation Date
//// Declaring valid date character, minimum year and maximum year
var dtCh= "/";
var minYear=1900;
var maxYear=2100;
//
//
function isIntegerDate(s){
	var i;
    for (i = 0; i < s.length; i++){   
        // Check that current character is number.
        var c = s.charAt(i);
        if (((c < "0") || (c > "9"))) return false;
    }
    // All characters are numbers.
    return true;
}
//
function stripCharsInBag(s, bag){
	var i;
    var returnString = "";
    // Search through string's characters one by one.
    // If character is not in bag, append to returnString.
    for (i = 0; i < s.length; i++){   
        var c = s.charAt(i);
        if (bag.indexOf(c) == -1) returnString += c;
    }
    return returnString;
}
//
function daysInFebruary (year){
	// February has 29 days in any year evenly divisible by four,
    // EXCEPT for centurial years which are not also divisible by 400.
    return (((year % 4 == 0) && ( (!(year % 100 == 0)) || (year % 400 == 0))) ? 29 : 28 );
}

function FormatHour (myValue) {
	var bResult = myValue;
	if (myValue < 10)
		bResult = "0" + myValue;
	return bResult;
}

function DaysArray(n) {
	for (var i = 1; i <= n; i++) {
		this[i] = 31
		if (i==4 || i==6 || i==9 || i==11) {this[i] = 30}
		if (i==2) {this[i] = 29}
   } 
   return this
}
//
function Date_Medium(myDate){
	var bArrMonth = Array();
	var bArr  = Array();
	bArrMonth[1] = "Jan";
	bArrMonth[2] = "Feb";
	bArrMonth[3] = "Mar";
	bArrMonth[4] = "Apr";
	bArrMonth[5] = "May";
	bArrMonth[6] = "Jun";
	bArrMonth[7] = "Jul";
	bArrMonth[8] = "Aug";
	bArrMonth[9] = "Sep";
	bArrMonth[10] = "Oct";
	bArrMonth[11] = "Nov";
	bArrMonth[12] = "Dec";
	if (myDate == "" )
		return "";
		
	bArr = myDate.split("/");
	bResult = bArrMonth[parseInt(bArr[1])] + "&nbsp;";	
	bResult += bArr[0] + ",&nbsp;"; 	
	bResult += bArr[2];
	return bResult
}
function isDate(dtStr){
	if (dtStr == "")
		return true
	
	var daysInMonth = DaysArray(12)
	var pos1=dtStr.indexOf(dtCh)
	var pos2=dtStr.indexOf(dtCh,pos1+1)
	var strDay=dtStr.substring(0,pos1)
	var strMonth=dtStr.substring(pos1+1,pos2)
	var strYear=dtStr.substring(pos2+1)
	strYr=strYear
	if (strDay.charAt(0)=="0" && strDay.length>1) strDay=strDay.substring(1)
	if (strMonth.charAt(0)=="0" && strMonth.length>1) strMonth=strMonth.substring(1)
	for (var i = 1; i <= 3; i++) {
		if (strYr.charAt(0)=="0" && strYr.length>1) strYr=strYr.substring(1)
	}
	month=parseInt(strMonth)
	day=parseInt(strDay)
	year=parseInt(strYr)
	if (pos1==-1 || pos2==-1){
		// alert("The date format should be : mm/dd/yyyy")
		return false
	}
	if (strMonth.length<1 || month<1 || month>12){
		// alert("Please enter a valid month")
		return false
	}
	if (strDay.length<1 || day<1 || day>31 || (month==2 && day>daysInFebruary(year)) || day > daysInMonth[month]){
		// alert("Please enter a valid day")
		return false
	}
	if (strYear.length != 4 || year==0 || year<minYear || year>maxYear){
		// alert("Please enter a valid 4 digit year between "+minYear+" and "+maxYear)
		return false
	}
	if (dtStr.indexOf(dtCh,pos2+1)!=-1 || isIntegerDate(stripCharsInBag(dtStr, dtCh))==false){
		// alert("Please enter a valid date")
		return false
	}
	
	return true
}

function menu(){
stm_bm(["menu3ac5",600,"","scripts/menu/blank.gif",0,"","",1,0,0,0,1000,1,0,0,"","100%",0,0,1,0,"default","hand","scripts/menu/"],this);
stm_bp("p0",[0,4,0,0,0,2,0,0,100,"",-2,"",-2,90,0,0,"#000000","transparent","scripts/menu/menu_middle.png",3,0,0,"#FFFFFF"]);
stm_ai("p0i0",[0,"  Home  ","","",-1,-1,0,"index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#73A8B7",0,"#B3CCD3",0,"scripts/menu/menu_middle.png","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#000000","bold 12px Verdana","bold 12px Verdana",0,0],50,54);
stm_bp("p1",[1,4,0,0,0,3,1,0,100,"progid:DXImageTransform.Microsoft.Iris(irisStyle=cross,motion=out,enabled=0,Duration=0.50)",-2,"",-2,60,0,0,"#000000","transparent","scripts/menu/menu_middle.png",3,1,1,"#73A8B7"]);
stm_aix("p1i0","p0i0",[0,"Latest news, News highlights ","","",-1,-1,0,"index.php","_self","","","","",1,1,0,"","",0,0,0,0,1,"#EBF8FF",0,"#ACD2DD",0,"scripts/menu/menu_middle.png","",3,3,0,0,"#FFFFFF","#FFFFFF","#333333","#333333","12px Verdana","12px Verdana"]);
stm_aix("p1i1","p1i0",[0,"Welcome Note of H.E. DPM ","","",-1,-1,0,"static.php?sid=1"]);
stm_ep();
stm_ai("p0i1",[6,1,"#CCCCCC","",0,0,0]);
stm_aix("p0i2","p0i0",[0," About AEMM ","","",-1,-1,0,"about_aemm.php","_self","","","","",0,0,0,"","",0,0,0,1],80,54);
stm_bpx("p2","p1",[1,4,0,0,0,3,1,0,100,"progid:DXImageTransform.Microsoft.Iris(irisStyle=cross,motion=out,enabled=0,Duration=0.50)",-2,"",-2,60,0,0,"#000000","#FFFFFF"]);
stm_aix("p2i0","p1i0",[0,"AEMM Overview ","","",-1,-1,0,"static.php?sid=2"]);
stm_aix("p2i1","p1i0",[0,"ASEAN Overview ","","",-1,-1,0,"static.php?sid=3"]);
stm_aix("p2i2","p1i0",[0,"EU Overview ","","",-1,-1,0,"static.php?sid=4"]);
stm_ep();
stm_aix("p0i3","p0i1",[]);
stm_aix("p0i4","p0i2",[0,"Program","","",-1,-1,0,"programme.php"],80,54);
stm_aix("p0i5","p0i1",[]);
stm_aix("p0i6","p0i2",[0,"Delegates","","",-1,-1,0,"delegate.php"],80,54);
stm_bpx("p3","p1",[1,4,0,0,0,3,1,0,100,"progid:DXImageTransform.Microsoft.Iris(irisStyle=cross,motion=out,enabled=0,Duration=0.50)",-2,"",-2,60,0,0,"#000000","#FFFFFF",""]);
stm_aix("p3i0","p1i0",[0,"Statements ","","",-1,-1,0,"statement_declare_list.php?type=1"]);
stm_aix("p3i1","p1i0",[0,"Phmon Penh Agenda ","","",-1,-1,0,"static.php?sid=5","_self","","","","",1,1,0,"","",0,0,0,0,1,"#EBF8FF",1]);
stm_aix("p3i2","p1i0",[0,"ASEAN-EU Documents ","","",-1,-1,0,"asean_eu_doc.php"]);
stm_ep();
stm_aix("p0i7","p0i1",[]);
stm_aix("p0i8","p0i2",[0," Media Services ","","",-1,-1,0,"media.php"],80,54);
stm_bpx("p4","p2",[]);
stm_aix("p4i0","p1i0",[0,"Media Advisory ","","",-1,-1,0,"media_advisory.php"]);
stm_aix("p4i1","p1i0",[0,"Media Programme ","","",-1,-1,0,"media_programme.php"]);
stm_aix("p4i2","p1i0",[0,"Media Registration","","",-1,-1,0,"reg_media.php"]);
stm_ep();
stm_aix("p0i9","p0i1",[]);
stm_aix("p0i10","p0i2",[0,"News Room","","",-1,-1,0,"news_room.php"],80,54);
stm_bpx("p5","p2",[]);
stm_aix("p5i0","p1i0",[0,"News Archive ","","",-1,-1,0,"news_list.php?archive=1"]);
stm_aix("p5i1","p1i0",[0,"Press Release ","","",-1,-1,0,"news_list.php"]);
stm_ep();
stm_aix("p0i11","p0i1",[]);
stm_aix("p0i12","p0i2",[0," Cambodia Impression","","",-1,-1,0,"cambodia_impression.php"],120,54);
stm_bpx("p6","p2",[]);
stm_aix("p6i0","p1i0",[0,"General Information ","","",-1,-1,0,"general_info.php"]);
stm_aix("p6i1","p1i0",[0,"Khmer History ","","",-1,-1,0,"khmer_history.php"]);
stm_aix("p6i2","p1i0",[0,"Khmer Food ","","",-1,-1,0,"khmer_food.php"]);
stm_aix("p6i3","p1i0",[0,"Tourist Attractions ","","",-1,-1,0,"tour_attraction.php"]);
stm_bpx("p7","p2",[]);
stm_aix("p7i0","p1i0",[0,"Phnom Penh ","","",-1,-1,0,"tour_phnompenh.php"]);
stm_aix("p7i1","p1i0",[0,"Siem Reap ","","",-1,-1,0,"tour_siemreap.php"]);
stm_aix("p7i2","p1i0",[0,"Preah Vihear ","","",-1,-1,0,"tour_preahvihear.php"]);
stm_aix("p7i3","p1i0",[0,"Sihanouk Ville ","","",-1,-1,0,"tour_sihaoukville.php"]);
stm_aix("p7i4","p1i0",[0,"Noth-Eastern Provinces ","","",-1,-1,0,"tour_notheast.php"]);
stm_ep();
stm_aix("p6i4","p1i0",[0,"Useful Links ","","",-1,-1,0,"links.php"]);
stm_ep();
stm_ep();
stm_em();

}

// End Validation Date

