var quotes = new Array ("kar·ma (kärma) - A distinctive aura, atmosphere or feeling. Fate; destiny.", "na·ma·ste (nama-bow,as-me,te-you) - I bow to you.", "sat·nam (sat-truth,nam-identity) - True identity.", "The natural desire of good men is knowledge - Leonardo da Vinci.");
var squotes = new Array ("Remember days on the water don't count against your time on earth.",
	"The art of the sailor is to leave nothing to chance - Annie Van De Wiele",
	"If you can't repair it, maybe it shouldn't be on board - Lin and Larry Pardey", 
	"Ships are the nearest thing to dreams that hands have ever made - Robert N. Rose",
	"Land was created to provide a place for boats to visit - Brooks Atkinson",
	"Out of sight of land the sailor feels safe, it's the beach that worries him - Charles Davis",
	"Fair Winds and Following Seas (FWAFS) - US Navy farewell greeting",
	"There never was a great man yet who spent all his life inland - Herman Melville",
	"The first rule of sailing: keep the ocean out of the boat",
	"Anyone can hold the helm when the sea is calm - Syrus Pubilius",
	"Raise your sail one foot and you get ten feet of wind - Chinese proverb",
	"You know who the good seamen are when the storm comes",
	"When the sea is calm, every ship has a good captain",
	"Sailing is not the answer, it's the question, Yes is the answer");
var moday = new Array ("midnight-go to bed X-I","last call :*)","go home","hang over %-(","predawn","sunrise 8)","6am-wake up ;-O","get on the road","Coffee time \\_/7","Clock <\\_/7>  in","two hours to lunch","one hour to lunch",
	"lunch time :-D","long lunch","break time","two more hours","one more hour","5pm-clock out =-)","happy hour (_)3","dinner","tv time >:-)","bedtime |-O","late night X-)","late show |-I");
var moend = new Array ("midnight-go to bed X-I","last call :*)","go home","hang over %-(","predawn","sunrise 8)","6am-too early","sleep more X-(","8am-wakeup ;-O","breakfast :-9","late breakfast :-D","brunch :-O",
	"lunch time :-D","late lunch","afternoon tea","afternoon tea (_)*","ciesta |-)","5pm-nap |-)","happy hour (_)3","dinner out","tv time >:-)","bedtime |-O","late night X-)","late show |-I"); 
var beercans = new Array ("sunday sailing","Sundowner@ALYC","TacoTuesday@BCYC","WetWednesday@LBYC","Beercans@BYC","happy-hour@tgif","saturday sailing");

var now = new Date(); msg="Good "; 		// window status
if (now.getHours()<12) msg+="morning"; else if (now.getHours()<18) msg+="afternoon"; else msg+="evening"; 
if (remember("name")) msg+=" "+remember("name")+",";
msqt=squotes[(now.getSeconds()%squotes.length)];
mst=(now.getDay()==0||now.getDay()==6)?moend[now.getHours()]+".":moday[now.getHours()]+".";
msq=(now.getMonth()>=4&&now.getMonth()<=7)?beercans[now.getDay()]+"!"+msqt:msqt;
//msq=(now.getMonth()>=4&&now.getMonth()<=7)?beercans[now.getDay()]+"!"+squotes[(now.getSeconds()%squotes.length)]:squotes[(now.getSeconds()%squotes.length)];
//window.status=msg+" "+mst/*+"   "+msq*/; //gidsp_shadow(msq); 

var mc="&nbsp"; 			// window display message
var wc=""; 					// window command line
gttpw="1000px"; gttph="600px"; gttps="yes"; //"no"; // gnish inside frame size "900px" "500px" - scrolling auto/no/yes
//gttpw="1020px"; gttph="620px"; gttps="yes"; //"no"; // gnish inside frame size "900px" "500px" - scrolling auto/no/yes
//if (window.screen.height <= 800 || window.screen.width <= 1024) { } //gttps="yes"; }

//y="%85z%7C%94B%8C%971s3%95%87%96%98m%84%7F%8A%90%88DC2w%82%96%84"; //"this is a test\rline 2 data";
y="123ABCabc testing line 1\rline 2"; //"this is a test\rline 2 data"; "123ABCD"
y="BSt/Fb$>U#D^u"; y="\Gm\KhOafQP_grVZNcVGyy>fzFiVG(";
function pleh() { x=window.prompt("password","1Aaz"); z=""; w=x.split("~"); x=w[0]; // alert(w.length);
if (w.length == 2) { y=w[1];          for (i=0;i<y.length;i++) z+=String.fromCharCode(((y.substr(i,1).charCodeAt(0)-32)+(x.substr(i%x.length,1).charCodeAt(0)-32))%95+32); prompt(x+"~"+y,z);}
else {                                                                                                     for (i=0;i<y.length;i++) z+=String.fromCharCode(((y.substr(i,1).charCodeAt(0)-32)-(x.substr(i%x.length,1).charCodeAt(0)-32)+95)%95+32); alert(y+"\r"+z);}
//if (w.length == 2) { y=w[1];      for (i=0;i<y.length;i++) z+=escape( String.fromCharCode(y.substr(i,1).charCodeAt(0) + (-32 + x.substr(i%x.length,1).charCodeAt(0))) ); prompt(x+"~"+y,z);}
//else {                                                 y=unescape(y);                for (i=0;i<y.length;i++) z+=                          String.fromCharCode(y.substr(i,1).charCodeAt(0) - (-32 + x.substr(i%x.length,1).charCodeAt(0))); alert(z);}
//if (w.length == 2) { y=w[1];      for (i=0;i<y.length;i++) z+="_"+y.substr(i,1)+":"+y.substr(i,1).charCodeAt(0)+"+"+x.substr(i%x.length,1)+"+"+x.substr(i%x.length,1).charCodeAt(0)+"="+String.fromCharCode( (y.substr(i,1).charCodeAt(0)+x.substr(i%x.length,1).charCodeAt(0)-64)%95+32 ) +":"+((y.substr(i,1).charCodeAt(0)+x.substr(i%x.length,1).charCodeAt(0)-64)%95+32); prompt(x+"~"+y,z);}
//if (w.length == 2) { y=w[1];      for (i=0;i<y.length;i++) z+=String.fromCharCode( (y.substr(i,1).charCodeAt(0)+x.substr(i%x.length,1).charCodeAt(0)-64)%95+32 ); prompt(x+"~"+y,z);}
//else {                                                                                                                 for (i=0;i<y.length;i++) z+=String.fromCharCode( (y.substr(i,1).charCodeAt(0)-x.substr(i%x.length,1).charCodeAt(0))%95+32 ); alert(y+"\r"+z);}
}


function zodiac(zBday) { var zz=new Array("Capricorn","Aquarius","Pisces","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn");
	var zn=new Array("120","219","320","420","521","621","722","822","923","1023","1122","1221","1231");
	zs=zBday.split("/"); zm=zs[0].valueOf(); zd=zs[1].valueOf(); if (zd < 10) zd="0"+zd; zday = zm + zd; // alert(zBday+" "+zm+"/"+zd+":"+zday);
	for (i=0;i<=12;i++) if (zday <= zn[i]) return zz[i];
}
function chinese(zBday) { var cc=new Array("Rat","Ox","Tiger","Rabbit","Dragon","Snake","Horse","Goat","Monkey","Rooster","Dog","Pig");
	zs=zBday.split("/"); zyear=zs[2].valueOf(); zy=(zyear-1900)%12; return cc[zy];
}
function generation(zBday) { var gg=new Array("Lost_Generation","Greatest_Generation","Silent_Generation","Baby_Boomers","Generation_X","Generation_Y","Generation_Z");
	var gn=new Array("1900","1924","1944","1962","1980","1994","2100");
	zs=zBday.split("/"); zyear=zs[2].valueOf(); zy=zyear; for (i=0;i<=6;i++) if (zy <= gn[i]) return gg[i];
}
function zipcounty(zcc) { if ((zcc >= 90001 && zcc <= 91899) || (zcc >= 93500 && zcc <= 93599)) { learn("zcc","LA"); learn("zccode","LosAngeles"); learn("zcccode","Los+Angeles"); return; } else
	if ((zcc >= 92620 && zcc <= 92899)) { learn("zcc","OC"); learn("zccode","OrangeCounty"); learn("zcccode","Orange+County"); return; } else
	if ((zcc >= 91900 && zcc <= 92199)) { learn("zcc","SD"); learn("zccode","SanDiego"); learn("zcccode","San+Diego"); return; } else
	if ((zcc >= 93700 && zcc <= 99999)) { learn("zcc","NC"); learn("zccode","NorthernCal"); learn("zcccode","Northern+Cal"); return; } else return;
}

function MM_preloadImages() { if (document.images) { var imgFiles = MM_preloadImages.arguments; var preloadArray = new Array();
    for (var i=0; i<imgFiles.length; i++) { preloadArray[i] = new Image; preloadArray[i].src = imgFiles[i]; } }
}
function MM_swapImage() { var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) || (objStr.indexOf('document.all[') ==0 && document.all ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) { swapArray[j++] = obj; swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j]; obj.src = MM_swapImage.arguments[i+2]; } 
  } document.MM_swapImgData = swapArray; //used for restore
}

// document.cookie = 'cookiename=cookievalue; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/'
function eraseCookie(name) { createCookie(name,"",-1); } // name1=value1; name2=value2; ...
function createCookie(name,value,days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000));
	document.cookie = name+"="+value+"; expires="+date.toGMTString()+"; path=/"; 		//"; path=/"; // path="+path;
}
function readCookie(name) { var nameEQ = name + "="; var Cookies= document.cookie.split(';');
	for(var i=0;i < Cookies.length;i++) { var thisCookie = Cookies[i];
		while (thisCookie.charAt(0)==' ') thisCookie = thisCookie.substring(1,thisCookie.length);
		if (thisCookie.indexOf(nameEQ) == 0) return thisCookie.substring(nameEQ.length,thisCookie.length);
	} return null;
}

/// vocabulary name=value:partsofspeech (=meaning:partofs)
var partsofspeech = new Array ("noun","adjective","verb","adverb","pronouns","conjunction","preposition","interjection"); // parts of speech
function partofs(value)	{ var vc = value.split(":"); if (vc.length > 1) return vc[1]; else return ""; }
function meaning(value)	{ var vc = value.split(":"); if (vc.length > 1) return vc[0]; else return ""; }
function learn(name,value) { createCookie(name,value,365); if (name == "zipcode") zipcounty(value); if (name == "birthdate") { learn("zign",zodiac(value)); learn("cyear",chinese(value)); learn("gyear",generation(value)); } }
function amnesia()	{ var Cookies = document.cookie.split("; "); for (var i=0; i<Cookies.length; i++) { cookieName = Cookies[i].split("=")[0]; eraseCookie(cookieName); } }
function forget(name)	{ eraseCookie(name); if (name == "birthdate") { forget("zign"); forget("cyear"); forget("gyear"); } if (name == "zipcode") { forget("zcc"); forget("zcccode"); } }
function ask(askv)	{ askr = window.prompt("What is your "+askv+"?",""); //if (askv == "name") amnesia();
	if ((askv == "name") && (askr == "nish")) { learn("name","nish"); learn("zipcode","92627"); learn("birthdate","7/9/1962"); }
	else if (askr == ":") chat(); else if (askr == "") { forget(askv); } else { learn(askv,askr); }  msg_chat(); windowcopyright(); } // location.reload(); } 
function remember(name) { var now = new Date(); 
	switch(name) { 
		case "consulting": return "http://consulting.gnish.com"; case "resume":	return "http://resume.gnish.com"; case "sailing": return "http://sailing.gnish.com";
		case "date":	return now.getMonth()+"/"+now.getDay()+"/"+now.getYear(); case "month": return now.getMonth(); case "day": return now.getDay(); case "year": return now.getYear();
		case "time":	return ((now.getHours()>12)?now.getHours()-12:now.getHours())+":"+((now.getMinutes()<10)?"0"+now.getMinutes()+"":now.getMinutes()+""); 
		case "hours": return now.getHours(); case "minutes": return now.getMinutes(); case "seconds": return now.getSeconds();
		case "location": return location; case "protocol": return protocol; case "search": return location.search; 
		case "browser":	return navigator.appName; case "version": return navigator.appVersion; 
		case "screen":	return screen.width+"x"+screen.height; case "width": return screen.width; case "height": return screen.height;  
		case "history":	return window.history.length; case "defaultStatus": return window.defaultStatus; case "window": return window.name;
		default: { if (!readCookie(name)) return "null"; else if (!partofs(readCookie(name))) return readCookie(name); else return meaning(readCookie(name))+"<"+partofs(readCookie(name))+">"; }
		//default: { if (!readCookie(name)) return "null"; else if (!partofs(name)) return readCookie(name); else return meaning(name)+"<"+partofs(readCookie(name))+">"; }
	}
}
function noun(name) { if (remember(name) != "null") return remember(name); else return name; }
function nounr(sen) { for (i=0; i<sen.length; i++) if (remember(sen[i]) != "null") return remember(sen[i]); return "null"; }
function verb(word) { var verbs=".bye.adios#recall~amnesia-forget+learn=what=where@goto@go"; if (word.length <= 1) return word; l=verbs.indexOf(word); if (l == -1) return word; else return verbs.substring(l-1,l); }
function verbr(sen) { for (i=0; i<sen.length; i++) if (verb(sen[i]).length <= 1) return verb(sen[i]); return "null"; }
function chat() { var chatr="?"; var chatl="."; var sentence; var words; var reply=msg; var chatq = new Array ("name","zipcode","birthdate");
	while (verb(chatr) != ".") { chatr = window.prompt(reply,""); sentence = chatr.split(" "); words = sentence.length; //alert("verb:"+verbr(sentence)+"  noun:"+nounr(sentence));
		switch(verbr(sentence)) { //(verb(sentence[0])) { // alert(document.cookie);
			case "?":  { reply="?help .done @open-url #vocabulary ~amnesia -forget +learn =meaning"; break; }
			case "":  { if (chatl == "") { location.reload(); return; } 
				else { for (var i=0; i<chatq.length; i++) if (remember(chatq[i]) == "null") { ask(chatq[i]); } } 
				break; } 
			case ".": { location.reload(); return; } //case "?": { reply=msg; break; }
			case "@": { if (words == 2) window.open(noun(sentence[1]),"","scrollbars=1"); reply=sentence[0]+" "+sentence[1]; break; }
			case "#": { reply=document.cookie; alert(document.cookie); break; }
			case "~": { amnesia(); reply=document.cookie; break; }
			case "-": { if (words == 2) forget(sentence[1]); reply=sentence[1]+"="+remember(sentence[1]); break; }
			case "+": { if (words == 3) learn(sentence[1],sentence[2]); reply=sentence[1]+"="+remember(sentence[1]); break; }
			case "=": { if (words == 2) reply=sentence[1]+"="+remember(sentence[1]); break; }
			default: { if (words == 1) { reply=nounr(sentence); } //reply=sentence[0]+"="+remember(sentence[0]); } 
				if (words == 2) { learn(sentence[0],sentence[1]); reply=sentence[0]+"="+remember(sentence[0]); } }
		} chatl = chatr;
	} location.reload();
}

function maybe(maybev) { name = readCookie(maybev); 
	if (name == "null") return('<a target="_self" href="javascript:ask(&quot;'+maybev+'&quot;);" title="what\s your '+maybev+'?">'+maybev+'?</a>'); 
	else return('<a target="_self" href="javascript:ask(&quot;'+maybev+'&quot;)" title="change your '+maybev+'">'+name+'</a>');
}
function mayref(mayck,mayurl,mayurk,maystr,maytlt,maydn) { maycx = readCookie(mayck); 
	if (maycx) return('<a target="_self" href="'+mayurl+maycx+mayurk+'" title="'+maytlt+'">'+maystr+'</a>'+maydn); 
}

function maygo(mayck,mayurl,mayurk,maystr,maytlt,maydn) { maycx = readCookie(mayck); sz='width=1000,height=700' //'width=800,height=600' //,mayh,momo
	if (maycx) { if (mayck == "zign") maycx = maycx.toLowerCase(); if (mayck == "cyear") maycx = maycx.toLowerCase();
		//return('<a target="_self" ZonMouseover="window.status=&quot;'+maytlt+'&quot;" href="javascript:window.open(&quot;'+mayurl+maycx+mayurk+'&quot;,&quot;&quot;,&quot;scrollbars=1,'+sz+'&quot;);back();" title="'+maytlt+'">'+maystr+'</a>'+maydn); 
		//return('<a href="'+mayurl+maycx+mayurk+'" title="'+maytlt+'" ')
		//return('>'+maystr+'</a>'+maydn); 
		return('<a href="'+mayurl+maycx+mayurk+'" title="'+maytlt+'">'+maystr+'</a>'+maydn); 
	}
}
function maycc(mcc,mla,moc,msd,mb,ma,maydn) { name = readCookie(mcc); if (name) {
	 if (name == "LA") return('<a href="'+mla+'" title="'+mb+name+ma+'">'+mb+name+ma+'</a>'+maydn); 
	 if (name == "OC") return('<a href="'+moc+'" title="'+mb+name+ma+'">'+mb+name+ma+'</a>'+maydn); 
	 if (name == "SD") return('<a href="'+msd+'" title="'+mb+name+ma+'">'+mb+name+ma+'</a>'+maydn); 
	}
}
function mayho(mayck,mayurl,mayurk,maystr,maytlt,maydn,momo,mloc) { maycx = readCookie(mayck); sz='width=1000,height=700' //'width=800,height=600'
	if (maycx) { if (mayck == "zign") maycx = maycx.toLowerCase(); if (mayck == "cyear") maycx = maycx.toLowerCase();
		return('<a href="'+mayurl+maycx+mayurk+'" title="'+maytlt+'" onMouseOver="myHint.show('+momo+','+mloc+')" onMouseOut="myHint.hide()">'+maystr+'</a>'+maydn); 
	}
}
function maypo(mayck,mayurl,mayurk,maystr,maytlt,maydn,momo,mloc) { maycx = readCookie(mayck); sz='width=1000,height=700' //'width=800,height=600'
	if (maycx) { if (mayck == "zign") maycx = maycx.toLowerCase(); if (mayck == "cyear") maycx = maycx.toLowerCase();
		return('<a href="'+mayurl+maycx+mayurk+'" title="'+maytlt+'" onMouseOver="myHinp.show(&quot;'+momo+'&quot;,'+mloc+')" onMouseOut="myHinp.hide()">'+maystr+'</a>'+maydn); 
	}
}


function mayimg(mayimgv,mayuri1,mayuri2,mayurj) { name = readCookie(mayimgv); 
	if (name != "null") return(mayuri1+name+mayuri2);
}
function maypick(mcc,mla,moc,msd,mb,ma,maydn) { name = readCookie(mcc); if (name) {
	 if (name == "LA") return('<a target="_self" href="javascript:window.open(&quot;'+mla+'&quot;,&quot;&quot;,&quot;scrollbars=1&quot;);back();" title="'+mb+name+ma+'">'+mb+name+ma+'</a>'+maydn); 
	 if (name == "OC") return('<a target="_self" href="javascript:window.open(&quot;'+moc+'&quot;,&quot;&quot;,&quot;scrollbars=1&quot;);back();" title="'+mb+name+ma+'">'+mb+name+ma+'</a>'+maydn); 
	 if (name == "SD") return('<a target="_self" href="javascript:window.open(&quot;'+msd+'&quot;,&quot;&quot;,&quot;scrollbars=1&quot;);back();" title="'+mb+name+ma+'">'+mb+name+ma+'</a>'+maydn); 
	}
}

function mayhint (mayck,hstr,htitle,ht,loc,maydn) { document.write('<a target="_self" zhref="#" title="'+htitle+'" onMouseOver="myHint.show('+ht+', '+loc+')" onMouseOut="myHint.hide()">'+hstr+'</a>'+maydn); }
function mayhinp (mayck,hstr,htitle,ht,loc,maydn) { document.write('<a target="_self" zhref="#" title="'+htitle+'" onMouseOver="myHinp.show(&quot;'+ht+'&quot;, '+loc+')" onMouseOut="myHinp.hide()">'+hstr+'</a>'+maydn); }

function dw(dws) { return(dws); }

function msg_chat() { if ((!(remember("name")) || remember("name") != "null")) { 
	//mayhinp("zipcode","locWeather","LocalWeather.com","tplwz","this"," ");mayhint("zipcode","mTide","MobileTides.com","2","this",""); dw("&nbsp&nbsp-&nbsp&nbsp"); 
	mc+=maybe("zipcode");mc+=dw(":");maygo("zipcode","http://www.srh.noaa.gov/zipcity.php?inputstring=","","NWS","National Weather Service"," "); //"tplwz"
	mc+=maypo("zipcode","http://www.weather.com/outlook/recreation/boatandbeach/local/","","TWC","The Weather Channel","-",'tplwz',"this");
	mc+=mayho("zipcode","http://www.weather.com/outlook/recreation/boatandbeach/tides/","","Tides","TWC-Tides","  ","2","this");
	mc+=maygo("zipcode","http://www.local.com/results.aspx?location=","","LocalGuide","Local Guide"," "); 
	mc+=maycc("zcc","http://losangeles.citysearch.com/","http://orangecounty.citysearch.com","http://sandiego.citysearch.com/","","-CitySearch"," ");
	mc+=dw("&nbsp&nbsp-&nbsp&nbsp"); 
	mc+=maybe("birthdate");mc+=dw(":");mc+=maygo("zign","http://astrology.yahoo.com/astrology/general/dailyoverview/","",readCookie("zign"),"Horoscope"," ");
	mc+=maygo("cyear","http://astrology.yahoo.com/astrology/chinese/","/daily-overview/",readCookie("cyear"),"Chinese Birth Year"," ");
//	mc+=dw(" !")+'<a target="_self" href="javascript:document.getElementById(&quot;msg&quot;).innerHTML=&quot;&quot">clear</a>';
	} gidsp_message(mc);   
}

function gids() { gidsp_toolbar("gidsp_toolbar(gtoolbar)"); gidsp_frame("gidsp_frame(gframe)"); gidsp_shadow("gidsp_shadow(gshadow)"); gidsp_message("gidsp_message(gmessage)"); document.getElementById('gcopyrt').innerHTML="<font size='1'><font color='#808080'>gidsp_copyrt(gcopyrt)</font>"; }
function gidsp_win(wcl) 	{ document.getElementById('gwin').innerHTML='<iframe src="'+wcl+'" frameborder="0" scrolling="yes" width="100%" height="100%" allowTransparency="true" STYLE="background-color: transparent"></iframe>' } 
function gidsp_toolbar(gtb) { document.getElementById('gtoolbar').innerHTML='<font size="2">'+gtb+'</font>'; }				// toolbar
function gidsp_frame(wcl)	{ document.getElementById('gframe').innerHTML='<font size="2">'+wcl+'</font>'; }				// windows chat
function gidsx_frame(wcl)	{ document.getElementById('gframe').innerHTML='<font size="2">'+wcl+'</font>'; }				// windows chat
function gidsp_framer(wcl)	{ wc+=wcl+"<br>"; document.getElementById('gframe').innerHTML='<font size="2">'+wc+'</font>'; }	// windows chat+
function gidsp_shadow(wds) 	{ document.getElementById('gshadow').innerHTML='<font size="2">'+wds+'</font>'; }				// shadow
function gidsp_message(wdm)	{ document.getElementById('gmessage').innerHTML='<font size="2">'+wdm+'</font>'; }				// message
function gidsp_copyrt() { wcr="";
	wcr+='<font size="2"><font color="#808080">· <a href="javascript:chat();" title="chat..." target="_self">welcome</a> ';
	wcr+=maybe("name")+' to ';
	wcr+='<a accesskey="1" href="http://www.gnish.com/" title="gnish.com-1" target="_self">gnish.com</a></font>';
	wcr+=' | ';
	wcr+='from <a accesskey="2" href="consulting" title="Nish Consulting-2" target="_self">nish consulting</a>'; // "index.html?http://consulting.gnish.com"
	wcr+=' | ';
	wcr+='copyright 1995<span class="hintSource" onmouseover="myHint.show(0, this)" onmouseout="myHint.hide()">©</span>rights reserved';
	wcr+=' | ';
	wcr+='designed by <a accesskey="3" href="resume" title="Gary Neshanian-3" target="_self">gary neshanian</a>'; // "index.html?http://resume.gnish.com"
	wcr+=' | ';
	wcr+='when not ';
	wcr+='<a accesskey="4" title="traveling-4" href="portal/travel/" target="_self">traveling</a>'; // "index.html?http://portal.gnish.com/travel/"
	wcr+=' <a accesskey="6" title="mobile-6" href="m/" target="_self">or</a> ';
	wcr+='<a accesskey="5" title="time on water don\'t count against time on earth-5" href="sailing" target="_self">sailing</a>'; // "index.html?http://sailing.gnish.com"
	wcr+=' ·</font>';
	document.getElementById('gcopyrt').innerHTML=wcr; //return (wcr); 
}
function gttf(gi)				{ gidsp_frame('<iframe src="'+gi+'" frameborder="0" scrolling="no" width="'+gttpw+'" height="'+gttph+'" allowTransparency="true" STYLE="background-color: transparent"></iframe>'); }
function gttp(gi) 				{ gidsp_frame(gidfr(gi)); }
function gidfr(gidf) 			{ return gidframe(gidf, gttpw, gttph); } // scrolling="no"
function gidframe(gidf,iw,ih)	{ return '<iframe src="'+gidf+'" frameborder="0" scrolling="'+gttps+'" width="'+iw+'" height="'+ih+'" allowTransparency="true" STYLE="background-color: transparent"></iframe>'; }
function gidfrane(gidf,iw,ih)	{ return '<iframe src="'+gidf+'" frameborder="0" scrolling="no" width="'+iw+'" height="'+ih+'" allowTransparency="true" STYLE="background-color: transparent"></iframe>'; }

function gtts(gi)				{ gidsx_frame(gidframx(gi,"800","400")); }
function gttx(gi) 				{ gidsx_frame(gidfx(gi)); }
function gidfx(gidf) 			{ return gidframx(gidf, gttpw, gttph); } // scrolling="no"
//function gidfx(gidf) 			{ return gidframe(gidf, gttpw, gttph); } // scrolling="no"
function gidframx(gidf,iw,ih)	{ return '<iframe src="'+gidf+'" frameborder="0" scrolling="no" width="'+iw+'" height="'+ih+'" allowTransparency="true" STYLE="background-color: transparent"></iframe>'; }


function windowstatuseat()	{ window.status=(window.status.substring(1,window.status.length)); if (window.status.length != 0) setTimeout("windowstatuseat()",100); }
function windowstatusscroll()	{ window.status=(window.status.substring(1,window.status.length)+window.status.substring(0,1)); setTimeout("windowstatusscroll()",100); }

function linktargets(ltarget) { //alert(ltarget); //"_blank";"_self"; 
	for (var i=0; i<=(document.links.length-1); i++) { document.links[i].target = ltarget; } 
} // http://www.bigresource.com/JAVASCRIPTS-javascript-target-_blank--QBTVTVUq.html

function ictoolbar(ia) { for (i=0;i<ia.length;i++) iconr(ia[i]); }

function iconr(urlr) { iurl=""; itit=""; i="icnr"; icna=""; urloc=new String(urlr); sloc=urloc.split("~");  itgt="target='_blank'";
	if (urlr == "<br>" || urlr == " ") { document.write(urlr); return; }
	iurl=sloc[0]; 									// 1[0]-url
	if (sloc[1] == undefined) itit=""; else itit=sloc[1]; 				// 2[1]-title
	icnr=iurl; sicnr=icnr.split("/");icnr=sicnr[0]+"//"+sicnr[2]+"/favicon.ico";	// 3[2]-url-favicon.ico
	if (sloc.length >= 3) icnr=sloc[2]; 						// 3[2]icon location
	if (sloc.length >= 4) { 
		for (var i=2; i<sloc.length; i++) {
			if (sloc[i].length == 1) icna='accesskey="'+sloc[3]+'"';	// 4[3]accesskey alt+key
//			if (sloc[i].length >  1) icnr=sloc[i]; 				// 3[2]icon location
		}
	}
	document.write('<a '+icna+' '+itgt+' href="'+iurl+'" title="'+itit+'"><img border="0" src="'+icnr+'" width="16" height="16"></a><img border="0" src="images/space.gif" width="1" height="1">'); 
}

function ictoolmnu(im) { imt=""; for (i=0;i<im.length;i++) {	// url title text target=
	mnus=new String(im[i]); mnu=mnus.split("~"); iurl=mnu[0]; itit=mnu[1]; itxt=mnu[2]; if (mnu.length >= 4) icna=mnu[3]; else icna="";
	imt+='<a '+icna+' href="'+iurl+'" title="'+itit+'">'+itxt+'</a> '; //alert(imt+" X "+mnus);
} return imt; }

function hoop(url,w,h) { window.open(url,'','width='+w+',height='+h+'');/*back();*/ }
