//opening custom window for 2004 entry

/****** script taken and edited from *****
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*************************/

function dnd2004()  {

LeftPosition = (screen.width) ? (screen.width-627)/2 : 0;
TopPosition = (screen.height) ? (screen.height-628)/2 : 0;

settings = 'toolbar=no, directories=no, menubar=no, width=627, height=628, resizable=yes, scrollbars=yes, top='+TopPosition+',left='+LeftPosition

new_window = window.open('2004dnd/2004cover.html', '2004dnd', settings)
}



//script from Dynamic Drive (www.dynamicdrive.com)

var linktext=new Array()

linktext[0]='<p id="boldfirstline" style="margin-top:10px;">But it is an itinerary of my journey this far,<br> a painting of the questions that I have now and anon asked like a fairy tale character with birds perched on my shoulders &#8212; "To <span style="font-style: italic;">where</span> will I be going next year? What does God have in store ahead, awaiting a nameless, cleft-lipped teenager like me...?"</p><p>Skipping slowly along life&#039;s road, I say my life is a beautiful <i>dance</i>, and my God is my <i>song</i>.</p><p style="text-align: right;"><img alt="" src="wingsani.gif" style="position: relative; right:30px;" width="45" height="34"><br>joseph (<span style="font-weight:bold;"><a title="E-mail me at blithis@gmail.com" id="email" href="mailto:blithis@gmail.com">e-mail me!</a></span>)</p><p style="text-align:right; margin-top:0px; margin-right:13px;"><a href="http://blithis.livejournal.com" target="_blank"><img id="lj" alt="Visit my livejournal" title="Visit my livejournal" src="presson.jpg" width="100" height="35" border="0"><br><span style="font: 10px Helvetica,Arial,sans-serif; letter-spacing: 0.7px;">visit my livejournal</span></a></p>'

linktext[1999]='<div id="textbox-title">My tale of 1999</div><p id="boldfirstline">This is the entry that started off this whole project - written when I was sixteen, with all the glory of teenage out-of-place vocabulary!</p><p>Sometime in 1998 when I was in Form 3, I prayed to God asking for a less boring, and more eventful Form 4.  I wanted to be <i>somewhere</i>, do <i>something</i>.  Surely enough, 1999 turned out absolutely fantastic - and life was never dull since then. God is <i>great</i>!</p></div>'

linktext[2000]='<div id="textbox-title">2000: B-byee, Josman~</div><p id="boldfirstline">This ends my five years in KHS, and my seventeen years in Kuching.  Still so many things uncompleted, still so many things unsaid - yet I was already leaving, for good...</p><p>( "Josman" is the nickname I had the honour of being adorned with by some friends in KHS.  No, contrary to what the title of this entry may imply, it has <i>nothing</i> to do with suicide. )</p></div>'

linktext[2001]='<div id="textbox-title">2001: Me, living and leaving the Christchurch experience</div><p id="boldfirstline">So I left my family and home to fly overseas - all alone for the first time ever, and I could feel the sting.  Goodbye and hello - this marks the beginning of a new part of my life - in <i>New Zealand</i>.</p><p style="margin-top:30px; text-indent:0em;"><span style="font-style: italic; font-weight: bold;">p.s.</span>&nbsp; Smugly I still think this is the best of the entries in this project, hah... =_=</p>'

linktext[0203]='<div id="textbox-title">02+03: an express(ion)</div><p id="boldfirstline">Moving to Dunedin in 2002, university years and varsity life had quickly started, both the pleasant and not.  Swiftly two years passed, and seemlessly so too.  I got into med school in 2003, by God&#039;s grace.  The horror of studying does not end!!</p><p>And sometime unbeknownst in these two years, I have left my teenage days. It seemed so subtle, that I do not know when I should have said goodbye, even if I wanted to...</p>'

linktext[2004]='<div id="textbox-title">2004: Dunedin in my life,<br>my life in Dunedin</div><p id="boldfirstline">Having spent three years in Dunedin, it is time for me to depart again! Leaving the place, the air and the people I have gotten to know so well, I do a good, proper packing and take along the many lessons learned.</p><p>Afterall, I have become almost used to saying goodbye.</p>'

linktext[2005]='<div id="textbox-title">2005: Now printing</div><p style="font-style: italic; text-indent: 0em;">*This will probably not be completed until early 2006*</p><p id="boldfirstline">Being back in Christchurch, the scent and scenery are warmly familiar and nostalgic - but the people are no longer the same.</p><p>Clinical school, together with the frenzied, frantic world of the hospital, drowned and almost suffocated me by surprise.  "Welcome to medicine," they sneered.</p>'

var ns6=document.getElementById&&!document.all
var ie=document.all

function show_text(thetext, whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}

function resetit(whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=linktext[0]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[0]
}
