// random people
var theImages = new Array()
 
//Random-loading images
theImages[0] = 'images/banner/banner_people1.jpg'
theImages[1] = 'images/banner/banner_people2.jpg'
theImages[2] = 'images/banner/banner_people3.jpg'
theImages[3] = 'images/banner/banner_people4.jpg'
theImages[4] = 'images/banner/banner_people5.jpg'
theImages[5] = 'images/banner/banner_people6.jpg'
theImages[6] = 'images/banner/banner_people7.jpg'
theImages[7] = 'images/banner/banner_people8.jpg'
theImages[8] = 'images/banner/banner_people9.jpg'
theImages[9] = 'images/banner/banner_people10.jpg'
theImages[10] = 'images/banner/banner_people11.jpg'
theImages[11] = 'images/banner/banner_people12.jpg'
theImages[12] = 'images/banner/banner_people13.jpg'
theImages[13] = 'images/banner/banner_people14.jpg'
theImages[14] = 'images/banner/banner_people15.jpg'
theImages[15] = 'images/banner/banner_people16.jpg'
theImages[16] = 'images/banner/banner_people17.jpg'
theImages[17] = 'images/banner/banner_people18.jpg'
 
var j = 0
var p = theImages.length;
var preBuffer = new Array()
 
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
 
function showImage(){
    if(whichImage==0){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	 if(whichImage==1){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==2){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==3){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==4){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==5){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==6){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==7){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==8){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==9){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');    }
	if(whichImage==10){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==11){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==12){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==13){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==14){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==15){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==16){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	if(whichImage==17){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=271 height=190 alt="Payday Advances Online through Loan By Phone and Check Into Cash"></a>');
    }
	
}

// random banner image
function mmLoadMenus() {

} // mmLoadMenus()
var imagenumber = 9;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
images = new Array
images[1] = "images/banner/banner_image1.jpg"
images[2] = "images/banner/banner_image2.jpg"
images[3] = "images/banner/banner_image3.jpg"
images[4] = "images/banner/banner_image4.jpg"
images[5] = "images/banner/banner_image5.jpg"
images[6] = "images/banner/banner_image6.jpg"
images[7] = "images/banner/banner_image7.jpg"
images[8] = "images/banner/banner_image8.jpg"
images[9] = "images/banner/banner_image9.jpg"
var image = images[rand1]


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

<!-- Yahoo! Inc.

var ysm_accountid  = "1UKOT5VDIUP0138USC4D1BQLC3C";

document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' " 

+ "SRC=//" + "srv1.wa.marketingsolutions.yahoo.com" + "/script/ScriptServlet" + "?aid=" + ysm_accountid 

+ "></SCR" + "IPT>");

// -->



