function mm_changeItemProperty(dir) 
{ 
	//alert(_itemRef);
	//8 = offcolor, 18 = pagecolor
	
	for (i=0;i<_mi.length;i++) {
		_mi[i][8]  = '#999999'; 
		_mi[i][18] = '#999999'; 
	}
	_mi[_itemRef][8] = '#296B11'; 
	BDMenu(_mi[_itemRef][0]); 
	document.location.href = dir;
}

var sec = 'solutions';
var ut  = sec+'/usefultools';
var cm  = sec+'/contentmgmt';
var ec  = sec+'/ecommerce';
var mh  = sec+'/managedhosting';

// bullet graphic (pi ~ pageimage)
var pi = '<img src='+DOM+'images/graphics/arrowcirc_'+sec+'.gif width=7 height=7 border=0 hspace=5>';

with(leftStyle=new mm_style()){
padding=0;
menuwidth=150;
align="right";
oncolor="#94B588";
offcolor="#999999";
pagecolor="#296B11";
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana, sans-serif;";
decoration="none";
separatorcolor="#FFFFFF";

if (ie55) overfilter="Fade(duration=0.7);Alpha(opacity=100)";
}

var menu_top  = "text=<img src="+DOM+"images/spacer.gif width=150 height=18 border=0>;"
var sub_top   = "text=<img src="+DOM+"images/spacer.gif width=150 height=10 border=0>;"
var dasher    = "text=<img src="+domlav+"dashedgray.gif width=150 height=1 vspace=5 border=0>;"
var sepp      = 'separatorsize=1;separatorpadding=4;';

with(milonic=new menuname("solutions")){
top=158;
screenposition="center";
left="offset=-250";
style=leftStyle;
menuwidth=150;
alwaysvisible=1;
orientation="vertical";
followscroll = "20,20,25";

aI("image="+domlav+"solutions.gif;url="+DOM+"solutions/index.php;separatorsize=0;"); 
aI(menu_top);

aI("image="+domlav+"usefultools"+((url.indexOf(ut)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"usefultools_f2.gif") +";url="+DOM+ut+".php;");

if (url.indexOf(ut) != -1) {
	aI(sub_top);
	aI("text="+pi+"web-ready email;url="+DOM+ut+".php#email;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+ut+".php#email');");		
	aI("text="+pi+"site search;url="+DOM+ut+".php#sitesearch;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+ut+".php#sitesearch');");	
	aI("text="+pi+"scrolling menu;url="+DOM+ut+".php#scrolling;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+ut+".php#scrolling');");	
	aI("text="+pi+"weB LOG;url="+DOM+ut+".php#blog;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+ut+".php#blog');");	
}
aI(dasher);

aI("image="+domlav+"contentmgmt"+((url.indexOf(cm)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"contentmgmt_f2.gif") +";url="+DOM+cm+".php;");

if (url.indexOf(cm) != -1) {
	aI(sub_top);
	aI("text="+pi+"page publisher;url="+DOM+cm+".php#publisher;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+cm+".php#publisher');");	
	aI("text="+pi+"adobe contribute;url="+DOM+cm+".php#adobe;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+cm+".php#adobe');");	
	aI("text="+pi+"file uploads;url="+DOM+cm+".php#uploads;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+cm+".php#uploads');");	
	aI("text="+pi+"online photo uploading;url="+DOM+cm+".php#photo;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+cm+".php#photo');");	
}
aI(dasher);

aI("image="+domlav+"ecommerce"+((url.indexOf(ec)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"ecommerce_f2.gif") +";url="+DOM+ec+".php;");

if (url.indexOf(ec) != -1) {
	aI(sub_top);	
	aI("text="+pi+"shelf talkers;url="+DOM+ec+".php#shelftalkers;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+ec+".php#shelftalkers');");	
	aI("text="+pi+"via pay pal;url="+DOM+ec+".php#paypal;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+ec+".php#paypal');");	
}
aI(dasher);

aI("image="+domlav+"managedhosting"+((url.indexOf(mh)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"managedhosting_f2.gif") +";url="+DOM+mh+".php;");

if (url.indexOf(mh) != -1) {
	aI(sub_top);

	aI("text="+pi+"web hosting;url="+DOM+mh+".php#webhosting;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+mh+".php#webhosting');");		
	aI("text="+pi+"domain registration;url="+DOM+mh+".php#domain;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+mh+".php#domain');");	
	aI("text="+pi+"free hosting;url="+DOM+mh+".php#freehosting;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+mh+".php#freehosting');");	
}

aI(menu_top);
aI('text=<form method=post action="/cgi-bin/search/search.pl?search" name="ssearch" onsubmit="return checkSearchForm(this)"><table width="150" border="0" cellpadding="0" cellspacing="0"><tr><td><img src='+domlav+'search_interior.gif width="47" height="17"></td><td><input name="term" size="10" class="search" value="'+main_term+'" onClick="checkSearch(this.form)"></td><td><a href="javascript:checkSearchSubmit()"><img name="go" src='+domlav+'go.gif width="22" height="16" border="0"></td></tr>;type=form;align=left;');

aI("text=<tr><td colspan=\"3\"><img src="+DOM+"images/spacer.gif width=150 height=10 border=0></td></tr>;type=html;");
aI("text=<tr><td colspan=\"3\"><img src="+domlav+"dashedline.gif width=150 height=1 vspace=5 border=0></td></tr>;type=html;");
aI("text=<tr><td colspan=\"3\" nowrap><a href=\""+DOM+"community/contact.php\"><img src="+DOM+"images/leftnav/envelope.gif width=18 height=12 border=0></a><a href=\"#top\" class=leftnav><img src="+DOM+"images/spacer.gif width=13 height=13 border=0>TOP<img src="+DOM+"images/spacer.gif width=13 height=13 border=0></a><a href=\""+DOM+"services/index.php\"><img src="+DOM+"images/graphics/top_services.gif width=13 height=13 border=0 hspace=3></a><a href=\""+DOM+"solutions/index.php\"><img src="+DOM+"images/graphics/top_solutions.gif width=13 height=13 border=0 hspace=3></a><a href=\""+DOM+"clients/index.php\"><img src="+DOM+"images/graphics/top_clients.gif width=13 height=13 border=0 hspace=3></a><a href=\""+DOM+"community/index.php\"><img src="+DOM+"images/graphics/top_community.gif width=13 height=13 border=0 hspace=3></a></td></tr>;type=html;");
aI("text=</table></form>;type=html;");

//aI("image="+domlav+"xxx.gif;overimage="+domlav+"xxx_f2.gif;url="+DOM+"solutions/xxx.php;pageimage="+domlav+"xxx_f3.gif;pagematch="+DOM+"solutions/xxx;");   
}

