<!--

newTrans=new Array()
newTrans[0] = "progid:DXImageTransform.Microsoft.Wipe(GradientSize=0.5, wipeStyle=0, motion='forward')";
newTrans[1] = "progid:DXImageTransform.Microsoft.Wipe(GradientSize=0.5, wipeStyle=0, motion='reverse')";
newTrans[2] = "progid:DXImageTransform.Microsoft.Spiral()";

which_class=new Array()
which_class[0]="default"
which_class[1]="buttonover"
which_class[2]="buttondown"

previous_div = null

function m_over(this_div){
if(previous_div != this_div){
this_div.style.filter = newTrans[1];
this_div.filters[0].apply();
this_div.className=which_class[1]
this_div.filters[0].play(0.5);
}
}

function m_out(this_div){
if(previous_div != this_div){
this_div.style.filter = newTrans[0];
this_div.filters[0].apply();
this_div.className=which_class[0]
this_div.filters[0].play(0.25); 
}
}

function m_click(this_div){
this_div.style.filter = newTrans[2];
this_div.filters[0].apply();
this_div.className=which_class[2]
this_div.filters[0].play(0.20); 

if(previous_div!=this_div){
if(previous_div != null){
previous_div.style.filter = newTrans[0];
previous_div.filters[0].apply();
previous_div.className=which_class[0]
previous_div.filters[0].play(0.25);
}
}
previous_div = this_div
}
// -->
