if(navigator.appVersion.indexOf("MSIE 6.0")>0)                                                                                                                                                                                            
{                                                                                                                                                                                                                                         
    effect = "Fade(duration=0.5);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"                                                                                                                           
}                                                                                                                                                                                                                                         
else                                                                                                                                                                                                                                      
{                                                                                                                                                                                                                                         
    effect = "Shadow(color='#777777', Direction=135, Strength=5)"                                                                                                                                                                         
}                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                          
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)}
timegap=500         // 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.                                                                        
"58705C",   // Mouse Off Font Color                                                                                                                                                                                                       
"EFEFEF",   // Mouse Off Background Color                                                                                                                                                                                                 
"FFFFFF",               // Mouse On Font Color                                                                                                                                                                                            
"B0B0B0",               // Mouse On Background Color                                                                                                                                                                                      
"EFEFEF",               // Menu Border Color                                                                                                                                                                                              
"12px",                     // Font Size in pixels                                                                                                                                                                                        
"normal",               // Font Style (italic or normal)                                                                                                                                                                                  
"bold",                 // Font Weight (bold or normal)                                                                                                                                                                                   
"Verdana, Arial",       // Font Name                                                                                                                                                                                                      
3,              // Menu Item Padding                                                                                                                                                                                                      
"/js/arrow.gif",         // Sub Menu Image (Leave this blank if not needed)                                                                                                                                            
,                       // 3D Border & Separator bar                                                                                                                                                                                      
"66ffff",               // 3D High Color                                                                                                                                                                                                  
"000099",               // 3D Low Color                                                                                                                                                                                                   
"336600",               // Current Page Item Font Color (leave this blank to disable)                                                                                                                                                     
"E2E2E2",                   // Current Page Item Background Color (leave this blank to disable)                                                                                                                                           
"/js/arrowdn.gif",           // Top Bar image (Leave this blank to disable)                                                                                                                                            
"FFFF00",               // Menu Header Font Color (Leave blank if headers are not needed)                                                                                                                                                 
"336600",               // Menu Header Background Color (Leave blank if headers are not needed)                                                                                                                                           
]                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          
addmenu(menu=[      // This is the array that contains your menu properties and details                                                                                                                                                   
"rarib",            // Menu Name - This is needed in order for the menu to be called                                                                                                                                                      
212,    // Menu Top - The Top position of the menu in pixels                                                                                                                                                                              
,   // Menu Left - The Left position of the menu in pixels                                                                                                                                                                                
178,   // Menu Width - Menus width in pixels                                                                                                                                                                                                 
1,  // Menu Border Width                                                                                                                                                                                                                  
"left",   // 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)                                                                                                                      
0,  // 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)                                                                                                                                                      
,   // Reserved for future use                                                                                                                                                                                                            
,   // Reserved for future use                                                                                                                                                                                                            
,   // Reserved for future use                                                                                                                                                                                                            
, "&nbsp;О компании&nbsp;&nbsp;","index.php?cat=2","index.php?cat=2","",1
, "&nbsp;Продукты&nbsp;&nbsp;","show-menu=menu_4","index.php?cat=4","",1
, "&nbsp;Услуги&nbsp;&nbsp;","show-menu=menu_5","index.php?cat=5","",1
, "&nbsp;Форум&nbsp;&nbsp;","http://www.ksi.ru/forum","index.php?cat=6","",1
, "&nbsp;Вакансии&nbsp;&nbsp;","index.php?cat=7","index.php?cat=7","",1
, "&nbsp;Контакты&nbsp;&nbsp;","index.php?cat=8","index.php?cat=8","",1
])

addmenu(menu=["menu_4",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;Игры&nbsp;&nbsp;","show-menu=menu_9","index.php?cat=9","",1
, "&nbsp;Столбик&nbsp;&nbsp;","show-menu=menu_10","index.php?cat=10","",1
, "&nbsp;Корпус&nbsp;&nbsp;","show-menu=menu_14","index.php?cat=14","",1
, "&nbsp;С купюроприемником&nbsp;&nbsp;","show-menu=menu_42","index.php?cat=42","",1
, "&nbsp;С монетоприемником&nbsp;&nbsp;","show-menu=menu_43","index.php?cat=43","",1
, "&nbsp;Рулетка&nbsp;&nbsp;","index.php?cat=186","index.php?cat=186","",1
])

addmenu(menu=["menu_5",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;Аренда&nbsp;&nbsp;","index.php?cat=53","index.php?cat=53","",1
, "&nbsp;Комплекс услуг  \"Под ключ\"&nbsp;&nbsp;","index.php?cat=54","index.php?cat=54","",1
, "&nbsp;Сервисное обслуживание и ремонт&nbsp;&nbsp;","index.php?cat=55","index.php?cat=55","",1
])

addmenu(menu=["menu_9",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;Swamp Land&nbsp;&nbsp;","index.php?cat=15","index.php?cat=15","",1
, "&nbsp;Super Jump&nbsp;&nbsp;","index.php?cat=16","index.php?cat=16","",1
, "&nbsp;Desert Gold&nbsp;&nbsp;","index.php?cat=17","index.php?cat=17","",1
, "&nbsp;Funky Monkey&nbsp;&nbsp;","index.php?cat=18","index.php?cat=18","",1
, "&nbsp;Maya Gold&nbsp;&nbsp;","index.php?cat=19","index.php?cat=19","",1
, "&nbsp;Cooly Gangs&nbsp;&nbsp;","index.php?cat=22","index.php?cat=22","",1
, "&nbsp;Night Witch&nbsp;&nbsp;","index.php?cat=23","index.php?cat=23","",1
, "&nbsp;Gold Maker&nbsp;&nbsp;","index.php?cat=24","index.php?cat=24","",1
, "&nbsp;Swamp Land 2&nbsp;&nbsp;","index.php?cat=110","index.php?cat=110","",1
, "&nbsp;Fruits Mix&nbsp;&nbsp;","index.php?cat=176","index.php?cat=176","",1
, "&nbsp;Mister Drink&nbsp;&nbsp;","index.php?cat=178","index.php?cat=178","",1
, "&nbsp;Mouse, Cat & House&nbsp;&nbsp;","index.php?cat=187","index.php?cat=187","",1
, "&nbsp;KSI Miltigame Poltergeist&nbsp;&nbsp;","index.php?cat=188","index.php?cat=188","",1
, "&nbsp;Agent of KSI&nbsp;&nbsp;","index.php?cat=228","index.php?cat=228","",1
, "&nbsp;Bingo&nbsp;&nbsp;","index.php?cat=229","index.php?cat=229","",1
, "&nbsp;Double Race&nbsp;&nbsp;","index.php?cat=230","index.php?cat=230","",1
, "&nbsp;Emerald City&nbsp;&nbsp;","index.php?cat=231","index.php?cat=231","",1
, "&nbsp;Exclusive Rodrigez&nbsp;&nbsp;","index.php?cat=232","index.php?cat=232","",1
, "&nbsp;Flint & Sanches&nbsp;&nbsp;","index.php?cat=233","index.php?cat=233","",1
, "&nbsp;Green Country&nbsp;&nbsp;","index.php?cat=234","index.php?cat=234","",1
])

addmenu(menu=["menu_10",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;Stolbik&nbsp;&nbsp;","index.php?cat=38","index.php?cat=38","",1
, "&nbsp;Quadro&nbsp;&nbsp;","index.php?cat=39","index.php?cat=39","",1
, "&nbsp;Coin&nbsp;&nbsp;","index.php?cat=40","index.php?cat=40","",1
])

addmenu(menu=["menu_11",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;Рулетка&nbsp;&nbsp;","show-menu=menu_11","index.php?cat=11","",1
])

addmenu(menu=["menu_14",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;KSIGameMachine 401&nbsp;&nbsp;","index.php?cat=49","index.php?cat=49","",1
, "&nbsp;KSIGameMachine423&nbsp;&nbsp;","index.php?cat=50","index.php?cat=50","",1
, "&nbsp;KSIGameTouch115&nbsp;&nbsp;","index.php?cat=51","index.php?cat=51","",1
, "&nbsp;KSIGameTouch SM1&nbsp;&nbsp;","index.php?cat=52","index.php?cat=52","",1
])

addmenu(menu=["menu_42",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;Desert Gold&nbsp;&nbsp;","index.php?cat=46","index.php?cat=46","",1
, "&nbsp;Funky Monkey&nbsp;&nbsp;","index.php?cat=47","index.php?cat=47","",1
, "&nbsp;Maya Gold&nbsp;&nbsp;","index.php?cat=48","index.php?cat=48","",1
])

addmenu(menu=["menu_43",,,260,1,,style1,0,"left",,0,,,,,,,,,,,
, "&nbsp;Magic Card&nbsp;&nbsp;","index.php?cat=44","index.php?cat=44","",1
, "&nbsp;Lucky Bird&nbsp;&nbsp;","index.php?cat=45","index.php?cat=45","",1
])

dumpmenus();