// JavaScript Document

//Random pictures
function showImage(place){
	var theImages = new Array() // do not change this
var path = 'http://www.l2portal.com/images/Index/AdsPics/'

theImages[0] = path+'pec1.jpg'
theImages[1] = path+'pec2.jpg'
theImages[2] = path+'pec3.jpg'
theImages[3] = path+'pec4.jpg'
theImages[4] = path+'pec5.jpg'
theImages[5] = path+'pec6.jpg'
theImages[6] = path+'pec7.jpg'
theImages[7] = path+'pec8.jpg'
theImages[8] = path+'pec9.jpg'
theImages[9] = path+'pec10.jpg'
theImages[10] = path+'pec11.jpg'
theImages[11] = path+'pec12.jpg'
theImages[12] = path+'pec13.jpg'
theImages[13] = path+'pec14.jpg'
theImages[14] = path+'pec15.jpg'
theImages[15] = path+'pec16.jpg'
theImages[16] = path+'pec17.jpg'
theImages[17] = path+'pec18.jpg'
theImages[18] = path+'pec19.jpg'
theImages[19] = path+'pec20.jpg'
theImages[20] = path+'pec21.jpg'
theImages[21] = path+'pec22.jpg'
theImages[22] = path+'pec23.jpg'
theImages[23] = path+'pec24.jpg'
theImages[24] = path+'pec25.jpg'
theImages[25] = path+'pec26.jpg'
theImages[26] = path+'pec27.jpg'
theImages[27] = path+'pec28.jpg'
theImages[28] = path+'pec29.jpg'
theImages[29] = path+'pec30.jpg'
theImages[30] = path+'pec31.jpg'
theImages[31] = path+'pec32.jpg'
theImages[32] = path+'pec33.jpg'
theImages[33] = path+'pec34.jpg'
theImages[34] = path+'pec35.jpg'
theImages[35] = path+'pec36.jpg'
theImages[36] = path+'pec37.jpg'
theImages[37] = path+'pec38.jpg'
theImages[38] = path+'pec39.jpg'
theImages[39] = path+'pec40.jpg'
theImages[40] = path+'pec41.jpg'
theImages[41] = path+'pec42.jpg'
//-----------------------------
theImages[42] = path+'p1.jpg'
theImages[43] = path+'p2.jpg'
theImages[44] = path+'p3.jpg'
theImages[45] = path+'p4.jpg'
theImages[46] = path+'p5.jpg'
theImages[47] = path+'p6.jpg'
theImages[48] = path+'p7.jpg'
theImages[49] = path+'p8.jpg'
theImages[50] = path+'p9.jpg'
theImages[51] = path+'p10.jpg'
theImages[52] = path+'p11.jpg'
theImages[53] = path+'p12.jpg'
theImages[54] = path+'p13.jpg'
theImages[55] = path+'p14.jpg'
theImages[56] = path+'p15.jpg'
theImages[57] = path+'p16.jpg'
theImages[58] = path+'p17.jpg'
theImages[59] = path+'p18.jpg'
theImages[60] = path+'p19.jpg'
theImages[61] = path+'p20.jpg'
theImages[62] = path+'p21.jpg'
theImages[63] = path+'p22.jpg'
theImages[64] = path+'p23.jpg'
theImages[65] = path+'p24.jpg'
theImages[66] = path+'p25.jpg'
theImages[67] = path+'p26.jpg'
theImages[68] = path+'p27.jpg'
//-----------------------------
theImages[69] = path+'p28.jpg'
theImages[70] = path+'p29.jpg'
theImages[71] = path+'p30.jpg'
theImages[72] = path+'p31.jpg'
theImages[73] = path+'p32.jpg'
theImages[74] = path+'p33.jpg'
theImages[75] = path+'p34.jpg'
theImages[76] = path+'p35.jpg'
theImages[77] = path+'p36.jpg'
theImages[78] = path+'p37.jpg'
theImages[79] = path+'p38.jpg'
//-----------------------------
theImages[80]= path+'aa55.jpg'
theImages[81]= path+'aa1.jpg'
theImages[82]= path+'aa2.jpg'
theImages[83]= path+'aa3.jpg'
theImages[84]= path+'aa4.jpg'
theImages[85]= path+'aa5.jpg'
theImages[86]= path+'aa6.jpg'
theImages[87]= path+'aa7.jpg'
theImages[88]= path+'aa8.jpg'
theImages[89]= path+'aa9.jpg'
theImages[90]= path+'aa10.jpg'
theImages[91]= path+'aa11.jpg'
theImages[92]= path+'aa12.jpg'
theImages[93]= path+'aa13.jpg'
theImages[94]= path+'aa14.jpg'
theImages[95]= path+'aa15.jpg'
theImages[96]= path+'aa16.jpg'
theImages[97]= path+'aa17.jpg'
theImages[98]= path+'aa18.jpg'
theImages[99]= path+'aa19.jpg'
theImages[100]= path+'aa20.jpg'
theImages[101]= path+'aa21.jpg'
theImages[102]= path+'aa22.jpg'
theImages[103]= path+'aa23.jpg'
theImages[104]= path+'aa24.jpg'
theImages[105]= path+'aa25.jpg'
theImages[106]= path+'aa26.jpg'
theImages[107]= path+'aa27.jpg'
theImages[108]= path+'aa28.jpg'
theImages[109]= path+'aa29.jpg'
theImages[110]= path+'aa30.jpg'
theImages[111]= path+'aa31.jpg'
theImages[112]= path+'aa32.jpg'
theImages[113]= path+'aa33.jpg'
theImages[114]= path+'aa34.jpg'
theImages[115]= path+'aa35.jpg'
theImages[116]= path+'aa36.jpg'
theImages[117]= path+'aa37.jpg'
theImages[118]= path+'aa38.jpg'
theImages[119]= path+'aa39.jpg'
theImages[120]= path+'aa40.jpg'
theImages[121]= path+'aa41.jpg'
theImages[122]= path+'aa42.jpg'
theImages[123]= path+'aa43.jpg'
theImages[124]= path+'aa44.jpg'
theImages[125]= path+'aa45.jpg'
theImages[126]= path+'aa46.jpg'
theImages[127]= path+'aa47.jpg'
theImages[128]= path+'aa48.jpg'
theImages[129]= path+'aa49.jpg'
theImages[130]= path+'aa50.jpg'
theImages[131]= path+'aa51.jpg'
theImages[132]= path+'aa52.jpg'
theImages[133]= path+'aa53.jpg'
theImages[134]= path+'aa54.jpg'
theImages[135]= path+'aa54.jpg'




//do not edit anything below this line

var j = 0
var p = theImages.length -1;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage1 = Math.round(Math.random()*(p-1));
var whichImage2 = Math.round(Math.random()*(p-1));

if (place==1) {
document.write('<img src="'+theImages[whichImage1]+'" border="1">');
}
if (place==2) {
document.write('<img src="'+theImages[whichImage2]+'" border="1">');
}

}

//  End -->
