	txt = ""
	txtt = ""
	txttt = ""
function Time() {
	var now = new Date();
	var time = now.getHours();

	//Change the 3 messages to your liking.
	//DO NOT USE CONJUCTIONS OR ANY APOSTROPHES
	
	//late night - very early morning
	if (time > 23 && time < 6) { txt = 'Welcome to Datapool (S) Pte Ltd. Do you ever sleep?';
	txtt = 'What is your bedtime?';
        txttt = 'You need sleep to live!'}
	//early morning
	 else if (time > 5 && time < 8) { txt = 'A Very Good Morning to You. Welcome to Datapool (S) Pte Ltd                                 ';
	txtt = ' So, we have an early riser huh?                           The early bird gets the worm.';
	txttt = 'What type of worm do you like?'}
	//end of morning
	 else if (time > 7 && time < 12) { txt = 'A Very Good Morning to You. Welcome to Datapool (S) Pte Ltd                                         ';
	txtt = 'How are you today ?    Mine has been great!                 ';
	txttt = 'Please note that being a Datapool member, we had introduced many new enhanced services in our website. So hurry up, why wait?'}
	//afternoon
	 else if (time > 11 && time < 19) { txt = 'Good Afternoon to You. Welcome to Datapool (S) Pte Ltd                                        ';
	txtt = 'How are you today ?    Mine has been great!                          ';
	txttt = 'Please note that being a Datapool member, we had introduced many new enhanced services in our website. So hurry up, why wait?'}
	//evening - night
	 else { txt = 'Welcome to Datapool (S) Pte Ltd. This is one great evening!';
	txtt = 'It is starting to get late.';
	txttt = 'Please note that being a Datapool member, we had introduced many new enhanced services in our website. So hurry up, why wait?'}
	}


	var worddd = 0
	var word = 0
	var wordd = 0
	var msg
	var timeI
	var timeII
	var timeIII
	var timeIIII

function Change() {
	if (word < txt.length+1) { word++;
	timeI = setTimeout("Change()", 100) }
	 else if (word > txt.length) { clearTimeout(timeI);
	Changee() } 
}

function Changee() {
	if (wordd < txtt.length+1) { wordd++;
	timeIII = setTimeout("Changee()", 100) }
	 else if (wordd > txtt.length) { clearTimeout(timeIII);
	Changeee() }
}	

function Changeee() {
	if (worddd < txttt.length+1) { worddd++;
	timeIIII = setTimeout("Changeee()", 100) }
	 else if (worddd > txttt.length) { clearTimeout(timeIIII);
	word = 0; wordd = 0; worddd = 0; Change() }
}

function Place() {
	if (word < txt.length+1) msg = txt.substring(0, word)
	 else if (word > txt.length && wordd < txtt.length+1) msg = txtt.substring(0, wordd)
	 else if (wordd > txtt.length && worddd < txttt.length+1) msg = txttt.substring(0, worddd)
	 else if (worddd > txttt.length) msg = txt.substring(0, word)
	window.status = msg
	timeII = setTimeout("Place()", 100)
}

