function pic_ncb_1()
{
/* set the number of pictures to rotate: b must be 2, 3, 4 or 5 */
var b=4;

/* set the picture source and display information  */
/* you will need a line in the array below for each picture */
/* note that the pictures in this array must correspond to the titles in the next array */
/* note also where single quotes are used and where double quotes are used */
p = new Object();
p[1]="<img id='pic_ncb_1' src='images/pic_ncb_1a.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[2]="<img id='pic_ncb_1' src='images/pic_ncb_1b.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[3]="<img id='pic_ncb_1' src='images/pic_ncb_1c.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[4]="<img id='pic_ncb_1' src='images/pic_ncb_1d.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";

/*p[3]="<IMG SRC='put image info here and remove comment marks at beginning and end of line'>";*/

/* set the picture name to appear below the picture*/
/* you will need a line in the array for each title */
/*n = new Object();*/
/*n[1]="NYC Central Park";*/
/*n[2]="Indianapolis Lower Canal Facility";*/
/*n[3]="put name of picture here and remove comment marks at beginning and end of line";*/

/* create a random integer from 1 to the number of pictures */
	var a=Math.random();
	a=(a*10)+1;
	a=parseInt(a)
		if (a > 4)
		{
		a=a-4
		}
	
		if (a > b)
		{
		a=a-b
		}
/* if b is 2, a may still need to be adjusted downward by 1 */
/* this does tend to have image 2 display more frequently than image 1 */  
		if (a > b)
		{
		a=a-1
		}
	
/* display the picture based on the random integer */
/*	document.write(p[a]+"<BR>"+n[a]+"<BR>"); */
	document.write(p[a]);
}

function pic_ncb_2()
{
/* set the number of pictures to rotate: b must be 2, 3, 4 or 5 */
var b=4;

/* set the picture source and display information  */
/* you will need a line in the array below for each picture */
/* note that the pictures in this array must correspond to the titles in the next array */
/* note also where single quotes are used and where double quotes are used */
p = new Object();
p[1]="<img id='pic_ncb_2' src='images/pic_ncb_2a.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[2]="<img id='pic_ncb_2' src='images/pic_ncb_2b.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[3]="<img id='pic_ncb_2' src='images/pic_ncb_2c.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[4]="<img id='pic_ncb_2' src='images/pic_ncb_2d.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
/*p[3]="<IMG SRC='put image info here and remove comment marks at beginning and end of line'>";*/

/* set the picture name to appear below the picture*/
/* you will need a line in the array for each title */
/*n = new Object();*/
/*n[1]="NYC Central Park";*/
/*n[2]="Indianapolis Lower Canal Facility";*/
/*n[3]="put name of picture here and remove comment marks at beginning and end of line";*/

/* create a random integer from 1 to the number of pictures */
	var a=Math.random();
	a=(a*10)+1;
	a=parseInt(a)
		if (a > 4)
		{
		a=a-4
		}
	
		if (a > b)
		{
		a=a-b
		}
/* if b is 2, a may still need to be adjusted downward by 1 */
/* this does tend to have image 2 display more frequently than image 1 */  
		if (a > b)
		{
		a=a-1
		}
	
/* display the picture based on the random integer */
/*	document.write(p[a]+"<BR>"+n[a]+"<BR>"); */
	document.write(p[a]);
}
function pic_ncb_3()
{
/* set the number of pictures to rotate: b must be 2, 3, 4 or 5 */
var b=3;

/* set the picture source and display information  */
/* you will need a line in the array below for each picture */
/* note that the pictures in this array must correspond to the titles in the next array */
/* note also where single quotes are used and where double quotes are used */
p = new Object();
p[1]="<img id='pic_ncb_3' src='images/pic_ncb_3a.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[2]="<img id='pic_ncb_3' src='images/pic_ncb_3b.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
p[3]="<img id='pic_ncb_3' src='images/pic_ncb_3c.jpg' width='203' height='98' border='0' alt='Nordstrom Commercial Builders'>";
/*p[3]="<IMG SRC='put image info here and remove comment marks at beginning and end of line'>";*/

/* set the picture name to appear below the picture*/
/* you will need a line in the array for each title */
/*n = new Object();*/
/*n[1]="NYC Central Park";*/
/*n[2]="Indianapolis Lower Canal Facility";*/
/*n[3]="put name of picture here and remove comment marks at beginning and end of line";*/

/* create a random integer from 1 to the number of pictures */
	var a=Math.random();
	a=(a*10)+1;
	a=parseInt(a)
		if (a > 3)
		{
		a=a-3
		}
	
		if (a > b)
		{
		a=a-b
		}
/* if b is 2, a may still need to be adjusted downward by 1 */
/* this does tend to have image 2 display more frequently than image 1 */  
		if (a > b)
		{
		a=a-1
		}
	
/* display the picture based on the random integer */
/*	document.write(p[a]+"<BR>"+n[a]+"<BR>"); */
	document.write(p[a]);
}
