// Pic Loader 	-- Version 1.0 by ??????
//				-- Baseline
//
// 				-- Version 2.0 by rxsherm@interealm.com	
//				-- Removed giant string arrays to reduce memory overhead and maintenance
//				-- Pic3 will now check what Pic1 was loaded to ensure it isn't the same

var count150=100;
var count310=102;

// Pics
var pic1=-1;
var pic3=-1;

while (pic1==pic3) {
pic1=parseInt(Math.floor(Math.random()*(count150+1)));
pic3=parseInt(Math.floor(Math.random()*(count150+1)));
}
function loadpic1() {
 
 pic="http://geocachingcolo.com/images_150/"+pic1;
 document.write("<img src=\""+pic+"\" height=150 width=150>");
}

function loadpic2() {
 pic="http://geocachingcolo.com/images_310/"+parseInt(Math.floor(Math.random()*(count310+1)));
 document.write("<img src=\""+pic+"\" height=150 width=310>");
}

function loadpic3() {
 pic="http://geocachingcolo.com/images_150/"+pic3;
 document.write("<img src=\""+pic+"\" height=150 width=150>");
}

