//if you want to use jquery
$(document).ready( function () {					  
	
	$('#search').addClass('searchHide');
	$('#search h2 a').click(function(){
		$elem = $(this);
		$elem.parent().css('z-index',200);
		$elem.css('color','#ffffff');
	})
	$('.openSearch').click(function(){
		tb_show(null, "TB_inline?height=118&width=550&inlineId=searchBox&class=tbSearch", false);
	});
	$('#searchQuery').focus(function(){
		if(this.value == 'Search RSC')
			this.value = '';
	})
	$('#searchQuery').blur(function(){
		if(this.value == '')
			this.value = 'Search RSC';
	});
	
});

/* used to get rid of _blank so your code validates w3c stylee */
function setExternalLinks() {
  var el_list = document.getElementsByTagName('A');
  for (i=0; i<el_list.length; i++) {
    if (el_list[i].getAttribute('rel') == 'external') {
      el_list[i].setAttribute('target', '_blank');
    }
  }
}

/* Check's users version of Flash */
function checkFlash (version) {
	return DetectFlashVer(version, 0, 0);
}