<!--


 function year() 
	{
		var now = new Date();
        document.write(now.getFullYear());
     }
   
 function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}   
   
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

// <![CDATA[
function setVisible(index){

    switch(index)
    {
        case 0:
            show_row("graphics",true);
            show_row("writing",true);
            show_row("photo",true);
            show_row("events",true);
            break;
        case 1:
            show_row("graphics",true);
            show_row("writing",false);
            show_row("photo",false);
            show_row("events",false);
            break;
        case 2:
            show_row("graphics",false);
            show_row("writing",true);
            show_row("photo",false);
            show_row("events",false);
            break;
        case 3:    
            show_row("graphics",false);
            show_row("writing",false);
            show_row("photo",true);
            show_row("events",false);
            break;
         case 4:    
            show_row("graphics",false);
            show_row("writing",false);
            show_row("photo",false);
            show_row("events",true);
            break;
    }
}
function show_row(obj,bool){
        
// see if it's a document id, if it's not, then it must be an obj reference
        if(typeof obj == "string")
            obj = document.getElementById(obj);

// if user chose false, then lets see if the obj needs to be hidden,
//and if it does, then hide it.
	
        if(bool == false){
            if(obj.style.display != 'none');
            obj.style.display = 'none';
        }

// the user chose true, or omitted the second parameter.
//see if the object is visible. If it isn't, the show it.

        else { 
            if(obj.style.display != 'none');
             if (navigator.appName == "Netscape") 
				obj.style.display = 'table-row'
			else
				obj.style.display = 'table-header-group';
        }
}
// ]]>


//-->
