﻿/*
Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/

var delay=4000 //set delay between message change (in miliseconds)
var fcontent=new Array()
begintag='<font face="verdana" size=1>' //set opening tag, such as font declarations
fcontent[0]="Danarose Residences, Molino, Bacoor Cavite, the amenities are Clubhouse, Basketball court, Swimming pool, landscaped Entrance and Gaurdhouse																																					"
fcontent[1]="Previo, Teresa Park Las Piñas City, close to SM Southmall, just minutes drive to Alabang town center and Festival supermall(Fil Invest)"
fcontent[2]="Host Bahay<br>Affordable homes <br>in the Philippines<br>http://www.hostbahay.com"
fcontent[3]="Elisa, Molino,Bacoor, Cavite"
fcontent[4]="Amandala Village, Carmona Estates just of SLEX, Pine Crest, Now you can have the comfort you deserve at a price you can't resist, Designed with the modern family in mind, the Pines at Pine Crest combines form and function with a spacious layout and tasteful finishing"
fcontent[5]="Ceritos Heights, via Daang Hari"
fcontent[6]="Rhonaville, Frutos Santos Ave. Zapote, Las Piñas City"
fcontent[7]="Danarose a fair amount of clients have invested in homes here"
fcontent[8]="Lessandra Heights, via Daang Hari, also Lessandra Bacoor phase 3"
fcontent[9]="Greenlane, Las Piñas Ctiy, Experience the best things life can offer within the exclusive neighborhood of Green Lane TownHouses at the heart of Las Pinas, one of the fastest growing cities in Metro Manila"
fcontent[10]="Vallejo Place, Danng Hari, Bacoor."
fcontent[11]="Bellazona, Danng Hari, Bacoor."
fcontent[12]="FelizAna Parklane, Daang Hari, Cavite, Within the FelizAna Estae subdivision accessible via the new Daang Hari Rd., just a stroll away from the new SM Super Center- Molino and minutes away from Alabang town center and Festival supermall(Fil Invest)"
fcontent[13]="Check out our selection of condominiums, such as The Gallery, The Grand Towers, Crown Towers, Olivarez condos all within easy reach of the main areas in Metro Manila, note, that there are no restrictions for foreigners to invest in condos in the Philippines"
fcontent[14]="We have many more projects too numerous to show on our website, please contact me for other objects."

fcontent[15]="Expatriate families can own these homes through the Condominium Certificate of Title (CCT) ownership" 
fcontent[16]="Foreigners are allowed to buy condominiums in the Philippines, please inquire for further details"
closetag='</font>'

var fwidth=150 //set scroller width
var fheight=150 //set scroller height

///No need to edit below this line/////////////////

var ie4=document.all&&!document.getElementById
var ns4=document.layers
var DOM2=document.getElementById
var faderdelay=0
var index=0

if (DOM2)
faderdelay=4000

//function to change content
function changecontent(){
if (index>=fcontent.length)
index=0
if (DOM2){
document.getElementById("fscroller").style.color="rgb(255,255,255)"
document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
colorfade()
}
else if (ie4)
document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag
else if (ns4){
document.fscrollerns.document.fscrollerns_sub.document.write(begintag+fcontent[index]+closetag)
document.fscrollerns.document.fscrollerns_sub.document.close()
}

index++
setTimeout("changecontent()",delay+faderdelay)
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

frame=20;
hex=255  // Initial color value.

function colorfade() {	         	
// 20 frames fading process
if(frame>0) {	
hex-=12; // increase color value
document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
frame--;
setTimeout("colorfade()",20);	
}
else{
document.getElementById("fscroller").style.color="rgb(0,0,0)";
frame=20;
hex=255
}   
}

if (ie4||DOM2)
document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+';padding:2px"></div>')

window.onload=changecontent