function insertFlashMovie(videoID) {
 document.write("<OBJECT height=306 width=350> \n ");
 document.write("<PARAM NAME=\"movie\" VALUE=\"http://www.youtube.com/v/" + videoID + "\"> \n ");
 document.write("<PARAM NAME=\"wmode\" VALUE=\"transparent\"> \n ");
 document.write("<EMBED src=\"http://www.youtube.com/v/" + videoID + "\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"350\" height=\"306\"> \n ");
 document.write("</EMBED> \n ");
 document.write("</OBJECT> \n ");
}

navHover = function() {
	var lis = document.getElementById('nav').getElementsByTagName('LI');
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=' iehover';
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(' iehover\\b'), '');
		}
	}
}



if (window.attachEvent) window.attachEvent('onload', navHover);
function clearcheck(check_for, check_this)
{
	if(element(check_this).value == check_for){
		element(check_this).value = '';
	}
	return true;
}



function element(id) 
{
   if(document.getElementById != null) {
    return document.getElementById(id);
   }
   if(document.all != null) {
    return document.all[id];
   }
   if(document.layers != null) {
    return document.layers[id];
   }
   return null;
}



function show_contribute_buttons(){
  var my_div = element('contribute_amt');
  my_div.style.display = 'block';
  return true;
}

