function high(which2){
  theobject=which2
  highlighting=setInterval("highlightit(theobject)",40)
  }
function low(which2){
  clearInterval(highlighting)
  which2.filters.alpha.opacity=40
  }
function highlightit(cur2){
  if (cur2.filters.alpha.opacity<100)
  cur2.filters.alpha.opacity+=10
  else if (window.highlighting)
  clearInterval(highlighting)
  }

function winop(gal,wall,id)
{
windop = window.open("/vote.php?gal="+gal+"&wall="+parseInt(wall)+"&mark="+parseInt(id),"mywin","height=120,width=300,left=100,top=30");
}

function showvote(id){
$(id).style.display = '';
}

function hidevote(id){
$(id).style.display = 'none';
}

function swapImages(width_s, height_s, width_b, height_b){var img=$('wallpaper');
if (img.width > 880) {
	img.alt='';
	img.width=width_b;
	img.height=height_b;
}else{
	img.alt='';
	img.width=width_s;
	img.height=height_s;
}
return false;
}