<!--
   var picNum = 1;
   var maxVal = 12;
   
   
   var repNum = 0;
   var maxrep = 6;
 

   
function picNav(navVal,numero) {  

if (navVal == 'f') {
     pNum = picNum + 1;
     if (pNum > maxVal) 
	{
		pNum = 1;
		
		return pNum;
	}
    }
if (navVal == 'a') {
pNum = picNum + 1;  
     if (pNum > maxVal) 
	{
		pNum = 1;
		
	}
 if (pNum < 1) 
{
  pNum = picNum - 1;
 
pNum = maxVal;


}

    }
 if (navVal == 'b') {
     pNum = picNum - 1;
     if (pNum < 1) 
{
pNum = maxVal;
return maxVal;
}

    }

 
picNum = pNum;
var Vcolor = "1px solid #333333";
var CID = document.getElementById('CenterID');
var Did1 = document.getElementById('1').style;
var Did2 = document.getElementById('2').style;
var Did3 = document.getElementById('3').style;
var Did4 = document.getElementById('4').style;
var Did5 = document.getElementById('5').style;
var Did6 = document.getElementById('6').style;
var Did7 = document.getElementById('7').style;
var Did8 = document.getElementById('8').style;
var Did9 = document.getElementById('9').style;
var Did10 = document.getElementById('10').style;
var Did11 = document.getElementById('11').style;
var Did12 = document.getElementById('12').style;


CID.src = 'images/colour/bigimg/' + picNum + '.jpg'; 





if (numero==1 || picNum==1)
{
picNum = 1;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg'; 

}
if (numero==2|| picNum==2)
{
picNum = 2;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg';  
}

if (numero==3 ||picNum==3)
{
picNum = 3;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg'; 
}

if (numero==4 ||picNum==4)
{
picNum = 4;
CID.src =  'images/colour/bigimg/' + picNum + '.jpg'; 
 
}
if (numero==5 ||picNum==5)
{
picNum = 5;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg';  

}
if (numero==6 ||picNum==6)
{
picNum = 6;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg';  
}
if (numero==7 ||picNum==7)
{
picNum = 7;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg';  
}

if (numero==8 ||picNum==8)
{
picNum = 8;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg'; 
}

if (numero==9 ||picNum==9)
{
picNum = 9;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg';  
}

if (numero==10 ||picNum==10)
{
picNum = 10;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg';  
}

if (numero==11 ||picNum==11)
{
picNum = 11;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg'; 
}

if (numero==12 ||picNum==12)
{
picNum = 12;
CID.src = 'images/colour/bigimg/' + picNum + '.jpg';
}

var mvfirst = document.getElementById('first');
var mvlast = document.getElementById('last');
    if(picNum == 12 || numero == 12){
	 mvlast.src = 'images/space.gif';
	 

	 }
	else{
	 mvlast.src = 'images/forward.gif';


	 }
    
    if(numero == 1 || picNum == 1){
 	mvfirst.src = 'images/space.gif';

 
 	}
 	else{
 	 mvfirst.src ='images/backward.gif';


 	}
 	

    
}
//-->

b1 = new Image;
b1.src = 'images/colour/thumbnail/1.jpg';
b2 = new Image;
b2.src = 'images/colour/thumbnail/2.jpg';
b3 = new Image;
b3.src = 'images/colour/thumbnail/3.jpg';
b4 = new Image;
b4.src = 'images/colour/thumbnail/4.jpg';
b5 = new Image;
b5.src = 'images/colour/thumbnail/5.jpg';
b6 = new Image;
b6.src = 'images/colour/thumbnail/6.jpg';
b7 = new Image;
b7.src = 'images/colour/thumbnail/7.jpg';
b8 = new Image;
b8.src = 'images/colour/thumbnail/8.jpg';
b9 = new Image;
b9.src = 'images/colour/thumbnail/9.jpg';
b10 = new Image;
b10.src = 'images/colour/thumbnail/10.jpg';
b11 = new Image;
b11.src = 'images/colour/thumbnail/11.jpg';
b12 = new Image;
b12.src = 'images/colour/thumbnail/12.jpg';

Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/1.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/2.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/3.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/4.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/5.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/6.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/7.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/8.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/9.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/10.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/11.jpg';
Imgcenter = new Image;
Imgcenter.src = 'images/colour/bigimg/12.jpg';


