	var Pop__WindowWidth,	Pop__WindowHeight;
	var Pop__InitRecursLevel=0,	Pop_PosRecursLevel=0,	Pop_CreateRecursLevel=0;
	var Pop_Loaded=0,		Pop_Created=0,		Pop_InitFlag;
	var Pop_FirstMenu=null,	Pop_CurrentOver=null;
	var Pop_CloseTimer,		Pop_Ztop=100;
	var Pop_MenuFont,		Pop_MenuFontOver,		Pop_FontFamily,		Pop_FontSize;
	var Pop_BackCol,		Pop_BackColOver,		Pop_BorderCol,		Pop_FontBold,	Pop_FontItalic;
	var Pop_Horizontal,		Pop_Visible,		Pop_BorderWidth;
	var Pop_CenterText,		Pop_MenuTextCentered;
	var Pop_ChildOverlap,	Pop_ChildVerticalOverlap;
	var Pop_DissapearDelay,	Pop_RightToLeft,		Pop_TargetLoc;
	var Pop_TxtClose;
	Pop_WebMasterAlerts=["No such frame: ","Item not defined: ","Item needs height: ","Item needs width: ","Warning-Item doesn't need height: ","Warning-Item doesn't need width: ","Item Oke ","Menu tree oke"];
	var AgntUsr=navigator.userAgent.toLowerCase();
	var DomYes=(document.getElementById)?1:0;
	var NavYes=(AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1)?1:0;
	var ExpYes=(AgntUsr.indexOf('msie')!=-1)?1:0;
	var Opr5=(AgntUsr.indexOf('opera 5')!=-1||AgntUsr.indexOf('opera/5')!=-1)?1:0;
	var DomNav=(DomYes&&NavYes)?1:0;
 	var DomExp=(DomYes&&ExpYes)?1:0;
	var Nav4=(NavYes&&!DomYes&&document.layers)?1:0;
	var Exp4=(ExpYes&&!DomYes&&document.all)?1:0;
	var PosStrt=((NavYes||ExpYes)&&!Opr5)?1:0;
	if(AgntUsr.indexOf('mac')!=-1&&DomExp){DomExp=0;Exp4=1}
	var Pop_LeftPaddng=2;
	var Pop_TopPaddng=2;
	var Pop_LeftExtra=(DomNav)?Pop_LeftPaddng:0;
	var Pop_TopExtra=(DomNav)?Pop_TopPaddng:0;
	var Pop_Win,Pop_Doc,Pop_Bod;
function Pop_Go(){
	if(!PosStrt)return;
	Pop_Win=window;
	Pop_Doc=Pop_Win.document;
	Pop_Bod=Pop_Doc.body;
	if(PopWebMasterCheck){if(!Pop_Check())return;else Pop_WebMasterAlert(7,'')}
	Pop_Win.onresize=Resize;
	Pop_Created=0; Pop_Loaded=1;
	if(ExpYes){Pop_WindowWidth=Pop_Bod.clientWidth;Pop_WindowHeight=Pop_Bod.clientHeight}
	else{Pop_WindowWidth=Pop_Win.innerWidth;Pop_WindowHeight=Pop_Win.innerHeight}
	Pop_Create();
	Pop_Position();
	Pop_Initiate();
	Pop_Created=1
}
function Pop_Check(){
	var WM='PopMenu',array,i;	
	for(i=0;i<PopNoOffMenus;i++){
		array=WM+eval(i+1);
		if(!Pop_Win[array]){Pop_WebMasterAlert(1,array); return false}
		if(!Pop_CheckMenu(array+'_',Pop_Win[array][0]))return false}
	return true
}
function Pop_CheckMenu(WhichMenu,NoOf){
	var i,Hg,Wd,La,Li,Nof,array;
	for(i=0;i<NoOf;i++){
		array=WhichMenu+eval(i+1);
		if(!Pop_Win[array]){Pop_WebMasterAlert(1,array); return false}
		La=Pop_Win[array][0]; Li=Pop_Win[array][1]; Nof=Pop_Win[array][2]
		if(i==0){	if(!Pop_Win[array][3]){Pop_WebMasterAlert(2,array); return false}
			if(!Pop_Win[array][4]){Pop_WebMasterAlert(3,array); return false}
			Hg=Pop_Win[array][3]; Wd=Pop_Win[array][4]}
		else{	if(Pop_Win[array][3])Pop_WebMasterAlert(4,array);
			if(Pop_Win[array][4])Pop_WebMasterAlert(5,array)}
		if(!Pop_WebMasterAlert(6,'\n\n'+array+'\nwidth: '+Wd+'\nheight: '+Hg+'\nLabel: '+La+'\nLink: '+Li+'\nNo of Subitems: '+Nof)){PopWebMasterCheck=0; return true}
		if(Pop_Win[array][2])if(!Pop_CheckMenu(array+'_',Pop_Win[array][2])) return false}
	return true
}	
function Pop_WebMasterAlert(No,Xtra){
	if(PopWebMasterCheck)return confirm(Pop_WebMasterAlerts[No]+Xtra+'   ')
}
function Resize(){Pop_Win.location.reload()}
function Pop_Position(){
	var i,MenuPntr=Pop_FirstMenu;
	for(i=0;i<PopNoOffMenus;i++){
		Pop_Horizontal=MenuPntr.Horizontal;
		Pop_Visible=MenuPntr.Visible;
		Pop_BorderWidth=MenuPntr.BorderWidth;
		Pop_PositionMenuStruct(MenuPntr,MenuPntr.OrgTop,MenuPntr.OrgLeft);
		MenuPntr=MenuPntr.PrevMenu
	}
}
function Pop_PositionMenuStruct(CntnrPntr,Tp,Lt){
	var Topi,Lefti,Hori, SubTp,SubLt;
	var  ChldCntnrWdth
	var Mmbr=CntnrPntr.FirstMember;
	var Pop_PadLeft=(Mmbr.value.indexOf('<')==-1)?Pop_LeftExtra:0;
	var Pop_PadTop=(Mmbr.value.indexOf('<')==-1)?Pop_TopExtra:0;
	var MemberWidth=(Nav4)?Mmbr.clip.width:parseInt(Mmbr.style.width)+Pop_PadLeft;
	var MemberHeight=(Nav4)?Mmbr.clip.height:parseInt(Mmbr.style.height)+Pop_PadTop;
	var ContainerWidth=(Nav4)?CntnrPntr.clip.width:parseInt(CntnrPntr.style.width);
	var ContainerHeight=(Nav4)?CntnrPntr.clip.height:parseInt(CntnrPntr.style.height);
	Pop_PosRecursLevel++;
	if(Nav4)CntnrPntr.moveTo(Lt,Tp);
	else{CntnrPntr.style.top=Tp;CntnrPntr.style.left=Lt}
	CntnrPntr.OrgTop=Tp;
	CntnrPntr.OrgLeft=Lt;
	if (Pop_PosRecursLevel==1 && Pop_Horizontal){Hori=1;Lefti=ContainerWidth-MemberWidth-2*Pop_BorderWidth;Topi=0}
	else {Hori=0;Topi=ContainerHeight-MemberHeight-2*Pop_BorderWidth;Lefti=0}
	while(Mmbr!=null){		
		Pop_PadLeft=(Mmbr.value.indexOf('<')==-1)?Pop_LeftExtra:0;
		Pop_PadTop=(Mmbr.value.indexOf('<')==-1)?Pop_TopExtra:0;
		MemberWidth=(Nav4)?Mmbr.clip.width:parseInt(Mmbr.style.width)+Pop_PadLeft;
		MemberHeight=(Nav4)?Mmbr.clip.height:parseInt(Mmbr.style.height)+Pop_PadTop;
		if(Nav4){Mmbr.moveTo(Lefti+Pop_BorderWidth,Topi+Pop_BorderWidth);Mmbr.CmdLyr.moveTo(Lefti+Pop_BorderWidth,Topi+Pop_BorderWidth)}
		else{Mmbr.style.left=Lefti+Pop_BorderWidth;Mmbr.style.top=Topi+Pop_BorderWidth}
		if(Mmbr.ChildCntnr){
			ChldCntnrWdth=(Nav4)?Mmbr.ChildCntnr.clip.width:parseInt(Mmbr.ChildCntnr.style.width);
			if(Hori){SubTp=Topi+MemberHeight+Pop_BorderWidth;SubLt=Lefti}
			else{if(CntnrPntr.RtL){SubLt=Lefti-(1-CntnrPntr.PpChldOvrLp)*ChldCntnrWdth+Pop_BorderWidth;SubTp=Topi+CntnrPntr.PpChldVOvrLp*MemberHeight}
				else {SubLt=Lefti+(1-CntnrPntr.PpChldOvrLp)*MemberWidth+Pop_BorderWidth;SubTp=Topi+CntnrPntr.PpChldVOvrLp*MemberHeight}}
			Pop_PositionMenuStruct(Mmbr.ChildCntnr,SubTp,SubLt)}
		(Hori)?Lefti-=(MemberWidth+Pop_BorderWidth):Topi-=(MemberHeight+Pop_BorderWidth);
		Mmbr=Mmbr.PrevMember}
	Pop_PosRecursLevel--
}
function Pop_Initiate(){
	var MenuPntr=Pop_FirstMenu;
	while(MenuPntr){
		if(Nav4)MenuPntr.visibility=(MenuPntr.Visible)?'show':'hide';
		else MenuPntr.style.visibility=(MenuPntr.Visible)?'visible':'hidden';
		Pop_ResetHide(MenuPntr);
		MenuPntr=MenuPntr.PrevMenu
	}
}
function Pop_Reset(){
	if(!Pop_InitFlag)return;
	var ItemPntr=Pop_CurrentOver.Container;
	while(ItemPntr.PrevContainer) ItemPntr=ItemPntr.PrevContainer;
	Pop_ResetHide(ItemPntr)
}
function Pop_ResetHide(Cpntr){
	var Member=Cpntr.FirstMember;
	while(Member!=null){
		if(Nav4)Cpntr.visibility=(!(Cpntr.Visible&&Cpntr.Level==1))?'hide':'show';
		else Cpntr.style.visibility=(!(Cpntr.Visible&&Cpntr.Level==1))?'hidden':'visible';
		if(Member.ChildCntnr) Pop_ResetHide(Member.ChildCntnr);
		Member=Member.PrevMember
	}
}
function Pop_ClearAllChilds(Pntr,ChldPntr){
	var ClrPntr=Pop_FirstMenu;
	var MenuPntr=(Nav4)?Pntr.CmdLyr.Container:Pntr.Container;
	while(MenuPntr.PrevContainer)MenuPntr=MenuPntr.PrevContainer;
	while(ClrPntr){
		if(ClrPntr!=MenuPntr) Pop_ResetHide(ClrPntr);ClrPntr=ClrPntr.PrevMenu}
	ClrPntr=Pntr;	
	while (ClrPntr){
		if(ClrPntr.ChildCntnr){
			if(ClrPntr.ChildCntnr!=ChldPntr&&Nav4) ClrPntr.ChildCntnr.visibility='hide';
			else if(ClrPntr.ChildCntnr!=ChldPntr) ClrPntr.ChildCntnr.style.visibility='hidden'; 
			Pop_ClearAllChilds(ClrPntr.ChildCntnr.FirstMember,ChldPntr)}
		ClrPntr=ClrPntr.PrevMember
	}
}	
function Pop_GoTo(){
	if(this.LinkTxt){
		status=''; 
		if(Nav4){	this.LowLyr.bgColor=this.LowLyr.LowBack;
			this.LowLyr.document.write(this.LowLyr.value);
			this.LowLyr.document.close()}
		else{	this.style.backgroundColor=this.LowBack;
			this.style.color=this.LowFontColor
		}
		(this.LinkTxt.indexOf('javascript:')!=-1)?eval(this.LinkTxt):Pop_Win.contentFrame.location.href=this.LinkTxt
	}
}
function PopMenu(WhatMenu,Evnt){
	if(DomNav)Evnt.stopPropagation();
	if(!Pop_Loaded||!Pop_Created) return;
	var Top,Left,Pntr=null;
	var Pop_TopScrlld=(ExpYes)?Pop_Bod.scrollTop:Pop_Win.pageYOffset;
	var Pop_LeftScrlld=(ExpYes)?Pop_Bod.scrollLeft:Pop_Win.pageXOffset;
	var EventX=(Nav4)?Evnt.pageX:Evnt.clientX+Pop_LeftScrlld;
	var EventY=(Nav4)?Evnt.pageY:Evnt.clientY+Pop_TopScrlld;
	if(!Nav4){	WhatMenu+='_1';
		Pop_CurrentOver=(DomYes)?Pop_Doc.getElementById(WhatMenu):Pop_Doc.all[WhatMenu];
		Pntr=(DomYes)?Pop_Doc.getElementById(WhatMenu+'c'):Pop_Doc.all[WhatMenu+'c']}
	else{	Pntr=Pop_FirstMenu;
		WhatMenu=PopNoOffMenus-WhatMenu.substr(7,WhatMenu.length-7);
		while(WhatMenu){Pntr=Pntr.PrevMenu;WhatMenu--}
		Pop_CurrentOver=Pntr.FirstMember.CmdLyr}
	Pop_Initiate();
	var ContHeight=(Nav4)?Pntr.clip.height:parseInt(Pntr.style.height);
	var ContWidth=(Nav4)?Pntr.clip.width:parseInt(Pntr.style.width);
	var ContStyle=(Nav4)?Pntr:Pntr.style;
	Top=(Pntr.OrgTop==-1)?EventY:(Pntr.OrgTop==-2)?EventY-ContHeight/2:Pntr.OrgTop;
	Left=(Pntr.OrgLeft==-1)?(Pntr.RtL)?EventX-ContWidth:EventX:(Pntr.OrgLeft==-2)?EventX-ContWidth/2:Pntr.OrgLeft;
	if((Pntr.OrgTop==-1||Pntr.OrgTop==-2)&&!Pntr.Visible){
		if(Top+ContHeight>Pop_WindowHeight+Pop_TopScrlld)Top-=(Pntr.OrgTop==-1)?ContHeight:ContHeight/2;
		if(Left+ContWidth>Pop_WindowWidth+Pop_LeftScrlld)Left-=(Pntr.OrgLeft==-1)?ContWidth:ContWidth/2;
		if(Top<Pop_TopScrlld)Top=Pop_TopScrlld;
		if(Left<Pop_LeftScrlld)Left=Pop_LeftScrlld}
	ContStyle.top=Top;
	ContStyle.left=Left;
	ContStyle.visibility=(Nav4)?'show':'visible';
	Pop_InitFlag=0
}
function Pop_OpenMenu(e){
	if(DomNav)e.stopPropagation();
	if(!Pop_Loaded||!Pop_Created) return;
	var Left,Top;
	var Pop_TopScrlld=(ExpYes)?Pop_Bod.scrollTop:Pop_Win.pageYOffset;
	var Pop_LeftScrlld=(ExpYes)?Pop_Bod.scrollLeft:Pop_Win.pageXOffset;
	var ChildCont=(Nav4)?this.LowLyr.ChildCntnr:this.ChildCntnr;
	var ContTop=(Nav4)?this.Container.top:parseInt(this.Container.style.top);
	var ContLeft=(Nav4)?this.Container.left:parseInt(this.Container.style.left);
	var ContWidth=(Nav4)?this.Container.clip.width:parseInt(this.Container.style.width);
	var ThisHeight=(Nav4)?this.clip.height:parseInt(this.style.height);
	Pop_CurrentOver=this; Pop_InitFlag=0;
	Pop_ClearAllChilds(this.Container.FirstMember,ChildCont);
	if(Nav4){	if(this.LowLyr.value.indexOf('<img')==-1){
			this.LowLyr.bgColor=this.LowLyr.HighBack;
			this.LowLyr.document.write(this.LowLyr.Overvalue);
			this.LowLyr.document.close()}}
	else{	this.style.backgroundColor=this.HighBack;
		this.style.color=this.HighFontColor}
	if(ChildCont!=null){
		var ChildContWidth=(Nav4)?this.LowLyr.ChildCntnr.clip.width:parseInt(this.ChildCntnr.style.width);
		var ChildContHeight=(Nav4)?this.LowLyr.ChildCntnr.clip.height:parseInt(this.ChildCntnr.style.height);
		var ChCntTL=(Nav4)?this.LowLyr.ChildCntnr:this.ChildCntnr.style;
		Top=ChildCont.OrgTop+ContTop;
		Left=ChildCont.OrgLeft+ContLeft;
		if(Left<0)Left=0;
		if(Left+ChildContWidth>Pop_WindowWidth+Pop_LeftScrlld)Left-=((1-2*this.Container.PpChldOvrLp)*ContWidth+ChildContWidth-2*Pop_BorderWidth)
		if(Top+ChildContHeight>Pop_WindowHeight+Pop_TopScrlld)Top-=(ChildContHeight-2*Pop_BorderWidth-ThisHeight);
		ChCntTL.left=Left;
		ChCntTL.top=Top;
		ChCntTL.visibility=(Nav4)?'show':'visible'}
	status=this.LinkTxt
}	
function OutMenu(WhatMenu){
	if(!Pop_Loaded||!Pop_Created) return;
	Pop_InitFlag=1;
	if (Pop_CloseTimer) clearTimeout(Pop_CloseTimer);
	Pop_CloseTimer=setTimeout('Pop_Reset()',Pop_DissapearDelay)
}
function Pop_CloseMenu(e){
	if(DomNav)e.stopPropagation();
	if(!Pop_Loaded||!Pop_Created) return;
	if(Nav4){	if(this.LowLyr.value.indexOf('<img')==-1){
			this.LowLyr.bgColor=this.LowLyr.LowBack;
			this.LowLyr.document.write(this.LowLyr.value);
			this.LowLyr.document.close()}}
	else{	this.style.backgroundColor=this.LowBack;
		this.style.color=this.LowFontColor}
	status='';
	Pop_InitFlag=1;
	if (Pop_CloseTimer) clearTimeout(Pop_CloseTimer);
	Pop_CloseTimer=setTimeout('Pop_Reset()',Pop_DissapearDelay)
}
function Pop_ContainerSetUp(Wdth,Hght,NoOff,Lft,Tp,PCntnr){
	if(Nav4){this.visibility='hide';this.zIndex=Pop_CreateRecursLevel+Pop_Ztop}
	this.RtL=Pop_RightToLeft;
	this.FirstMember=null;
	this.PrevMenu=null;
	this.PrevContainer=PCntnr;
	this.OrgLeft=Lft;
	this.OrgTop=Tp;
	if (Pop_CreateRecursLevel==1&&Pop_Horizontal){Wdth=NoOff*(Wdth+Pop_BorderWidth)+Pop_BorderWidth;Hght+=2*Pop_BorderWidth}
	else{Hght=NoOff*(Hght+Pop_BorderWidth)+Pop_BorderWidth;Wdth+=2*Pop_BorderWidth}
	this.Level=Pop_CreateRecursLevel;
	this.PpChldOvrLp=Pop_ChildOverlap;
	this.PpChldVOvrLp=Pop_ChildVerticalOverlap;
	if(Nav4)this.bgColor=Pop_BorderCol;
	else this.style.backgroundColor=Pop_BorderCol;
	if(!Nav4){this.style.width=Wdth;this.style.height=Hght}
	else this.resizeTo(Wdth,Hght)
	if(!Nav4){	
		with(this.style){
		fontFamily=Pop_FontFamily;
		fontWeight=(Pop_FontBold)?'bold':'normal';
		fontStyle=(Pop_FontItalic)?'italic':'normal';
		fontSize=Pop_FontSize+'pt';
		zIndex=Pop_CreateRecursLevel+Pop_Ztop
		top=-1000;
		left=-1000}}
	this.Horizontal=Pop_Horizontal;
	this.Visible=Pop_Visible;
	this.BorderWidth=Pop_BorderWidth
}
function Pop_MemberSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
	var MemVal=eval(WhatMenu+'[0]');
	var t,T,L,W,H,S;
	this.value=MemVal;
	this.ChildCntnr=null;
	this.PrevMember=PrMmbr;
	this.LowBack=Pop_BackCol;
	this.HighBack=(MemVal.indexOf('<img')==-1)?Pop_BackColOver:this.LowBack;
	this.LowFontColor=Pop_MenuFont;
	this.HighFontColor=Pop_MenuFontOver;
	this.style.backgroundColor=this.LowBack;
	this.style.color=this.LowFontColor;
	with(this.style){
		if(MemVal.indexOf('<')==-1){
			width=Wdth-Pop_LeftExtra;
			height=Hght-Pop_TopExtra;
			paddingLeft=Pop_LeftPaddng;
			paddingTop=Pop_TopPaddng}
		else{	width=Wdth;
			height=Hght}
		overflow='hidden'
		cursor='default';
		if(Pop_CenterText)this.style.textAlign='center'}
	if(MemVal.indexOf('<')==-1&&DomYes){var t=Pop_Doc.createTextNode(MemVal);this.appendChild(t)}
	else this.innerHTML=MemVal;
	if(MemVal.indexOf('<img')==-1&&eval(WhatMenu+'[2]')){
		S=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?'tridown.gif':(MmbrCntnr.RtL)?'trileft.gif':'tri.gif';
		W=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?10:5;
		H=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?5:10;
		T=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?Hght-7:Hght/2-5;
		L=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?Wdth-12:Wdth-7;
		if(DomYes){
			t=Pop_Doc.createElement('img');
			this.appendChild(t);
			t.style.position='absolute';
			t.src=S;
			t.style.width=W;
			t.style.height=H;
			t.style.top=T;
			t.style.left=L}
		else{	MemVal+="<div style='position:absolute; top:"+T+"; left:"+L+"; width:"+W+"; height:"+H+";visibility:inherit'><img src='"+S+"'></div>";
			this.innerHTML=MemVal}}
	if(DomNav){this.addEventListener('mouseover',Pop_OpenMenu,false);
		this.addEventListener('mouseout',Pop_CloseMenu,false);
		this.addEventListener('click',Pop_GoTo,false)}
	else{	this.onmouseover=Pop_OpenMenu;
		this.onmouseout=Pop_CloseMenu;
		this.onclick=Pop_GoTo}
	this.Level=Pop_CreateRecursLevel;
	this.LinkTxt=eval(WhatMenu+'[1]');
	this.Container=MmbrCntnr
}
function Pop_Nav_MemberSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
	this.value=eval(WhatMenu+'[0]');
	if(Pop_LeftPaddng&&this.value.indexOf('<')==-1&&!Pop_MenuTextCentered)this.value='&nbsp\;'+this.value;
	if(Pop_FontBold)this.value=this.value.bold();
	if(Pop_FontItalic)this.value=this.value.italics();
	this.Overvalue=this.value;
	this.value=this.value.fontcolor(Pop_MenuFont);
	this.Overvalue=this.Overvalue.fontcolor(Pop_MenuFontOver);
	this.value=Pop_CenterText+"<font face='"+Pop_FontFamily+"' point-size='"+Pop_FontSize+"' color='"+Pop_MenuFont+"'>"+this.value+Pop_TxtClose;
	this.Overvalue=Pop_CenterText+"<font face='"+Pop_FontFamily+"' point-size='"+Pop_FontSize+"' color='"+Pop_MenuFontOver+"'>"+this.Overvalue+Pop_TxtClose;
	this.LowBack=Pop_BackCol;
	this.HighBack=(this.value.indexOf('<img')==-1)?Pop_BackColOver:this.LowBack;
	this.visibility='inherit';
	this.ChildCntnr=null;
	this.PrevMember=PrMmbr;
	this.bgColor=Pop_BackCol;
	this.resizeTo(Wdth,Hght);
	this.document.write(this.value);
	this.document.close();
	this.CmdLyr=new Layer(Wdth,MmbrCntnr);
	this.CmdLyr.visibility='inherit';
	this.CmdLyr.Level=Pop_CreateRecursLevel;
	this.CmdLyr.LinkTxt=eval(WhatMenu+'[1]');
	this.CmdLyr.onmouseover=Pop_OpenMenu;
	this.CmdLyr.onmouseout=Pop_CloseMenu;
	this.CmdLyr.captureEvents(Event.MOUSEUP);
	this.CmdLyr.onmouseup=Pop_GoTo;
	this.CmdLyr.LowLyr=this;
	this.CmdLyr.Container=MmbrCntnr;
	this.CmdLyr.resizeTo(Wdth,Hght);
	if(this.value.indexOf('<img')==-1 &&eval(WhatMenu+'[2]')){
		this.CmdLyr.ImgLyr=new Layer(10,this.CmdLyr);
		this.CmdLyr.ImgLyr.visibility='inherit';
		this.CmdLyr.ImgLyr.top=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?Hght-7:Hght/2-5;
		this.CmdLyr.ImgLyr.left=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?Wdth-12:Wdth-7;
		this.CmdLyr.ImgLyr.width=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?10:5;
		this.CmdLyr.ImgLyr.height=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?5:10;
		ImgStr=(Pop_CreateRecursLevel==1&&Pop_Horizontal)?"<img src='tridown.gif'>":(MmbrCntnr.RtL)?"<img src='trileft.gif'>":"<img src='tri.gif'>";
		this.CmdLyr.ImgLyr.document.write(ImgStr);
		this.CmdLyr.ImgLyr.document.close()
	}
}
function Pop_Create(){
	var i,PreTop,PreLeft;
	var WhichMenu,MenuPntr,MenuPrevPntr=null;
	for(i=0;i<PopNoOffMenus;i++){
		WhichMenu='PopMenu'+(i+1);
		Pop_MenuFont=eval(WhichMenu+'[3]');
		Pop_MenuFontOver=eval(WhichMenu+'[5]');
		Pop_BackCol=eval(WhichMenu+'[4]');
		Pop_BackColOver=eval(WhichMenu+'[6]');
		Pop_BorderCol=eval(WhichMenu+'[7]');
		Pop_FontFamily=eval(WhichMenu+'[8]');
		Pop_FontBold=eval(WhichMenu+'[9]');
		Pop_FontItalic=eval(WhichMenu+'[10]');
		Pop_FontSize=eval(WhichMenu+'[11]');
		Pop_Horizontal=eval(WhichMenu+'[12]');
		Pop_Visible=eval(WhichMenu+'[13]');
		Pop_BorderWidth=eval(WhichMenu+'[14]');
		Pop_MenuTextCentered=eval(WhichMenu+'[15]');
		Pop_ChildOverlap=eval(WhichMenu+'[16]');
		Pop_ChildVerticalOverlap=eval(WhichMenu+'[17]');
		Pop_DissapearDelay=eval(WhichMenu+'[18]');
		Pop_RightToLeft=eval(WhichMenu+'[19]');
		Pop_CenterText=(DomYes)?(Pop_MenuTextCentered)?1:0:(Exp4)?(Pop_MenuTextCentered)?"align='center'":"":(Pop_MenuTextCentered)?"<div align='center'>":"";
		if(Nav4)Pop_TxtClose="</font>"+((Pop_MenuTextCentered)?"</div>":"");
		Pop_TargetLoc=eval(WhichMenu+'[20]');
		PreTop=PreLeft=0;
		if(Pop_TargetLoc){
			PreTop=(Nav4)?Pop_Doc.layers[Pop_TargetLoc].pageY:Pop_Doc.getElementById(Pop_TargetLoc).offsetTop;
			PreLeft=(Nav4)?Pop_Doc.layers[Pop_TargetLoc].pageX:Pop_Doc.getElementById(Pop_TargetLoc).offsetLeft}
		PreTop+=eval(WhichMenu+'[2]');
		PreLeft+=eval(WhichMenu+'[1]');
		MenuPntr=Pop_CreateMenuStructure(WhichMenu+'_',eval(WhichMenu+'[0]'),PreLeft,PreTop,null);
		MenuPntr.PrevMenu=MenuPrevPntr;
		MenuPrevPntr=MenuPntr}
	Pop_FirstMenu=MenuPntr
}
function Pop_CreateMenuStructure(MenuName,NumberOf,Left,Top,PrevContainer){
	Pop_CreateRecursLevel++;
	var i,NoOffSubs,Member,MemberContainer;
	var PreviousMember=null;
	var WhichMenu=MenuName+'1';
	var MenuWidth=eval(WhichMenu+'[4]');
	var MenuHeight=eval(WhichMenu+'[3]');
	var InsertLoc;
	if(!Nav4)WhichMenu+='c';
	if(DomYes){
		MemberContainer=Pop_Doc.createElement("div");
		MemberContainer.style.visibility='hidden';
		MemberContainer.id=WhichMenu;
		MemberContainer.style.position='absolute';
		Pop_Bod.appendChild(MemberContainer)}
	else	if(Nav4)	MemberContainer=new Layer(MenuWidth,Pop_Win);
		else{	
			Pop_Bod.insertAdjacentHTML("AfterBegin","<div id='"+WhichMenu+"' style='visibility:hidden; position:absolute'><\/div>");
			MemberContainer=Pop_Doc.all[WhichMenu]}
	MemberContainer.SetUp=Pop_ContainerSetUp;
	MemberContainer.SetUp(MenuWidth,MenuHeight,NumberOf,Left,Top,PrevContainer);
	if(Exp4){	MemberContainer.InnerString='';
		for(i=1;i<NumberOf+1;i++){
			WhichMenu=MenuName+eval(i);
			NoOffSubs=eval(WhichMenu+'[2]');
			MemberContainer.InnerString+="<div id='"+WhichMenu+"' style='position:absolute;'><\/div>"}
		MemberContainer.innerHTML=MemberContainer.InnerString}
	for(i=1;i<NumberOf+1;i++){
		WhichMenu=MenuName+eval(i);
		NoOffSubs=eval(WhichMenu+'[2]');
	if(DomYes){Member=Pop_Doc.createElement("div");
		Member.style.position='absolute';
		Member.style.visibility='inherit';
		Member.id=WhichMenu;
		MemberContainer.appendChild(Member);
		Member.SetUp=Pop_MemberSetUp}
	else 	if(Nav4){	Member=new Layer(MenuWidth,MemberContainer);
			Member.SetUp=Pop_Nav_MemberSetUp}
		else{	Member=MemberContainer.all[WhichMenu];
			Member.SetUp=Pop_MemberSetUp}
		Member.SetUp(MemberContainer,PreviousMember,WhichMenu,MenuWidth,MenuHeight);
		if(NoOffSubs) Member.ChildCntnr=Pop_CreateMenuStructure(WhichMenu+'_',NoOffSubs,0,0,MemberContainer);
		PreviousMember=Member}
	MemberContainer.FirstMember=Member;
	Pop_CreateRecursLevel--;
	return(MemberContainer)
}
