a=0;
ie4=0;
flag=0;
version=0
var client=navigator.appName
var ethelx=navigator.appVersion.substring(0)
var version=parseInt(ethelx)
if (client=="Microsoft Internet Explorer" && version >=4){ie4=1;}



flag=1;




function texton(i) {
window.status=i
}
function textoff() {
window.status=".."
}
defaultStatus="Pagoda Skyline Inc."

function getem() {
if (flag==1){
xx0 = new Image(320,213);
xx0.src="/images/pag1.jpg";

xx1 = new Image(320,213);
xx1.src="/images/pag3.jpg";

xx2 = new Image(320,213);
xx2.src="/images/pag2.jpg";

xx3 = new Image(320,213);
xx3.src="/images/pag4.jpg";


jepeto();
}}
function jepeto(){

wpic = eval("xx" + a + ".src");
document.pag.src=wpic;
a++
if(a == 4){a=0;}
setTimeout("jepeto()",8300);
}


function texton(i) {
window.status=i
}
function textoff() {
window.status=".."
}
defaultStatus="Pagoda Skyline Inc."


 //IMAGE STUFF

if (flag == 1) {
but1off = new Image(30,120);
but1off.src="/barpics/pagoff.gif";

but1on = new Image(30,120);
but1on.src="/barpics/pagon.gif";

but2off = new Image(30,120);
but2off.src="/barpics/fireoff.gif";

but2on = new Image(30,120);
but2on.src="/barpics/fireon.gif";

but3off = new Image(30,120);
but3off.src="/barpics/skyoff.gif";

but3on = new Image(30,120);
but3on.src="/barpics/skyon.gif";

but4off = new Image(30,120);
but4off.src="/barpics/homeoff.gif";


but4on = new Image(30,120);
but4on.src="/barpics/homeon.gif";

but5on = new Image(30,120);
but5on.src="/barpics/gifton.gif";

but5off = new Image(30,120);
but5off.src="/barpics/giftoff.gif";
}

function imgon(imgName) {
if(flag ==1) {
imgOn = eval(imgName + "on.src");
document[imgName].src=imgOn;

}

}

function imgoff(imgName) {
if(flag ==1) {
imgOff = eval(imgName + "off.src");
document[imgName].src=imgOff;
}
}


