// noscript 'collage_01_4.jpg'
// noscript 'collage_02_2.jpg'
// noscript 'collage_03_3.jpg'
// noscript 'section_collage_02_2.jpg'
// noscript 'section_collage_03_3.jpg'
// noscript 'main_feature_03_2.jpg'

// number of images in each image array
var collage_01_num = 4;
var collage_02_num = 3;
var collage_03_num = 9;
var	section_collage_01_num = 3;
var	section_collage_02_num = 9;
var	main_feature_02_num = 2;
var	main_feature_03_num = 3;
var	yellow_banner_num = 4;

var whichImage_01 = Math.floor((Math.random()*collage_01_num)+1);
var whichImage_02 = Math.floor((Math.random()*collage_02_num)+1);
var whichImage_03 = Math.floor((Math.random()*collage_03_num)+1);
var whichImage_04 = Math.floor((Math.random()*section_collage_01_num)+1);
var whichImage_05 = Math.floor((Math.random()*section_collage_02_num)+1);
var whichImage_06 = Math.floor((Math.random()*main_feature_02_num)+1);
var whichImage_07 = Math.floor((Math.random()*main_feature_03_num)+1);
var whichImage_08 = Math.floor((Math.random()*yellow_banner_num)+1);

var main_feature_02_url = new Array(main_feature_02_num);
main_feature_02_url[0] = "/solutions/armoured.html";
main_feature_02_url[1] = "/media/index.html";

var main_feature_02_alt = new Array(main_feature_02_num);
main_feature_02_alt[0] = "Number One Choice, The island's number once choice for Armoured Courier Services";
main_feature_02_alt[1] = "ATLAS 30 Second TV Ad, Watch the new Atlas Group 30 Second Television Ad";


function print_collage_01(){
document.write('<img src="/images/collage_01_'+whichImage_01+'.jpg" alt="" width="311" height="276" border="0">');
}

function print_collage_02(){
document.write('<img src="/images/collage_02_'+whichImage_02+'.jpg" alt="" width="152" height="133" border="0">');
}

function print_collage_03(){
document.write('<img src="/images/collage_03_'+whichImage_03+'.jpg" alt="" width="152" height="143" border="0">');
}

function print_section_collage_01(){
document.write('<img src="/images/section_collage_01_'+whichImage_04+'.jpg" alt="" width="152" height="134" border="0">');
}

function print_section_collage_02(){
document.write('<img src="/images/section_collage_02_'+whichImage_05+'.jpg" alt="" width="152" height="139" border="0">');
}

function print_main_feature_02(){
document.write('<a href="'+main_feature_02_url[whichImage_06-1]+'"><img src="/images/main_feature_02_'+whichImage_06+'.jpg" alt="'+main_feature_02_alt[whichImage_06-1]+'" width="236" height="123" border="0"></a>');
}
//<a href="/solutions/armoured.html"><img src="images/main_feature_02.jpg" alt="Number One Choice" width="236" height="123" border="0"></a>
// need to make main_feature_02_url[]  and  main_feature_02_alt[]

function print_main_feature_03(){
document.write('<img src="/images/main_feature_03_'+whichImage_07+'.jpg" alt="" width="336" height="123" border="0">');
}

function print_yellow_banner(){
document.write('<img src="/images/yellow_banner_'+whichImage_08+'.gif" alt="" width="323" height="71" border="0">');
}