function thumb_over(my_id){
	if(document.getElementById('i' + my_id)){document.getElementById('i' + my_id).style.backgroundPosition = '0 94px';}
	/*if(document.getElementById('t' + my_id)){
		document.getElementById('t' + my_id).style.backgroundColor = '#fb3f78'
		document.getElementById('t' + my_id).style.color = '#fff000'
		}
	
	//alert('asdf');
	var e = document.getElementById('t' + my_id);
	var title = e.getElementsByTagName('span')[1].innerHTML;
	var name = e.getElementsByTagName('span')[2].innerHTML;
	var location = e.getElementsByTagName('span')[3].innerHTML;

	var output = '<br /><br /><h3>'+my_id+'</h3><h1 class="title">'+title+"</h1><h3>"+name+", "+location+"</h3>"+'<br><h3>The Biennale Legacy Foundation has acquired these six sculptures from the<br>2005-2007 Biennale. Pending public consultation with the Vancouver Parks<br>Board, they will continue to inhabit and inspire our city.</h3>';
	document.getElementById('desc').innerHTML=output;
	refresh();*/
	
}

function thumb_out(my_id){
	if(document.getElementById('i' + my_id)){document.getElementById('i' + my_id).style.backgroundPosition = '0 0';}
	/*if(document.getElementById('t' + my_id)){
		document.getElementById('t' + my_id).style.backgroundColor = 'transparent';
		document.getElementById('t' + my_id).style.color = '#fb3f78'
		}
	
	$("#desc").html('<br /><br /><h1>THE SCULPTURES</h1><br /><br /><br /><br /><br />');
	refresh();*/
	
}

function getQueryVariable(variable) {
  var query = window.location.search.substring(1);
  var vars = query.split("&");
  for (var i=0;i<vars.length;i++) {
    var pair = vars[i].split("=");
    if (pair[0] == variable) {
      return pair[1];
    }
  } 
return false;
}

$(document).ready(function(){if(getQueryVariable('scid')){thumb_over(getQueryVariable('scid'))}});