  // the number you pass to initLeft doesn't matter since it will get
  // changed onactivate
if (screen.width == 800)
{
  new ypSlideOutMenu("menu1", "down", 248, 251, 125, 183)// menu for Occassion
  new ypSlideOutMenu("menu2", "down", 334, 251, 125, 122)// menu for Material
  new ypSlideOutMenu("menu3", "right", 218, 440, 100, 82) // menu for Price
  new ypSlideOutMenu("menu4", "right", 218, 470, 150, 45) // menu for Shop with Confidence
  new ypSlideOutMenu("menu5", "right", 218, 503, 150, 45) // menu for Education
}
if (screen.width == 1024)
{
  new ypSlideOutMenu("menu1", "down", 360, 251, 125, 183)// menu for Occassion
  new ypSlideOutMenu("menu2", "down", 446, 251, 125, 122)// menu for Material
  new ypSlideOutMenu("menu3", "right", 330, 440, 115, 82) // menu for Price
  new ypSlideOutMenu("menu4", "right", 330, 470, 150, 45) // menu for Shop with confidence
  new ypSlideOutMenu("menu5", "right", 330, 503, 150, 45) // menu for Education

}  
  <!--- ypSlideOutMenu.writeCSS(); --->
