function Toggle(item) {	   obj=document.getElementById(item);	   visible=(obj.style.display!="none")  	   if (visible) {	     obj.style.display="none";	   } else {	      obj.style.display="block";	   }	}	function ToggleInline(item) {	   obj=document.getElementById(item);	   visible=(obj.style.display!="none")  	   if (visible) {	     obj.style.display="none";	   } else {	      obj.style.display="inline";	   }	}	function Show(item) {	   obj=document.getElementById(item);	   obj.style.display="block";	}	function Hide(item) {	   obj=document.getElementById(item);	   obj.style.display="none";	}	function ShowAllNav() {		Show('rambling');		//Show('about');		Show('design');		Show('music');		Show('links');		Show('contact');	}	function HideAllNav() {		Hide('rambling');		//Hide('about');		Hide('design');		Hide('music');		Hide('links');		Hide('contact');	}	function HideOtherNav(keep) {		if(keep!='rambling'){ Hide('rambling'); }		//if(keep!='about'){ Hide('about'); }		if(keep!='design'){ Hide('design'); }		if(keep!='music'){ Hide('music'); }		if(keep!='links'){ Hide('links'); }		if(keep!='contact'){ Hide('contact'); }	}	function HideOtherNavAdmin(keep) {		if(keep!='news'){ Hide('news'); }		if(keep!='journal'){ Hide('journal'); }		if(keep!='gallery'){ Hide('gallery'); }		if(keep!='comments'){ Hide('comments'); }		if(keep!='comments_journal'){ Hide('comments_journal'); }		if(keep!='guestbook'){ Hide('guestbook'); }		if(keep!='mailing_list'){ Hide('mailing_list'); }	}	function ShowAllPortfolio() {		Show('ncm');		Show('bvg-v2');		Show('bvg-v1');		Show('digital-sig');		Show('hvr');		Show('jed_v1');		Show('fae');		Show('compserv');		Show('pgp');		Show('dbd');		Show('myab');		Show('ag');		Show('ch12');		Show('fm');		Show('pltl');		Show('sb');		Show('ts');		Show('skookum');		Show('mfm');	}	function HideAllPortfolio() {		Hide('ncm');		Hide('bvg-v2');		Hide('bvg-v1');		Hide('digital-sig');		Hide('hvr');		Hide('jed_v1');		Hide('fae');		Hide('compserv');		Hide('pgp');		Hide('dbd');		Hide('myab');		Hide('ag');		Hide('ch12');		Hide('fm');		Hide('pltl');		Hide('sb');		Hide('ts');		Hide('skookum');		Hide('mfm');	}	function ShowAllProjects() {		Show('cs');		Show('ch12-2');		Show('sigmod');		Show('sprc');		Show('ag');		Show('ag2');		Show('ajs');		Show('rr');		Show('dj');		Show('panache');	}	function HideAllProjects() {		Hide('cs');		Hide('ch12-2');		Hide('sigmod');		Hide('sprc');		Hide('ag');		Hide('ag2');		Hide('ajs');		Hide('rr');		Hide('dj');		Hide('panache');	}	function selectRadio(item) {		document.getElementById(item).checked="checked";	}	//The following four functions: Copyright 2000 InsideDHTML.com, LLC. All rights reserved.function outputList(ar, name, size) { var strIDs = "<SELECT SIZE=\"" + size + "\" NAME=\"ro_lst" + name + "\">" var sel = " SELECTED" for (var i=0;i<ar.length;i++) {  strIDs += "<OPTION " + sel + " VALUE=\"" + ar[i][0] + "\">" + ar[i][1]  sel = "" } strIDs+="</SELECT>" strIDs+="<INPUT NAME=\"" + name + "\" TYPE=hidden>" return strIDs}function outputButton(bDir,name,val) { return "<INPUT TYPE=button VALUE=\"" + val + "\" ONCLICK=\"move(this.form," + bDir + ",'" + name + "')\">"}function move(f,bDir,sName) { var el = f.elements["ro_lst" + sName] var idx = el.selectedIndex if (idx==-1)   alert("You must first select the item to reorder.") else {  var nxidx = idx+( bDir? -1 : 1)  if (nxidx<0) nxidx=el.length-1  if (nxidx>=el.length) nxidx=0  var oldVal = el[idx].value  var oldText = el[idx].text  el[idx].value = el[nxidx].value  el[idx].text = el[nxidx].text  el[nxidx].value = oldVal  el[nxidx].text = oldText  el.selectedIndex = nxidx }}function processForm(f) { for (var i=0;i<f.length;i++) {	  var el = f[i]  if (el.name.substring(0,6)=="ro_lst") {   var strIDs = ""   for (var j=0;j<f[i].options.length;j++)     strIDs += f[i].options[j].value + ", "   f.elements[f.elements[i].name.substring(6)].value = strIDs.substring(0,strIDs.length-2)  } }}//(The above four functions: Copyright 2000 InsideDHTML.com, LLC. All rights reserved.)
