﻿		var stemp=0;
		swt=0;stop=0;
if(document.body.clientWidth<780){stemp=65;swt=168;stop=116;}	//alert(spoint.style.left);
if(document.body.clientWidth<1024 && document.body.clientWidth>790){stemp=83;swt=187;stop=98; }	//alert(spoint.style.left);
//if(document.body.clientWidth<1152 && document.body.clientWidth>1026){stemp=94;swt=210;stop=100;}	//alert(spoint.style.left);
if(document.body.clientWidth<800 )	{stemp=64;stop=115;swt=178;}
//alert ('tttt');
//alert (document.body.clientWidth);
if(document.body.clientWidth<1270 && document.body.clientWidth>1200){stemp=100;stop=97;swt=178;}	//alert(spoint.style.left);


	var NoOffFirstLineMenus=7;			// Number of first level items
	var LowBgColor='#667C99';			// Background color when mouse is not over
	var LowSubBgColor='#667C99';			// Background color when mouse is not over on subs
	var HighBgColor='#00004B';			// Background color when mouse is over
	var HighSubBgColor='#00004B';			// Background color when mouse is over on subs
	var FontLowColor='white';			// Font color when mouse is not over
	var FontSubLowColor='white';			// Font color subs when mouse is not over
	var FontHighColor='#FFA448';			// Font color when mouse is over
	var FontSubHighColor='#FFA448';			// Font color subs when mouse is over
	var BorderColor='#336699';			// Border color
	var BorderSubColor='#336699';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="tahoma,comic sans ms,technical"	// Font family menu items
	var FontSize=9;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=stop;				// Menu offset x coordinate
	var StartLeft=stemp;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=0;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

//Menu1=new Array("Order List","/fonix/users/order/order-list.php","",0,20,138);
//Menu1=new Array(" ","","",0,20,138);
Menu1=new Array("درباره ما","about-us.php","",0,20,swt);
Menu2=new Array("<IMG SRC='images/tri-right1.gif'  align=right border='0'>خدمات","","",6);
//Menu4=new Array("<IMG SRC='/fonix/images/logout.gif' align=center border='0'><font color='#660099'>&nbsp;Logout</font>","/fonix/users/logout.php","",0,15,138);

Menu2_1=new Array("فعال كردن حساب","open-account.php","",0,20,138);
Menu2_2=new Array("پشتیبانی و خدمات ما","farsi-support.php","",0,20,138);	
Menu2_3=new Array("سیگنال معاملاتی","signal.php","",0,20,138);	
Menu2_4=new Array("مشاوره اینترنتی رایگان","forex-econsultant.php","",0,20,138);	
Menu2_5=new Array("اخبار فاندامنتال","fundamental-news.php","",0,20,138);
Menu2_6=new Array("اتاق گفتگو","http://www.gmunion.com/forum/viewforum.php?f=36","",0,20,138);

Menu3=new Array("<IMG SRC='images/tri-right1.gif'  align=right border='0'>افتتاح حساب","","",2);
	Menu3_1=new Array("حساب مجازی","demo.php","",0,20,138);	
	Menu3_2=new Array("حساب واقعی","real.php","",0,20,138);	
Menu4=new Array("مشاركت","partnership.php","",0,20,swt);

Menu5=new Array("<IMG SRC='images/tri-right1.gif'  align=right border='0'>ارتباط با ما","contact-us.php","",4);
Menu5_1=new Array("ارتباط با ما","contact-us.php","",0,20,200);
Menu5_2=new Array("درخواست تماس تلفنی","call-back.php","",0,20,200);
Menu5_3=new Array("ارسال پیغام به مدیریت ","message.php","",0,20,200);
Menu5_4=new Array("اخبار سایت","news-title.php","",0,20,200);



Menu6=new Array("<IMG SRC='images/tri-right1.gif'  align=right border='0'>آموزش","forex-training.php","",7);
Menu6_1=new Array("آموزش از راه دور پاینكس بانك","http://edu.pinexbank.com","",0,20,270);
Menu6_2=new Array("آموزش رایگان نرم افزار","forex-training-meta.php","",0,20,270);
Menu6_3=new Array("(Technical Analysis)  دوره آموزش تحلیل فنی ","forex-training-technical.php","",0,20,270);
Menu6_4=new Array("(Fundamental Analysis)  آموزش تحلیل بنیادی بازار","forex-fundamental.php","",0,20,270);
Menu6_5=new Array("جزوه آموزشی تحلیل بازار بورس","order-forex-book.php","",0,20,270);
Menu6_6=new Array("واژه نامه","terminology.php","",0,20,270);
Menu6_7=new Array("سمینار","seminar.php","",0,20,270);
//Menu6_8=new Array("ارائه مدرک دانشگاهی","university.php","",0,20,270);

Menu7=new Array("نرم افزار (Download)","download.php","",0,20,swt);

