MenuTop = "<center>" + "<table cellpadding=0 cellspacing=0 border=0 width=179>" + "<tr> " + "<td colspan=4><img src='rollover_menu/fly_top.gif' width=179 height=14 border=0></td>" + "</tr>" + "<tr>" + "<td background='rollover_menu/fly_left.gif'><img src='rollover_menu/line.gif' width=10 height=1 border=0></td>" + "<td bgcolor='#DA9EDF'><img src='rollover_menu/line.gif' width=159 height=1 border=0><br>" + "  <FONT FACE='Verdana,arial, helvetica' SIZE=1>";
MenuBottom =   "  </font></td>" + "<td bgcolor='#DA9EDF'><img src='rollover_menu/line.gif' width=5 height=1 border=0></td>" + "<td background='rollover_menu/fly_right.gif'><img src='rollover_menu/line.gif' width=5 height=9 border=0></td>" + "</tr>" + "</table>" + "<img src='rollover_menu/fly_bottom.gif' width=179 height=13 border=0>" + "</center>";
sizeBase = 37;
sizeLine = 14;
SubNavBogus = "<img src='rollover_menu/line.gif' width=1 height=1 border=0>";


SubNavroll01 =  MenuTop  + "<a href='http://www.greetways.com/category.php?c=28'>Holi Special</a><br>" + "<a href='http://www.greetways.com/category.php?c=14'>Valentines Day Special</a><br>" + MenuBottom;
SubNavroll01lines = 1;
SubNavroll02 = MenuTop  + "<a href='http://www.greetways.com/category.php?c=15'>Naughty Love</a><br>" + "<a href='http://www.greetways.com/category.php?c=16'>Proposal</a><br>"  + "<a href='http://www.greetways.com/category.php?c=17'>Sweet and Sentimental</a><br>"  + "<a href='http://www.greetways.com/category.php?c=18'>Funny and Humorous</a><br>"  +"<a href='http://www.greetways.com/category.php?c=19'>Long Distance Love</a><br>" +"<a href='http://www.greetways.com/category.php?c=6'>Friendship</a><br>"  + MenuBottom;
SubNavroll02lines = 5;
SubNavroll03 = MenuTop  + "<a href='http://www.greetways.com/category.php?c=11'>Naughty</a><br>" + "<a href='http://www.greetways.com/category.php?c=12'>Funny</a><br>"  + "<a href='http://www.greetways.com/category.php?c=13'>Inspiring Thoughts</a>" + MenuBottom;
SubNavroll03lines = 3;
SubNavroll04 = MenuTop  +  "<a href='http://www.greetways.com/category.php?c=20'>Anniversaries</a><br>"  + "<a href='http://www.greetways.com/category.php?c=21'>Academic</a><br>"  + MenuBottom;
SubNavroll04lines = 4;

SubNavroll05 = MenuTop  +  "<a href='http://www.greetways.com/category.php?c=22'>All the Best</a><br>"  + "<a href='http://www.greetways.com/category.php?c=23'>Get Well Soon</a><br>"  + "<a href='http://www.greetways.com/category.php?c=24'>Inspire and Motivate</a><br>" + "<a href='http://www.greetways.com/category.php?c=25'>Just So Cards</a><br>" +MenuBottom;
SubNavroll05lines = 5;

SubNavroll07 = MenuTop  + ""  + MenuBottom;
SubNavroll07lines = 3;
SubNavroll08 = MenuTop  + "" + MenuBottom;
SubNavroll08lines = 2;
var navAdjusterV=0;
var navAdjusterH=0;
if (document.layers) {
   navAdjusterV=7;
   navAdjusterH=2;
} 
var navAdjusterVMacIE=7;
var navAdjusterHMacIE=2;
var agt=navigator.userAgent.toLowerCase();
var is_mac = (agt.indexOf("mac")!=-1);
var is_ie = (agt.indexOf("msie") != -1);
var is_major = parseInt(navigator.appVersion);
var is_ie4up  = (is_ie  && (is_major >= 4));
if  (is_mac && is_ie4up) {
   navAdjusterV = navAdjusterV + navAdjusterVMacIE;
   navAdjusterH = navAdjusterH + navAdjusterHMacIE;
}
createLayer('SubNavBogus', 0, 0, 1, 1, 0, SubNavBogus); //left, top, width, height

createLayer('SubNavroll01', eval(185 - navAdjusterH), eval(238 - navAdjusterV), 179, eval(sizeBase + sizeLine*SubNavroll01lines), 0, SubNavroll01);
createLayer('SubNavroll02', eval(185 - navAdjusterH), eval(310 - navAdjusterV), 179, eval(sizeBase + sizeLine*SubNavroll02lines), 0, SubNavroll02);
createLayer('SubNavroll03', eval(185 - navAdjusterH), eval(390 - navAdjusterV), 179, eval(sizeBase + sizeLine*SubNavroll03lines), 0, SubNavroll03);
createLayer('SubNavroll04', eval(185 - navAdjusterH), eval(480 - navAdjusterV), 179, eval(sizeBase + sizeLine*SubNavroll04lines), 0, SubNavroll04);
createLayer('SubNavroll05', eval(185 - navAdjusterH), eval(550 - navAdjusterV), 179, eval(sizeBase + sizeLine*SubNavroll05lines), 0, SubNavroll05);


