tinyMCE.init({
		// General options
		mode : "textareas",
		theme : "advanced",
		plugins : "safari,advlink,imagemanager",

		// Theme options
		theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,fontsizeselect,|,cut,copy,paste,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,image",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",
		theme_advanced_buttons4 : "",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		// Drop lists for link/image/media/template dialogs
		template_external_list_url : "lists/template_list.js",
		external_link_list_url : "lists/link_list.js",
		external_image_list_url : "lists/image_list.js",
		media_external_list_url : "lists/media_list.js"
	});
	
function showImage(){
var theImages = new Array()

theImages[0] = 'patrocinio1.png'
theImages[1] = 'patrocinio2.png'
theImages[2] = 'patrocinio3.png'
theImages[3] = 'patrocinio4.png'
theImages[4] = 'patrocinio5.png'
theImages[5] = 'patrocinio6.png'
theImages[6] = 'patrocinio7.png'
theImages[7] = 'patrocinio8.png'
theImages[8] = 'patrocinio9.png'
theImages[9] = 'patrocinio10.png'
theImages[10] = 'patrocinio11.png'
theImages[11] = 'patrocinio12.png'
theImages[12] = 'patrocinio13.png'
theImages[13] = 'patrocinio14.png'
theImages[14] = 'patrocinio15.png'
theImages[15] = 'patrocinio16.png'
theImages[16] = 'patrocinio17.png'
theImages[17] = 'patrocinio18.png'
theImages[18] = 'patrocinio19.png'
theImages[19] = 'patrocinio20.png'
theImages[20] = 'patrocinio21.png'
theImages[21] = 'patrocinio22.png'
theImages[22] = 'patrocinio23.png'
theImages[23] = 'patrocinio24.png'
theImages[24] = 'patrocinio25.png'
theImages[25] = 'patrocinio26.png'
theImages[26] = 'patrocinio27.png'
theImages[27] = 'patrocinio28.png'
theImages[28] = 'patrocinio29.png'
theImages[29] = 'patrocinio30.png'
theImages[30] = 'patrocinio31.png'
theImages[31] = 'patrocinio32.png'

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));

document.write('<img src=/patrocinios/'+theImages[whichImage]+' width="125" height="50" style="border:1px black solid" />')
}


	