// JavaScript Document
var z = 0;
var y = -92;
var nextPage = 0;
var pz = 0;
var pt = 0;
var opa = 100;
var op = 1;
var nIm = 0;
var thumbIm = 0;
var opin = 0;
var opain = 0;
var x = 0;
var imNum = 1;
var am = 0;
var conFade = 0;
var openIm = 0;
var openImH = 0;
var openPos = 300;
var pageThumbs = "pageThumbs";
var pageClient = "pageClient";
var imArr = new Array();
imArr[0] = new Array();
imArr[1] = new Array();
imArr[2] = new Array();
imArr[3] = new Array();
imArr[4] = new Array();
imArr[5] = new Array();
imArr[6] = new Array();
imArr[7] = new Array();
imArr[8] = new Array();
imArr[9] = new Array();
imArr[10] = new Array();
imArr[11] = new Array();
imArr[12] = new Array();
imArr[13] = new Array();
imArr[14] = new Array();
imArr[15] = new Array();
imArr[16] = new Array();
imArr[17] = new Array();
imArr[18] = new Array();
imArr[19] = new Array();
imArr[20] = new Array();
// imArr length has to == the number of images. Add to the array or take away from the array.


imArr[20][0] = 'images/web/bodyworx.jpg';   //image location
imArr[20][1] = 'showIm(20)';          //image position
imArr[20][2] = 'bodyworx';         //thumb title Is RED
imArr[20][3] = '<a href="http://www.bodyworx.com.au" target="_blank" >www.bodyworx.com.au</a>';                 //thumb description is WHITE
imArr[20][4] = 'BODYWORX';         //Slide title is RED
imArr[20][5] = '- WEBSITE';              //Slide description is WHITE
imArr[20][6] = 'images/web/bodyworx.jpg';

imArr[19][0] = 'images/web/phic.jpg';   //image location
imArr[19][1] = 'showIm(19)';          //image position
imArr[19][2] = 'perth home improvments';         //thumb title Is RED
imArr[19][3] = '<a href="http://www.perthhomeimprovements.com.au" target="_blank" >www.perthhomeimprovments.com.au</a>';                 //thumb description is WHITE
imArr[19][4] = 'PERTH HOME IMPROVEMENTS';         //Slide title is RED
imArr[19][5] = '- WEBSITE';              //Slide description is WHITE
imArr[19][6] = 'images/web/phic.jpg';


imArr[18][0] = 'images/web/summit-projects.jpg';   //image location
imArr[18][1] = 'showIm(18)';          //image position
imArr[18][2] = 'summit projects';         //thumb title Is RED
imArr[18][3] = '<a href="http://www.summitprojects.com.au" target="_blank" >www.summitprojects.com.au</a>';                 //thumb description is WHITE
imArr[18][4] = 'SUMMIT PROJECTS';         //Slide title is RED
imArr[18][5] = '- WEBSITE';              //Slide description is WHITE
imArr[18][6] = 'images/web/summit-projects.jpg';

imArr[17][0] = 'images/web/HNB.jpg';   //image location
imArr[17][1] = 'showIm(17)';          //image position
imArr[17][2] = 'hotel northbridge';         //thumb title Is RED
imArr[17][3] = '<a href="http://www.hotelnorthbridge.com.au" target="_blank" >www.hotelnorthbridge.com.au</a>';                 //thumb description is WHITE
imArr[17][4] = 'HOTEL NORTHBRIDGE';         //Slide title is RED
imArr[17][5] = '- WEBSITE';              //Slide description is WHITE
imArr[17][6] = 'images/web/HNB.jpg';

imArr[16][0] = 'images/web/aac.jpg';   //image location
imArr[16][1] = 'showIm(16)';          //image position
imArr[16][2] = 'australian automobile club';         //thumb title Is RED
imArr[16][3] = '<a href="http://www.aac.com.au" target="_blank" >www.aac.com.au</a>';                 //thumb description is WHITE
imArr[16][4] = 'AUSTRALIAN AUTOMOBILE CLUB';         //Slide title is RED
imArr[16][5] = '- WEBSITE';              //Slide description is WHITE
imArr[16][6] = 'images/web/aac.jpg';

imArr[15][0] = 'images/web/murano.jpg';   //image location
imArr[15][1] = 'showIm(15)';          //image position
imArr[15][2] = 'murano venezia';         //thumb title Is RED
imArr[15][3] = '<a href="http://www.muranovenezia.com.au" target="_blank" >www.muranovenezia.com.au</a>';                 //thumb description is WHITE
imArr[15][4] = 'MURANO VENEZIA';         //Slide title is RED
imArr[15][5] = '- WEBSITE';              //Slide description is WHITE
imArr[15][6] = 'images/web/murano.jpg';

imArr[14][0] = 'images/web/strataLiving.jpg';   //image location
imArr[14][1] = 'showIm(14)';          //image position
imArr[14][2] = 'strata living';         //thumb title Is RED
imArr[14][3] = '<a href="http://www.stratalife.com.au" target="_blank" >www.stratalife.com.au</a>';                 //thumb description is WHITE
imArr[14][4] = 'STRATA LIVING';         //Slide title is RED
imArr[14][5] = '- WEBSITE';              //Slide description is WHITE
imArr[14][6] = 'images/web/strataLiving.jpg';

imArr[13][0] = 'images/web/midalia.jpg';   //image location
imArr[13][1] = 'showIm(13)';          //image position
imArr[13][2] = 'midalia steel';         //thumb title Is RED
imArr[13][3] = '<a href="http://www.midalia.com" target="_blank" >www.midalia.com</a>';                 //thumb description is WHITE
imArr[13][4] = 'MIDALIA STEEL';         //Slide title is RED
imArr[13][5] = '- WEBSITE';              //Slide description is WHITE
imArr[13][6] = 'images/web/midalia.jpg';

imArr[12][0] = 'images/web/sunlander.jpg';
imArr[12][1] = 'showIm(12)';
imArr[12][2] = 'sunlander village';
imArr[12][3] = '<a href="http://www.sunlander.com.au" target="_blank">www.sunlander.com.au</a>';
imArr[12][4] = 'SUNLANDER VILLAGE';
imArr[12][5] = '- WEBSITE';
imArr[12][6] = 'images/web/sunlander.jpg';

imArr[11][0] = 'images/web/srg.jpg';
imArr[11][1] = 'showIm(11)';
imArr[11][2] = 'srg corp';
imArr[11][3] = '<a href="http://www.srgcorp.com.au" target="_blank">www.srgcorp.com.au</a>';
imArr[11][4] = 'SRG CORP';
imArr[11][5] = '- WEBSITE';
imArr[11][6] = 'images/web/srg.jpg';

imArr[10][0] = 'images/web/hairloom.jpg';
imArr[10][1] = 'showIm(10)';
imArr[10][2] = 'hairloom';
imArr[10][3] = '<a href="http://www.hairloom.com.au" target="_blank">www.hairloom.com.au</a>';
imArr[10][4] = 'HAIRLOOM';
imArr[10][5] = '- WEBSITE';
imArr[10][6] = 'images/web/hairloom.jpg';

imArr[9][0] = 'images/web/moneyquest.jpg';
imArr[9][1] = 'showIm(9)';
imArr[9][2] = 'moneyquest';
imArr[9][3] = '<a href="http://www.moneyquest.com.au" target="_blank">www.moneyquest.com.au</a>';
imArr[9][4] = 'MONEYQUEST';
imArr[9][5] = '- WEBSITE';
imArr[9][6] = 'images/web/moneyquest.jpg';

imArr[8][0] = 'images/web/autodom.jpg';   //image location
imArr[8][1] = 'showIm(8)';          //image position
imArr[8][2] = 'autodom';         //thumb title Is RED
imArr[8][3] = '<a href="http://www.autodom.com.au" target="_blank" >www.autodom.com.au</a>';                 //thumb description is WHITE
imArr[8][4] = 'AUTODOM';         //Slide title is RED
imArr[8][5] = '- WEBSITE';              //Slide description is WHITE
imArr[8][6] = 'images/web/autodom.jpg';


imArr[7][0] = 'images/web/gelato.jpg';
imArr[7][1] = 'showIm(7)';
imArr[7][2] = 'il gelato';
imArr[7][3] = '<a href="http://www.ilgelato.com.au" target="_blank">www.ilgelato.com.au</a>';
imArr[7][4] = 'IL GELATO';
imArr[7][5] = '- WEBSITE';
imArr[7][6] = 'images/web/gelato.jpg';

imArr[6][0] = 'images/web/vanguard.jpg';
imArr[6][1] = 'showIm(6)';
imArr[6][2] = 'vanguard';
imArr[6][3] = '<a href="http://www.vanguardpress.com.au" target="_blank">www.vanguardpress.com.au</a>';
imArr[6][4] = 'VANGUARD';
imArr[6][5] = '- WEBSITE';
imArr[6][6] = 'images/web/vanguard.jpg';

imArr[5][0] = 'images/web/forge.jpg';
imArr[5][1] = 'showIm(5)';
imArr[5][2] = 'forge group';
imArr[5][3] = '';
imArr[5][4] = 'FORGE GROUP';
imArr[5][5] = '- WEBSITE';
imArr[5][6] = 'images/web/forge.jpg';

imArr[4][0] = 'images/web/chimer.jpg';
imArr[4][1] = 'showIm(4)';
imArr[4][2] = 'chimere pearls';
imArr[4][3] = '<a href="http://www.chimerepearls.com.au" target="_blank">www.chimerepearls.com.au</a>';
imArr[4][4] = 'CHIMERE PEARLS';
imArr[4][5] = '- WEBSITE';
imArr[4][6] = 'images/web/chimer.jpg';

imArr[3][0] = 'images/web/hld.jpg';
imArr[3][1] = 'showIm(3)';
imArr[3][2] = 'humfrey land developers';
imArr[3][3] = '<a href="http://www.hld.com.au" target="_blank">www.hld.com.au</a>';
imArr[3][4] = 'HUMFREY LAND DEVELOPERS';
imArr[3][5] = '- WEBSITE';
imArr[3][6] = 'images/web/hld.jpg';

imArr[2][0] = 'images/web/ccorp.jpg';
imArr[2][1] = 'showIm(2)';
imArr[2][2] = 'computercorp';
imArr[2][3] = '';
imArr[2][4] = 'COMPUTERCORP';
imArr[2][5] = '- WEBSITE';
imArr[2][6] = 'images/web/ccorp.jpg';

imArr[1][0] = 'images/web/avenger.jpg';
imArr[1][1] = 'showIm(1)';
imArr[1][2] = 'avenger yachts';
imArr[1][3] = '';
imArr[1][4] = 'AVENGER YACHTS';
imArr[1][5] = '- WEBSITE';
imArr[1][6] = 'images/web/avenger.jpg';

imArr[0][0] = 'images/web/pff.jpg';
imArr[0][1] = 'showIm(0)';
imArr[0][2] = 'perth fashion festival';
imArr[0][3] = '';
imArr[0][4] = 'PERTH FASHION FESTIVAL';
imArr[0][5] = '- WEBSITE';
imArr[0][6] = 'images/web/pff.jpg';

var cliArr = new Array();
cliArr[0] = new Array();
cliArr[1] = new Array();
cliArr[2] = new Array();
cliArr[3] = new Array();
cliArr[4] = new Array();
cliArr[5] = new Array();
cliArr[6] = new Array();
cliArr[7] = new Array();
cliArr[8] = new Array();
cliArr[9] = new Array();
cliArr[10] = new Array();
cliArr[11] = new Array();
cliArr[12] = new Array();
cliArr[13] = new Array();
cliArr[14] = new Array();
cliArr[15] = new Array();
cliArr[16] = new Array();
cliArr[17] = new Array();
cliArr[18] = new Array();
cliArr[19] = new Array();
cliArr[20] = new Array();

cliArr[20][0] = 'images/web/images/bodyworx_client.jpg'; //image for client view;
cliArr[20][1] = 'showIm(20)';					//position of image to link to in slide show
cliArr[20][2] = 'BODYWORX';					//Caption under Image
cliArr[20][3] = 'bodyworx';         //thumb title Is RED
cliArr[20][4] = '<a href="http://www.bodyworx.com.au" target="_blank" >www.bodyworx.com.au</a>';    
cliArr[20][5] = 'web/web20.html';

cliArr[19][0] = 'images/web/images/PHIC_client.jpg'; //image for client view;
cliArr[19][1] = 'showIm(19)';					//position of image to link to in slide show
cliArr[19][2] = 'PERTH HOME IMPROVEMENTS';					//Caption under Image
cliArr[19][3] = 'perth home improvements';         //thumb title Is RED
cliArr[19][4] = '<a href="http://www.perthhomeimprovements.com.au" target="_blank" >www.perthhomeimprovements.com.au</a>';    
cliArr[19][5] = 'web/web19.html';

cliArr[18][0] = 'images/web/images/summit_client.jpg'; //image for client view;
cliArr[18][1] = 'showIm(18)';					//position of image to link to in slide show
cliArr[18][2] = 'SUMMIT PROJECTS';					//Caption under Image
cliArr[18][3] = 'summit projects';         //thumb title Is RED
cliArr[18][4] = '<a href="http://www.summitprojects.com.au" target="_blank" >www.summitprojects.com.au</a>';    
cliArr[18][5] = 'web/web18.html';

cliArr[17][0] = 'images/web/images/HNB_client.jpg'; //image for client view;
cliArr[17][1] = 'showIm(17)';					//position of image to link to in slide show
cliArr[17][2] = 'HOTEL NORTHBRIDGE';					//Caption under Image
cliArr[17][3] = 'hotel northbridge';         //thumb title Is RED
cliArr[17][4] = '<a href="http://www.hotelnorthbridge.com.au" target="_blank" >www.hotelnborthbridge.com.au</a>';    
cliArr[17][5] = 'web/web17.html';

cliArr[16][0] = 'images/web/images/aac_client.jpg'; //image for client view;
cliArr[16][1] = 'showIm(16)';					//position of image to link to in slide show
cliArr[16][2] = 'AUSTRALIAN AUTOMOBILE CLUB';					//Caption under Image
cliArr[16][3] = 'australian automobile club';         //thumb title Is RED
cliArr[16][4] = '<a href="http://www.aac.com.au" target="_blank" >www.aac.com.au</a>';    
cliArr[16][5] = 'web/web16.html';

cliArr[15][0] = 'images/web/images/murano_client.jpg'; //image for client view;
cliArr[15][1] = 'showIm(15)';					//position of image to link to in slide show
cliArr[15][2] = 'MURANO VENEZIA';					//Caption under Image
cliArr[15][3] = 'murano venezia';         //thumb title Is RED
cliArr[15][4] = '<a href="http://www.muranovenezia.com.au" target="_blank" >www.muranovenezia.com.au</a>';    
cliArr[15][5] = 'web/web15.html';

cliArr[14][0] = 'images/web/images/strataLiving_client.jpg'; //image for client view;
cliArr[14][1] = 'showIm(14)';					//position of image to link to in slide show
cliArr[14][2] = 'STRATA LIVING';					//Caption under Image
cliArr[14][3] = 'strata living';         //thumb title Is RED
cliArr[14][4] = '';    
cliArr[14][5] = 'web/web14.html';

cliArr[13][0] = 'images/web/images/midalia_client.jpg'; //image for client view;
cliArr[13][1] = 'showIm(13)';					//position of image to link to in slide show
cliArr[13][2] = 'MIDALIA STEEL';					//Caption under Image
cliArr[13][3] = 'midalia steel';         //thumb title Is RED
cliArr[13][4] = '<a href="http://www.midaliasteel.com" target="_blank" >www.midaliasteel.com</a>';    
cliArr[13][5] = 'web/web13.html';  

cliArr[12][0] = 'images/web/images/sunlander_client.jpg';
cliArr[12][1] = 'showIm(12)';
cliArr[12][2] = 'SUNLANDER VILLAGE';
cliArr[12][3] = 'sunlander village';
cliArr[12][4] = '<a href="http://www.sunlandervillage.com.au" target="_blank">www.sunlandervillage.com.au</a>';   
cliArr[12][5] = 'web/web12.html';  

cliArr[11][0] = 'images/web/images/srg_client.jpg';
cliArr[11][1] = 'showIm(11)';
cliArr[11][2] = 'SRG CORP';
cliArr[11][3] = 'srg corp';
cliArr[11][4] = '<a href="http://www.srgcorp.com.au" target="_blank">www.srgcorp.com.au</a>';   
cliArr[11][5] = 'web/web11.html';  

cliArr[10][0] = 'images/web/images/hairloom_client.jpg';
cliArr[10][1] = 'showIm(10)';
cliArr[10][2] = 'HAIRLOOM';
cliArr[10][3] = 'hairloom';
cliArr[10][4] = '<a href="http://www.hairloom.com.au" target="_blank">www.hairloom.com.au</a>';   
cliArr[10][5] = 'web/web10.html';  

cliArr[9][0] = 'images/web/images/moneyquest_client.jpg';
cliArr[9][1] = 'showIm(9)';
cliArr[9][2] = 'MONEYQUEST';
cliArr[9][3] = 'moneyquest';
cliArr[9][4] = '<a href="http://www.moneyquest.com.au" target="_blank">www.moneyquest.com.au</a>';   
cliArr[9][5] = 'web/web9.html';  

cliArr[8][0] = 'images/web/images/autodom_client.jpg'; //image for client view;
cliArr[8][1] = 'showIm(8)';					//position of image to link to in slide show
cliArr[8][2] = 'AUTODOM';					//Caption under Image
cliArr[8][3] = 'autodom';         //thumb title Is RED
cliArr[8][4] = '<a href="http://www.autodom.com.au" target="_blank" >www.autodom.com.au</a>';    
cliArr[8][5] = 'web/web8.html';    

cliArr[7][0] = 'images/web/images/gelato_client.jpg';
cliArr[7][1] = 'showIm(7)';
cliArr[7][2] = 'IL GELATO';
cliArr[7][3] = 'il gelato';
cliArr[7][4] = '<a href="http://www.ilgelato.com.au" target="_blank">www.ilgelato.com.au</a>';   
cliArr[7][5] = 'web/web7.html';  

cliArr[6][0] = 'images/web/images/vanguard_client.jpg';
cliArr[6][1] = 'showIm(6)';
cliArr[6][2] = 'VANGUARD';
cliArr[6][3] = 'vanguard';
cliArr[6][4] = '<a href="http://www.vanguardpress.com.au" target="_blank">www.vanguardpress.com.au</a>';   
cliArr[6][5] = 'web/web6.html';  

cliArr[5][0] = 'images/web/images/forge_client.jpg';
cliArr[5][1] = 'showIm(5)';
cliArr[5][2] = 'FORGE GROUP';
cliArr[5][3] = 'forge group';
cliArr[5][4] = '<a href="http://www.forgegroup.com.au" target="_blank">www.forgegroup.com.au</a>';   
cliArr[5][5] = 'web/web5.html';    

cliArr[4][0] = 'images/web/images/chimere_client.jpg';
cliArr[4][1] = 'showIm(4)';
cliArr[4][2] = 'CHIMERE PEARLS';
cliArr[4][3] = 'chimere pearls';
cliArr[4][4] = '<a href="http://www.chimerepearls.com.au" target="_blank">www.chimerepearls.com.au</a>';   
cliArr[4][5] = 'web/web4.html';  

cliArr[3][0] = 'images/web/images/hld_client.jpg';
cliArr[3][1] = 'showIm(3)';
cliArr[3][2] = 'HUMFREY LAND DEVELOPERS';
cliArr[3][3] = 'humfrey land developers';
cliArr[3][4] = '<a href="http://www.hld.com.au" target="_blank">www.hld.com.au</a>';   
cliArr[3][5] = 'web/web3.html';  

cliArr[2][0] =  'images/web/images/compterCorp_client.jpg';
cliArr[2][1] = 'showIm(2)';
cliArr[2][2] = 'COMPUTERCORP';
cliArr[2][3] = 'computercorp';
cliArr[2][4] = '';   
cliArr[2][5] = 'web/web2.html';  

cliArr[1][0] = 'images/web/images/avenger_client.jpg';
cliArr[1][1] = 'showIm(1)';
cliArr[1][2] = 'AVENGER YACHTS';
cliArr[1][3] = 'avenger yachts';
cliArr[1][4] = '';   
cliArr[1][5] = 'web/web1.html';  

cliArr[0][0] = 'images/web/images/pff_client.jpg';
cliArr[0][1] = 'showIm(0)';
cliArr[0][2] = 'PERTH FASHION FESTIVAL';
cliArr[0][3] = 'perth fashion festival';
cliArr[0][4] = '';   
cliArr[0][5] = 'web/web0.html';  

/*
cliArr[0][0] = 'images/web/images/fastrac_client.jpg';
cliArr[0][1] = 'showIm(0)';
cliArr[0][2] = 'FASTRAC';
cliArr[0][3] = 'fastrac';
cliArr[0][4] = '';   
cliArr[0][5] = 'web/web0.html'; */ 