";}
myValue += "";
MakePopup( "myPopupText"+myValue, darkmode(), mySrc, myCaptionString );
}
function downloadSrcFile() {
sweetalert2(5, 'downloadFile("'+downloadSrc+'")' );
}
function removeMedia2() {
var p = document.getElementById('printf1');
if(document.body.contains(p) && p.contentWindow) {
if( document.getElementsByClassName("viewer").length == 0 && document.getElementsByClassName("picture").length == 0 ) {
var b = p.contentWindow.document.getElementById('myvid');
if(b) {
if(typeof b == 'object'){
let srcs = b.getElementsByTagName('source');
b.pause();
for(let xsrc in srcs){
if(srcs[xsrc].src !== undefined){
srcs[xsrc].src = '';
}
}
b.removeAttribute('src');
b.removeChild(b.firstChild);
b.load();
//b.parentNode.removeChild(b);
}
/*
//b.currentTime = b.duration;
b.pause();
//b.removeAttribute('src'); // empty source
//b.seekable.start(0);
//b.seekable.end(0)
b.src="";
b.load();
*/
}
}
}
}
function removeMedia(){
let videos = document.getElementsByTagName('video');
for(let vid in videos){
if(typeof videos[vid] == 'object'){
let srcs = videos[vid].getElementsByTagName('source');
videos[vid].pause();
for(let xsrc in srcs){
if(srcs[xsrc].src !== undefined){
srcs[xsrc].src = '';
}
}
videos[vid].load();
videos[vid].parentNode.removeChild(videos[vid]);
}
}
}
function stringToFunctionAndExecute(str) {
// syntax: 'func1();func2()...'
var arrStr = str.split(";");
for (var i = 0; i < arrStr.length; i++) {
if( arrStr[i] ) {
eval(arrStr[i]);
//let func = new Function(arrStr[i]);
}
}
//return (func()); // <--- note the parenteces
}
function checkVideoEnd( exitFunction ) {
/*
var p = document.getElementById('printf1');
if(document.body.contains(p) && p.contentWindow) {
if( document.getElementsByClassName("viewer").length == 0 && document.getElementsByClassName("picture").length == 0 ) {
var b = p.contentWindow.document.getElementById('myvid')
if(b) {
if(b.currentTime != b.duration) sweetalert2(5, "stringToFunctionAndExecute(\"" + exitFunction + "\")", "Please play media to the end to prevent technical problems. Do you want to leave anyway?"); else stringToFunctionAndExecute( exitFunction );
}
} else stringToFunctionAndExecute( exitFunction );
} else stringToFunctionAndExecute( exitFunction );
*/
stringToFunctionAndExecute( exitFunction );
}
function closePopup() {
//removeMedia2();
//removeMedia(); // Added 2024-08-31
if(!b_isMobile) {
removeClassList( "nestedsidemenu", "fade" );
}
//if( !ib_cleared ) removeClassList( "socialbuttons", "fade" );
/*
if( !b_isMobile ) {
removeClassList( "nestedsidemenu", "fade" );
}
*/
//removeClassList( "contactContainer", "fade" );
//removeClassList( "socialbuttons", "fade" );
displayPopup2( true );
RemovePopup();
var x = document.getElementById("divA2");
if ( !document.body.contains(x) ) {
RemovePopup2();
removeClassList( "nestedsidemenu", "fade" );
//if( !ib_cleared ) removeClassList( "socialbuttons", "fade" );
displayemblem( true );
}
}
function hideSocialButtons( myValue ) {
//ib_cleared = true;
//var i;
//addClassList( "socialbuttons", "hide" );
//addClassList( "wrapper1", "fade" );
//addClassList( "socialbuttons", "fade" );
var e = document.getElementById("wrapper1");
var x = document.getElementById("hideBtn");
//alert(document.getElementById("slideBtn").value);
//alert( document.getElementById("slideBtn").checked );
if(x) {
if( (!document.querySelector('.socialbuttons').classList.contains('fade') && invalid(myValue)) || myValue ) {
// Hide buttons
if( !invalid(myValue) ) document.getElementById("slideBtn").checked = true;
b_hideSocialButtons = true;
x.style.position = "static";
addClassList( "socialbuttons", "fade" );
replaceClassList( "wrapper1", "wrapper1formatting1", "wrapper1formatting2" );
replaceClassList( "wrapper1", "screenWidth", "wrapper1Width" );
} else {
// Show buttons
if( !invalid(myValue) ) document.getElementById("slideBtn").checked = false;
b_hideSocialButtons = false;
x.style.position = "absolute";
removeClassList( "socialbuttons", "fade" );
replaceClassList( "wrapper1", "wrapper1formatting2", "wrapper1formatting1" );
if( b_isMobile && getOrientation() != 'landscape' )
replaceClassList( "wrapper1", "wrapper1Width", "screenWidth" );
else
replaceClassList( "wrapper1", "screenWidth", "wrapper1Width" );
}
if( !b_declineCookies && invalid(myValue) ) createCookie('ppkhidesocialbuttons', b_hideSocialButtons.toString(), 0);
}
/*
var x = document.getElementById("wrapper1");
//if(x) x.remove();
if(x) {
i = getZIndex(x);
if( i < 999 )
x.style.zIndex = 999;
else
x.style.zIndex = 0;
}
var y = document.getElementById("socialmediaicons");
if(y) {
i = getZIndex(y);
if( i < 999 )
y.style.zIndex = 999;
else
y.style.zIndex = 0;
}
*/
/*
var c = document.getElementById("translator");
if(c) { // Translator
//removeClassList('translator', 'centered2');
c.style.right = "10px";
c.style.top = "auto";
c.style.bottom = "180px";
c.style.zIndex = "999";
}
*/
}
function commonEventHandler(evt) {
if( evt.target.classList.contains('label') ) {
checkVideoEnd( "closePopup()" );
}
if( evt.target.classList.contains('label2') ) {
//addClassList( "nestedsidemenu", "fade" );
//addClassList( "contactContainer", "fade" );
//addClassList( "caption3", "fade" );
addClassList( "label2", "fade" );
//addClassList( "rotate", "fade" );
//var x = document.getElementById("popup");
//if(x) x.style.zIndex = 99;
var y = document.getElementById('caption1');
if(y)
y.style.display = "none";
else {
var z = document.getElementById('printf1').contentWindow.document.getElementById('caption1');
if(z) z.style.display = "none";
}
}
if( evt.target.classList.contains('label3') ) {
removeClassList( "nestedsidemenu", "fade" );
//removeClassList( "contactContainer", "fade" );
clearMemory();
/*
RemoveWebcam();
RemovePopup2();
*/
displayemblem( true );
}
if( evt.target.classList.contains('label4') ) {
addClassList( "nestedsidemenu", "fade" );
//addClassList( "contactContainer", "fade" );
addClassList( "label4", "fade" );
var x = document.getElementById("popupDiv");
if(x) x.style.zIndex = 99;
}
if( evt.target.classList.contains('label6') ) {
addClassList( "nestedsidemenu", "fade" );
//addClassList( "contactContainer", "fade" );
addClassList( "label6", "fade" );
//addClassList( "rotate", "fade" );
//var x = document.getElementById("popup");
//if(x) x.style.zIndex = 99;
//var k = document.getElementById('printf1');
//if(k) k.style.width = "100%";
var y = document.getElementById('caption1');
if(y)
y.style.display = "none";
else {
var z = document.getElementById('printf1').contentWindow.document.getElementById('caption1');
if(z) z.style.display = "none";
}
}
if( evt.target.classList.contains('slide-btn-content') ) {
//setTimeout(function() { hideSocialButtons(); }, 2000);
hideSocialButtons();
//sweetalert2(5, 'hideSocialButtons()', 'This will hide/show your widgets. Do you want to continue?')
}
/*
if( evt.target.classList.contains('dblclickmyfloppy1') ) {
Swal.fire(
'Oops...',
'The permission to download this file has been suspended.',
'error'
);
}
*/
if( evt.target.classList.contains('dblclickmyfloppy1') ) {
downloadSrcFile();
}
if( evt.target.classList.contains('pageup') ) {
var x = document.getElementById('divA2');
if(x) x.scroll({top:0,behavior:'smooth'});
//document.querySelector('#divA2').scrollTop = 0;
removeClassList( "pageup", "show" );
addClassList( "pagedown", "show" );
}
if( evt.target.classList.contains('pagedown') ) {
var x = document.getElementById('divA2');
if(x) x.scroll({top:x.scrollHeight,behavior:'smooth'});
removeClassList( "pagedown", "show" );
addClassList( "pageup", "show" );
}
}
function smoothScrollToTop( myDiv ) {
var x = document.getElementById(myDiv);
if(x) x.scroll({top:0,behavior:'smooth'});
/*
const scrollContainer = document.getElementById(myDiv);
scrollContainer.scrollTo({
top: scrollContainer.scrollHeight
, left: 0
//, behavior: 'smooth'
});
scrollContainer.scrollTo({
top: 0
, left: 0
, behavior: 'smooth'
});
*/
removeClassList( "pageup", "show" );
addClassList( "pagedown", "show" );
}
window.addEventListener('click', function (evt) {
commonEventHandler(evt);
if( evt.target.classList.contains('mysoundcard20210416') ) displayPopupPicture( "./shop/IMG_20210416_021459.jpg", "Portable 5.1 / 7.1 USB External Sound Card, 24 bit 96KHz audio out, 24 bit 48KHz mic" );
//if( evt.target.classList.contains('myStory') ) {var snd = document.getElementById('myStory'); snd.volume=1; snd.currentTime=0; snd.play();}
//if( evt.target.classList.contains('myStory2') ) {var snd = document.getElementById('myStory2'); snd.volume=0.6; snd.currentTime=0; snd.play();}
if( evt.target.classList.contains('mystory20190815-0001') ) MakePopupVideo( "./multimedia11/20190815_052629.mp3", "Recorded my voice reading a story I wrote (2019.08.15)" );
if( evt.target.classList.contains('mystory20210416-0001') ) MakePopupVideo( "./multimedia11/20210416_124006.mp3", "Recorded my voice reading a story I wrote (2021.04.16)" );
if( evt.target.classList.contains('myletter20210518') ) displayPopupPicture( "./multimedia/IMG_20210513_0001-1.jpg", "An open letter to my case manager (2021.05.18)" );
if( evt.target.classList.contains('myfeet20210414') ) displayPopupPicture( "./multimedia/IMG_20210414_172452.jpg", "My feet has inflamed again (2021.04.14)" );
if( evt.target.classList.contains('victoriaharbour20201013') ) displayPopupPicture( "./multimedia/IMG_20201013_155225.jpg", "Victoria Harbour on a T8 storm day (2020.10.13)" );
if( evt.target.classList.contains('xian-bell-tower-IMG_20210418_081116') ) displayPopupPicture( "./multimedia/xian-bell-tower-IMG_20210418_081116.jpg", "Impose picture on another picture (2021.04.18)" );
if( evt.target.classList.contains('chromebrowser20210519') ) MakePopupVideo( "https://streamable.com/e/yikk89", "Chrome Search Tabs (Introduced in Version 90.0.4430.212)" );
if( evt.target.classList.contains('clickmywebcam') ) {
Swal.fire(
'Oops...',
'The permission to view my webcam has been suspended.',
'error'
);
}
if( evt.target.classList.contains('typhoonmangkhut2018') ) displayPopupPicture( "./multimedia/typhoonmangkhut2018.jpg", "Photographs outside my home of the aftermath that typhoon Mangkhut made in 2018." );
if( evt.target.classList.contains('myside20201003') ) displayPopupPicture( "./multimedia/IMG_20201003_214128.jpg", "Selfie (2020.10.03)" );
if( evt.target.classList.contains('feeling20210415') ) displayPopupPicture( "./multimedia/image-asset.gif", "I′m feeling... (2021.04.15)" );
if( evt.target.classList.contains('myhkid20201113') ) displayPopupPicture( "./multimedia/IMG_20210522_0007.jpg", "My new HKID card (2020.11.13)" );
if( evt.target.classList.contains('photoboothphoto20201113-0001') ) displayPopupPicture( "./multimedia/IMG_20211215_0001.jpg", "My Photobooth photo scan (2020.11.13)" );
if( evt.target.classList.contains('mysurprisegift20200919') ) displayPopupPicture( "./multimedia/IMG_20200919_214020.jpg", "My wife gave this surprise gift to me from her brother when we were still married. Now I′m going to throw it away (2020.09.19)" );
if( evt.target.classList.contains('mycustomteefront20200828') ) displayPopupPicture( "./multimedia/IMG_20200828_104640637.jpg", "My Custom Tee - the front (2020.08.28)" );
if( evt.target.classList.contains('mycustomteeback20200828') ) displayPopupPicture( "./multimedia/IMG_20200828_104659070.jpg", "My Custom Tee - the back (2020.08.28)" );
if( evt.target.classList.contains('frontpageyoutube20201008') ) MakePopupVideo( "https://streamable.com/e/xp4o2j", "I was surprised to see myself on the front page of YouTube (2020.10.08)" );
if( evt.target.classList.contains('mynewbackpack20201025') ) displayPopupPicture( "./multimedia/img20201025_22583781.jpg", "I bought a backpack today (2020.10.25)" );
if( evt.target.classList.contains('hkpostoffice20200731') ) displayPopupPicture( "./multimedia/IMG_20200731_115517.jpg", "Because of the pandemic, Hongkong Post parcels will be held at the post office to be claimed (2020.07.31)" );
if( evt.target.classList.contains('mycustomhat20200805') ) displayPopupPicture( "./multimedia/IMG_20200806_094301703.jpg", "My custom hat (2020.08.05)" );
if( evt.target.classList.contains('myphoto20200727') ) displayPopupPicture( "./multimedia/IMG_20200727_230042.jpg", "Selfie (2020.07.27)" );
if( evt.target.classList.contains('myfacebookpwdcompromised20210520') ) displayPopupPicture( "./multimedia/IMG_20210520_0001.png", "My Facebook password was recently changed by an unknown suspect (2021.05.20)" );
if( evt.target.classList.contains('mygooglepwdcompromised20210523') ) displayPopupPicture( "./multimedia/Screenshot_20210523-031450.png", "I′m a victim of identity theft (2021.05.23)" );
if( evt.target.classList.contains('myselfie20210524') ) displayPopupPicture( "./multimedia/IMG_20210524_163629.jpg", "Selfie (2021.05.24)" );
if( evt.target.classList.contains('myreceipt20210509') ) displayPopupPicture( "./multimedia/IMG_20210527_0001.jpg", "My recent receipt (2021.05.27)" );
if( evt.target.classList.contains('cybercrime20210527') ) MakePopupVideo( "https://streamable.com/e/du2ccs", "I have reported a cyber crime committed against me." );
if( evt.target.classList.contains('myevidence1') ) displayPopupPicture( "./multimedia/Screenshot_20210527-105516.png", "I haven′t been contacted by the police since I reported my credit card details stolen and used on the internet (2021.06.19)" );
// if( evt.target.classList.contains('ebitcam20210422-0001') ) MakePopupVideo( "https://store7.gofile.io/download/Pm6sJM/fa65801c4179c186def52da02543e9d4/VID_20210422_0001.mp4", "My reaction video to receiving the certificate for some of my past O-Level exam results from the UK." );
// if( evt.target.classList.contains('ebitcam20201123-0001') ) MakePopupVideo( "https://static.atonline.net/private/d-cunzigM4bsz1uju9wtMcimP1XD3Hzd5iYL5x98OMUiroTYJwCRwU2-xeJc1olW/VID_20201123_0001.mp4", "My reaction video to the Tom and Jerry Movie." );
if( evt.target.classList.contains('mysymptoms20210321') ) MakePopupVideo( "https://streamable.com/e/bkyo7y", "I infrequently experience twitching." );
if( evt.target.classList.contains('mypassportphoto20210608') ) displayPopupPicture( "./multimedia/IMG_20210608_0003.jpg", "My recent passport photo, possibly altered (2021.06.16)" );
if( evt.target.classList.contains('IMG_20210610_091745') ) displayPopupPicture( "./multimedia/IMG_20210610_091745.jpg", "Selfie (2021.06.10)" );
if( evt.target.classList.contains('imgonline-com-ua-Piconpic-9E9P3sXiVUc-min') ) displayPopupPicture( "./multimedia/imgonline-com-ua-Piconpic-9E9P3sXiVUc-min.jpg", "Recent selfie with new background (2021.06.16)" );
if( evt.target.classList.contains('myevidence2') ) displayPopupPicture( "./multimedia/IMG_20210607_0001.png", "Recent CFSC email (2021.06.16)" );
if( evt.target.classList.contains('makeup20210623_0001') ) displayPopupPicture( "./multimedia/IMG_20210623_152411-min.jpg", "I went to my second session of the pre-work preparatory course, conducted by the Christian Family Service Centre. We had a practical class in learning to put on makeup for looking presentable at job interviews (2021.06.23)" );
if( evt.target.classList.contains('queen20210624') ) displayPopupPicture( "./multimedia/20210624_173336.gif", "Her Majesty the Queen (2021.06.24)" );
if( evt.target.classList.contains('mytypingspeed20210626') ) MakePopupVideo( "https://streamable.com/e/rcbw06", "Watch me test my typing speed." );
if( evt.target.classList.contains('foodpanda20210627') ) displayPopupPicture( "./multimedia/foodpanda-new-customer-voucher.png", "Get $40 off your first $80+ order (2021.06.27)" );
if( evt.target.classList.contains('mysurveillance20210628-0001') ) MakePopupVideo( "https://streamable.com/e/y4hgtj", "Surveillance video of me coming home on June 28, 2021.", true );
if( evt.target.classList.contains('mysurveillance20210701-0001') ) MakePopupVideo( "https://streamable.com/e/poztlv", "Surveillance video of me coming home on July 1, 2021.", true );
if( evt.target.classList.contains('myeml20210701-0001') ) displayPopupPicture( "./multimedia/IMG_20210701_0001.png", "I received this email today and I don′t know who it is from and why I was sent it (2021.07.01)" );
if( evt.target.classList.contains('myeml20210701-0002') ) displayPopupPicture( "./multimedia/IMG_20210701_0002.png", "I received this email today and I don′t know who it is from and why I was sent it (2021.07.01)" );
if( evt.target.classList.contains('diptsuicourtl20210703-0001') ) displayPopupPicture( "./multimedia/IMG_20210703_172147.jpg", "I went to Dip Tsui Court to observe the building of where my apartment will be situated (2021.07.03)" );
if( evt.target.classList.contains('covidnegative20210709-0001') ) displayPopupPicture( "./multimedia/Screenshot_20210709-143449.png", "I′m Covid-19 Negative (2021.07.09)" );
if( evt.target.classList.contains('myedema20210719-0001') ) displayPopupPicture( "./multimedia/IMG_20210719_081109.jpg", "My feet are still swollen (2021.07.19)" );
if( evt.target.classList.contains('broadway20210728-0001') ) displayPopupPicture( "./multimedia/IMG_20210727_145953.jpg", "My mother and I went to Broadway yesterday to buy a blender (2021.07.28)" );
if( evt.target.classList.contains('maintenance20210805-0001') ) MakePopupVideo( "https://streamable.com/e/35iodf", "Maintenance crew asking to come in (2021.08.05)" );
if( evt.target.classList.contains('maintenance20210805-0002') ) MakePopupVideo( "https://streamable.com/e/s617l3", "The maintenance crew came to take photographs (2021.08.05)" );
if( evt.target.classList.contains('zalora-mail_20210807-0001') ) displayPopupPdf( "./multimedia/zalora-mail_20210807-0001.pdf", "The word "designated" was used 3 times by 3 different sources yesterday and I mentioned it first (2021.08.08)" );
if( evt.target.classList.contains('mylanyardclips20210829-0001') ) displayPopupPicture( "./multimedia/IMG_20210829_180700.jpg", "I purchased some lanyard clips from Apliu Street, Sham Shui Po. Chinese New Year must have come early because it′s the first time I received the traded items in a lai see envelope (2021.08.29)" );
if( evt.target.classList.contains('IMG_20200831_165918') ) displayPopupPicture( "./multimedia/IMG_20200831_165918.jpg", "Drink bottle (2020.08.31)" );
if( evt.target.classList.contains('ebitcam20210607-0001') ) MakePopupVideo( "https://streamable.com/e/z4pfuk", "Steve and Dennis recalls World Snooker ′85 (2021.06.07)", false );
if( evt.target.classList.contains('screencap_20210604-0001') ) displayPopupPicture( "./multimedia/Web capture_6-6-2021_91938_.jpg", "My substitute webpage (2021.06.04)" );
if( evt.target.classList.contains('ebitcam20210604-0001') ) MakePopupVideo( "https://streamable.com/e/vh4b3l", "Today′s 30 minutes - that′s OXY on my acne (2021.06.04)", false );
if( evt.target.classList.contains('ebitcam20210603-0001') ) MakePopupVideo( "https://streamable.com/e/ac8l4j", "This is me typing (2021.06.03)", false );
if( evt.target.classList.contains('ebitcam20210529-0001') ) MakePopupVideo( "https://streamable.com/e/n7zme7", "Thanks for watching (2021.05.29)", false );
if( evt.target.classList.contains('ebitcam20210528-0002') ) MakePopupVideo( "https://streamable.com/e/96s99k", "My reaction and reply to email (2021.05.28)", false );
if( evt.target.classList.contains('ebitcam20210528-0001') ) MakePopupVideo( "https://streamable.com/e/7gki9u", "One fine morning (2021.05.28)", false );
if( evt.target.classList.contains('ebitcam20210527-0001') ) MakePopupVideo( "https://streamable.com/e/n7vio0", "Today was a special day for me. I will remember it emphatically (2021.05.27)", false );
if( evt.target.classList.contains('ebitcam20210526-0001') ) MakePopupVideo( "https://streamable.com/e/m95jlg", "30 minutes of me. Watch only if you want to (2021.05.26)", false );
if( evt.target.classList.contains('ebitcam20210422-0001') ) MakePopupVideo( "https://streamable.com/e/wxtwgw", "My reaction video to receiving the certificate for some of my past O-Level exam results from the UK (2021.04.22)", false );
if( evt.target.classList.contains('ebitcam20201123-0001') ) MakePopupVideo( "https://streamable.com/e/6dhj3j", "My reaction video to the Tom and Jerry Movie (2020.11.23)", false );
if( evt.target.classList.contains('mylanyard20210907-0001') ) displayPopupPicture( "./multimedia/IMG_20210906_233019609-enhanced.jpg", "My new lanyard (2021.09.06)" );
if( evt.target.classList.contains('mysurveillance20210907-0001') ) MakePopupVideo( "https://streamable.com/e/vnpogj", "Surveillance video of me coming home (2021.09.07)", true );
if( evt.target.classList.contains('myselfie20210907-0001') ) displayPopupPicture( "./multimedia/IMG_20210907_165623-enhanced.jpg", "Selfie (2021.09.07)" );
if( evt.target.classList.contains('myselfie20210907-0002') ) MakePopupVideo( "https://streamable.com/e/ofatrc", "I took a selfie photo and a video at the same time (2021.09.07)" );
if( evt.target.classList.contains('myselfie20210907-0003') ) displayPopupPicture( "./multimedia/IMG_20210907_164602-enhanced.jpg", "Selfie (2021.09.07)" );
if( evt.target.classList.contains('mysurveillance20210908-0001') ) MakePopupVideo( "https://streamable.com/e/ymh643", "Surveillance video of me coming home (2021.09.08)", true );
if( evt.target.classList.contains('myfeet20210908-0001') ) displayPopupPicture( "./multimedia/IMG_20210908_193921.jpg", "My persistent edema feet (2021.09.08)" );
if( evt.target.classList.contains('cfsc20210909-0001') ) MakePopupVideo( "./multimedia/2021-09-09_09.24.122259567482136065570.mp3", "Phone conversation with The Christian Family Service Centre (2021.09.09)" );
if( evt.target.classList.contains('cfsc20210909-0002') ) MakePopupVideo( "./multimedia/2021-09-09_15.16.287790687976608195915.mp3", "Phone conversation with The Christian Family Service Centre (2021.09.09)" );
if( evt.target.classList.contains('mysurveillance20210911-0001') ) MakePopupVideo( "https://streamable.com/e/ntb9wm", "Surveillance video of me coming home (2021.09.11)", true );
if( evt.target.classList.contains('mylanyard20210911-0001') ) displayPopupPicture( "./multimedia/Hadc19f92760a4542b985ef91df0bd128J.jpg", "My new lanyard (2021.09.11)" );
if( evt.target.classList.contains('ebitcam20210911-0001') ) MakePopupVideo( "https://streamable.com/e/sihv37", "Video of me (2021.09.11)" );
if( evt.target.classList.contains('myselfie20210911-0001') ) displayPopupPicture( "./multimedia/IMG_20210911_204628029-enhanced.jpg", "Selfie (2021.09.11)" );
if( evt.target.classList.contains('mylanyard20210913-0001') ) displayPopupPicture( "./multimedia/IMG_20210913_163428.jpg", "Selfie (2021.09.13)" );
if( evt.target.classList.contains('mysurveillance20210913-0001') ) MakePopupVideo( "https://streamable.com/e/4udwzo", "Surveillance video of me coming home (2021.09.13)", true );
if( evt.target.classList.contains('mysurveillance20210915-0001') ) MakePopupVideo( "https://streamable.com/e/7wjcw0", "Surveillance video of me coming home (2021.09.15)", true );
if( evt.target.classList.contains('ebitcam20210916-0001') ) MakePopupVideo( "https://streamable.com/e/pr0gcb", "Video of me (2021.09.16)" );
if( evt.target.classList.contains('ebitcam20210917-0001') ) MakePopupVideo( "https://streamable.com/e/7fh7o3", "Video of me speaking (2021.09.17)" );
if( evt.target.classList.contains('ebitcam20210917-0001a') ) {
sweetalert2(0,'','This file has since been removed');
/*
Swal.fire(
'Oops...',
'This file has since been removed.',
'error'
);
*/
//MakePopupVideo( "./multimedia/20210917_004619.mp4", "Video of me (2021.09.17)" );
}
if( evt.target.classList.contains('ebitcam20210917-0002') ) MakePopupVideo( "https://streamable.com/e/w5ytvj", "My reaction video to World′s Deepest Pool (2021.09.17)" );
if( evt.target.classList.contains('ebitcam20210917-0003') ) MakePopupVideo( "https://streamable.com/e/pzfjfe", "Calling my mother and later receiving her call about my father′s hospitalisation (2021.09.17)" );
if( evt.target.classList.contains('mydesktop20210919-0001') ) {
sweetalert2(0,'','This file has since been removed');
/*
Swal.fire(
'Oops...',
'This file has since been removed.',
'error'
);
*/
//displayPopupPicture( "./multimedia/IMG_20210918_101151996-removebg-0002.png" );
}
if( evt.target.classList.contains('ebitcam20210920-0001') ) MakePopupVideo( "https://streamable.com/e/cvf7mf", "Rare insight into interior work (2021.09.20)" );
if( evt.target.classList.contains('myedema20210922-0001') ) displayPopupPicture( "./multimedia/IMG_20210922_090647.jpg", "My Pitting edema feet (2021.09.22)" );
if( evt.target.classList.contains('ebitcam20210922-0001') ) MakePopupVideo( "https://streamable.com/e/f97v5o", "Planted in my Mancave - Pandemic is like that (2021.09.22)" );
if( evt.target.classList.contains('ebitcam20210923-0001') ) displayPopupPicture( "./multimedia/Screenshot-20210923.jpg", "The look of joy (2021.09.23)" );
if( evt.target.classList.contains('ebitcam20210923-0002') ) MakePopupVideo( "https://streamable.com/e/trladt", "I am happy and well (2021.09.23)" );
if( evt.target.classList.contains('ebitcam20210923-0003') ) MakePopupVideo( "https://streamable.com/e/qcv3ua", "Talking to my mother (2021.09.23)" );
if( evt.target.classList.contains('ebitcam20210924-0001') ) MakePopupVideo( "https://streamable.com/e/wgdnzt", "My energy is returning (2021.09.24)" );
if( evt.target.classList.contains('ebitcam20210924-0002') ) MakePopupVideo( "https://streamable.com/e/eqx0eo", "Video of me (2021.09.24)" );
if( evt.target.classList.contains('myedema20210925-0001') ) displayPopupPicture( "./multimedia/IMG_20210925_210322.jpg", "My edema feet are shrinking (2021.09.25)" );
if( evt.target.classList.contains('ebitcam20210926-0001') ) MakePopupVideo( "https://streamable.com/e/hdwusg", "Giving the food Rider directions to my home (2021.09.26)" );
if( evt.target.classList.contains('myjobreferral20210927-0001') ) displayPopupPicture( "./multimedia/Screenshot_20210927-201137.png", "Supplement to my job referral (2021.09.27)" );
if( evt.target.classList.contains('ebitcam20210927-0001') ) MakePopupVideo( "https://streamable.com/e/nskosd", "Talking to the CFSC after receiving their WhatsApp message regarding a job referral to me (2021.09.27)" );
if( evt.target.classList.contains('myjobreferral20210928-0001') ) displayPopupPicture( "./multimedia/Screenshot_20210928-145727.png", "My job referral continued (2021.09.28)" );
if( evt.target.classList.contains('verifypassport20200922-0001') ) MakePopupVideo( "https://streamable.com/e/dvsg93", "Passport Checking and Verification Online (2020.09.22)" );
if( evt.target.classList.contains('360camera20200930-0001') ) MakePopupVideo( "https://streamable.com/e/wltw8x", "I am concerned for my safety. Watch this outside my door. (2020.09.30)" );
if( evt.target.classList.contains('nationaldayprc20211001-0001') ) displayPopupPicture( "./multimedia/IMG_20211001_091234.jpg", "National Day of the People′s Republic of China (2021.10.01)" );
if( evt.target.classList.contains('mysurveillance20211001-0001') ) MakePopupVideo( "https://streamable.com/e/e927y0", "Surveillance video of me coming home (2021.10.01)", true );
if( evt.target.classList.contains('ebitcam20210909-0001') ) MakePopupVideo( "https://streamable.com/e/2jldez", "Video of me reflecting on what I did today (2021.09.09)" );
if( evt.target.classList.contains('ebitcam20210914-0001') ) MakePopupVideo( "https://streamable.com/e/ori1qv", "Watching the conversation between DJ Gene and her friend on Social Media (2021.09.14)" );
if( evt.target.classList.contains('nationaldayprc20211001-0002') ) MakePopupVideo( "https://streamable.com/e/9y3uya", "Taking selfies on the National Day of the People′s Republic of China (2021.10.01)" );
if( evt.target.classList.contains('caraccident20211003-0001') ) displayPopupPicture( "./multimedia/IMG_20211003_121516.jpg", "I was in the area of the scene of a vehicle accident just after it had happened (2021.10.03)" );
if( evt.target.classList.contains('myfishtank20211003-0001') ) MakePopupVideo( "https://streamable.com/e/c2ob6g", "I bought a mini fish tank with my consumption voucher today (2021.10.03)" );
if( evt.target.classList.contains('myfish20211004-0001') ) displayPopupPicture( "./multimedia/IMG_20211004_133554.jpg", "This is the fish that I am owning (2021.10.04)" );
if( evt.target.classList.contains('myfish20211004-0002') ) displayPopupPicture( "./multimedia/IMG_20211004_213510.jpg", "The new fish isn′t eating. I am going to return it to the shopkeeper tomorrow (2021.10.04)" );
if( evt.target.classList.contains('myfish20211004-0003') ) MakePopupVideo( "https://streamable.com/e/1xpm0q", "It′s a beautiful creature (2021.10.04)" );
if( evt.target.classList.contains('ebitcam20211005-0001') ) MakePopupVideo( "https://streamable.com/e/6aouex", "Video of me (2021.10.05)" );
if( evt.target.classList.contains('cfsc20211006-0001') ) MakePopupVideo( "./multimedia/2021-10-06_16.14.554251114086236218214.mp3", "More details of the job referral were released to me by the CFSC (2021.10.06)" );
if( evt.target.classList.contains('ebitcam20211006-0001') ) MakePopupVideo( "https://streamable.com/e/3qwci0", "Video of me (2021.10.06)" );
if( evt.target.classList.contains('360camera20211007-0001') ) MakePopupVideo( "https://streamable.com/e/51tnbh", "The Intensive Care Team came to my home to negotiate the terms for my return to meet my next clinic appointment (2021.10.07)" );
if( evt.target.classList.contains('cfsc20211008-0001') ) displayPopupPicture( "./multimedia/Screenshot_20211008-151947.png", "Tomorrow′s roster will only be applicable provided the severe typhoon warning and black rain alert does not manifest because the weather is so bad today (2021.10.08)" );
if( evt.target.classList.contains('okcupid20211009-0001') ) displayPopupPicture( "./multimedia/Screenshot_20211009_OkCupid-who-likes-you.png", "I can no longer see the faces of women who likes me on OkCupid.com because I ended my subscription after a long period of system fault with Messages (2021.10.09)" );
if( evt.target.classList.contains('myreceipt20211010-0001') ) displayPopupPicture( "./multimedia/IMG_20211010_164127.jpg", "This is my scan of the receipt for the purchase of my drink from the AEON store (2021.10.10)" );
if( evt.target.classList.contains('ebitcam20211010-0001') ) MakePopupVideo( "https://streamable.com/e/e2hone", "Video of me adjusting my IP Camera (2021.10.10)" );
if( evt.target.classList.contains('ebitcam20211010-0002') ) MakePopupVideo( "https://streamable.com/e/rojnxo", "Video showing my attitude to work (2021.10.10)" );
if( evt.target.classList.contains('screencap20211011-0001') ) displayPopupPicture( "./multimedia/Screenshot_20211011-190818.png", "My social worker (case manager) phoned me today but I was sleeping and so was not able to answer his call (2021.10.11)" );
if( evt.target.classList.contains('screencap20211012-0001') ) displayPopupPicture( "./multimedia/Screenshot_20211012-181853.png", "My social worker (Mr Kwong) phoned me today (2021.10.12)" );
if( evt.target.classList.contains('myreceipt20210928-0001') ) displayPopupPicture( "./multimedia/IMG_20211012_0001.jpg", "I bought this cross body bag for using in the hospital should I ever be recalled back (2021.09.28)" );
if( evt.target.classList.contains('myreceipt20211013-0001') ) displayPopupPicture( "./multimedia/IMG_20211013_0001.jpg", "My unused Consumption Voucher Discount Coupon (2021.10.13)" );
if( evt.target.classList.contains('clinicphone20211013-0001') ) MakePopupVideo( "./multimedia/2021-10-13_13.19.187745333176720276879.mp3", "The clinic phoned me during Typhoon Signal 8 today (2021.10.13)" );
if( evt.target.classList.contains('mysurveillance20211013-0001') ) MakePopupVideo( "https://streamable.com/e/goq8ir", "Surveillance video of me coming home after the T8 Typhoon Signal was lifted (2021.10.13)", true );
if( evt.target.classList.contains('ebitcam20211014-0001') ) MakePopupVideo( "https://streamable.com/e/9a04n9", "Video of me (2021.10.14)" );
if( evt.target.classList.contains('ebitcam20211014-0002') ) MakePopupVideo( "https://streamable.com/e/l2jfx3", "My IP Camera vs my Webcam comparison (2021.10.14)" );
if( evt.target.classList.contains('ebitcam20211015-0001') ) MakePopupVideo( "https://streamable.com/e/eu4nf8", "Video of me (2021.10.15)" );
if( evt.target.classList.contains('myselfie20211015-0001') ) displayPopupPicture( "./multimedia/IMG_20211015_221223.jpg", "Selfie (2021.10.15)" );
if( evt.target.classList.contains('canon20211016-0001') ) MakePopupVideo( "https://streamable.com/e/64tfvl", "Video of me *Correction: the holiday is Chung Yeung Festival (2021.10.16)" );
if( evt.target.classList.contains('canon20211019-0001') ) MakePopupVideo( "https://streamable.com/e/ckeqyd", "My hotel review (2021.10.19)" );
if( evt.target.classList.contains('cityplaza20211021-0001') ) displayPopupPicture( "./multimedia/IMG_20211021_120749.jpg", "Future GPX Cyber Formula WORLD TOUR HK Cityplaza GP (2021.10.21)" );
if( evt.target.classList.contains('ebitcam20211021-0001') ) MakePopupVideo( "https://streamable.com/e/dwsaj1", "Inconsiderately, the maintenance crew stood my mother up and she waited for them without knowing that (2021.10.21)" );
if( evt.target.classList.contains('myselfie20211022-0001') ) displayPopupPicture( "./multimedia/IMG_20211022_120555.jpg", "Trying on my new sweater (2021.10.22)" );
if( evt.target.classList.contains('mysurveillance20211022-0001') ) MakePopupVideo( "https://streamable.com/e/8i1jx5", "Surveillance video of me coming home (2021.10.22)", true );
if( evt.target.classList.contains('mysurveillance20211110-0001') ) MakePopupVideo( "https://streamable.com/e/jkow7d", "Surveillance video of me coming home (2021.11.10)", true );
if( evt.target.classList.contains('diptsuicourtl20211106-0001') ) displayPopupPicture( "./multimedia2/IMG-20211106-WA0001.jpg", "The current phase of development of Dip Tsui Court (2021.11.06)" );
if( evt.target.classList.contains('myselfie20211111-0001') ) displayPopupPicture( "./multimedia2/20211111_090844.jpg", "Singles′ Day in China (2021.11.11)" );
if( evt.target.classList.contains('myselfie20211111-0002') ) displayPopupPicture( "./multimedia2/20211111_084624.jpg", "Singles′ Day in China (2021.11.11)" );
if( evt.target.classList.contains('mysurveillance20211111-0001') ) MakePopupVideo( "https://streamable.com/e/g6m77q", "Surveillance video of me coming home after dinner at my parents′ home (2021.11.11)", true );
if( evt.target.classList.contains('myselfie20211112-0001') ) displayPopupPdf( "./multimedia2/IMG-20211112.pdf", "Tamar Park (2021.11.12)" );
if( evt.target.classList.contains('mybrother20211113-0001') ) displayPopupPicture( "./multimedia2/20211113_140119.jpg", "Me and my brother (2021.11.13)" );
if( evt.target.classList.contains('mycompilation0211114-0001') ) displayPopupPdf( "./multimedia2/compilation-20211114.pdf", "My compilation (2021.11.14)" );
if( evt.target.classList.contains('myselfie20211114-0001') ) displayPopupPicture( "./multimedia2/IMG_20211114_084516.jpg" );
if( evt.target.classList.contains('ebitcam20211114-0001') ) MakePopupVideo( "https://streamable.com/e/e85clo", "Video of me (2021.11.14)" );
if( evt.target.classList.contains('oceanpark20211115-0001') ) displayPopupPicture( "./multimedia2/IMG_20211115_114107.jpg", "Ocean Park (2021.11.15)" );
if( evt.target.classList.contains('cityplaza20211125-0001') ) displayPopupPicture( "./multimedia2/20211125_163828.jpg", "Cityplaza Shopping Centre (2021.11.25)" );
if( evt.target.classList.contains('selfie20211125-0001') ) displayPopupPicture( "./multimedia2/IMG_20211125_225851.jpg", "Selfie (2021.11.25)" );
if( evt.target.classList.contains('eastcoastparkprecinct20211126-0001') ) displayPopupPicture( "./multimedia2/IMG_20211126_145547.jpg", "East Coast Park Precinct (2021.11.26)" );
if( evt.target.classList.contains('reolink20211126-0001') ) MakePopupVideo( "https://streamable.com/e/yu02fh", "Surveillance video of me coming home (2021.11.26)" );
if( evt.target.classList.contains('telfordplaza20211129-0001') ) displayPopupPicture( "./multimedia2/IMG_20211129_162129-cropped.jpg", "Christmas decorations at the Telford Plaza shopping mall (2021.11.29)" );
if( evt.target.classList.contains('megabox20211129-0001') ) displayPopupPicture( "./multimedia2/IMG_20211129_175436-cropped.jpg", "Christmas decorations at the MegaBox shopping centre (2021.11.29)" );
if( evt.target.classList.contains('welcometomywebsite20211204') ) MakePopupVideo( "https://streamable.com/e/6g7emi", "My collapsing tools bar concept (2021.05.18)", true );
if( evt.target.classList.contains('whatsapp20210923-0001') ) displayPopupPicture( "./multimedia2/Screenshot_20211204-204547_WhatsApp.jpg", "WhatsApp message from my mother (2021.09.23)" );
if( evt.target.classList.contains('selfie20211206-0001') ) displayPopupPicture( "./multimedia2/IMG_20211206_144858.jpg", "How I look with hair (2021.12.06)" );
if( evt.target.classList.contains('sky100hk20211210-0001') ) displayPopupPicture( "./multimedia2/61b2e231f238ab00980b84ef.jpg", "Sky 100 Hong Kong Observation Deck Studio Photo (2021.12.10)" );
if( evt.target.classList.contains('ebitcam20211212-0001') ) MakePopupVideo( "https://streamable.com/e/uqame9", "Video of me (2021.12.12)" );
if( evt.target.classList.contains('mikikimall20211210-0001') ) displayPopupPicture( "./multimedia2/20211210_195107.jpg", "Passing through the Mikiki Mall upon leaving my parents′ home (2021.12.10)" );
if( evt.target.classList.contains('ninamall20211213-0001') ) displayPopupPicture( "./multimedia2/20211213_141427.jpg", "I went to Tsuen Wan West. Nina Mall Christmas Grotto. (2021.12.13)" );
if( evt.target.classList.contains('Serenuscouture20211213-0001') ) displayPopupPicture( "./multimedia2/IMG_20211213_190531.jpg", "Serenus couture BANDAI SPIRITS CO., LTD. (2021.12.13)" );
if( evt.target.classList.contains('myreceipt20211217-0001') ) displayPopupPicture( "./multimedia2/IMG_20211217_0001.jpg", "Estate Management′s receipt for conducting plumbing work (2021.12.17)" );
if( evt.target.classList.contains('ebitcam20211217-0001') ) MakePopupVideo( "https://streamable.com/e/y31re0", "My reaction video to Mind Games Episode 8 (2021.12.17)" );
if( evt.target.classList.contains('ebitcam20211218-0001') ) MakePopupVideo( "https://streamable.com/e/woky8h", "Video of me (2021.12.18)" );
if( evt.target.classList.contains('myfacebook20211218_0001') ) displayPopupPicture( "./multimedia2/Web capture_18-12-2021_211627_www.facebook.com.jpg", "My ex-colleague did well indeed (2021.12.18)" );
if( evt.target.classList.contains('megabox20211219-0001') ) displayPopupPicture( "./multimedia2/IMG_20211219_135213-enhanced-cropped.jpg", "Christmas decorations at the MegaBox shopping centre (2021.12.19)" );
if( evt.target.classList.contains('myreceipt20211219-0001') ) displayPopupPicture( "./multimedia2/IMG_20211219_0001.jpg", "I bought a set pair of coasters from IKEA (2021.12.19)" );
if( evt.target.classList.contains('voterregistration20211220-0001') ) displayPopupPicture( "./multimedia2/Web capture_20-12-2021_71838_www.voterregistration.gov.png", "I was disqualified from voting yesterday because I am certified mentally ill (2021.12.20)" );
if( evt.target.classList.contains('myhkdisabilitycard20211220-0001') ) displayPopupPdf( "./multimedia2/my_hk_disability_card-2021.pdf", "My Hong Kong Disability Card (2021.12.20)" );
if( evt.target.classList.contains('mybumble20211222-0001') ) displayPopupPdf( "./multimedia2/mybumble_20211222_0001.pdf", "My dating website conversations (2021.12.22)" );
if( evt.target.classList.contains('myreceipt20211222-0001') ) displayPopupPicture( "./multimedia2/IMG_20211222_0001.jpg", "I was cheated of my chicken wing by Cafe de Coral (2021.12.22)" );
if( evt.target.classList.contains('reolink20211223-0001') ) MakePopupVideo( "https://streamable.com/e/hnwhzx", "Video of me (2021.12.23)" );
if( evt.target.classList.contains('sky100hk20211223-0001') ) displayPopupPicture( "./multimedia2/IMG_20211223_165405.jpg", "I bought an Acrylic Frame to display my Sky 100 Studio Photo (2021.12.23)" ); // Modified 2024-10-13
if( evt.target.classList.contains('reolink20211223-0002') ) MakePopupVideo( "https://streamable.com/e/5a0yg8", "Video of me (2021.12.23)" );
if( evt.target.classList.contains('selfie20200325-0001') ) displayPopupPicture( "./multimedia2/IMG_20200325_103836.jpg", "My 50th Birthday in 2020 (2020.03.25)" );
if( evt.target.classList.contains('ycc365plus20190923-0001') ) MakePopupVideo( "https://streamable.com/e/ueh45v", "My first IPCam Video in 2019 (2019.09.23)", true );
if( evt.target.classList.contains('myslideshow20121204-0001') ) MakePopupVideo( "https://streamable.com/e/6lg3p8", "My photos in 2012 (2012.12.04)", true );
if( evt.target.classList.contains('myphoto20080517-0001') ) displayPopupPicture( "./multimedia2/P1000033.jpg", "My authenticated photo in 2008 (2008.05.17)" );
if( evt.target.classList.contains('myphoto20080517-0002') ) displayPopupPicture( "./multimedia2/P1000026.jpg", "My authenticated photo in 2008 (2008.05.17)" );
if( evt.target.classList.contains('myscan20211024-0001') ) displayPopupPicture( "./multimedia2/IMG_20211024_0008.jpg", "My scan of photo in 1999 (1999.03.25)" );
if( evt.target.classList.contains('myscan20211024-0002') ) displayPopupPicture( "./multimedia2/IMG_20211024_0014.jpg", "My scan of photo in 1995 (1995.02.03)" );
if( evt.target.classList.contains('myscan20211024-0003') ) displayPopupPicture( "./multimedia2/IMG_20211024_0013.jpg", "My scan of photo in 1992 (1992.10.28)" );
if( evt.target.classList.contains('myscan20211024-0004') ) displayPopupPicture( "./multimedia2/IMG_20211024_0009.jpg", "My scan of photo in 1992 (1992.07.03)" );
if( evt.target.classList.contains('reolink20211224-0001') ) MakePopupVideo( "https://streamable.com/e/4u6r81", "Video of me (2021.12.24)" );
if( evt.target.classList.contains('reolink20211224-0002') ) MakePopupVideo( "https://streamable.com/e/mvysxq", "Video of me (2021.12.24)" );
if( evt.target.classList.contains('canon20211224-0001') ) MakePopupVideo( "https://streamable.com/e/hxn4pw", "Video of me (2021.12.24)" );
if( evt.target.classList.contains('mysurveillance20200814-0001') ) MakePopupVideo( "https://streamable.com/e/m0x2m3", "My first surveillance video of me coming home (2020.08.14)", true );
if( evt.target.classList.contains('bandicam20220102-0001') ) MakePopupVideo( "https://streamable.com/e/rq96zt", "Video of me from my camcorder activity recording (2022.01.02)" );
if( evt.target.classList.contains('bandicam20220102-0002') ) MakePopupVideo( "https://streamable.com/e/cqkris", "My reaction video to TV Awards Presentation 2021 (2022.01.02)" );
if( evt.target.classList.contains('bandicam20220103-0001') ) MakePopupVideo( "https://streamable.com/e/ve8siu", "Video of me (2022.01.03)" );
if( evt.target.classList.contains('bandicam20220104-0001') ) MakePopupVideo( "https://streamable.com/e/4sjtsm", "My reaction video to Big City Shop (2022.01.04)" );
if( evt.target.classList.contains('bandicam20220104-0002') ) MakePopupVideo( "https://streamable.com/e/b8p58d", "Trivia: Are you good looking? (2022.01.04)" );
if( evt.target.classList.contains('bandicam20220105-0001') ) MakePopupVideo( "https://streamable.com/e/ud3ya2", "My 50 WPM typing check (2022.01.05)" );
if( evt.target.classList.contains('bandicam20220105-0002') ) MakePopupVideo( "https://streamable.com/e/znmefz", "Video of me (2022.01.05)" );
if( evt.target.classList.contains('bandicam20220105-0003') ) MakePopupVideo( "https://streamable.com/e/c5u3fg", "Writing my prospects letter (2022.01.05)" );
if( evt.target.classList.contains('bandicam20220106-0001') ) MakePopupVideo( "https://streamable.com/e/8iu7eo", "My reaction video to Ralph Macchio (The Karate Kid) on The Late Show with Stephen Colbert (2022.01.06)" );
if( evt.target.classList.contains('bandicam20220106-0002') ) MakePopupVideo( "https://streamable.com/e/9znt0u", "My reaction video to The Late Show with Stephen Colbert Continued (2022.01.06)" );
if( evt.target.classList.contains('bandicam20220106-0003') ) MakePopupVideo( "https://streamable.com/e/677jf6", "My reaction video to The Late Show with Stephen Colbert Full Version (2022.01.06)" );
if( evt.target.classList.contains('bandicam20220107-0001') ) MakePopupVideo( "https://streamable.com/e/p6y6j9", "My reaction video to Twice members (2022.01.07)" );
if( evt.target.classList.contains('bandicam20220107-0002') ) MakePopupVideo( "https://streamable.com/e/ddhr24", "Best Quality and Uncompressed Video of Me (2022.01.07)", true );
if( evt.target.classList.contains('bandicam20220107-0003') ) MakePopupVideo( "https://streamable.com/e/cj8apv", "Video of me (2022.01.07)" );
if( evt.target.classList.contains('bandicam20220107-0004') ) MakePopupVideo( "https://streamable.com/e/ymm0ql", "My reaction video to Genius Go Go Go (2022.01.07)" );
if( evt.target.classList.contains('bandicam20220108-0001') ) MakePopupVideo( "https://streamable.com/e/fgg03u", "My reaction video and taking me back in time to Half-Hour of 1989 TV Commercials - 80s Commercial Compilation #7 (2022.01.08)" );
if( evt.target.classList.contains('bandicam20220108-0002') ) MakePopupVideo( "https://streamable.com/e/fsmevg", "My reaction video to The Late Show with Stephen Colbert (2022.01.08)" );
if( evt.target.classList.contains('bandicam20220108-0003') ) MakePopupVideo( "https://streamable.com/e/1weggd", "My reaction video to The Tonight Show Starring Jimmy Fallon (2022.01.08)" );
if( evt.target.classList.contains('bandicam20220108-0004') ) MakePopupVideo( "https://streamable.com/e/zyjsdi", "The Internet is not going to help me find love. I have tried but no one wants to be acquainted with me (2022.01.08)" );
if( evt.target.classList.contains('bandicam20220109-0001') ) MakePopupVideo( "https://streamable.com/e/3hb7in", "My reaction video to America′s Got Talent (2022.01.09)" );
if( evt.target.classList.contains('bandicam20220109-0002') ) MakePopupVideo( "https://streamable.com/e/805l41", "My reaction video to Walking With You 2 (2022.01.09)" );
if( evt.target.classList.contains('bandicam20220110-0001') ) MakePopupVideo( "https://streamable.com/e/v44e70", "Saying my prayers to God (2022.01.10)" );
if( evt.target.classList.contains('bandicam20220110-0002') ) MakePopupVideo( "https://streamable.com/e/2dhvo9", "Watching Running Man for the last time of my life (2022.01.10)" );
if( evt.target.classList.contains('bandicam20220111-0001') ) MakePopupVideo( "https://streamable.com/e/p3l918", "My reaction video to Jackie Chan on Friday Night With Jonathan Ross (2022.01.11)" );
if( evt.target.classList.contains('bandicam20220111-0002') ) MakePopupVideo( "https://streamable.com/e/sc7nfd", "I don′t know when the construction work will ever be over because they intermit to prolong its life. I also believe the citizens are in collusion with the criminals in an attempt to ruin my life (2022.01.11)" );
if( evt.target.classList.contains('bandicam20220112-0001') ) MakePopupVideo( "https://streamable.com/e/04oxgd", "My reaction video to John Cena on The Tonight Show Starring Jimmy Fallon (2022.01.12)" );
if( evt.target.classList.contains('bandicam20220112-0002') ) MakePopupVideo( "https://streamable.com/e/2lathc", "Best Quality and Uncompressed Video of Me (2022.01.12)", true );
if( evt.target.classList.contains('bandicam20220112-0003') ) MakePopupVideo( "https://streamable.com/e/0dn8s8", "The social worker arrived at my door to say that if I don′t turn up to the clinic next Tuesday then they will come to take me (2022.01.12)" );
if( evt.target.classList.contains('bandicam20220113-0001') ) MakePopupVideo( "https://streamable.com/e/fw3aa6", "Asking God why they would want to take me to the hospital (2022.01.13)", true );
if( evt.target.classList.contains('myconsumptionvoucher20220113-0001') ) displayPopupPicture( "./multimedia3/Screenshot_20220113-105216_Octopus.jpg", "I will be collecting a free HK$1,000 in money from the government (2022.01.13)" );
if( evt.target.classList.contains('bandicam20220113-0002') ) MakePopupVideo( "https://streamable.com/e/vb71qw", "Chemistry between us (2022.01.13)" );
if( evt.target.classList.contains('bandicam20220113-0003') ) MakePopupVideo( "https://streamable.com/e/uea8k0", "My reaction video to Keanu Reeves Takes The Colbert Questionert (2022.01.13)" );
if( evt.target.classList.contains('bandicam20220114-0001') ) MakePopupVideo( "https://streamable.com/e/edfubo", "My reaction video to Prince′s Honours Stripped (2022.01.14)" );
if( evt.target.classList.contains('selfie20220115-0001') ) displayPopupPicture( "./multimedia3/20220115_000916.jpg", "Selfie (2022.01.15)" );
if( evt.target.classList.contains('selfie20220115-0002') ) displayPopupPicture( "./multimedia3/IMG_20220115_091301207.jpg", "Photo taken by my "Test your webcam" feature (2022.01.15)" );
if( evt.target.classList.contains('selfie20220115-0003') ) displayPopupPicture( "./multimedia3/20220115_000452.jpg", "Selfie (2022.01.15)" );
if( evt.target.classList.contains('bandicam20220115-0001') ) MakePopupVideo( "https://streamable.com/e/5ol3rq", "Video of me (2022.01.15)" );
if( evt.target.classList.contains('bandicam20220116-0001') ) MakePopupVideo( "https://streamable.com/e/43pvnm", "My reaction video to Andy Lau new medley (2022.01.16)" );
if( evt.target.classList.contains('bandicam20220116-0002') ) MakePopupVideo( "https://streamable.com/e/xfzfet", "47 min video of me (2022.01.16)" );
if( evt.target.classList.contains('bandicam20230117-0001') ) MakePopupVideo( "https://streamable.com/e/9x59w6", "My reaction video to Instagram (2023.01.17)" );
if( evt.target.classList.contains('mycv20230118-0001') ) displayPopupPdf( "./multimedia5/Cheuk_Wan_-_MSc_BEng(Hons)_CEFR_C1.pdf", "My Curriculum Vitae" );
if( evt.target.classList.contains('selfie20230118-0001') ) displayPopupPicture( "./multimedia5/IMG_20230118_142751.jpg", "Photo of me (2023.01.18)" );
if( evt.target.classList.contains('bandicam20230119-0001') ) MakePopupVideo( "https://streamable.com/e/32h7va", "My reaction video to May Pang interview (2023.01.19)" );
if( evt.target.classList.contains('bandicam20230121-0001') ) MakePopupVideo( "https://streamable.com/e/ag9ihm", "My reaction video to May Pang interview 2 (2023.01.21)" );
if( evt.target.classList.contains('bandicam20230126-0001') ) MakePopupVideo( "https://streamable.com/e/ousw94", "My reaction video to Instagram (2023.01.26)" );
if( evt.target.classList.contains('selfie20230126-0001') ) displayPopupPicture( "./multimedia5/IMG_20230126_155712.jpg", "Photo of me (2023.01.26)" );
if( evt.target.classList.contains('bandicam20230128-0001') ) MakePopupVideo( "https://streamable.com/e/mhkb9o", "My reaction video to Instagram (2023.01.28)" );
if( evt.target.classList.contains('selfie20230128-0001') ) displayPopupPicture( "./multimedia5/20230128_161751.jpg", "Photo of me (2023.01.28)" );
if( evt.target.classList.contains('selfie20230130-0001') ) displayPopupPicture( "./multimedia5/PXL_20230130_142603911.jpg", "Photo of me 1 (2023.01.30)" );
if( evt.target.classList.contains('selfie20230130-0002') ) displayPopupPicture( "./multimedia5/PXL_20230130_142622299.jpg", "Photo of me 2 (2023.01.30)" );
if( evt.target.classList.contains('selfie20230130-0003') ) displayPopupPicture( "./multimedia5/PXL_20230130_142639603.jpg", "Photo of me 3 (2023.01.30)" );
if( evt.target.classList.contains('bandicam20230201-0001') ) MakePopupVideo( "https://streamable.com/e/7p2lpa", "My reaction video to 'PSY | Where has the singer of the hit Gangnam Style Gone?' (2023.02.01)" );
if( evt.target.classList.contains('bandicam20230201-0002') ) MakePopupVideo( "https://streamable.com/e/tz0eam", "Recording of me changing my Facebook Profile Photos (2023.02.01)" );
if( evt.target.classList.contains('bandicam20230201-0003') ) MakePopupVideo( "https://streamable.com/e/7g4yq5", "Watch my first teaching job interview (2023.02.01)" );
if( evt.target.classList.contains('bandicam20230202-0001') ) MakePopupVideo( "https://streamable.com/e/bvg5n9", "My reaction video to Hugh Jackman and James Hong interviews (2023.02.02)" );
if( evt.target.classList.contains('bandicam20230202-0002') ) MakePopupVideo( "https://streamable.com/e/49uqvt", "My reaction video to new Harrison Ford movie (2023.02.02)" );
if( evt.target.classList.contains('bandicam20230203-0001') ) MakePopupVideo( "https://streamable.com/e/wsra97", "My reaction video to TWICE (2023.02.03)" );
if( evt.target.classList.contains('bandicam20230204-0001') ) MakePopupVideo( "https://streamable.com/e/o7yyfw", "My reaction video to Miss Hong Kong Lisa-Marie Tse (2023.02.04)" );
if( evt.target.classList.contains('bandicam20230205-0001') ) MakePopupVideo( "https://streamable.com/e/9clcw9", "My reaction to Jimmy Fallon′s Mick Jagger impression (2023.02.05)", true );
//if( evt.target.classList.contains('video20230208-0001') ) window.open( 'https://www.dropbox.com/s/znxncod2025ob1u/MVI_0101.MP4?dl=0', 'MyPopupWindow');
if( evt.target.classList.contains('photo20230210-0001') ) displayPopupPicture( "./multimedia5/20230210_153709.jpg", "I love my draining rack (2023.02.10)" );
if( evt.target.classList.contains('photo20230212-0001') ) displayPopupPicture( "./multimedia5/Snapchat-152771025.jpg", "Photo of me (2023.02.12)" );
if( evt.target.classList.contains('bandicam20230212-0001') ) MakePopupVideo( "https://streamable.com/e/a2uq5r", "Video of me (2023.02.12)" );
if( evt.target.classList.contains('bandicam20230213-0001') ) MakePopupVideo( "https://streamable.com/e/v3jtlo", "My reaction video to Reaction Mashup - The Flash Trailer (2023.02.13)" );
if( evt.target.classList.contains('bandicam20230218-0001') ) MakePopupVideo( "https://streamable.com/e/wg5mgt", "My reaction to Lionel Richie and Katy Perry (2023.02.18)" );
if( evt.target.classList.contains('bandicam20230219-0001') ) MakePopupVideo( "https://streamable.com/e/qltxdm", "My reaction video to Donnie Yen interview (2023.02.19)" );
if( evt.target.classList.contains('bandicam20230224-0001') ) MakePopupVideo( "https://streamable.com/e/o0tckn", "This is when I first learned of the people′s plan of re-enforcing my treatment compliance after I eventually leave the hostel (2023.02.23)" );
if( evt.target.classList.contains('bandicam20230226-0001') ) MakePopupVideo( "https://streamable.com/e/f8qrqz", "My reaction video to Tom Cruise interview (2023.02.26)" );
if( evt.target.classList.contains('bandicam20230303-0001') ) MakePopupVideo( "https://streamable.com/e/bwwzin", "My reaction video to Michelle Yeoh interview (2023.03.03)" );
if( evt.target.classList.contains('bandicam20230303-0002') ) MakePopupVideo( "https://streamable.com/e/2sdn8u", "My reaction video to Sheryl Lee Ralph and Ke Huy Quan interview (2023.03.03)" );
if( evt.target.classList.contains('bandicam20230303-0003') ) MakePopupVideo( "https://streamable.com/e/huyh9w", "My reaction video to Kevin Bacon interview (2023.03.03)" );
if( evt.target.classList.contains('bandicam20230304-0001') ) MakePopupVideo( "https://streamable.com/e/12eq93", "Video of me (2023.03.04)" );
if( evt.target.classList.contains('bandicam20230304-0002') ) MakePopupVideo( "https://streamable.com/e/0zymrw", "My reaction video to John Williams and Steven Spielberg interview (2023.03.04)" );
if( evt.target.classList.contains('photo20230305-0001') ) displayPopupPicture( "./multimedia5/IMG_20230305_135254.jpg", "Photo of me in Stanley 1 (2023.03.05)" );
if( evt.target.classList.contains('photo20230305-0002') ) displayPopupPicture( "./multimedia5/20230305_141227.jpg", "Photo of me in Stanley 2 (2023.03.05)" );
if( evt.target.classList.contains('photo20230305-0003') ) displayPopupPicture( "./multimedia5/20230305_145530.jpg", "Photo of me in Stanley 3 (2023.03.05)" );
if( evt.target.classList.contains('bandicam20230306-0001') ) MakePopupVideo( "https://streamable.com/e/csu400", "Video of me (2023.03.06)" );
if( evt.target.classList.contains('bandicam20230307-0001') ) MakePopupVideo( "https://streamable.com/e/xo8tre", "Video of me (2023.03.07)" );
if( evt.target.classList.contains('photo20230308-0001') ) displayPopupPicture( "./multimedia5/IMG_20230308_154509.jpg", "Photo of me in Chai Wan Park 1 (2023.03.08)" );
if( evt.target.classList.contains('photo20230308-0002') ) displayPopupPicture( "./multimedia5/IMG_20230308_160237.jpg", "Photo of me in Chai Wan Park 2 (2023.03.08)" );
if( evt.target.classList.contains('photo20080510-0001') ) displayPopupPicture( "./multimedia5/P1000021.JPG", "Photo of me in 2008 (2008.05.10)" );
if( evt.target.classList.contains('photo20230320-0001') ) displayPopupPicture( "./multimedia5/20230320_130339.jpg", "Photo of me (2023.03.20)" );
if( evt.target.classList.contains('bandicam20230320-0001') ) MakePopupVideo( "https://streamable.com/e/7acdh4", "Video of my brother and his wife in my home for the first time (2023.03.20)" );
if( evt.target.classList.contains('bandicam20230404-0001') ) MakePopupVideo( "https://streamable.com/e/7mds0w", "Video of me (2023.04.04)" );
if( evt.target.classList.contains('eml20230405-0001') ) MakePopupText( "./multimedia6/Application for the Position of Native English Teacher (Full Time) - Hong Kong.txt", "Application for the Position of Native English Teacher (Full Time) - Hong Kong (2023.04.05)" );
if( evt.target.classList.contains('video20230203-0001') ) MakePopupVideo( "https://streamable.com/e/uualh3", "Watch my teaching job application video (2023.02.03)" );
if( evt.target.classList.contains('video20230208-0001') ) MakePopupVideo( "https://streamable.com/e/44r8oy", "Watch my teaching job application video (2023.02.08)" );
if( evt.target.classList.contains('bandicam20230406-0001') ) MakePopupVideo( "https://streamable.com/e/09tu50", "My reaction video to Richard Branson interview (2023.04.06)" );
if( evt.target.classList.contains('bandicam20230406-0002') ) MakePopupVideo( "https://streamable.com/e/w2une2", "Video of me (2023.04.06)" );
if( evt.target.classList.contains('MakePopupCameraPage-0001') ) {clearMemory(); MakePopupCameraPage();}
if( evt.target.classList.contains('bandicam20230411-0001') ) MakePopupVideo( "https://streamable.com/e/ngdwz9", "Video of me (2023.04.11)" );
if( evt.target.classList.contains('bandicam20230414-0001') ) MakePopupVideo( "https://streamable.com/e/0ijpx8", "My reaction video to Jurassic World: Dominion (2023.04.14)" );
if( evt.target.classList.contains('ebitcam20230414-0001') ) MakePopupVideo( "https://streamable.com/e/usq8nz", "Video of me (2023.04.14)" );
if( evt.target.classList.contains('ebitcam20220124-0001') ) MakePopupVideo( "https://streamable.com/e/d00fqs", "My arrest video - Part 1 (2022.01.24)" );
if( evt.target.classList.contains('ebitcam20220124-0002') ) MakePopupVideo( "https://streamable.com/e/2sw3h8", "My arrest video - Part 2 (2022.01.24)" );
if( evt.target.classList.contains('ebitcam20220124-0003') ) MakePopupVideo( "https://streamable.com/e/9httau", "My arrest video - Part 3 (2022.01.24)" );
if( evt.target.classList.contains('ebitcam20220124-0004') ) MakePopupVideo( "https://streamable.com/e/ts0tou", "My arrest video - Part 4 (2022.01.24)" );
if( evt.target.classList.contains('bandicam20230416-0001') ) MakePopupVideo( "https://streamable.com/e/edeyov", "Video of me (2023.04.16)" );
if( evt.target.classList.contains('bandicam20230418-0001') ) MakePopupVideo( "https://streamable.com/e/hnmsyz", "Video of me (2023.04.18)" );
if( evt.target.classList.contains('photo20230421-0001') ) displayPopupPicture( "./multimedia6/IMG_20230421_143636.jpg", "I love my new key chain (2023.04.21)" );
if( evt.target.classList.contains('bandicam20230421-0001') ) MakePopupVideo( "https://streamable.com/e/8fs19a", "My reaction video to receiving my key chain (2023.04.21)" );
if( evt.target.classList.contains('bandicam20230504-0001') ) MakePopupVideo( "https://streamable.com/e/ncm6vk", "Talking to my social worker (2023.05.04)" );
if( evt.target.classList.contains('bandicam20230611-0001') ) MakePopupVideo( "https://streamable.com/e/leo2p5", "Video of me (2023.06.11)" );
if( evt.target.classList.contains('bandicam20230618-0001') ) MakePopupVideo( "https://streamable.com/e/refi7i", "Video of me (2023.06.18)" );
if( evt.target.classList.contains('bandicam20230622-0001') ) MakePopupVideo( "https://streamable.com/e/xc1auv", "Video of me (2023.06.22)" );
if( evt.target.classList.contains('photo20230622-0001') ) displayPopupPicture( "./multimedia7/IQTest.png", "My IQ — one time test (2023.06.22)" ); // Modified 2024-10-13
if( evt.target.classList.contains('bandicam20230625-0001') ) MakePopupVideo( "https://streamable.com/e/y364v0", "Video of me (2023.06.25)" );
if( evt.target.classList.contains('bandicam20230701-0001') ) MakePopupVideo( "https://streamable.com/e/y7z9te", "Video of me watching TV on July 1 (2023.07.01)" );
if( evt.target.classList.contains('mylogo20230704-0001') ) displayPopupPicture( "./images/favicon.png", "My logo (released 2023.07.04)" );
if( evt.target.classList.contains('bandicam20230707-0001') ) MakePopupVideo( "https://streamable.com/e/2hwk8c", "My reaction video to Princess Kate meets Paul McCartney (2023.07.07)" );
if( evt.target.classList.contains('bandicam20230707-0002') ) MakePopupVideo( "https://streamable.com/e/2sz5pi", "Video of me speaking (2023.07.07)" );
if( evt.target.classList.contains('bandicam20230708-0001') ) MakePopupVideo( "https://streamable.com/e/qu0n8m", "My reaction video to TWICE (2023.07.08)" );
if( evt.target.classList.contains('photo20230709-0001') ) displayPopupPicture( "./multimedia7/screenshot_20200930_105745.jpg", "My litigating video was remade" );
if( evt.target.classList.contains('video20230713-0001') ) MakePopupVideo( "https://streamable.com/e/qlryg7", "Our hostel washroom" );
if( evt.target.classList.contains('bandicam20230713-0001') ) MakePopupVideo( "https://streamable.com/e/fe2m98", "Video of me speaking (2023.07.13)" );
if( evt.target.classList.contains('photo20230714-0001') ) displayPopupPicture( "./multimedia7/IMG_20230708_215015.jpg", "Bowling activity organised by my hostel (2023.07.15)" );
if( evt.target.classList.contains('photo20230716-0001') ) displayPopupPicture( "./multimedia7/Screenshot_20230715_110354_LinkedIn.jpg", "The HKSAR Government searched me on the LinkedIn jobsite" );
if( evt.target.classList.contains('bandicam20230716-0001') ) MakePopupVideo( "https://streamable.com/e/9dmc05", "Video of me speaking (2023.07.16)" );
if( evt.target.classList.contains('bandicam20230720-0001') ) MakePopupVideo( "https://streamable.com/e/k2nm8b", "Video of me speaking (2023.07.20)" );
if( evt.target.classList.contains('reolink20230726-0001') ) MakePopupVideo( "https://streamable.com/e/m6nfcv", "Video of me eating and drinking (2023.07.26)" );
if( evt.target.classList.contains('meta_threads_twitter_brandlogos20230727-0001') ) displayPopupPicture( "./multimedia7/meta_threads_twitter_brandlogos.png", "Meta, Threads, Twitter (2023.07.27)" ); // Modified 2024-10-13
if( evt.target.classList.contains('bandicam20230728-0001') ) MakePopupVideo( "https://streamable.com/e/vzcjvu", "My reaction video to Stephen Curry eating spicy wings (2023.07.28)" );
if( evt.target.classList.contains('bandicam20230731-0001') ) MakePopupVideo( "https://streamable.com/e/wfna8b", "My reaction video to Tamiya's brand new RC Car (2023.07.31)" );
if( evt.target.classList.contains('bandicam20230803-0001') ) MakePopupVideo( "https://streamable.com/e/noqpeq", "My reaction video to Hong Kong's three stars interview (2023.08.03)" );
if( evt.target.classList.contains('bandicam20230804-0001') ) MakePopupVideo( "https://streamable.com/e/qnckk3", "My reaction video to Paul McCartney's Australian interview (2023.08.04)" );
if( evt.target.classList.contains('bandicam20230805-0001') ) MakePopupVideo( "https://streamable.com/e/k6196f", "Video of me (2023.08.05)" );
if( evt.target.classList.contains('bandicam20230806-0001') ) MakePopupVideo( "https://streamable.com/e/64pftm", "Video of me speaking (2023.08.06)" );
if( evt.target.classList.contains('apowersoft20230809-0001') ) MakePopupVideo( "https://streamable.com/e/mo46yn", "Video of me speaking (2023.08.09)" );
if( evt.target.classList.contains('apowersoft20230810-0001') ) MakePopupVideo( "https://streamable.com/e/pkko23", "Video of me speaking (2023.08.10)" );
if( evt.target.classList.contains('bandicam20230811-0001') ) MakePopupVideo( "https://streamable.com/e/5rx46x", "Video of me speaking (2023.08.11)" );
if( evt.target.classList.contains('bandicam20230812-0001') ) MakePopupVideo( "https://streamable.com/e/18o1c8", "Video of me speaking - My reaction video to The Weeknd & Ariana Grande — Save Your Tears (Live on The 2021 iHeart Radio Music Awards)" );
if( evt.target.classList.contains('bandicam20230814-0001') ) MakePopupVideo( "https://streamable.com/e/xblgzz", "Video of me speaking - Q & A Game (2023.08.14)" );
if( evt.target.classList.contains('bandicam20230821-0001') ) MakePopupVideo( "https://streamable.com/e/2yh0sp", "Video of me trying on my new shorts (2023.08.21)" );
if( evt.target.classList.contains('bandicam20230822-0001') ) MakePopupVideo( "https://streamable.com/e/adpys5", "My reaction video to Sony Ad (2023.08.22)" );
if( evt.target.classList.contains('bandicam20230909-0001') ) MakePopupVideo( "https://streamable.com/e/xsqadw", "Video of me in my new Tank Top (2023.09.09)" );
if( evt.target.classList.contains('bandicam20230909-0002') ) MakePopupVideo( "https://streamable.com/e/uqja18", "My reaction video to unboxing of Sony ZV-1F Camera (2023.09.09)" );
if( evt.target.classList.contains('bandicam20230912-0001') ) MakePopupVideo( "https://streamable.com/e/td79k9", "Finally discovered how to record restricted content (2023.09.12)" );
if( evt.target.classList.contains('bandicam20230916-0001') ) MakePopupVideo( "https://streamable.com/e/a5tmxm", "My reaction video to Hot Toys Robocop 3 Special Edition Figure Unboxing (2023.09.16)" );
if( evt.target.classList.contains('bandicam20230919-0001') ) MakePopupVideo( "https://streamable.com/e/yim4id", "My reaction video to SEJEONG also raps in King of Masked Singer (2023.09.19)" );
if( evt.target.classList.contains('bandicam20231022-0001') ) MakePopupVideo( "https://streamable.com/e/7rz6wk", "My reaction video to The Do Show (2023.10.22)" );
if( evt.target.classList.contains('bandicam20231102-0001') ) MakePopupVideo( "https://streamable.com/e/j2gc09", "My reaction video to Instagram - Now and then Celebs (2023.11.02)" );
if( evt.target.classList.contains('bandicam20231127-0001') ) MakePopupVideo( "https://streamable.com/e/gbn5oh", "Watch me finish the Burnout game (2023.11.27)" );
if( evt.target.classList.contains('bandicam20231204-0001') ) MakePopupVideo( "https://streamable.com/e/dz956b", "My reaction video to TWICE (2023.12.04)" );
if( evt.target.classList.contains('bandicam20231012-0001') ) MakePopupVideo( "https://streamable.com/e/f9nyve", "Watch my teaching job application video (2023.10.12)" );
if( evt.target.classList.contains('bandicam20231224-0001') ) MakePopupVideo( "https://streamable.com/e/u69tx3", "Watch me play Galaga (2023.12.24)", false, 0.3 );
if( evt.target.classList.contains('bandicam20231226-0001') ) MakePopupVideo( "https://streamable.com/e/lpdhmh", "Video of me (2023.12.26)", false, 0.3 );
if( evt.target.classList.contains('bandicam20231226-0002') ) MakePopupVideo( "https://streamable.com/e/q4su95", "Video of me (2023.12.26)", false, 0.3 );
if( evt.target.classList.contains('video20231227-0001') ) MakePopupVideo( "https://streamable.com/e/ojuz3y", "This is my fish tank (2023.12.27)", true );
if( evt.target.classList.contains('bandicam20231231-0001') ) MakePopupVideo( "https://streamable.com/e/iv6w0v", "Video of me (2023.12.31)", false, 0.5 );
if( evt.target.classList.contains('bandicam20231231-0002') ) MakePopupVideo( "https://streamable.com/e/v2iir9", "My reaction video to Jolin Tsai (2023.12.31)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240101-0001') ) MakePopupVideo( "https://streamable.com/e/qlaxgv", "President Xi Jinping delivers 2024 New Year address (2024.01.01)", false, 0.3 );
if( evt.target.classList.contains('bandicam20240104-0001') ) MakePopupVideo( "https://streamable.com/e/y7stxl", "Video of me by my new webcam (2024.01.04)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240108-0001') ) MakePopupVideo( "https://streamable.com/e/65unyx", "My reaction video to Entertainment News (2024.01.08)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240111-0001') ) MakePopupVideo( "https://streamable.com/e/wbpye7", "My reaction video to a screen kiss (2024.01.11)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240114-0001') ) MakePopupVideo( "https://streamable.com/e/umeu0m", "Video of me (2024.01.14)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240114-0002') ) MakePopupVideo( "https://streamable.com/e/uzji99", "My reaction video to TV Awards Presentation 2023 (2024.01.14)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240115-0001') ) MakePopupVideo( "https://streamable.com/e/noqojm", "My reaction video to Barbie (2024.01.15)" );
if( evt.target.classList.contains('bandicam20240121-0001') ) MakePopupVideo( "https://streamable.com/e/xzsjii", "Video of me (2024.01.21)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240122-0001') ) MakePopupVideo( "https://streamable.com/e/knmndt", "My reaction video to I Did It My Way cast interview (2024.01.22)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240122-0002') ) MakePopupVideo( "https://streamable.com/e/w4gocb", "My reaction video to Takuya Kimura (2024.01.22)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240124-0001') ) MakePopupVideo( "https://streamable.com/e/6sfx30", "Video of me (2024.01.24)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240126-0001') ) MakePopupVideo( "https://streamable.com/e/po36fc", "My reaction video to Entertainment News (2024.01.26)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240201-0001') ) MakePopupVideo( "https://streamable.com/e/n7s396", "My reaction video to Kathryn Newton (2024.02.01)" );
if( evt.target.classList.contains('bandicam20240201-0002') ) MakePopupVideo( "https://streamable.com/e/yljdzy", "My reaction video to Arnold Schwarzenegger (2024.02.01)" );
if( evt.target.classList.contains('bandicam20240202-0001') ) MakePopupVideo( "https://streamable.com/e/9miimy", "Video of me (2024.02.02)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240207-0001') ) MakePopupVideo( "https://streamable.com/e/2q0b44", "Video of me assembling the IKEA MATCHSPEL gaming chair (2024.02.07)" );
if( evt.target.classList.contains('bandicam20240210-0001') ) MakePopupVideo( "https://streamable.com/e/t7o7dp", "Video of me (2024.02.10)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240217-0001') ) MakePopupVideo( "https://streamable.com/e/a16tby", "Video of me (2024.02.17)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240221-0001') ) MakePopupVideo( "https://streamable.com/e/26epa8", "Video of me (2024.02.21)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240224-0001') ) MakePopupVideo( "https://streamable.com/e/1ihfo7", "My reaction video to Entertainment News (2024.02.24)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240224-0002') ) MakePopupVideo( "https://streamable.com/e/p5jc11", "Video of me (2024.02.24)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240224-0003') ) MakePopupVideo( "https://streamable.com/e/kximcz", "Video of me (2024.02.24)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240229-0001') ) MakePopupVideo( "https://streamable.com/e/3th1d9", "Video of me (2024.02.29)" );
if( evt.target.classList.contains('bandicam20240306-0001') ) MakePopupVideo( "https://streamable.com/e/bw50w1", "My reaction video to Entertainment News (2024.03.06)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240331-0001') ) MakePopupVideo( "https://streamable.com/e/43gecd", "Video of me (2024.03.31)" );
if( evt.target.classList.contains('bandicam20240403-0001') ) MakePopupVideo( "https://streamable.com/e/nr5dgq", "Video of me speaking (2024.04.03)" );
if( evt.target.classList.contains('bandicam20240408-0001') ) MakePopupVideo( "https://streamable.com/e/7smus8", "Watch my job interview (2024.04.08)" );
if( evt.target.classList.contains('bandicam20240416-0001') ) MakePopupVideo( "https://streamable.com/e/z42xox", "Video of me (2024.04.16)" );
if( evt.target.classList.contains('bandicam20240417-0001') ) MakePopupVideo( "https://streamable.com/e/mm5aba", "My reaction video to Dream Home (2024.04.17)" );
if( evt.target.classList.contains('bandicam20240423-0001') ) MakePopupVideo( "https://streamable.com/e/m0hv28", "My reaction video to Entertainment News (2024.04.23)" );
if( evt.target.classList.contains('bandicam20240425-0001') ) MakePopupVideo( "https://streamable.com/e/ntmpi0", "My reaction video to The Tonight Show Starring Jimmy Fallon (2024.04.25)" );
if( evt.target.classList.contains('bandicam20240429-0001') ) MakePopupVideo( "https://streamable.com/e/36f5yg", "My reaction video to Entertainment News (2024.04.29)" );
if( evt.target.classList.contains('bandicam20240429-0002') ) MakePopupVideo( "https://streamable.com/e/0kp3nj", "My reaction video to Big City Shop (2024.04.29)" );
if( evt.target.classList.contains('bandicam20240505-0001') ) MakePopupVideo( "https://streamable.com/e/ssb0p6", "My reaction video to Venus Chi (2024.05.05)" );
if( evt.target.classList.contains('bandicam20240510-0001') ) MakePopupVideo( "https://streamable.com/e/ylkbwh", "My reaction video to Ryan Gosling (2024.05.10)" );
if( evt.target.classList.contains('bandicam20240511-0001') ) MakePopupVideo( "https://streamable.com/e/hljyog", "My reaction video to Nancy Sit radio podcast (2024.05.11)" );
if( evt.target.classList.contains('bandicam20240511-0002') ) MakePopupVideo( "https://streamable.com/e/lsjmki", "Video of me (2024.05.11)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240514-0001') ) MakePopupVideo( "https://streamable.com/e/wmo32s", "My reaction video to Big City Shop (2024.05.14)" );
if( evt.target.classList.contains('bandicam20240516-0001') ) MakePopupVideo( "https://streamable.com/e/zmixkb", "My reaction video to King Charles (2024.05.16)" );
if( evt.target.classList.contains('bandicam20240520-0001') ) MakePopupVideo( "https://streamable.com/e/d0e8yn", "My reaction video to Pope Francis (2024.05.20)" );
if( evt.target.classList.contains('bandicam20240521-0001') ) MakePopupVideo( "https://streamable.com/e/nl1nyw", "My reaction video to Will Smith and Martin Lawrence (2024.05.21)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240521-0002') ) MakePopupVideo( "https://streamable.com/e/7irpri", "My reaction video to Big City Shop (2024.05.21)" );
if( evt.target.classList.contains('bandicam20240523-0001') ) MakePopupVideo( "https://streamable.com/e/g1boza", "My reaction video to Andy Lau and Gigi Yim (2024.05.23)" );
if( evt.target.classList.contains('bandicam20240524-0001') ) MakePopupVideo( "https://streamable.com/e/r0yiax", "Video of me (2024.05.24)", false, 0.5 );
if( evt.target.classList.contains('bandicam20240525-0001') ) MakePopupVideo( "https://streamable.com/e/hpo134", "Video of me (2024.05.25)" );
if( evt.target.classList.contains('photo20240604-0001') ) displayPopupPicture( "./multimedia10/100_0005.JPG", "Photo of me 1 (2024.06.04)" );
if( evt.target.classList.contains('photo20240604-0002') ) displayPopupPicture( "./multimedia10/100_0006.JPG", "Photo of me 2 (2024.06.04)" );
if( evt.target.classList.contains('photo20240604-0003') ) displayPopupPicture( "./multimedia10/100_0022.JPG", "Photo of me 3 (2024.06.04)" );
if( evt.target.classList.contains('photo20240608-0001') ) displayPopupPicture( "./multimedia10/Impersonator_2024-06-08.jpg", "Somebody by the name of Cheuk Ming is using YouTube and is not me (2024.06.08)" );
if( evt.target.classList.contains('photo20240618-0001') ) displayPopupPicture( "./multimedia10/100_0091.JPG", "Photo of me (2024.06.18)" );
if( evt.target.classList.contains('bandicam20240628-0001') ) MakePopupVideo( "https://streamable.com/e/qzwjbr", "Video of me (2024.06.28)" );
if( evt.target.classList.contains('photo20240714-0001') ) displayPopupPicture( "./multimedia10/DSCF75282.jpg", "I like this photo so much. It′s now yours. (2023.11.28)" ); // Modified 2024-10-18
if( evt.target.classList.contains('video20240729-0001') ) MakePopupVideo( "https://streamable.com/e/8alfhk", "When I was younger" );
if( evt.target.classList.contains('bandicam20240803-0001') ) MakePopupVideo( "https://streamable.com/e/xxt598", "Video of me speaking (2024.08.03)" );
if( evt.target.classList.contains('bandicam20240811-0001') ) MakePopupVideo( "https://streamable.com/e/y8htqf", "My reaction to the Olympics Basketball Final (2024.08.11)" );
if( evt.target.classList.contains('bandicam20240901-0001') ) MakePopupVideo( "https://streamable.com/e/u9ztar", "Video of me speaking - progress update (2024.09.01)" );
//if( evt.target.classList.contains('bandicam20240901-0001') ) MakePopupVideo( "./multimedia11/bandicam 2024-09-01 15-48-27-259.mp4", "Video of me speaking - progress update (2024.09.01)" );
if( evt.target.classList.contains('bandicam20240908-0001') ) MakePopupVideo( "https://streamable.com/e/hgn7y6", "My reaction video to Entertainment News (2024.09.08)" );
if( evt.target.classList.contains('bandicam20201118-0001') ) MakePopupVideo( "https://streamable.com/e/dtr6uh", "Payment dispute with the locksmith for an emergency lock replacement (2020.11.18)" );
if( evt.target.classList.contains('mywedding20090816-0001') ) MakePopupVideo( "https://streamable.com/e/61jx8p", "My first wedding slideshow (2009.08.16)" );
if( evt.target.classList.contains('photo20240914-0001') ) displayPopupPicture( "./multimedia11/WhatsAppImage001.jpg", "My British Born Chinese friend′s photos of her travel to Australia (2024.09.14)" );
if( evt.target.classList.contains('bandicam20240916-0001') ) MakePopupVideo( "https://streamable.com/e/zw1sz7", "My reaction video to friend′s bank account details (2024.09.16)" );
if( evt.target.classList.contains('myphotos20231217-0001') ) displayPopupPdf( "./multimedia11/photos_2023-12-17.pdf", "Christmas (2023.12.17)" );
if( evt.target.classList.contains('bandicam20220110-0003') ) MakePopupVideo( "https://streamable.com/e/cv3d1q", "My reaction video to Laurence Fishburne (The Matrix) on Friday Night With Jonathan Ross (2022.01.10)" );
if( evt.target.classList.contains('bandicam20220109-0003') ) MakePopupVideo( "https://streamable.com/e/c0h39f", "My reaction video to the game of Charade (2022.01.09)" );
if( evt.target.classList.contains('bandicam20220109-0004') ) MakePopupVideo( "https://streamable.com/e/8prqn9", "My reaction video to SEAN LENNON INTERVIEWS PAUL McCARTNEY AT LENNON 80 (2022.01.09)" );
if( evt.target.classList.contains('ebitcam20211107-0001') ) MakePopupVideo( "https://streamable.com/e/zlsgz8", "My reaction video to: Squid Game - S01E06 - Gganbu *** Spoiler Alert *** (2021.11.07)" );
if( evt.target.classList.contains('mirrorplus20211104-0001') ) MakePopupVideo( "https://streamable.com/e/3jdxv3", "Face mirror app (2021.11.04)", true );
if( evt.target.classList.contains('ebitcam20211028-0001') ) MakePopupVideo( "https://streamable.com/e/xxmg6u", "The maintenance crew finished with the inspection of my home for the source of a dripping downstairs water leak (2021.10.28)" );
if( evt.target.classList.contains('ebitcam20211024-0001') ) MakePopupVideo( "https://streamable.com/e/aqyo92", "Video of me (2021.10.24)" );
if( evt.target.classList.contains('ebitcam20211023-0001') ) MakePopupVideo( "https://streamable.com/e/ibf6l0", "Video of me (2021.10.23)" );
if( evt.target.classList.contains('ebitcam20210922-0002') ) MakePopupVideo( "https://streamable.com/e/oa62mm", "Video of me (2021.09.22)" );
if( evt.target.classList.contains('ebitcam20210920-0002') ) MakePopupVideo( "https://streamable.com/e/058p75", "Cleaning my fan efficiently (2021.09.20)" );
if( evt.target.classList.contains('ebitcam20210911-0002') ) MakePopupVideo( "https://streamable.com/e/wsgzih", "Video of me listening to music (2021.09.11)" );
if( evt.target.classList.contains('ebitcam20210902-0001') ) MakePopupVideo( "https://streamable.com/e/set4n0", "Video of me (2021.09.02)" );
if( evt.target.classList.contains('ebitcam20210903-0001') ) MakePopupVideo( "https://streamable.com/e/omc403", "Video of me (2021.09.03)" );
if( evt.target.classList.contains('ebitcam20210905-0001') ) MakePopupVideo( "https://streamable.com/e/aez0my", "Video of me (2021.09.05)" );
if( evt.target.classList.contains('ebitcam20210906-0001') ) MakePopupVideo( "https://streamable.com/e/wxiqaj", "Video of me (2021.09.06)" );
if( evt.target.classList.contains('ebitcam20210801-0001') ) MakePopupVideo( "https://streamable.com/e/vki0ze", "Olympic Men′s 100m Final (2021.08.01)" );
if( evt.target.classList.contains('ebitcam20210706-0001') ) MakePopupVideo( "https://streamable.com/e/haixyh", "Surveillance video of me coming home (2021.07.06)" );
if( evt.target.classList.contains('ebitcam20210724-0001') ) MakePopupVideo( "https://streamable.com/e/woao06", "Watching the Olympic Men′s Cycling Road Race finishing (2021.07.24)" );
if( evt.target.classList.contains('ebitcam20210729-0001') ) MakePopupVideo( "https://streamable.com/e/ncocb8", "Watching the Olympic Table Tennis Women′s Singles Bronze Medal Match (2021.07.29)" );
if( evt.target.classList.contains('chess20180808-0001') ) MakePopupVideo( "https://streamable.com/e/kwsyfg", "My Chess game (2018.08.08)" );
if( evt.target.classList.contains('chess20210224-0001') ) MakePopupVideo( "https://streamable.com/e/5cxuno", "My Chess game (2021.02.24)" );
if( evt.target.classList.contains('ebitcam20210916-0002') ) MakePopupVideo( "https://streamable.com/e/6entvs", "Long video of me (2021.09.16)" );
if( evt.target.classList.contains('desktop20190630-0001') ) MakePopupVideo( "https://streamable.com/e/rqfzag", "Desktop (2019.06.30)", true );
if( evt.target.classList.contains('desktop20210831-0001') ) MakePopupVideo( "https://streamable.com/e/r7kbbn", "6th Desktop (2021.08.31)", true );
if( evt.target.classList.contains('desktop20210831-0002') ) MakePopupVideo( "https://streamable.com/e/kyvo5d", "7th Desktop (2021.08.31)", true );
if( evt.target.classList.contains('desktop20210902-0001') ) MakePopupVideo( "https://streamable.com/e/4suzxr", "Desktop (2021.09.02)", true );
if( evt.target.classList.contains('desktop20210908-0001') ) MakePopupVideo( "https://streamable.com/e/x7vvqk", "Desktop (2021.09.08)", true );
if( evt.target.classList.contains('desktop20210919-0001') ) MakePopupVideo( "https://streamable.com/e/364yro", "8th Desktop (2021.09.19)", true );
if( evt.target.classList.contains('desktop20210921-0001') ) MakePopupVideo( "https://streamable.com/e/g86ecd", "Desktop (2021.09.21)", true );
if( evt.target.classList.contains('desktop20210930-0001') ) MakePopupVideo( "https://streamable.com/e/qpwk9y", "Desktop (2021.09.30)", true );
if( evt.target.classList.contains('document20210707-0001') ) MakePopupVideo( "https://streamable.com/e/0lq94e", "My academic qualifications (2021.07.07)" );
if( evt.target.classList.contains('document20210708-0001') ) MakePopupVideo( "https://streamable.com/e/qljf6f", "My employment history (2021.07.08)" );
if( evt.target.classList.contains('document20210708-0002') ) MakePopupVideo( "https://streamable.com/e/nuhgd0", "My passport (2021.07.08)" );
//if( evt.target.classList.contains('bandicam20241010-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-10-10 16-41-04-320.mp4", "My reaction video to Harrison Ford and Henry Winkler interviews (2024.10.10)" );
if( evt.target.classList.contains('bandicam20241010-0001') ) MakePopupVideo( "https://streamable.com/e/5zrqs1", "My reaction video to Harrison Ford and Henry Winkler interviews (2024.10.10)" );
if( evt.target.classList.contains('photo20211028-0001') ) displayPopupPicture( "./multimedia2/IMG_20211028_074947-enhanced-cropped-removebg-0002.jpg", "Selfie with a new background (2021.10.28)" );
//if( evt.target.classList.contains('mycam20200519-0001') ) MakePopupVideo( "./multimedia12/200519-104845.mp4", "Video of my shaving (2020.05.19)" );
if( evt.target.classList.contains('mycam20200519-0001') ) MakePopupVideo( "https://streamable.com/e/65ga0m", "Video of me shaving (2020.05.19)" );
if( evt.target.classList.contains('myselfie20200616-0001') ) displayPopupPicture( "./multimedia12/IMG_20200616_160112345.jpg", "Selfie (2020.06.16)" );
if( evt.target.classList.contains('mytest20200712-0001') ) displayPopupPicture( "./multimedia12/english-grammer-test-38-out-of-40(2020-07-12).png", "I took the Oxford Online English Grammar Test and scored 38 out of 40 (2020.07.12)" );
//if( evt.target.classList.contains('bandicam20241020-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-10-20 22-44-40-572.mp4", "Video of me speaking - update since leaving the Halfway House (2024.10.20)" );
if( evt.target.classList.contains('bandicam20241020-0001') ) MakePopupVideo( "https://streamable.com/e/0xzh9u", "My update since leaving the Halfway House (2024.10.20)" );
if( evt.target.classList.contains('photo20241022-0001') ) displayPopupPicture( "./multimedia12/WhatsApp Image 2024-10-22 at 18.29.57_5a70d478.jpg", "Photo of me (2024.10.22)" );
if( evt.target.classList.contains('photo20241026-0001') ) displayPopupPicture( "./multimedia12/100_0144.JPG", "Photo of me (2024.10.26)" );
if( evt.target.classList.contains('photo20241029-0001') ) displayPopupPicture( "./multimedia12/100_0147.JPG", "Photo of me (2024.10.29)" );
if( evt.target.classList.contains('myphotos20241101-0001') ) displayPopupPdf( "./multimedia12/photos_2024-11-01.pdf", "Central (2024.11.01)" );
if( evt.target.classList.contains('myphotos20241102-0001') ) displayPopupPdf( "./multimedia12/photos0001_2024-11-02.pdf", "Wan Chai Temporary Promenade 1/2 (2024.11.02)" );
if( evt.target.classList.contains('myphotos20241102-0002') ) displayPopupPdf( "./multimedia12/photos0002_2024-11-02.pdf", "Wan Chai Temporary Promenade 2/2 (2024.11.02)" );
//if( evt.target.classList.contains('bandicam20241107-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-07 19-56-46-837.mp4", "TVB persuades Hawker to sell at discount and then turns on her (2024.11.07)" );
if( evt.target.classList.contains('bandicam20241107-0001') ) MakePopupVideo( "https://streamable.com/e/0p2kc7", "TVB persuades Hawker to sell at discount and then turns on her (2024.11.07)" );
//if( evt.target.classList.contains('bandicam20241112-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-12 11-33-44-385.mp4", "I was almost able to record the radio′s innappropriate behaviour when they saw me and changed their rhetoric (2024.11.12)" );
if( evt.target.classList.contains('bandicam20241112-0001') ) MakePopupVideo( "https://streamable.com/e/pmyefn", "I was almost able to record the radio′s innappropriate behaviour when they saw me and changed their rhetoric (2024.11.12)" );
//if( evt.target.classList.contains('bandicam20241113-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-13 03-52-30-156.mp4", "What′s on my Instagram Reel today (2024.11.13)" );
if( evt.target.classList.contains('bandicam20241113-0001') ) MakePopupVideo( "https://streamable.com/e/jb8tq5", "What′s on my Instagram Reel today (2024.11.13)" );
//if( evt.target.classList.contains('bandicam20241116-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-16 03-45-37-132.mp4", "What′s on my Instagram Reel today (2024.11.16)" );
if( evt.target.classList.contains('bandicam20241116-0001') ) MakePopupVideo( "https://streamable.com/e/myl84o", "What′s on my Instagram Reel today (2024.11.16)" );
//if( evt.target.classList.contains('bandicam20241117-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-17 09-31-40-990.mp4", "What′s on my Instagram Reel today (2024.11.17)" );
if( evt.target.classList.contains('bandicam20241117-0001') ) MakePopupVideo( "https://streamable.com/e/1eaha1", "What′s on my Instagram Reel today (2024.11.17)" );
//if( evt.target.classList.contains('bandicam20241118-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-18 03-14-26-163.mp4", "What′s on my Instagram Reel today (2024.11.18)" );
if( evt.target.classList.contains('bandicam20241118-0001') ) MakePopupVideo( "https://streamable.com/e/hl5i7h", "What′s on my Instagram Reel today (2024.11.18)" );
//if( evt.target.classList.contains('bandicam20241118-0002') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-18 20-48-30-320.mp4", "What′s on my Instagram Reel today 2 (2024.11.18)" );
if( evt.target.classList.contains('bandicam20241118-0002') ) MakePopupVideo( "https://streamable.com/e/17lrah", "What′s on my Instagram Reel today 2 (2024.11.18)" );
//if( evt.target.classList.contains('bandicam20241119-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-19 03-05-02-353.mp4", "What′s on my Instagram Reel today (2024.11.19)" );
if( evt.target.classList.contains('bandicam20241119-0001') ) MakePopupVideo( "https://streamable.com/e/qr6wi6", "What′s on my Instagram Reel today (2024.11.19)" );
//if( evt.target.classList.contains('bandicam20241120-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-20 05-59-45-003.mp4", "Video of me (2024.11.20)" );
if( evt.target.classList.contains('bandicam20241120-0001') ) MakePopupVideo( "https://streamable.com/e/nfuqt3", "Video of me (2024.11.20)" );
//if( evt.target.classList.contains('bandicam20241120-0002') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-20 10-17-17-508.mp4", "Video of me 2 (2024.11.20)" );
if( evt.target.classList.contains('bandicam20241120-0002') ) MakePopupVideo( "https://streamable.com/e/oae3af", "Video of me 2 (2024.11.20)" );
if( evt.target.classList.contains('photo20210819-0001') ) displayPopupPicture( "./multimedia12/page-1.png", "My business card front (2021.08.19)" );
if( evt.target.classList.contains('photo20210819-0002') ) displayPopupPicture( "./multimedia12/page-2.png", "My business card back (2021.08.19)" );
//if( evt.target.classList.contains('bandicam20241120-0003') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-20 22-56-17-413.mp4", "My reaction video to Entertainment News (2024.11.20)" );
if( evt.target.classList.contains('bandicam20241120-0003') ) MakePopupVideo( "https://streamable.com/e/4928x7", "My reaction video to Entertainment News (2024.11.20)" );
//if( evt.target.classList.contains('bandicam20241121-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-21 01-52-28-108.mp4", "What′s on my Instagram Reel today (2024.11.21)" );
if( evt.target.classList.contains('bandicam20241121-0001') ) MakePopupVideo( "https://streamable.com/e/cple55", "What′s on my Instagram Reel today (2024.11.21)" );
//if( evt.target.classList.contains('snapio20241121-0001') ) MakePopupVideo( "./multimedia12/snapio.mp4", "Snapio (2024.11.21)", true );
if( evt.target.classList.contains('snapio20241121-0001') ) MakePopupVideo( "https://streamable.com/e/aqpcyv", "Snapio (2024.11.21)", true );
//if( evt.target.classList.contains('bandicam20241122-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-22 01-45-37-258.mp4", "My reaction video to Star Wars Fan Site Roundtable (2024.11.22)" );
if( evt.target.classList.contains('bandicam20241122-0001') ) MakePopupVideo( "https://streamable.com/e/87rdgp", "My reaction video to Star Wars Fan Site Roundtable (2024.11.22)" );
if( evt.target.classList.contains('photo20241122-0001') ) displayPopupPicture( "./multimedia12/IMG_20241122_092840.jpg", "Photo of me (2024.11.22)" );
if( evt.target.classList.contains('photo20241122-0002') ) displayPopupPicture( "./multimedia12/Screenshot_20241122_145952_Simplenote.jpg", "Screenshot (2024.11.22)" );
//if( evt.target.classList.contains('bandicam20241123-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-23 02-18-00-640.mp4", "My reaction video to Janice Vidal (2024.11.23)" );
if( evt.target.classList.contains('bandicam20241123-0001') ) MakePopupVideo( "https://streamable.com/e/43xz8p", "My reaction video to Janice Vidal (2024.11.23)" );
//if( evt.target.classList.contains('bandicam20241123-0002') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-23 02-58-02-886.mp4", "What′s on my Instagram Reel today (2024.11.23)" );
if( evt.target.classList.contains('bandicam20241123-0002') ) MakePopupVideo( "https://streamable.com/e/bvqyyd", "What′s on my Instagram Reel today (2024.11.23)" );
//if( evt.target.classList.contains('bandicam20241123-0003') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-23 04-54-12-359.mp4", "My reaction video to Squid Game (2024.11.23)" );
if( evt.target.classList.contains('bandicam20241123-0003') ) MakePopupVideo( "https://streamable.com/e/o238s7", "My reaction video to Squid Game (2024.11.23)" );
//if( evt.target.classList.contains('bandicam20241123-0004') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-23 06-29-22-693.mp4", "I woke up to this new song for me (2024.11.23)" );
if( evt.target.classList.contains('bandicam20241123-0004') ) MakePopupVideo( "https://streamable.com/e/hdtd75", "I woke up to this new song for me (2024.11.23)" );
if( evt.target.classList.contains('myphotos20241123-0001') ) displayPopupPdf( "./multimedia12/photos_2024-11-23.pdf", "Kai Tak (2024.11.23)" );
//if( evt.target.classList.contains('bandicam20241123-0005') ) MakePopupVideo( "./multimedia12/1123(3).mp4", "My Reel (2024.11.23)", true );
if( evt.target.classList.contains('bandicam20241123-0005') ) MakePopupVideo( "https://streamable.com/e/9w6pf0", "My Reel (2024.11.23)", true );
//if( evt.target.classList.contains('bandicam20241123-0006') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-23 20-30-49-729.mp4", "Completing my Resident Contact form (2024.11.23)" );
if( evt.target.classList.contains('bandicam20241123-0006') ) MakePopupVideo( "https://streamable.com/e/n3rry3", "Completing my Resident Contact form (2024.11.23)" );
//if( evt.target.classList.contains('bandicam20241123-0007') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-23 22-31-34-504.mp4", "My reaction video to Entertainment News (2024.11.23)" );
if( evt.target.classList.contains('bandicam20241123-0007') ) MakePopupVideo( "https://streamable.com/e/nsyr6c", "My reaction video to Entertainment News (2024.11.23)" );
//if( evt.target.classList.contains('bandicam20241123-0008') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-23 23-14-53-421.mp4", "Quest to find optimum.222 (2024.11.23)" );
if( evt.target.classList.contains('bandicam20241123-0008') ) MakePopupVideo( "https://streamable.com/e/99mgo6", "Quest to find optimum.222 (2024.11.23)" );
//if( evt.target.classList.contains('bandicam20241124-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-24 06-12-11-158.mp4", "What I woke up to today (2024.11.24)" );
if( evt.target.classList.contains('bandicam20241124-0001') ) MakePopupVideo( "https://streamable.com/e/2w071f", "What I woke up to today (2024.11.24)" );
//if( evt.target.classList.contains('bandicam20241124-0002') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-24 09-40-04-517.mp4", "Woke mess (2024.11.24)" );
if( evt.target.classList.contains('bandicam20241124-0002') ) MakePopupVideo( "https://streamable.com/e/yn6tng", "Woke mess (2024.11.24)" );
if( evt.target.classList.contains('photo20241124-0001') ) displayPopupPicture( "./multimedia12/IMG_20241124_140925.jpg", "Photo of somebody walking (2024.11.24)" );
//if( evt.target.classList.contains('bandicam20241124-0003') ) displayPopupPicture( "./multimedia12/bandicam 2024-11-24 19-21-56-693.mp4", "Video of me speaking (2024.11.24)" );
if( evt.target.classList.contains('bandicam20241124-0003') ) MakePopupVideo( "https://streamable.com/e/uc26ic", "Video of me speaking (2024.11.24)" );
//if( evt.target.classList.contains('bandicam20241125-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-25 00-00-26-590.mp4", "What′s on my Instagram Reel today (2024.11.25)" );
if( evt.target.classList.contains('bandicam20241125-0001') ) MakePopupVideo( "https://streamable.com/e/7xn7bu", "What′s on my Instagram Reel today (2024.11.25)" );
//if( evt.target.classList.contains('bandicam20241125-0002') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-25 03-05-58-400.mp4", "What′s on my Instagram Reel today 2 (2024.11.25)" );
if( evt.target.classList.contains('bandicam20241125-0002') ) MakePopupVideo( "https://streamable.com/e/lvuwyp", "What′s on my Instagram Reel today 2 (2024.11.25)" );
//if( evt.target.classList.contains('bandicam20241125-0003') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-25 07-00-51-854.mp4", "Listening to BBC World Service (2024.11.25)" );
if( evt.target.classList.contains('bandicam20241125-0003') ) MakePopupVideo( "https://streamable.com/e/8wg2tj", "Listening to BBC World Service (2024.11.25)" );
if( evt.target.classList.contains('children20241125-0001') ) displayPopupPdf( "./multimedia12/Speech by DCS at Save the Children Hong Kong 15th Anniversary Dinner (English only) (with photos).pdf", "Speech by DCS at Save the Children Hong Kong′s 15th Anniversary Dinner (English only) (with photos) (2024.11.25)" );
if( evt.target.classList.contains('photo20241125-0001') ) displayPopupPicture( "./multimedia12/IMG_20241125_093824.jpg", "Photo of me (2024.11.25)" );
if( evt.target.classList.contains('photo20241125-0002') ) displayPopupPicture( "./multimedia12/IMG_20241125_094738.jpg", "Photo of me (2024.11.25)" );
if( evt.target.classList.contains('photo20241125-0003') ) displayPopupPicture( "./multimedia12/IMG_20241125_173258.jpg", "Photo of me (2024.11.25)" );
//if( evt.target.classList.contains('bandicam20241125-0004') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-25 21-59-42-987.mp4", "My video reaction to an incredible day (2024.11.25)" );
if( evt.target.classList.contains('bandicam20241125-0004') ) MakePopupVideo( "https://streamable.com/e/p2voe8", "My video reaction to an incredible day (2024.11.25)" );
if( evt.target.classList.contains('photo20241126-0001') ) displayPopupPicture( "./multimedia12/IMG_20241126_025805.jpg", "Photo of my ankle (2024.11.26)" );
if( evt.target.classList.contains('photo20241126-0002') ) displayPopupPicture( "./multimedia12/IMG_20241126_025932.jpg", "Photo of my ankle (2024.11.26)" );
if( evt.target.classList.contains('photo20241126-0003') ) displayPopupPicture( "./multimedia12/IMG_20241126_152736.jpg", "Photo of me (2024.11.26)" );
if( evt.target.classList.contains('bandicam20241127-0001') ) MakePopupVideo( "https://streamable.com/e/jg1fuz", "Matched with my dating hopeful (2024.11.27)" );
//if( evt.target.classList.contains('bandicam20241127-0002') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-27 02-16-57-186.mp4", "What′s on my Instagram Reel today (2024.11.27)" );
if( evt.target.classList.contains('bandicam20241127-0002') ) MakePopupVideo( "https://streamable.com/e/ubnrxj", "What′s on my Instagram Reel today (2024.11.27)" );
//if( evt.target.classList.contains('bandicam20241127-0003') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-27 03-15-42-367.mp4", "What′s on my Instagram Reel today 2 (2024.11.27)" );
if( evt.target.classList.contains('bandicam20241127-0003') ) MakePopupVideo( "https://streamable.com/e/6x7mgx", "What′s on my Instagram Reel today 2 (2024.11.27)" );
//if( evt.target.classList.contains('bandicam20241127-0004') ) MakePopupVideo( "./multimedia12/1127 (1).mp4", "Writing to my date (2024.11.27)" );
if( evt.target.classList.contains('bandicam20241127-0004') ) MakePopupVideo( "https://streamable.com/e/a3n7xg", "Writing to my date (2024.11.27)" );
//if( evt.target.classList.contains('bandicam20241128-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-28 03-29-07-486.mp4", "What′s on my Instagram Reel today (2024.11.28)" );
if( evt.target.classList.contains('bandicam20241128-0001') ) MakePopupVideo( "https://streamable.com/e/nl3asv", "What′s on my Instagram Reel today (2024.11.28)" );
if( evt.target.classList.contains('photo20241128-0001') ) displayPopupPicture( "./multimedia12/IMG_20241128_115604.jpg", "Photo of me (2024.11.28)" );
if( evt.target.classList.contains('photo20241128-0002') ) displayPopupPicture( "./multimedia12/IMG_20241128_185535.jpg", "Photo of me (2024.11.28)" );
//if( evt.target.classList.contains('bandicam20241129-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-29 01-06-44-348.mp4", "What′s on my Facebook Feed today (2024.11.29)" );
if( evt.target.classList.contains('bandicam20241129-0001') ) MakePopupVideo( "https://streamable.com/e/m3wucf", "What′s on my Facebook Feed today (2024.11.29)" );
//if( evt.target.classList.contains('bandicam20241129-0002') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-29 02-20-36-385.mp4", "What′s on my Instagram Reel today (2024.11.29)" );
if( evt.target.classList.contains('bandicam20241129-0002') ) MakePopupVideo( "https://streamable.com/e/bmjswg", "What′s on my Instagram Reel today (2024.11.29)" );
//if( evt.target.classList.contains('bandicam20241129-0003') ) MakePopupVideo( "./multimedia12/bandicam 2024-11-29 04-12-05-731.mp4", "What′s on my Facebook Feed today 2 (2024.11.29)" );
if( evt.target.classList.contains('bandicam20241129-0003') ) MakePopupVideo( "https://streamable.com/e/n52mes", "What′s on my Facebook Feed today 2 (2024.11.29)" );
if( evt.target.classList.contains('photo20241129-0001') ) displayPopupPicture( "./multimedia12/IMG_20241129_090829.jpg", "Photo of me (2024.11.29)" );
if( evt.target.classList.contains('photo20241129-0002') ) displayPopupPicture( "./multimedia12/IMG_20241129_092052.jpg", "Photo of me (2024.11.29)" );
if( evt.target.classList.contains('photo20241129-0003') ) displayPopupPicture( "./multimedia12/IMG_20241129_105522.jpg", "Photo of me (2024.11.29)" );
if( evt.target.classList.contains('photo20241129-0004') ) displayPopupPicture( "./multimedia12/IMG_20241129_162332.jpg", "Photo of me (2024.11.29)" );
if( evt.target.classList.contains('photo20241129-0005') ) displayPopupPicture( "./multimedia12/IMG_20241129_175512.jpg", "Photo of me (2024.11.29)" );
//if( evt.target.classList.contains('bandicam20241129-0004') ) displayPopupPicture( "./multimedia12/bandicam 2024-11-29 23-12-37-016.mp4", "Video of me speaking (2024.11.29)" );
if( evt.target.classList.contains('bandicam20241129-0004') ) MakePopupVideo( "https://streamable.com/e/ldd1lx", "Video of me speaking (2024.11.29)" );
//if( evt.target.classList.contains('bandicam20241201-0001') ) MakePopupVideo( "./multimedia12/bandicam 2024-12-01 00-55-37-923.mp4", "Radio caller gets no airtime (2024.12.01)" );
if( evt.target.classList.contains('bandicam20241201-0001') ) MakePopupVideo( "https://streamable.com/e/hbc4re", "Radio caller gets no airtime (2024.12.01)" );
if( evt.target.classList.contains('photo20211126-0001') ) displayPopupPicture( "./multimedia12/20241201_101228.jpg", "Photo of me (2021.11.26)" );
if( evt.target.classList.contains('photo20241201-0001') ) displayPopupPicture( "./multimedia12/Snapchat for Web 2024-12-1-0001.jpg", "Photo of me (2024.12.01)" );
}, false);
function doesExist(source, filter)
{
var sourceString = source;
var filterArray = filter.split(",");
var match = false, extension = "";
for(i=0; iA.label:link, A.label:visited{font-family:initial; font-size:10vmax; text-decoration:none; color:blue;} .label:after{font-weight:bold; content:'\u2297'; text-shadow:-2px -2px 0 white,2px -2px 0 white,-2px 2px 0 white,2px 2px 0 white;} .label:hover:after{color:#E32B2B; background-image:linear-gradient(to bottom, #52616a, #7c858e, #a8acb2, #d4d4d8, #ffffff);}
";
}
/*
function popupWindowHyperlinkMax() {
return "
";
}
*/
function popupWindowHyperlinkMax() {
return "
";
}
/*
function popupWindowHyperlinkDownload( urlToFile ) {
return "
";
}
function popupWindowHyperlinkDownload( urlToFile ) {
return "
";
}
*/
function popupWindowHyperlinkDownload( urlToFile ) {
return "
";
}
function popupWindowHyperlinkWindowOpen( urlToFile ) {
return "
";
}
function popupWindowHyperlinkClose2() {
return "
";
}
function popupWindowHyperlinkMax2() {
return "
";
}
function popupWindowHyperlinkMax3() {
return "
";
}
/*
function popupWindowHyperlinkMax4() {
return "";
}
*/
window.getZIndex = function (e) {
var z = window.getComputedStyle(e).getPropertyValue('z-index');
if (isNaN(z)) return window.getZIndex(e.parentNode);
return z;
};
function popupWindowHyperlinkMax4() {
txt = '';
return txt;
}
function goFilename( mySource, ext ) {
var sourceFileExtension = ext; // e.g. ".mp4"
var sourceFolder = "/";
var iEnd = mySource.lastIndexOf(sourceFileExtension) + sourceFileExtension.length;
var tmp = mySource.substring( 0, iEnd );
var iStart = tmp.lastIndexOf(sourceFolder) + sourceFolder.length;
var filename = tmp.substring( iStart, iEnd );
return filename;
}
function bool(v){ return v==="false" || v==="null" || v==="NaN" || v==="undefined" || v==="0" ? false : !!v; }
function generateNewWindow(mySource, myBGColour, event, myDownload) {
var OpenWindow = window.open("about:blank")
popupWindow = document.createElement ("div");
popupWindow.style.padding = "0";
popupWindow.id = "popup";
popupWindow.className = "centered";
popupWindow.style.width = "100%";
popupWindow.style.height = "100%";
popupWindow.style.zIndex = "9";
popupWindow.style.background = myBGColour;
popupWindow.style.transition=0;
OpenWindow.document.body.appendChild(popupWindow);
if( doesExist(mySource, "myPopupCompose").match ) {
/* html code */
var txt="", filename="";
txt += "";
popupWindow.innerHTML = txt;
/*
var OpenWindow = window.open("about:blank")
var text = document.createTextNode('hi');
OpenWindow.document.body.appendChild(text);
*/
//window.open("about:blank").document.body.appendChild(document.createTextNode("this is a text node"));
} else {
Swal.fire(
'Oops...',
'Error in MakePopup()',
'error'
);
//RemovePopup();
return;
}
}
function relPathToAbs(link){
let absLink = location.href.split("/");
let relLink = link;
let slashesNum = link.match(/[.]{2}\//g) ? link.match(/[.]{2}\//g).length : 0;
for(let i = 0; i < slashesNum + 1; i++){
relLink = relLink.replace("../", "");
absLink.pop();
}
absLink = absLink.join("/");
absLink += "/" + relLink;
return absLink;
}
function urlEncode(text) {
let encoded = '';
for (let char of text) {
encoded += '%' + char.charCodeAt(0).toString(16);
}
return encoded;
}
function generatePopupWindow(mySource, myBGColour, event, myDownload, myCaption) {
addClassList( "myLogoButton", "fade" );
popupWindow = document.createElement ("div");
popupWindow.style.padding = "0";
popupWindow.id = "popup";
popupWindow.className = "centered";
popupWindow.style.width = "100%";
popupWindow.style.height = "100%";
popupWindow.style.zIndex = "99";
popupWindow.style.background = "transparent";
//popupWindow.style.background = "url(./images/3dgifmaker15990.gif) no-repeat center/auto 10em, " + myBGColour;
//popupWindow.style.backgroundSize = "contain";
popupWindow.style.transition=0;
document.body.appendChild (popupWindow);
//document.addEventListener('keyup', escKeyup, true);
if( doesExist(mySource, "myPopupCompose").match ) {
/* html code */
var txt="", filename="", filetype="";
if( doesExist(mySource, ".JPG,.jpg,.png,.gif").match ) filetype="picture"; else if( doesExist(mySource, ".MP4,.mp4,.mp3").match ) filetype="other";
if( myCaption ) txt += myCaption;
txt += "";
var sourceFileExtension = ".MP4,.mp4,.mp3,.JPG,.jpg,.png,.gif";
if( filetype == "picture" ) {
filename = goFilename( mySource, doesExist(mySource, sourceFileExtension).extension );
txt += "
Cheukwan.work was a website created to be as intuitive to its visitors as it is to providing me an outlet to exploring my unhinged potential for ideas and creativity, by doing everything myself. From the ground up in the design and knowledge aspects to the execution that will permit me to achieve full artistic control over what I make and publish.
The journey of creating this website on a technical scale was always a work in progress and every encounter lead to giving me a sense of achievement and rewarding satisfaction. My wish is for my project to translate into becoming as entertaining to everyone who experiences it, as I have enjoyed writing it. I hope that you will find something new from your interaction here and remember me even after you leave.
When you take the time to explore my website, you will come to the realisation that I am a little different from other people, and I will be the first to own up to it. My behaviour and thoughts are sometimes misplaced and what I believed was real then, isn′t necessarily true to nature now. In a nutshell, I am a clinically certified mental patient and the premise to everything that you read and learn here is a running account of how I feel and act at the time.
I want the visitors to believe in hope and everything that is beyond our control is not out to harm us. There is so much pessimism in life that we don′t stop and think of our role in this world. I′m here to teach you that you are lucky and that you can persevere even at the worst of times in your lives.