<!--

//	Set up submenu links.

//	You can call the arrays anything you want... 

//	Just reference their name from the hyperlinks at the end of this code

	LinkArray1=new Array();i=-1
		i++;LinkArray1[i]=new Array('Home', 'index.php')
		

		

	LinkArray2=new Array();i=-1

		i++;LinkArray2[i]=new Array('Overview', 'About_Overview.php')

		i++;LinkArray2[i]=new Array('FAQ', 'About_FAQ.php')



	LinkArray3=new Array();i=-1

		i++;LinkArray3[i]=new Array("ATM's", 'Products_ATM.php')

		i++;LinkArray3[i]=new Array('How it works', 'Products_How_it_works.php')

		i++;LinkArray3[i]=new Array("Wireless", 'Wireless.php')

		

	LinkArray4=new Array();i=-1

		i++;LinkArray4[i]=new Array('Benefits', 'Merchant_Benefits.php')

		i++;LinkArray4[i]=new Array('How to', 'Merchant_How_To.php')

		i++;LinkArray4[i]=new Array('Merchant Agreement', 'Merchant_Agreement.php')

		i++;LinkArray4[i]=new Array('Hotels & Shopping Centers', 'Hotels_Shopping.php')

		i++;LinkArray4[i]=new Array('Our clients', 'Merchant_Our_Clients.php')



	LinkArray5=new Array();i=-1

		i++;LinkArray5[i]=new Array('Service', 'Service.php')

		i++;LinkArray5[i]=new Array('ATM Values', 'ATM_Values.php')

		

	LinkArray6=new Array();i=-1	
		i++;LinkArray6[i]=new Array('Contacts', 'Contact_us.php')


// Misc Variables

	Menu_RowMax = 5		// Maximum number of rows in each submenu before starting new column.

	Menu_Width = 150	// Width of each submenu element

	Menu_YOffset = -1 // hauteur du  menu par rapport a son parent
	
	Menu_XOffset = 145 // distance a droite du  menu par rapport a son parent

	Menu_Over = null	// Menu currently highlighted

	



// This is the bit that does it all.

function ShowMenu(elem,HTML){
	

	if(Menu_Over!=null){if(!document.layers){Menu_Over.className='DropDownHeader'}}

	Menu_Over = elem

	if(!document.layers){elem.className='DropDownHeaderOver'}



	var HTMLCode = ''

	HTMLelem = eval(HTML)
	
	if(HTMLelem.length==1) {
		nom = navigator.appName
		if(nom=="Microsoft Internet Explorer")
			Menu_YOffset=24;
		else
			Menu_YOffset=-1;			
	} else {
			Menu_YOffset=-1;	
	}
	
	if(HTMLelem.length>0){

		HTMLCode += '<table bgcolor="#999999" border="1" cellpadding="3" cellspacing="0" style="border-style:solid; border-width:1; border-collapse: collapse; padding-left:4; padding-right:4; padding-top:1; padding-bottom:1" bordercolor="#FFFFFF">'

				for(i=0;i<HTMLelem.length;i++){

						//HTMLCode += '<tr onmouseover="bgColor=\'#5F6FBA\';style.color=\'white\'" onmouseout="bgColor=\'\'"><td width="'+Menu_Width+'" valign="top"><nobr><a href="'+ HTMLelem[i][1] +'" class="DropDownSubText">&nbsp;&nbsp;'+ HTMLelem[i][0] +'&nbsp;&nbsp;</a></nobr></td></tr>'

						HTMLCode += '<tr onclick="Javascript:document.location.href=\'' + HTMLelem[i][1] + '\'" style="cursor:hand" onmouseover="bgColor=\'#4286A5\';style.color=\'white\'" onmouseout="bgColor=\'#999999\';style.color=\'\'"><td style="font-family:tahoma; font-size:12px" width="'+Menu_Width+'" valign="top" height="25"><font color="#FFFFFF"><b><nobr>&nbsp;&nbsp;'+ HTMLelem[i][0] +'&nbsp;&nbsp;</nobr><b></font></td></tr>'

				}

		HTMLCode += '</td></tr></table>'

	}

		if(document.layers){

			document.OptionListDiv.left = findPosX(elem)+Menu_XOffset+5

			document.OptionListDiv.top = findPosY(elem) + Menu_YOffset-25

			document.OptionListDiv.document.write(HTMLCode); document.layers['OptionListDiv'].document.close();

		}

		if(document.all){

			OptionListDiv.style.left = findPosX(elem)+Menu_XOffset

			OptionListDiv.style.top = findPosY(elem) + Menu_YOffset-25

			OptionListDiv.innerHTML = HTMLCode

		}

		if(!document.all && document.getElementById){

			document.getElementById('OptionListDiv').style.left = findPosX(elem) + Menu_XOffset

			document.getElementById('OptionListDiv').style.top = findPosY(elem) + Menu_YOffset

			document.getElementById('OptionListDiv').innerHTML = HTMLCode

		}



}



function findPosX(obj){

	var curleft=0;

		if(document.getElementById||document.all){while(obj.offsetParent){curleft+=obj.offsetLeft;obj=obj.offsetParent;}}

		else if(document.layers){curleft+=obj.x;}

	return curleft;

}

function findPosY(obj){

	var curtop=0;

		if(document.getElementById||document.all){while(obj.offsetParent){curtop+=obj.offsetTop;obj=obj.offsetParent;}}

		else if(document.layers){curtop+=obj.y;}

	return curtop;

}



if(document.layers)document.captureEvents(Event.MOUSEMOVE);document.onmouseup=HideDiv;

function HideDiv(){

	if(Menu_Over!=null){

		if(!document.layers){Menu_Over.className='DropDownHeader'}

	}

	if(document.layers){document.OptionListDiv.top = -999}

	if(document.all){OptionListDiv.style.top = -999}

	if(!document.all && document.getElementById){document.getElementById('OptionListDiv').style.top = -999}

}



//-->