
function lib_bwcheck(){ 
	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.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
	this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0;
	this.ie9=(this.ver.indexOf("MSIE 9")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6 || this.ie7 || this.ie8 || this.ie9
	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.ns7=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie9 || this.ie8 || this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this 
}
var bw=new lib_bwcheck()

var mDebugging=0

oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame=""
oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=500
oCMenu.usebar=0
oCMenu.barcolor="Navy"
oCMenu.barwidth="menu"
oCMenu.barheight="menu"
oCMenu.barx=0
oCMenu.bary=0
oCMenu.barinheritborder=1
oCMenu.rows=1
oCMenu.pxbetween=5
oCMenu.menuplacement=0

function xyOff(){
	var menuWidths= [110,110,110,110,110,110];
	var obj= (bw.ns4)?document.images.menuimg:(bw.ie4)?document.all.menuimg:document.getElementById('menuimg');
	if(bw.ns4){this.x= obj.x; this.y= obj.y}
	else if(bw.ns5){this.x= obj.offsetLeft; this.y= obj.offsetTop}
	else {
		this.x= obj.offsetLeft;
		this.prnt= obj;
		while((this.prnt=this.prnt.offsetParent)){
			this.x+= this.prnt.offsetLeft;
		}
		this.y= obj.offsetTop;
		this.prnt= obj;
		while((this.prnt=this.prnt.offsetParent)){
			this.y+= this.prnt.offsetTop;
		}		
	}
	var mw=0;
	for(var i=0;i<menuWidths.length;i++){
		mw+= cm_checkp(menuWidths[i],1,1,1)+oCMenu.pxbetween;
	}
	mw-=oCMenu.pxbetween;
	this.x= this.x-mw;
}

vvn_resizeMnu()

oCMenu.useNS4links=1 

//TOP LEVEL PROPERTIES
oCMenu.level[0]=new Array()
oCMenu.level[0].width=70
oCMenu.level[0].height=19
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor="#000000"
oCMenu.level[0].bgcoloroff="#666666"
oCMenu.level[0].bgcoloron="#CC9900"
oCMenu.level[0].textcolor="#ffffff"
oCMenu.level[0].hovercolor="#ffffff"
oCMenu.level[0].style= (bw.ie) ? "font-family: arial; font-size: 13px; font-weight:letter-spacing: 2px; " : "font-family:arial; letter-spacing: 1px; font-size: 13px;";
oCMenu.level[0].align="bottom"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=-1
oCMenu.level[0].NS4font="arial"
oCMenu.level[0].NS4fontSize="1"

//SUB1 LEVEL PROPERTIES
oCMenu.level[1]=new Array()
oCMenu.level[1].width=200
oCMenu.level[1].height=20
oCMenu.level[1].border=1
oCMenu.level[1].bordercolor="#666666"
oCMenu.level[1].bgcoloroff="#E7E7E7"
oCMenu.level[1].bgcoloron="#8B8BB1"
oCMenu.level[1].textcolor="#000000"
oCMenu.level[1].hovercolor="#ffffff"
oCMenu.level[1].style= (bw.ie) ? "border: solid 2px #eeeeee; font-family: arial; font-size: 11px;letter-spacing: 1px; " : "letter-spacing: 1px; font-family:arial;  font-size: 11px;";
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].NS4fontSize="1"

//SUB2 LEVEL PROPERTIES
oCMenu.level[2]=new Array()
oCMenu.level[2].width=200
oCMenu.level[2].height=20
oCMenu.level[2].border=1
oCMenu.level[2].bordercolor="#666666"
oCMenu.level[2].bgcoloroff="#E7E7E7"
oCMenu.level[2].bgcoloron="#8B8BB1"
oCMenu.level[2].textcolor="#000000"
oCMenu.level[2].hovercolor="#ffffff"
oCMenu.level[2].style=(bw.ie) ? "border: solid 2px #eeeeee; font-family: arial; font-size: 11px;letter-spacing: 1px; " : "letter-spacing: 1px; font-family:arial;  font-size: 11px;";
oCMenu.level[2].align="right"
oCMenu.level[2].offsetX=-10
oCMenu.level[2].offsetY=5
oCMenu.level[2].NS4fontSize="1"

//SUB3 LEVEL PROPERTIES
oCMenu.level[3]=new Array()
oCMenu.level[3].width=200
oCMenu.level[3].height=20
oCMenu.level[3].border=1
oCMenu.level[3].bordercolor="#666666"
oCMenu.level[3].bgcoloroff="#E7E7E7"
oCMenu.level[3].bgcoloron="#6868D0"
oCMenu.level[3].textcolor="#000000"
oCMenu.level[3].hovercolor="#000000"
oCMenu.level[3].style= (bw.ie) ? "border-style: solid; border-width: 1px; font-family: arial; font-size: 10px; padding: 1px;" : "font-family:arial;  font-size: 11px;";
oCMenu.level[3].align="right"
oCMenu.level[3].offsetX=-10
oCMenu.level[3].offsetY=5
oCMenu.level[3].NS4fontSize="1"

ecsf = "Vivian software engineering : "
ecsx = "Vivian software engineering"

//currwebsite = "http://vrs.vivian.nl/"
currwebsite = "http://www.vivian.nl/nl/"
//currwebsite = "http://www.vendorrating.net/nl/"
//currwebsite = "/Development/Web development/Vivian2005-1/nl/"

oCMenu.makeMenu("top0","","&nbsp;Home","http://www.vivian.nl","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")

oCMenu.makeMenu("top1","","&nbsp;Profiel",currwebsite + "profiel.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub1_1","top1","&nbsp;&nbsp;Wie zijn wij?",currwebsite + "profiel.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub1_2","top1","&nbsp;&nbsp;Wat doen wij?",currwebsite + "werkzaamheden.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub1_3","top1","&nbsp;&nbsp;Onze opdrachtgevers",currwebsite + "opdrachtgevers.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub1_4","top1","&nbsp;&nbsp;Onze missie",currwebsite + "missie.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")


oCMenu.makeMenu("top2","","&nbsp;Diensten",currwebsite + "diensten.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub2_1","top2","&nbsp;&nbsp;Software ontwikkeling",currwebsite + "diensten.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub2_2","top2","&nbsp;&nbsp;Detachering & Consultancy",currwebsite + "detachering.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub2_3","top2","&nbsp;&nbsp;Outsourcing & onderhoud",currwebsite + "onderhoud.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub2_4","top2","&nbsp;&nbsp;Conversie",currwebsite + "conversie.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
//		oCMenu.makeMenu("sub2_5","top2","&nbsp;&nbsp;Vivian SWAT Team",currwebsite + "schermen.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")

oCMenu.makeMenu("top3","","&nbsp;Producten",currwebsite + "producten.htm",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
		oCMenu.makeMenu("sub3_1","top3","&nbsp;VendorRating System",currwebsite + "producten.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
				oCMenu.makeMenu("sub3_1_1","sub3_1","&nbsp;&nbsp;Product beschrijving",currwebsite + "vrs/beschrijving.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")			
				oCMenu.makeMenu("sub3_1_2","sub3_1","&nbsp;&nbsp;Functionaliteit",currwebsite + "vrs/functionaliteit.htm","",0,0,"","","","","","","","self.status= ecsx;")		
				oCMenu.makeMenu("sub3_1_3","sub3_1","&nbsp;&nbsp;Voordelen",currwebsite + "vrs/voordelen.htm","",0,0,"","","","","","","","self.status= ecsx;")		
				oCMenu.makeMenu("sub3_1_4","sub3_1","&nbsp;&nbsp;Specificaties",currwebsite + "vrs/specificaties.htm","",0,0,"","","","","","","","self.status= ecsx;")		
				oCMenu.makeMenu("sub3_1_5","sub3_1","&nbsp;&nbsp;Schermen",currwebsite + "vrs/schermen.htm","",0,0,"","","","","","","","self.status= ecsx;")		
		oCMenu.makeMenu("sub3_2","top3","&nbsp;Support",currwebsite + "vrs/support.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
//				oCMenu.makeMenu("sub3_2_1","sub3_2","&nbsp;&nbsp;Onderhoudsovereenkomst",currwebsite + "aanvraag.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")			
//				oCMenu.makeMenu("sub3_2_2","sub3_2","&nbsp;&nbsp;Veel gestelde vragen",currwebsite + "aanvraag.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")			
		oCMenu.makeMenu("sub3_3","top3","&nbsp;Informatie & demo aanvragen",currwebsite + "feedbackvrs.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
//		oCMenu.makeMenu("sub3_3","top3","&nbsp;Bestellen","","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
//				oCMenu.makeMenu("sub3_3_1","sub3_3","&nbsp;&nbsp;Product bestellen",currwebsite + "aanvraag.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
//				oCMenu.makeMenu("sub3_3_2","sub3_3","&nbsp;&nbsp;Informatie & demo aanvragen",currwebsite + "feedbackvrs.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")



// oCMenu.makeMenu("top5","","&nbsp;Vacature",currwebsite + "vacature.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")
				
oCMenu.makeMenu("top6","","&nbsp;Contact",currwebsite + "contact.htm","",0,0,"","","","","","","","self.status= ecsf + 'VendorRating System';","self.status= ecsx;")



oCMenu.makeStyle()	
oCMenu.construct()	

function vvn_resizeMnu(){
off= new xyOff();

oCMenu.fromleft= (bw.ns6) ? off.x + 685 : off.x + 685
oCMenu.fromtop= (bw.ns4) ? off.y +0  : off.y  + 0;

}

