/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() //Making browsercheck object

var mDebugging=0 

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="frmMain"
oCMenu.useNS4links=1 
oCMenu.checkselect=0
oCMenu.offlineUrl="file:C:/felipe/Web FIEP/nuevo/"


oCMenu.pagecheck=1
oCMenu.checkscroll=2
oCMenu.resizecheck=1 
oCMenu.wait=1000 

oCMenu.usebar=1 
oCMenu.barcolor="#FF9900"
oCMenu.barwidth="98%"
oCMenu.barheight="menu" 
oCMenu.barx=0 
oCMenu.bary="menu"
oCMenu.barinheritborder=0

oCMenu.rows=1
oCMenu.fromleft=0 
oCMenu.fromtop=200
oCMenu.pxbetween=0

oCMenu.menuplacement=new Array('1%','14%','28%','42%','56%','70%','84%')


oCMenu.level[0]=new Array() 
oCMenu.level[0].width=107 
oCMenu.level[0].height=13 
oCMenu.level[0].bgcoloroff="#FF9900"
oCMenu.level[0].bgcoloron="#FFCD69" 
oCMenu.level[0].textcolor="white"
oCMenu.level[0].hovercolor="white" 
oCMenu.level[0].style="padding:0;font-family:verdana,arial,helvetica; font-size:10px; font-weight:normal"
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor="" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-1 
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="white"
oCMenu.level[0].align="bottom" 


/*New: Added animation features that can be controlled on each level.*/
oCMenu.level[0].clip=1 //Set this to 1 if you want the submenus of this level to "slide" open in a animated clip effect. - Value: 0 || 1
oCMenu.level[0].clippx=3 //If you have clip spesified you can set how many pixels it will clip each timer in here to control the speed of the animation. - Value: px 
oCMenu.level[0].cliptim=10 //This is the speed of the timer for the clip effect. Play with this and the clippx to get the desired speed for the clip effect (be carefull though and try and keep this value as high or possible or you can get problems with NS4). - Value: milliseconds
//Filters - This can be used to get some very nice effect like fade, slide, stars and so on. EXPLORER5.5+ ONLY - If you set this to a value it will override the clip on the supported browsers
oCMenu.level[0].filter=0 //VALUE: 0 || "filter specs"


oCMenu.level[1]=new Array() 
oCMenu.level[1].width=150
oCMenu.level[1].height=15
oCMenu.level[1].bgcoloroff="#FFCD69"
oCMenu.level[1].bgcoloron="#FF9900"
oCMenu.level[1].textcolor="white"
oCMenu.level[1].hovercolor="white"
oCMenu.level[1].style="padding:0px; font-family:verdana,arial,helvetica; font-size:10px; font-weight:normal"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#FF9900"
oCMenu.level[1].NS4font="arial,helvetica"
oCMenu.level[1].NS4fontSize="2"
oCMenu.level[1].NS4fontColor="black"


oCMenu.makeMenu('top0','','Principal','http://orbita.starmedia.com/fiepcolombia/')

oCMenu.makeMenu('top1','','Fiep','')
	oCMenu.makeMenu('sub10','top1','Historia','http://orbita.starmedia.com/fiepcolombia/historia.html')
	oCMenu.makeMenu('sub11','top1','Delegados','http://orbita.starmedia.com/fiepcolombia/delegados.html')
	oCMenu.makeMenu('sub12','top1','Eventos FIEP 2003-2004','http://www.ojovem.net/fiep/index.asp?pagina=eventos.asp')
	oCMenu.makeMenu('sub13','top1','Fotos FIEP','http://orbita.starmedia.com/fiepcolombia/fotos.html')
	
oCMenu.makeMenu('top2','','Fiep Mundial','')
	oCMenu.makeMenu('sub20','top2','Argentina','http://usuarios.arnet.com.ar/otanez/')
	oCMenu.makeMenu('sub21','top2','Argentina - Capital','http://ar.geocities.com/fiepbaires/')
	oCMenu.makeMenu('sub22','top2','Brasil','http://www.fiepbrasil.org/')
	oCMenu.makeMenu('sub23','top2','Chile','http://fiepchile.8m.com/')
	oCMenu.makeMenu('sub24','top2','Bolivia','http://acfisadeportes.vila.bol.com.br/fiepbolivia.html')
	oCMenu.makeMenu('sub25','top2','España','http://www.fiep.es.vg/')
	oCMenu.makeMenu('sub26','top2','Venezuela','http://www.deportesweb.com/fiep/')
	oCMenu.makeMenu('sub27','top2','Peru','http://www.fieperu.com/')

oCMenu.makeMenu('top3','','Links','')
	oCMenu.makeMenu('sub30','top3','En Colombia','http://orbita.starmedia.com/fiepcolombia/links.html#En Colombia')
	oCMenu.makeMenu('sub31','top3','Internacionales','http://orbita.starmedia.com/fiepcolombia/links.html#Internacionales')
	oCMenu.makeMenu('sub32','top3','Libros y Revistas','http://orbita.starmedia.com/fiepcolombia/links.html#Revistas, Librerias y Periodicos Digitales')

oCMenu.makeMenu('top4','','Artículos','')
	oCMenu.makeMenu('sub40','top4','Historia','http://orbita.starmedia.com/fiepcolombia/historia.html')
	oCMenu.makeMenu('sub41','top4','Olimpismo','http://orbita.starmedia.com/fiepcolombia/olimpicos.html')
	
oCMenu.makeMenu('top5','','El Autor','http://orbita.starmedia.com/fiepcolombia/hvida.htm')


oCMenu.makeMenu('top6','','Varios','')
	oCMenu.makeMenu('sub60','top6','Foro Educacion y Deporte','http://www.melodysoft.com/cgi-bin/foro.cgi?ID=FiepColombia')
	oCMenu.makeMenu('sub61','top6','Libro de Visitas','http://www.melodysoft.com/cgi-bin/gbook.cgi?ID=FIEPColombia&do=sign')


oCMenu.makeStyle(); oCMenu.construct()		

function cm_checkScrolled(obj){
	if(bw.ns4 || bw.ns6) obj.scrolledY=obj.win.pageYOffset
	else obj.scrolledY=obj.win.document.body.scrollTop
	if(obj.scrolledY!=obj.lastScrolled){
		if(!obj.useframes){
			self.status='' //obj.scrolledY
			if(obj.scrolledY>119){
				for(i=0;i<obj.l[0].num;i++){var sobj=obj.l[0].o[i].oBorder; sobj.moveY(obj.scrolledY)}
				if(obj.usebar) obj.oBar.moveY(obj.scrolledY)
			}else{
				for(i=0;i<obj.l[0].num;i++){var sobj=obj.l[0].o[i].oBorder; sobj.moveY(obj.fromtop)}
				if(obj.usebar) obj.oBar.moveY(obj.fromtop)
			}

		}
		obj.lastScrolled=obj.scrolledY; page.y=obj.scrolledY; page.y2=page.y2orig+obj.scrolledY
		if(!obj.useframes || bw.ie){ clearTimeout(obj.tim); obj.isover=0; obj.hideSubs(1,0)}
	}
	if((bw.ns4 || bw.ns6) && !obj.useframes) setTimeout("cm_checkScrolled("+obj.name+")",200)
}