// JavaScript Document
        // Array to hold alternative strings

function popUp2(URL, WINNAME) {
     var x = (screen.width-400)/2;
	 var y = (screen.height-350)/2;
	 window.open(URL, WINNAME, "scrollbars=1,location=0,resizable=1,width=480,height=400,left="+x+",top="+y+"");
} 

function CloseWindow() { 
        window.close(); 
return true; 
} 
	
function goto_URL(object) {
if ( object.options[object.selectedIndex].value != 'x')  window.open(object.options[object.selectedIndex].value, 'bookie');
}

function opacity(id, opacStart, opacEnd, millisec) { 
    //speed for each frame 
    var speed = Math.round(millisec / 100); 
    var timer = 0; 

    //determine the direction for the blending, if start and end are the same nothing happens 
    if(opacStart > opacEnd) { 
        for(i = opacStart; i >= opacEnd; i--) { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } else if(opacStart < opacEnd) { 
        for(i = opacStart; i <= opacEnd; i++) 
            { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } 
} 

//change the opacity for different browsers 
function changeOpac(opacity, id) {
    var object = document.getElementById(id).style; 
    object.opacity = (opacity / 100); 
    object.KhtmlOpacity = (opacity / 100); 
    object.MozOpacity = (opacity / 100);   
    object.filter = "alpha(opacity=" + opacity + ")"; 
} 


function runSlideShow1() {
if (document.all) {
document.images.SlideShow1.style.filter="blendTrans(duration=2)";
document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow1.filters.blendTrans.Apply();
}
document.images.SlideShow1.src = preLoad[j].src;
document.images.SlideShow1.title = Title[j];
if (document.all) {
document.images.SlideShow1.filters.blendTrans.Play();
}
j = j + 1;
slideShowSpeed=2500; 
 
if (j > (p - 1)) j = 0;

t = setTimeout('runSlideShow1()', slideShowSpeed);
}
//  End -->

function popUp2(URL, WINNAME) {
     var x = (screen.width-400)/2;
	 var y = (screen.height-350)/2;
	 window.open(URL, WINNAME, "scrollbars=1,location=0,resizable=1,width=480,height=400,left="+x+",top="+y+"");
} 

function explodepic(URL, WINNAME) {
     var x = ((screen.width)-900) /2;
	 var y = ((screen.height)- 675) /2;
	 z = window.open(URL, WINNAME, "scrollbars=1,location=0,resizable=1,width=900,height=675,left="+x+",top="+y+"");
	 z.focus();
} 

function RunFoo()
{
   document.write('<object type="application/x-shockwave-flash" data="./images/taxicharitylogo.swf" width="750" height="130" />\n');
   document.write('<param name="movie" value="images/taxicharitylogo.swf" /></object>\n');
}


// JavaScript Document
<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->
<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 1500;
// Duration of crossfade (seconds)
var crossFadeDuration = 2;
// Specify the image files
var Pic = new Array();

var Title = new Array();
// to add more images, just continue
// the pattern, adding to the array below

function runSlideShow1() {
if (document.all) {
document.images.SlideShow1.style.filter="blendTrans(duration=2)";
document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow1.filters.blendTrans.Apply();
}
document.images.SlideShow1.src = preLoad[j].src;
document.images.SlideShow1.title = Title[j];
if (document.all) {
document.images.SlideShow1.filters.blendTrans.Play();
}
j = j + 1;
slideShowSpeed=2500; 
 
if (j > (p - 1)) j = 0;

t = setTimeout('runSlideShow1()', slideShowSpeed);
}


//  End -->