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] = '#CB7F00'; 
	BDMenu(_mi[_itemRef][0]); 
	document.location.href = dir;	
}

var sec = 'community';
var sp = sec+'/submitproject';
var jc = sec+'/joincubefree';
var gs = sec+'/gettingstarted';
var nr = sec+'/newsreleases';
var ct = sec+'/contact';
var lk = sec+'/links';

// 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="#CB7F00";
offcolor="#999999";
pagecolor="#CB7F00";
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("community")){
top=158;
screenposition="center";
left="offset=-250";
style=leftStyle;
menuwidth=150;
alwaysvisible=1;
orientation="vertical";
followscroll = "20,20,25";

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

aI("image="+domlav+"commsubmitproject"+((url.indexOf(sp)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"commsubmitproject_f2.gif") +";url="+DOM+sp+".php;");

//if (url.indexOf(sp) != -1) {
	//aI(sub_top);
	//aI("text="+pi+"design \& development;url="+DOM+wm+".php#design;"+sepp);
//}
aI(dasher);

aI("image="+domlav+"commjoincfm"+((url.indexOf(jc)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"commjoincfm_f2.gif") +";url="+DOM+jc+".php;");

//if (url.indexOf(jc) != -1) {
	//aI(sub_top);
	//aI("text="+pi+"design \& development;url="+DOM+wm+".php#design;"+sepp);
//}
aI(dasher);

aI("image="+domlav+"justgettingstarted"+((url.indexOf(gs)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"justgettingstarted_f2.gif") +";url="+DOM+gs+".php;");

if (url.indexOf(gs) != -1) {
	aI(sub_top);
	aI("text="+pi+"domain name;url="+DOM+gs+".php#domain;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+gs+".php#domain');");	
	aI("text="+pi+"web hosting;url="+DOM+gs+".php#hosting;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+gs+".php#hosting');");	
	aI("text="+pi+"7 questions;url="+DOM+gs+".php#7questions;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+gs+".php#7questions');");	
	aI("text="+pi+"e-commerce;url="+DOM+gs+".php#ecommerce;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+gs+".php#ecommerce');");	
}
aI(dasher);

aI("image="+domlav+"newsreleases"+((url.indexOf(nr)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"newsreleases_f2.gif") +";url="+DOM+nr+".php;");

if (url.indexOf(nr) != -1) {
	aI(sub_top);
	aI("text="+pi+"2004;url="+DOM+nr+".php#top;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+nr+".php#top');");		
	aI("text="+pi+"2003;url="+DOM+nr+".php#2003;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+nr+".php#2003');");			
	aI("text="+pi+"2002;url="+DOM+nr+".php#2002;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+nr+".php#2002');");			
}
aI(dasher);

aI("image="+domlav+"contactus"+((url.indexOf(ct)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"contactus_f2.gif") +";url="+DOM+ct+".php;");

//if (url.indexOf(ct) != -1) {
	//aI(sub_top);
	//aI("text="+pi+"design \& development;url="+DOM+wm+".php#design;"+sepp);
//}
//aI(dasher);

//aI("image="+domlav+"links"+((url.indexOf(lk)>-1)? "_f3.gif" : ".gif;overimage="+domlav+"links_f2.gif") +";url="+DOM+lk+".php;");

//if (url.indexOf(lk) != -1) {
	//aI(sub_top);
	//aI("text="+pi+"design \& development;url="+DOM+wm+".php#design;"+sepp);
//}

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+"community/xxx.php;pageimage="+domlav+"xxx_f3.gif;pagematch="+DOM+"community/xxx;");   