/* --- menu wrappers --- */
function wrap_parent (img,width,height,show_arrow){
var arrow = '&nbsp;'; if (show_arrow) arrow = '<img src="/img/ota_menu_arrow.gif" width="7" height="10" border="0">';
return '<table width="165" height="20" cellspacing="0" cellpadding="0" border="0"><tr valign="middle" height="20"><td width="10">&nbsp;</td><td width="127"><img src="/img/' + img + '" width="' + width + '" height="' + height + '" border="0"></td><td width="15" align="left">' + arrow + '</td></tr></table>';
};

function wrap_inner (text,show_arrow){
var arrow = '&nbsp;'; if (show_arrow) arrow = '<img src="/img/arrow2.gif" width="8" height="11" style="margin-top: 4px;">';
return '<table width="200" height="27" cellspacing="0" cellpadding="0" border="0"><tr valign="middle" height="27"><td width="6">&nbsp;</td><td width="188"><span class="m1inner">' + text + '</span></td><td width="6" align="center">&nbsp;</td></tr></table><img src="/img/menu_	ator2.gif" width="200" height="2" border="0">';
};

var moimages = Array();
function mo_wrap_parent (img,width,height){
return '<table width="174" cellspacing="0" cellpadding="0" border="0" border-top: 0px;"><tr><td height="20" align="center"><img src="/img/moimg/' + img + '.gif" width="' + width + '" height="' + height + '" border="0"></td></tr></table>';

};
/* - using rollover gifs...
var n = 0;
var moimages = Array();
function mo_wrap_parent (img,width,height){
var ret = Array(); n++;moimages[n] = new Image();moimages[n].src = '/img/moimg/' + img + '_rollover.gif';
ret[0] = '<table width="150" cellspacing="0" cellpadding="0" border="0" style="border: solid 1px #397357; border-top: 0px;"><tr><td height="24" align="center"><img src="/img/moimg/' + img + '.gif" width="' + width + '" height="' + height + '" border="0"></td></tr></table>';
ret[1] = '<table width="150" cellspacing="0" cellpadding="0" border="0" style="border: solid 1px #397357; border-top: 0px;"><tr><td height="24" align="center"><img src="/img/moimg/' + img + '_rollover.gif" width="' + width + '" height="' + height + '" border="0"></td></tr></table>';
ret[2] = '<table width="150" cellspacing="0" cellpadding="0" border="0" style="border: solid 1px #397357; border-top: 0px;"><tr><td height="24" align="center"><img src="/img/moimg/' + img + '_rollover.gif" width="' + width + '" height="' + height + '" border="0"></td></tr></table>';
return ret;
};
*/

function mo_wrap_inner (text,show_arrow){
var arrow = '&nbsp;'; if (show_arrow)	arrow = '<img src="/img/arrow2.gif" width="8" height="11" style="margin-top: 4px;">';
return '<table width="200" height="22" cellspacing="0" cellpadding="0" border="0"><tr valign="middle" height="20"><td width="6">&nbsp;</td><td width="188"><span class="mo_m1inner">' + text + '</span></td><td width="6" align="center">&nbsp;</td></tr><tr><td width="200" height="2" colspan="3"></td></tr></table>';
};
