// JavaScript Document

function home()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="695" height="408">\n');
    document.write('<param name="movie" value="images/home.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/home.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="695" height="408"></embed>\n');
    document.write('</object>\n');
}

function menu()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="155" height="413">\n');
    document.write('<param name="movie" value="images/menu.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="155" height="413"></embed>\n');
    document.write('</object>\n');
}

function tope(posicion,idioma)
{
    document.write('<div style="border-width:0px; width:1024px; height:310px">\n');
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="1024" height="310">\n');
    document.write('<param name="movie" value="images/cabecera.swf?pos=' + posicion + '&idioma=' + idioma + '">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="wmode" value="transparent">\n');
	document.write('<embed src="images/cabecera.swf?pos=' + posicion + '&idioma=' + idioma + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="310" wmode="transparent"></embed>\n');
    document.write('</object>\n');
    document.write('</div>\n');
}

function lateralhome(idioma) {
    document.write('<div style="border-width:0px; width:262px; height:228px">\n');
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="262" height="228">\n');
    document.write('<param name="movie" value="images/lateral_home2.swf?idioma=' + idioma + '">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<param name="wmode" value="transparent">\n');
    document.write('<embed src="images/lateral_home2.swf?idioma=' + idioma + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="262" height="228" wmode="transparent"></embed>\n');
    document.write('</object>\n');
    document.write('</div>\n');
}

function lateral(posicion,idioma)
{
    document.write('<div style="border-width:0px; width:262px; height:732px">\n');
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="262" height="732">\n');
    document.write('<param name="movie" value="images/lateral.swf?pos=' + posicion + '&idioma=' + idioma + '">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/lateral.swf?pos=' + posicion + '&idioma=' + idioma + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="262" height="732"></embed>\n');
    document.write('</object>\n');
    document.write('</div>\n');
}

function pie(idioma)
{
    document.write('<div style="border-width:0px; width:433px; height:130px">\n');
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="433" height="130">\n');
    document.write('<param name="movie" value="images/galeria_productos.swf?idioma=' + idioma + '">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/galeria_productos.swf?idioma=' + idioma + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="433" height="130"></embed>\n');
    document.write('</object>\n');
    document.write('</div>\n');
}
function mapa(idioma)
{
    document.write('<div style="border-width:0px; width:433px; height:320px">\n');
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="433" height="320">\n');
    document.write('<param name="movie" value="images/mapa.swf?idioma=' + idioma + '">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/mapa.swf?idioma=' + idioma + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="433" height="320"></embed>\n');
    document.write('</object>\n');
    document.write('</div>\n');
}

function areas(imagen,numero)
{
    document.write('<div style="border-width:0px; width:112px; height:84px">\n');
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="112" height="84">\n');
    document.write('<param name="movie" value="images/foto.swf?imagen=' + imagen + '&aid=' + numero +'">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/foto.swf?imagen=' + imagen + '&aid=' + numero +'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="112" height="84"></embed>\n');
    document.write('</object>\n');
    document.write('</div>\n');
}

function seccion(imagen,numero)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="98" height="99">\n');
    document.write('<param name="movie" value="images/fotoa.swf?imagen=areas/' + imagen + '&aid=' + numero +'">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/fotoa.swf?imagen=areas/' + imagen + '&aid=' + numero +'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="98" height="99"></embed>\n');
    document.write('</object>\n');
}

function producto(archivo,pid)
{
    document.write('<div style="border-width:0px; width:112px; height:84px">\n');
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="112" height="84">\n');
	document.write('<param name="movie" value="images/fotop.swf?imagen=' + archivo + '&pid=' + pid + '">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="images/fotop.swf?imagen=' + archivo + '&pid=' + pid + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="112" height="84"></embed>\n');
    document.write('</object>\n');
    document.write('</div>\n');
}
