var cnt2 = 0;

var imgArray2 = new Array(
'<br><a href="/solutions/whybuy.shtml"><img border="0" src="/images/sol_thin_1.jpg" alt="Why should I buy Caterpillar?" width="135" height="174"></a><br>',
'<br><a href="/solutions/specials.shtml"><img border="0" src="/images/sol_thin_2.jpg" alt="How can I lower my costs?" width="135" height="174"></a><br>',
'<br><a href="/solutions/order.shtml"><img border="0" src="/images/sol_thin_3.jpg" alt="How can I order parts online?" width="135" height="174"></a><br>',
'<br><a href="/solutions/online.shtml"><img border="0" src="/images/sol_thin_4.jpg" alt="How can I be more productive?" width="135" height="174"></a><br>',
'<br><a href="http://www.altorfer.com/solutions/certifiedused.shtml"><img border="0" src="/images/sol_thin_ccu.jpg" alt="Learn more about Cat Certified Used!" width="135" height="174"></a><br>',
'<br><a href="/solutions/used.shtml"><img border="0" src="/images/sol_thin_6.jpg" alt="Where can I find used equipment?" width="135" height="174"></a><br>'
);

var thisPage = window.location + "";
var crntSol = 0;
if  (thisPage.indexOf("/solutions/whybuy.shtml") > 0){
crntSol = 0;
} else if  (thisPage.indexOf("/solutions/specials.shtml") > 0){
crntSol = 1;
} else if  (thisPage.indexOf("/solutions/order.shtml") > 0){
crntSol = 2;
} else if  (thisPage.indexOf("/solutions/online.shtml") > 0){
crntSol = 3;
} else if  (thisPage.indexOf("http://www.altorfer.com/solutions/certifiedused.shtml") > 0){
crntSol = 4;
} else if  (thisPage.indexOf("/solutions/used.shtml") > 0){
crntSol = 5;
} else {
crntSol = 6;
}

var random1 = Math.floor(Math.random()*6);

while (random1 == crntSol) {
	random1 = Math.floor(Math.random()*6);
}
var random2 = Math.floor(Math.random()*6);
while ((random2 == crntSol) || (random2 == random1)){
	random2 = Math.floor(Math.random()*6);
}

document.write(imgArray2[random1]);
document.write(imgArray2[random2]);



