var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}

menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
     effect = "Fade(duration=1.5);Alpha(style=0,opacity=88);Shadow(color='#000000', Direction=135, Strength=5)"
}
else
{
     effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}
timegap=1000                // The time delay for menus to remain visible
followspeed=5              // Follow Scrolling speed
followrate=40              // Follow Scrolling Rate
suboffset_top=10;          // Sub menu offset Top position
suboffset_left=10;         // Sub menu offset Left position
style1=[                   // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"white",                   // Mouse Off Font Color
"#C0C0C0",                 // Mouse Off Background Color "#339966"
"white",                   // Mouse On Font Color
"#C0C0C0",                 // Mouse On Background Color "#004000"
"#ffffff",                 // Menu Border Color
12,                        // Font Size in pixels
"normal",                  // Font Style (italic or normal)
"bold",                    // Font Weight (bold or normal)
"Verdana, Arial",          // Font Name
4,                         // Menu Item Padding
"",                        // Sub Menu Image (Leave this blank if not needed)
,                          // 3D Border & Separator bar
"#C0C0C0",                 // 3D High Color "999999"
"#C0C0C0",                 // 3D Low Color "333333"
"",                        // Current Page Item Font Color (leave this blank to disable)
"",                        // Current Page Item Background Color (leave this blank to disable)
"includes/arrowdn.gif",    // Top Bar image (Leave this blank to disable)
"",                        // Menu Header Font Color (Leave blank if headers are not needed)
"",                        // Menu Header Background Color (Leave blank if headers are not needed)
"#ffffff",                 // Menu Item Separator Color "#C0C0C0", 
]

addmenu(menu=[             // This is the array that contains your menu properties and details
"mainmenu",                // Menu Name - This is needed in order for the menu to be called
184,                       // Menu Top - The Top position of the menu in pixels 96
35,                        // Menu Left - The Left position of the menu in pixels
,                          // Menu Width - Menus width in pixels
1,                         // Menu Border Width
,                          // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,                    // Properties Array - this is set higher up, as above

1,                         // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",                    // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,                          // Filter - Text variable for setting transitional effects on menu activation - see above for more info
,                          // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1,                         // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,                          // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,                          // Position of TOP sub image left:center:right
,                          // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,                          // Right To Left - Used in Hebrew for example. (1=on/0=off)
,                          // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,                          // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                          // Background image for menu when BGColor set to transparent.
,                          // Scrollable Menu
,                          // Reserved for future use
,"Home&nbsp;","index.htm",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Unser&nbsp;Service&nbsp;&nbsp;","show-menu=service",,"",1
//,"Unsere&nbsp;Commitments&nbsp;&nbsp;","show-menu=commitments",,"",1
//,"Our&nbsp;Prices&nbsp;&nbsp;","show-menu=prices",,"",1
//,"Classifieds&nbsp;&nbsp;","show-menu=classifieds",,"",1
//,"Magazine&nbsp;&nbsp;","show-menu=magazine",,"",1
//,"Advertising&nbsp;&nbsp;","show-menu=advertising",,"",1
,"Über&nbsp;uns&nbsp;&nbsp;","show-menu=ueberuns",,"",1
,"Impressum&nbsp;","impressum.htm",,"",1
])

        addmenu(menu=["service",
        ,,320,1,"",style1,0,"left",effect,0,,,,,,,,,,,
        ,"Bürodienstleistung","buerodienstleistung.htm",,,1        
        ,"Optimierung im Büro: Beratung und Umsetzung","beratung.htm",,,1
        ,"PowerPoint: Beratung und Service","powerpointde.htm",,,1
//        ,"Professionalisierung Ihrer Kommunikation","kommunikation.htm",,,1
        ])


//        addmenu(menu=["commitments",
//        ,,190,1,"",style1,0,"left",effect,0,,,,,,,,,,,
//        ,"Calendar of Events","resource/calendar.shtml",,,1
//        ,"Industry Timeline","resource/timeline.shtml",,,1
//        ,"Industry Links","resource/links.shtml",,,1
//       ,"Salary Calculator","resource/sal_calc.shtml",,,1
//        ,"Salary Surveys","resource/sal_survey.shtml",,,1
//        ,"Stock Watch","resource/stock.shtml",,,1
//        ,"Technical Forums/ListServ","resource/forum.shtml",,,1
//        ,"User Groups","resource/user.shtml",,,1
//        ,"PCB Basics","resource/pcb_basics.shtml",,,1
//        ])


//        addmenu(menu=["prices",,,150,1,,style1,0,"left",effect,0,,,,,,,,,,,
//        ,"2003 Buyer's Guide","../../www.schemazoo.net/jaguar/pcfab_sup/default.htm",,,1
//        ,"EDA Software Guide","resource/eda_survey.shtml",,,1
//        ])


//        addmenu(menu=["classifieds",
//        ,,115,1,"",style1,0,"left",effect,0,,,,,,,,,,,
//        ,"Classified Info", "class/default.htm",,,1
//        ,"Current Listings", "class/current.shtml",,,1
//        ])


//        addmenu(menu=["magazine",,,130,1,,style1,0,"left",effect,0,,,,,,,,,,,
//        ,"Editorial Calendar", "mag/edit_calendar.shtml",,,1
//        ,"Advertiser Info", "mag/reader_service.shtml",,,1
//        ,"Current Issue", "mag/current_issue.shtml",,,1
//        ,"Subscribe", "subscribe/default.htm",,,1
//        ,"Reprints", "mag/reprints.shtml",,,1
//        ,"Write An Editor", "show-menu=writeeditor",,,1
//        ])


//        addmenu(menu=["writeeditor",,,135,1,,style1,0,"left",effect,0,,,,,,,,,,,
//        ,"Andy Shaughnessy", "mailto:ashaughnessy_40upmediagroup.com",,,1
//        ,"Mike Buetow", "mailto:mbuetow_40upmediagroup.com",,,1
//        ])


//        addmenu(menu=["advertising",,,155,1,,style1,0,"left",effect,0,,,,,,,,,,,
//        ,"Print Ad Rates", "ad/print.shtml",,,1
//        ,"Editorial Calendar", "pdf/pcdm%20edit%20calendar%2003.pdf",,,1
//        ,"Mission Statement", "about/index.shtml#mission",,,1
//        ,"Circulation Statement", "pdf/pcdm_pub_stmt2.pdf",,,1
//        ])


        addmenu(menu=["ueberuns",,,160,1,,style1,0,"left",effect,0,,,,,,,,,,,
        ,"Kontakt", "kontakt.htm",,,1
        ,"Referenzen", "referenzen.htm",,,1
        ,"Partner", "partnerde.htm",,,1
       // ,"AGBs", "agbs.htm",,,1
        ])


//        addmenu(menu=["archives",,,75,1,,style1,0,"left",effect,0,,,,,,,,,,,
//        ,"PCD&M", "mag/past_index.shtml",,,1
//        ,"PC FAB", "../archives/pcfab/past_toc.shtml",,,1
//        ,"PCD MAG", "../archives/pcdmag/past_toc.shtml",,,1
//        ])

dumpmenus()