<!-- Begin
var msgTitle = " YUPPEACE - Young Upbeat Professionals for Peace ";
var msgStatus = "YUPPEACE - We Embrace the World"
var xpos=1;
var place=1;
var msg = new Array();

msg[1] = "YUPPEACE was born on October 8, 1994 in the Philippines.";
msg[2] = "YUPPEACE started as a group of more than 7000 volunteers for the World Youth Day 1995 Youth Vigil";
msg[3] = "\"As the Father has sent me, so am I sending you.\" - WYD '95 message";
msg[4] = "YUPPEACE's response to the Pope's call - \"Here we are. Send us O Lord\"";
msg[5] = "Our motto: We Embrace the World";
msg[6] = "YUPPEACE was born on October 8, 1994 in the Philippines.";
msg[7] = "\"You are the light of the world, the salt of the earth.\"";
msg[8] = "\"As the Father has sent me, so I send you.\" - WYD '95 message";
msg[9] = "YUPPEACE's response to the Pope's call - \"Here we are. Send us O Lord\"";
msg[10] = "Our motto: We Embrace the World";
msg[11] = "YUPPEACE was born on October 8, 1994 in the Philippines.";
msg[12] = "YUPPEACE was a group of volunteers for the World Youth Day 1995 Youth Vigil";
msg[13] = "\"As the Father has sent me, so I send you.\" - WYD '95 message";
msg[14] = "YUPPEACE's response to the Pope's call - \"Here we are. Send us O Lord\"";
msg[15] = "Our motto: We Embrace the World";
msg[16] = "YUPPEACE was born on October 8, 1994 in the Philippines.";
msg[17] = "YUPPEACE was a group of volunteers for the World Youth Day 1995 Youth Vigil";
msg[18] = "\"As the Father has sent me, so I send you.\" - WYD '95 message";
msg[19] = "YUPPEACE's response to the Pope's call - \"Here we are. Send us O Lord\"";
msg[20] = "An Easter Message: Jesus said, \"I will always be with you.\"";
msg[21] = "What's your favorite passage? We'll put it here. E-mail us at pyxlight@edsamail.com.ph";
msg[22] = "Join YUPPEACE e-group. Send a blank e-mail to yuppeace-subscribe@yahoogroups.com";
msg[23] = "Happy Birthday, Fr. Armand - from TonyF";
msg[24] = "Happy Feast Day Mary, Help of Christians";
msg[25] = "Our motto: We Embrace the World";
msg[26] = "YUPPEACE was born on October 8, 1994 in the Philippines.";
msg[27] = "YUPPEACE was a group of volunteers for the World Youth Day 1995 Youth Vigil";
msg[28] = "\"As the Father has sent me, so I send you.\" - WYD '95 message";
msg[29] = "YUPPEACE's response to the Pope's call - \"Here we are. Send us O Lord\"";
msg[30] = "Happy 50th Birthday, Fr. Armand!";
msg[31] = "Our motto: We Embrace the World";
 
Stamp = new Date();
today = Stamp.getDate();
msgStatus = msg[today];

ie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
ns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4 ))

if (ns4) {
    layerRef="document.layers";
    styleRef="";
} else {
    layerRef="document.all";
    styleRef=".style";
}       

function main()
{
 moveDivision('dove',350,0,-1,24);
 scrollTitle();
 scrollIn();
 scrollHeadline();
 preloadImages();
}

function moveDivision(which, start, finish, step, speed){  
  if (ie4 || ns4){
    if (start > finish){ 
      eval(layerRef + '["' + which +'"]' + styleRef + '.top = start');
      eval(layerRef + '["' + which +'"]' + styleRef + '.right = start');
      start=start+step; 
      setTimeout("moveDivision('"+which+"',"+start+","+finish+","+step+","+speed+")",speed);
    }     
  }
}

function scrollTitle() {
 document.title = msgTitle.substring(0,xpos);
 	if (xpos >= msgTitle.length) {
		 xpos=1;
		 window.setTimeout("scrollTitle()",12000); 
	} else {
		xpos++;
		window.setTimeout("scrollTitle()",200); 
  } 
}

function scrollIn() {
	window.status=msgStatus.substring(0, place);
	if (place >= msgStatus.length)   {
		 place=1;
		 window.setTimeout("scrollOut()",2000); 
	} else {
		place++;
		window.setTimeout("scrollIn()",200); 
  } 
}

function scrollOut() {
window.status=msgStatus.substring(place, msgStatus.length);
if (place >= msgStatus.length) {
	 place=1;
	 window.setTimeout("scrollIn()", 2000);
} else {
	place++;
	window.setTimeout("scrollOut()", 150);
  }
}

// rollovers
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		tawagna_over = newImage("images/tawagna-over.gif");
		baliktanaw_over = newImage("images/baliktanaw-over.gif");
		preloadFlag = true;
	}
}

<!-- //Scroll Headline
//slider's width
var swidth=229

//slider's height
var sheight=240

//slider's speed
var sspeed=2

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array()
singletext[0]='<h5 class="underlined">Remember it\'s beginning?</h5>The story of YUPPEACE began during the World Youth Day of 1995. The Salesians were tasked to organize the Youth Vigil of the 10th World Day here in Manila, and gave the job to the Don Bosco Mandaluyong community.  The Don Bosco Mandaluyong Community then headed by Fr. Rolo Alcasid, SDB tasked Fr. Armand Robleza, SDB (who was supposedly on leave) to direct the event. <a href="ybeginning.html">Read more...</a>'
singletext[1]='<h5 class="underlined">Ano ba talaga ang YUPPEACE?</h5>Find out here. <i>Pasok na.</i>'
									+ '<div class="indentext"><img class="bullet" src="images/bullet.gif"><a href="ybeginning.html">YUPPEACE Beginning</a>'
									+ '<br><img class="bullet" src="images/bullet.gif"><a href="yvisionmission.html">Vision - Mission</a>'
									+ '<br><img class="bullet" src="images/bullet.gif"><a href="yvisionmission.html#spirit">The YUPPEACE Spirit</a>'
									+ '<br><img class="bullet" src="images/bullet.gif"><a href="yparadigm.html">Faith Paradigms</a>'
									+ '<br><img class="bullet" src="images/bullet.gif"><a href="ycommunity.html">Community Constitutive Articles</a>'
									+ '<br><img class="bullet" src="images/bullet.gif"><a href="yformation.html">Stages of Formation</a>'
									+ '</div>'

if (singletext.length>1)
i=1
else
i=0
function scrollHeadline(){
if (document.all){
ieslider1.style.top=sheight
iemarquee(ieslider1)
}
else if (document.layers){
document.ns4slider.document.ns4slider1.top=sheight
document.ns4slider.document.ns4slider1.visibility='show'
ns4marquee(document.ns4slider.document.ns4slider1)
}
else if (document.getElementById&&!document.all){
document.getElementById('ns6slider1').style.top=sheight
ns6marquee(document.getElementById('ns6slider1'))
}
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
iediv.style.pixelTop=0
setTimeout("iemarquee(iediv)",100)
}
if (iediv.style.pixelTop>=sheight*-1){
iediv.style.pixelTop-=sspeed
setTimeout("iemarquee(iediv)",100)
}
else{
iediv.style.pixelTop=sheight
iediv.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
if (ns4layer.top>0&&ns4layer.top<=sspeed){
ns4layer.top=0
setTimeout("ns4marquee(ns4layer)",100)
}
if (ns4layer.top>=sheight*-1){
ns4layer.top-=sspeed
setTimeout("ns4marquee(ns4layer)",100)
}
else{
ns4layer.top=sheight
ns4layer.document.write(singletext[i])
ns4layer.document.close()
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
ns6div.style.top=0
setTimeout("ns6marquee(ns6div)",100)
}
if (parseInt(ns6div.style.top)>=sheight*-1){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6marquee(ns6div)",100)
}
else{
ns6div.style.top=sheight
ns6div.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}

// End -->
