
function breadcrumbs()
{var path="";var href=document.location.href;var s=href.split("/");for(var i=2;i<(s.length-1);i++)
{path+="<a href=\""+href.substring(0,href.indexOf("/"+s[i])+s[i].length+1)+"/\">"+s[i]+"</a> >> ";}
i=s.length-1;path+="<a href=\""+href.substring(0,href.indexOf(s[i])+s[i].length)+"\">"+s[i]+"</a>";var url=window.location.protocol+" // "+path+"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ";document.getElementById('oouter').innerHTML=url;}
function breadcrumbs2(){sURL=new String;bits=new Object;var x=0;var stop=0;var output="<a href=\"/\"> &nbsp; Home</a>  >  ";sURL=location.href;sURL=sURL.slice(8,sURL.length);chunkStart=sURL.indexOf("/");sURL=sURL.slice(chunkStart+1,sURL.length)
while(!stop)
{chunkStart=sURL.indexOf("/");if(chunkStart!=-1){bits[x]=sURL.slice(0,chunkStart)
sURL=sURL.slice(chunkStart+1,sURL.length);}else{stop=1;}
x++;}
for(var i in bits)
{output+="<a href=\"";for(y=1;y<x-i;y++)
{output+="../";}
output+=bits[i]+"/\">"+bits[i]+"</a>  >  ";}
document.getElementById('oouter').innerHTML=output+document.title+"&nbsp; &nbsp;";}

function writeHeaderID()
{var s='<div id="links">'
+'<a href="202/index.htm" id="hd1" class="onelinknuml" title="about this beginning programming (C#) class that i teach">2 0 2</a>'
+'<a href="244/index.htm" id="hd2" class="onelinknum" title="about this more advanced C++ class that i teach">2 4 4</a>'
+'<a href="253/index.htm" id="hd3" class="onelinknum" title="about the assembly language and computer organization class that i teach">2 5 3</a>'
+'<a href="270/index.htm" id="hd4" class="onelinknum" title="about the client-side web programming class">2 7 0</a>'
+'<a href="faq.html" id="hd7" class="onelinknum" title="questions about how i run the class and how i expect you to behave in class">f a q</a>'
+'<a href="ref.htm" id="hd5" class="onelink" title="technical references: web, C++, C#, assembly">technical references</a>'
+'<a href="advisee.html" id="hd6" class="onelinkr" title="help for scheduling and advising">advisees &nbsp;&amp;&nbsp; office hours</a></div>'
document.getElementById('topLinks').innerHTML+=s;}

function writeHeader2()
{
var s='<div id="links">'
+'<a href="../202/index.htm" id="hd1" class="onelinknuml" title="about this beginning programming (C#) class that i teach">2 0 2</a>'
+'<a href="../244/index.htm" id="hd2" class="onelinknum" title="about this more advanced C++ class that i teach">2 4 4</a>'
+'<a href="../253/index.htm" id="hd3" class="onelinknum" title="about the assembly language and computer organization class that i teach">2 5 3</a>'
+'<a href="../270/index.htm" id="hd4" class="onelinknum" title="about the client-side web programming class">2 7 0</a>'
+'<a href="../faq.html" id="hd7" class="onelinknum" title="questions about how i run the class and how i expect you to behave in class">f a q</a>'
+'<a href="../ref.htm" id="hd5" class="onelink" title="technical references: web, C++, C#, assembly">technical references</a>'
+'<a href="../advisee.html" id="hd6" class="onelinkr" title="help for scheduling and advising">advisees &nbsp;&amp;&nbsp; office hours</a></div>'
$("#topLinks").html(s);
}

function writeHeaderRef()
{var s='<div id="links2">'
+'<a href="csharp.htm" id="hda" class="onelinknumSh" title="tutors and references on C#">C #</a>'
+'<a href="webhelp.html" id="hd9" class="onelinknumSh" title="webpage help for students (especially C-L)!">Web</a>'
+'<a href="cplus.htm" id="hdb" class="onelinknumSh" title="tutors and references on C and C++">C ++</a>'
+'<a href="asm.htm" id="hdc" class="onelinknumShr" title="HELP: tutors and references on assembly language">Assembly</a>'
+'</div>'
document.getElementById('secondLinks').innerHTML+=s;}


function setBgColor(id)
{
document.getElementById(id).style.color='#960';
document.getElementById(id).style.backgroundColor='#fff';
//document.getElementById(id).style.height='25px';
document.getElementById(id).style.borderBottom='solid #fff 2px';
}

function setBgColor2(id)
{
document.getElementById(id).style.color='#a72';
//document.getElementById(id).style.height='26px';
document.getElementById(id).style.backgroundColor='#fff';
document.getElementById(id).style.borderBottom='solid #fff 0px';

}

function footerID()
{
var s='<div class="bottom">'+'<a href="http://www.clarion.edu/253/" target="_self" title="one stop for ALL student needs">s.o.s.</a> &nbsp; &nbsp; <b>|</b> &nbsp; &nbsp;'
+'<a href="http://www.clarion.edu/registrar/" target="_self" title="scheds, grades, transcripts">registrar</a> &nbsp; &nbsp; <b>|</b> &nbsp;  &nbsp;'
+'<a href="http://www.clarion.edu/1038/" target="_self" title="help desk - clarion univ computing services">helpdesk</a> &nbsp; &nbsp; <b>|</b> &nbsp; &nbsp;'
+'<a href="http://www.clarion.edu/library/" target="_self" title="Find Articles / Databases by Title / SAFARI">library</a> &nbsp; &nbsp; <b>|</b> &nbsp; &nbsp;'
+'<a href="http://clariongoldeneagles.cstv.com/" target="_self" title="cup sports teams">athletics</a>'+'&nbsp; &nbsp; <b>|</b> &nbsp; &nbsp;' 
+'<a href="http://jbwyatt.com/courses.html" target="_self" title="courses that vi have taught">my courses</a>'+'&nbsp; &nbsp; <b>|</b> &nbsp; &nbsp;' 
+'<a href="http://cis.clarion.edu/" target="_self" title="cis department site">cis</a></div>'
document.getElementById('bottomLinks').innerHTML=s;
}

function googleSearch()
{var s='<form action="http://jbwyatt.com/searchresults.htm" target="_new" id="cse-search-box"> '+'<a href="http://labs.google.com" target="_new" title="google labs"><img height="8" width="8" class="googledots" src="gifs/red.gif" alt="google labs" /></a>&nbsp; '+'<a href="http://www.google.com/intl/en/options/" target="_new" title="all google"><img height="8" width="8" class="googledots" src="gifs/green.gif" alt="google stuff" /></a>&nbsp; '+'<a href="http://google.com" target="_new" title="google home page"><img height="8" width="8" class="googledots" src="gifs/bluedot.gif" alt="google stuff" /></a> &nbsp; '+'<input type="hidden" name="cx" value="001233262676290206463:yb3rjq9jorg" /> '+'<input type="hidden" name="cof" value="FORID:9" /> '+'<input type="hidden" name="ie" value="UTF-8" /> '+'<input type="text" name="q" size="27" maxlength="80" title="search jbwyatt.com pages" />&nbsp; '+'<input type="submit" name="sa" '+'style="font-size:8pt; padding:1px; font-family:Verdana; color:#555555; letter-spacing:0px; background-color:#dddddd;" '+'value=" &nbsp; google search:&nbsp;jbwyatt.com &nbsp;" title="results in new window" /> &nbsp; '+'<a href="http://www.googleguide.com/contents/" title="guide to better use of google"><span style="font-size:80%;">help</span></a> '+'&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '+'</form> '+'<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script> '
document.getElementById('google').innerHTML=s;}