/*
Copyright (c) 2001 Thomas Brattli (www.bratta.com)

eXperience DHTML coolMenus - Get it at www.bratta.com
Version 3.02
This script can be used freely as long as all copyright messages are
intact. 
*/

/*
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()

var mDebugging=2

oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame="frmMain"

oCMenu.useclick=0

oCMenu.useNS4links=0  

oCMenu.NS4padding=2 

oCMenu.checkselect=0

oCMenu.offlineUrl="files://WINDOWS/Profiles/Iesh/Desktop/Samtel GmbH/Templates/template2///"
oCMenu.onlineUrl="http://www.samtelgmbh.com/template/template2//"

oCMenu.pagecheck=0
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=1000

//Background bar properties
oCMenu.usebar=0
oCMenu.barcolor="#A32C2C"
oCMenu.barwidth=757
oCMenu.barheight=21
oCMenu.barx=200
oCMenu.bary=68
oCMenu.barinheritborder=0
//menu width
if ((screen.width == 640) && (screen.height == 480)) {
oCMenu.fromleft=0;
}
else if ((screen.width == 800) && (screen.height == 600)){
oCMenu.fromleft=0;
}
else if ((screen.width == 1024) && (screen.height == 768)){
oCMenu.fromleft=0;
}

//Placement properties
oCMenu.rows=0

oCMenu.fromtop=120
oCMenu.pxbetween=1

oCMenu.menuplacement="left"

oCMenu.NS4hover=1

oCMenu.level[0]=new Array() //Add this for each new level
oCMenu.level[0].width="110"
oCMenu.level[0].height=22
oCMenu.level[0].bgcoloroff="#FFFFFF"
oCMenu.level[0].bgcoloron="#D90036"
oCMenu.level[0].textcolor="#666666"
oCMenu.level[0].hovercolor="#FFFFff"
oCMenu.level[0].style="padding-top:2px; font-family:arial,helvetica; font-size:11px;"
oCMenu.level[0].align="bottom" 
oCMenu.level[0].border=1
oCMenu.level[0].bordercolor="ffffff"
oCMenu.level[0].offsetX=-1
oCMenu.level[0].offsetY=-2
oCMenu.level[0].NS4font="Verdana, Arial, Helvetica, sans-serif"
oCMenu.level[0].NS4fontSize="2"

oCMenu.level[0].clip=1
oCMenu.level[0].clippx=15
oCMenu.level[0].cliptim=50
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"

oCMenu.level[0].align="right" //Value: "top" || "bottom" || "left" || "right" 


oCMenu.level[1]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=120
oCMenu.level[1].height=22
oCMenu.level[1].bgcoloroff="#D90036"
oCMenu.level[1].bgcoloron="#003399"
oCMenu.level[1].textcolor="FFFFFF"
oCMenu.level[1].style="padding-top:2px; font-family:tahoma, arial,helvetica; font-size:11px;" 
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=0
oCMenu.level[1].bordercolor="ffffff"
oCMenu.level[1].NS4font="tahoma,arial,helvetica"
oCMenu.level[1].NS4fontSize="1"


oCMenu.makeMenu('top0','','<b>&nbsp;&nbsp;&nbsp;ABOUT SUNUP</b>','company.htm','','95')
	oCMenu.makeMenu('sub00','top0','&nbsp;Overview','company.htm','','125')
	oCMenu.makeMenu('sub01','top0','&nbsp;History','history.htm','','125')
	oCMenu.makeMenu('sub03','top0','&nbsp;Management','management.htm','','125')
	oCMenu.makeMenu('sub04','top0','&nbsp;Careers','careers.htm','','125')

oCMenu.makeMenu('top3','','<b>&nbsp;&nbsp;&nbsp;SOLUTIONS</b>','solutions.htm','','95')
	oCMenu.makeMenu('sub29','top3','&nbsp;Overview','solutions.htm','','125')
	oCMenu.makeMenu('sub30','top3','&nbsp;IPTV','solutions_IPTV.htm','','125')
	oCMenu.makeMenu('sub31','top3','&nbsp;Satellite DTH','solutions_satellite.htm','','125')
	oCMenu.makeMenu('sub32','top3','&nbsp;Digital Cable','solutions_cable.htm','','125')
	oCMenu.makeMenu('sub33','top3','&nbsp;Content Distribution','solutions_content.htm','','125')
	
oCMenu.makeMenu('top1','','<b>&nbsp;&nbsp;&nbsp;PRODUCTS</b>','products.htm','','95')
	oCMenu.makeMenu('sub09','top1','&nbsp;Overview','products.htm','','125')
	oCMenu.makeMenu('sub10','top1','&nbsp;Asset Factory','products_asset_factory.htm','','125')
	oCMenu.makeMenu('sub11','top1','&nbsp;Asset Manager','products_asset_mgr.htm','','125')
	oCMenu.makeMenu('sub12','top1','&nbsp;Broadcast Manager','products_broadcast_mgr.htm','','125')
	oCMenu.makeMenu('sub13','top1','&nbsp;Business Manager','products_business_mgr.htm','','125')

oCMenu.makeMenu('top2','','<b>&nbsp;&nbsp;&nbsp;SERVICES</b>','services.htm','','95')
	oCMenu.makeMenu('sub19','top2','&nbsp;Overview','services.htm','','170')
	oCMenu.makeMenu('sub20','top2','&nbsp;Business Analysis','services_business_analysis.htm','','170')
	oCMenu.makeMenu('sub21','top2','&nbsp;Project Management','services_project_management.htm','','170')
	oCMenu.makeMenu('sub22','top2','&nbsp;Custom Software Development','services_custom_softdev.htm','','170')
	oCMenu.makeMenu('sub26','top2','&nbsp;Support and Maintenance','services_support_and_maintenance.htm','','170')
		
oCMenu.makeMenu('top4','','<b>&nbsp;&nbsp;&nbsp;PARTNERS</b>','partners.htm','','95')

oCMenu.makeMenu('top9','','<B>&nbsp;&nbsp;&nbsp;CUSTOMERS</B>','customer.htm','','95')
	
oCMenu.makeMenu('top7','','<b>&nbsp;&nbsp;&nbsp;NEWS</b>','news.htm','','95')

oCMenu.makeMenu('top8','','<b>&nbsp;&nbsp;&nbsp;CONTACT US</b>','contactus_corporate.htm','','95')
	oCMenu.makeMenu('sub80','top8','&nbsp;North America','contactus_corporate.htm','','125')
  // oCMenu.makeMenu('sub82','top8','&nbsp;Asia','contactus_sunup_india.htm','','125')
	oCMenu.makeMenu('sub83','top8','&nbsp;Inquiry Form','inquiry.htm','','125')
	
oCMenu.makeMenu('top6','','<B>&nbsp;&nbsp;&nbsp;SITE MAP</B>','sitemap.htm','','95')
//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()
