//DIV Toggling Function
function toggle( targetId ) {
	   if ( document.getElementById ) {
		target = document.getElementById( targetId );
		if ( target.style.display == "none" ) {
		 target.style.display = "";
		} else {
		 target.style.display = "none";
		}
	   }
	}
	
function setClassName(objId, className) {
		document.getElementById(objId).className = className;
	}

//CSS Swapping Function
var doAlerts=false;
function changeSheets(whichSheet){
  whichSheet=whichSheet-1;
  if(document.styleSheets){
    var c = document.styleSheets.length;
    if (doAlerts) alert('Change to Style '+(whichSheet+1));
    for(var i=0;i<c;i++){
      if(i!=whichSheet){
        document.styleSheets[i].disabled=true;
      }else{
        document.styleSheets[i].disabled=false;
      }
    }
  }
}