var contentStore = new Array(); function renderPhlogContent(content) { if (content == 'phlog') { document.getElementById('id_phlog_content').innerHTML = contentStore[0]; } if (content == 'variables') { document.getElementById('id_phlog_content').innerHTML = contentStore[1]; } if (content == 'wishlist') { document.getElementById('id_phlog_content').innerHTML = contentStore[2]; } if (content == 'profile') { document.getElementById('id_phlog_content').innerHTML = contentStore[3]; } } function renderPhlog(divID) { w = 250; h = 300; d = document.getElementById(divID); if (d) { if (d.clientWidth && d.clientWidth > 0) w = d.clientWidth; if (d.clientHeight && d.clientHeight > 0) h = d.clientHeight; } if (w >= 250 && h >= 300) { psz = 12; pr = 5; tl = 5; tt = 7; th = 40; tsz = 20; fsz = 12; barh = 29; barsz = 14; barp = 5; } else if (w >= 200 && h >= 250) { psz = 11; pr = 4; tl = 5; tt = 7; th = 36; tsz = 18; fsz = 11; barh = 25; barsz = 12; barp = 4; } else { psz = 9; pr = 3; tl = 5; tt = 6; th = 30; tsz = 14; fsz = 10; barh = 20; barsz = 10; barp = 3; } bodyw = w; bodyh = h - barh - th; document.getElementById(divID).innerHTML = '
My Phlog
Powered by
PhloggerX
'; contentStore[0] = '
phlog | variables | wishlist | profile
she always scolds me. And i wonder why i even bother to care abt wat she\'s really feeling. Shouldn\'t i live my life the way i want it? Or at least be happy abt who i am?
edwin0111 wrote @ 18:20 on 16 Jul
Boarding plane!
edwin0111 wrote @ 14:29 on 16 May
there\'s no denying it.. my mum is very happy.. but oh well.. my heart will continue to ache by urself, with myself..
edwin0111 wrote @ 20:09 on 05 May
my heart hurts so bad
edwin0111 wrote @ 22:37 on 23 Apr
test. first post using handphone after such a long time!
edwin0111 wrote @ 20:49 on 27 Mar
'; contentStore[1] = '
phlog | variables | wishlist | profile
No entries to display.
'; contentStore[2] = '
phlog | variables | wishlist | profile
Coming soon.
'; contentStore[3] = '
phlog | variables | wishlist | profile
Coming soon.
'; renderPhlogContent('phlog'); }