
var screenHeight = screen.availHeight;
var screenWidth = screen.availWidth;

if (screenWidth == 1024)
   {
      var left_corner_x =418; // x-coordinate of top left corner of dropdown menu 
      var left_sub_corner_x =510; // x-coordinate of top left corner of submenu 
      var left_corner_y = 133; // y-coordinate of top left corner of dropdown menu 
      var back_color = '#E6E6E6'; // the background color of dropdown menu 
      var border_color = 'black'; // the color of dropdown menu border
      var border_size  = '1'; // the width of dropdown menu border
      var menu_width   = '96'; // the width of dropdown menu 
   } 
else if (screenWidth == 1152)
   {
      var left_corner_x =482; // x-coordinate of top left corner of dropdown menu 
      var left_sub_corner_x =575; // x-coordinate of top left corner of submenu 
      var left_corner_y = 133; // y-coordinate of top left corner of dropdown menu 
      var back_color = '#E6E6E6'; // the background color of dropdown menu 
      var border_color = 'black'; // the color of dropdown menu border
      var border_size  = '1'; // the width of dropdown menu border
      var menu_width   = '96'; // the width of dropdown menu 
   } 
else if (screenWidth == 1280)
   {
      var left_corner_x =546; // x-coordinate of top left corner of dropdown menu
      var left_sub_corner_x =635; // x-coordinate of top left corner of submenu  
      var left_corner_y = 133; // y-coordinate of top left corner of dropdown menu 
      var back_color = '#E6E6E6'; // the background color of dropdown menu 
      var border_color = 'black'; // the color of dropdown menu border
      var border_size  = '1'; // the width of dropdown menu border
      var menu_width   = '96'; // the width of dropdown menu 
   }
else
   {
      var left_corner_x =307; // x-coordinate of top left corner of dropdown menu
      var left_sub_corner_x =400; // x-coordinate of top left corner of submenu  
      var left_corner_y = 133; // y-coordinate of top left corner of dropdown menu 
      var back_color = '#E6E6E6'; // the background color of dropdown menu 
      var border_color = 'black'; // the color of dropdown menu border
      var border_size  = '1'; // the width of dropdown menu border
      var menu_width   = '96'; // the width of dropdown menu 
   }

//// Don't change these parameters
var delay  = 5000; /////
var active_layer_id = -1;  /////
var on_layer_id  = -1;  /////
var buff_id  = -1;  /////

var active_layer_id_sub = -1;  /////
var on_layer_id_sub  = -1;  /////
var buff_id_sub  = -1;  /////
var x = 29;

/// ----------------------------
//Script developed by Alexey
//for support visit http://www.geocities.com/menulite
//submitted to A1 JavaScripts - www.a1javascripts.com
// menu content; the dropdown menus themselfs between '' and items of every dropdown menu are diveded by |; 
// 


menu_content     = new Array ('<a href="#" onMouseOver="menu_sub_enter (0);" onMouseOut="menu_sub_exit (0);" class="subMenu">References</a> | <a href="#" onMouseOver="menu_sub_enter (1);" onMouseOut="menu_sub_exit (1);" class="subMenu">What we can do for you</a>','<a href="#" class=subMenu>empty</a> | <a href="#" class=subMenu>empty</a> | <a href="#" class=subMenu>empty</a>');

menu_sub_content     = new Array ('<a href="export.cfm" class="subMenu">Export</a> | <a href="local.html" class=subMenu>Local</a>',
'<a href="create.html" class="subMenu">Preferences</a> | <a href="exportList.html" class=subMenu>Export List</a>');

