var ie = (window.navigator.appName == "Microsoft Internet Explorer") ? true : false; function setEventByObject(object, event, func){ if (!ie){ object.addEventListener(event, func, false); } else { object.attachEvent("on" + event, func); } } setEventByObject(window, "unload", exitme); function exitme() { } // if (window.history.length > 0) { window.history.go(+1); } var pagina = new Object() function findPos(obj) { var curleft = curtop = 0; if (obj.offsetParent) { do { curleft += obj.offsetLeft; curtop += obj.offsetTop; } while (obj = obj.offsetParent); } return [curleft,curtop]; } var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds) var hidemenu_onclick="yes" //hide menu when user clicks within menu? var ie4=document.all var ns6=document.getElementById&&!document.all backfot = 'http://www.mediamarkt.es//images/productos/fondo_gris_extendido.jpg';document.write(''); function showhide(obj, e, visible, hidden, menuwidth){ if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top="-500px" if (menuwidth!=""){ dropmenuobj.widthobj=dropmenuobj.style dropmenuobj.widthobj.width=menuwidth } if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible else if (e.type=="click") obj.visibility=hidden } function preloadwwsmen(a) { ddrivetip("cargando....","#272f92","100") cadenares = "wws="+a;loadScript('http://www.mediamarkt.es/web_administration_tools/mm_intranet_admin/marketing/canal/preload_wws.php',cadenares); } function metewwsmen(a) { document.getElementById("wws").value = a } //onClick='return clickreturnvalue()' onMouseover=\"dropdownmenu(this, event, menu1, '150px')\" onMouseout='delayhidemenu()' function dropdownmenu(obj, e, menucontents, menuwidth, fondo){ backsep = 'http://www.mediamarkt.es/images/productos/separador_lineas_horizontal.gif';backfot = 'http://www.mediamarkt.es/images/productos/fondo_gris_extendido.jpg';backpix = 'http://www.mediamarkt.es/images/pixel.gif';separador_l = 'http://www.mediamarkt.es/images/productos/separador_lineas_horizontal_0.gif';pixel = 'http://www.mediamarkt.es/images/pixel.gif'; coors = findPos(obj) if (window.event) event.cancelBubble=true else if (e.stopPropagation) e.stopPropagation() clearhidemenu() dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv sacapmenwws = "" //arraysacme = eval(prefijo) //arraysacmea = eval(prefijoa) //sacapmenwws += "
" //for (i=0;i"+modelmen+"
" //} //sacapmenwws += "
" //sacapmenwws += "dsdsdsdsd"; sacapmenwws += coment_arr[menucontents][1] txtpo = "
" + sacapmenwws + "
" document.getElementById("dropmenudiv").innerHTML = txtpo; showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth) dropmenuobj.x=coors[0] dropmenuobj.y=coors[1] dropmenuobj.style.left=dropmenuobj.x+"px" dropmenuobj.style.top=dropmenuobj.y+"px" return clickreturnvalue() } function dropdownmenu_mini(obj, e, menucontents, menuwidth, fondo){ backsep = 'http://www.mediamarkt.es/images/productos/separador_lineas_horizontal.gif';backfot = 'http://www.mediamarkt.es/images/productos/fondo_gris_extendido.jpg';backpix = 'http://www.mediamarkt.es/images/pixel.gif';separador_l = 'http://www.mediamarkt.es/images/productos/separador_lineas_horizontal_0.gif';pixel = 'http://www.mediamarkt.es/images/pixel.gif'; coors = findPos(obj) if (window.event) event.cancelBubble=true else if (e.stopPropagation) e.stopPropagation() clearhidemenu() dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv sacapmenwws = "" sacapmenwws += coment_arr[menucontents][1] txtpo = "
" + sacapmenwws + "
" document.getElementById("dropmenudiv").innerHTML = txtpo; showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth) dropmenuobj.x=coors[0] dropmenuobj.y=coors[1] dropmenuobj.style.left=dropmenuobj.x+"px" dropmenuobj.style.top=dropmenuobj.y+"px" return clickreturnvalue() } function clickreturnvalue(){ if (ie4||ns6) return false else return true } function contains_ns6(a, b) { while (b.parentNode) if ((b = b.parentNode) == a) return true; return false; } function dynamichide(e){ if (ie4&&!dropmenuobj.contains(e.toElement)) delayhidemenu() else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhidemenu() } function hidemenu(e){ if (typeof dropmenuobj!="undefined"){ dropmenuobj.style.visibility="hidden" } } function delayhidemenu(){ delayhide=setTimeout("hidemenu()",disappeardelay) } function clearhidemenu(){ if (typeof delayhide!="undefined") clearTimeout(delayhide) } if (hidemenu_onclick=="yes") document.onclick=hidemenu ////////////////////// function isset(variable_name) { try { if (typeof(eval(variable_name)) != 'undefined') if (eval(variable_name) != null) return true; } catch(e) { } return false; } function arraymulti(iRows,iCols) { var i; var j; var a = new Array(iRows); for (i=0; i < iRows; i++) { a[i] = new Array(iCols); for (j=0; j < iCols; j++) { a[i][j] = ""; } } return(a); } function loadScript(urly, argumento, callback) { var script = document.createElement('script'); script.type = 'text/javascript'; if (callback) script.onload = script.onreadystatechange = function() { if (script.readyState && script.readyState != 'loaded' && script.readyState != 'complete') return; script.onreadystatechange = script.onload = null; callback(); }; num1 = 4000 num2 = 999999 var generator = Math.random()*(num2-num1); generator = Math.round(num1+generator); if (argumento) prefar = "&" + argumento else prefar = "" fich_cargar = urly + "?rand=" + generator + prefar; script.src = fich_cargar; document.getElementsByTagName('head')[0].appendChild (script); } var infor = new Object() var flashinstalled = 0; var flashversion = 0; MSDetect = "false"; if (navigator.plugins && navigator.plugins.length) { x = navigator.plugins["Shockwave Flash"]; if (x) { flashinstalled = 2; if (x.description) { y = x.description; flashversion = y.charAt(y.indexOf('.')-1); } } else flashinstalled = 1; if (navigator.plugins["Shockwave Flash 2.0"]) { flashinstalled = 2; flashversion = 2; } } else if (navigator.mimeTypes && navigator.mimeTypes.length) { x = navigator.mimeTypes['application/x-shockwave-flash']; if (x && x.enabledPlugin) flashinstalled = 2; else flashinstalled = 1; } else MSDetect = "true"; if (MSDetect) { document.write(' \n'); document.write('on error resume next \n'); document.write('If MSDetect = "true" Then \n'); document.write(' For i = 2 to 20 \n'); document.write(' If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then \n'); document.write(' Else \n'); document.write(' flashinstalled = 2 \n'); document.write(' flashversion = i \n'); document.write(' End If \n'); document.write(' Next \n'); document.write('End If \n'); document.write('If flashinstalled = 0 Then \n'); document.write(' flashinstalled = 1 \n'); document.write('End If \n'); document.write('<\/SCR' + 'IPT\> \n'); } infor.horizontal = screen.width infor.vertical = screen.height plataforma = navigator.platform; tiponav = navigator.userAgent; infor.plataforma = 0; infor.navegador = 0; infor.flashversion = 0; if (plataforma.search(/win/gi) != "-1") infor.plataforma = "win"; if (plataforma.search(/mac/gi) != "-1") infor.plataforma = "mac"; if (plataforma.search(/linux/gi) != "-1") infor.plataforma = "linux"; if (tiponav.search(/IE/gi) != "-1") infor.navegador = "ie"; if (tiponav.search(/fox/gi) != "-1") infor.navegador = "firefox"; if (tiponav.search(/opera/gi) != "-1") infor.navegador = "opera"; infor.flashinstalled = flashinstalled; infor.flashversion = flashversion; //alert(Infor.Navegador) // alert(infor.plataforma) // alert(infor.flashversion) // alert(infor.horizontal) // alert(infor.vertical) // alert(infor.flashinstalled) // alert(infor.flashversion) function findPos(obj) { var curleft = curtop = 0; if (obj.offsetParent) { do { curleft += obj.offsetLeft; curtop += obj.offsetTop; } while (obj = obj.offsetParent); } return [curleft,curtop]; } function escribecapas() { heighsex = document.body.scrollHeight + "px" if (infor.navegador == "ie" && document.body.scrollHeight>= 1500) heighsex = "120%" estadopre0 = 'none'; capanegra0 = "
" capanegra0 += "
" capanegra0 += "
" document.write(capanegra0) } function escribecapas2() { heighsex = document.body.scrollHeight + "px" if (infor.navegador == "ie" && document.body.scrollHeight>= 1500) heighsex = "120%" estadopre2 = 'none'; capanegra2 = "
" capanegra2 += "
" capanegra2 += "
" document.write(capanegra2) } function hazgen(a) { visse = "visible" vissea = "hidden" if (a == "0") { visse = "hidden" vissea = "visible" } selects = document.getElementsByTagName("select"); for (i = 0; i != selects.length; i++) { tops = selects[i].offsetTop lefts = selects[i].offsetLeft selects[i].style.visibility = visse; } } function quitapreload() { muestraswf() document.getElementById("mensajeprelo0").style.visibility = "hidden" //document.body.style.overflow = "auto"; document.getElementById('sexyBG0').style.display = "none" document.getElementById('mensajeprelo0').style.display = "none" document.getElementById('mensajeprelo0').innerHTML = "" hazgen(1) } function quitapreload_modifica() { servi_http = 'www.mediamarkt.es';urlinicio = 'http://'+servi_http+'/'; location.href = urlinicio } function quitapreload2() { muestraswf() document.getElementById("mensajeprelo2").style.visibility = "hidden" //document.body.style.overflow = "auto"; document.getElementById('sexyBG2').style.display = "none" document.getElementById('mensajeprelo2').style.display = "none" document.getElementById('mensajeprelo2').innerHTML = "" hazgen(1) } function visionaiframe() { document.getElementById('prelograf0').innerHTML = ''; document.getElementById("prelograf0").style.visibility = "hidden" document.getElementById('prelograf0').style.display = "none" document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } function sacapreload(a) { capasx0 = document.getElementById('sexyBG0').style.display if (capasx0 == "none") { num1 = 4000 num2 = 999999 var generator = Math.random()*(num2-num1); generator = Math.round(num1+generator); altura = document.body.scrollHeight anchura = document.body.clientWidth scrollaltura = document.body.scrollTop alturatot =altura if (scrollaltura >= 1 && infor.navegador == "ie") { //document.getElementById('sexyBG0').style.top=scrollaltura+"px" document.getElementById('prelograf0').style.top=scrollaltura+"px" document.getElementById('mensajeprelo0').style.top=scrollaltura+"px" } else { document.body.scrollTop = "0" } servi_http = 'www.mediamarkt.es'; document.getElementById('sexyBG0').style.display = "block" hazgen(0) //document.body.style.overflow = "auto"; //document.body.style.overflow = "hidden"; } if (a == "1") { idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/acceso.php?idioma='+idiomaj; iframetxp = "" cerrar_aspa = "Identifícate" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "3") { idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/nuevo_pass.php?idioma='+idiomaj; //alert(urlacceso) //background: #00ff00 url('smiley.gif') no-repeat fixed center; iframetxp = "" cerrar_aspa = "Cambio de clave" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" //visionaiframe() } if (a == "4") { idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/nuevo_pass.php?idioma='+idiomaj;fondometalico = 'http://www.mediamarkt.es/images/acceso/fondo_metalico.jpg'; cerrar_aspa = "Cambio de clave" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
Han transcurrido más de 10 minutos desde que se envió el mail de confirmación.
Puedes volver a solicitar el cambio de clave pulsando AQUÍ.
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" //visionaiframe() } if (a == "5") { idiomaj = '0';urlacceso = 'http://www.mediamarkt.es/foto/entrada.php?idioma='+idiomaj; iframetxp = "" cerrar_aspa = "Revelado On-Line" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "6") { idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/acceso.php?idioma='+idiomaj+'&acceder=4'; iframetxp = "" cerrar_aspa = "Identifícate" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "7") { // aviso de liquidaciones proximamente cerrar_aspa = "Liquidaciones" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
Las liquidaciones de esta tienda estarán disponibles próximamente.
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "8") { // buscador inactivo cerrar_aspa = "Buscador" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
Estamos realizando tareas de mantenimiento en el buscador.
Inténtalo de nuevo más tarde.
Disculpa las molestias.
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "9") { // buscador inactivo cerrar_aspa = "Información" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
Estamos realizando tareas de mantenimiento.
Inténtalo de nuevo más tarde.
Disculpa las molestias.
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "10") { idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/acceso_modifica.php?idioma='+idiomaj; iframetxp = "" cerrar_aspa = "Identifícate" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "11") { document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } if (a == "12") { idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/enviar_news.php'; iframetxp = "" cerrar_aspa = "Recomiéndaselo a un amigo" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } } function php_urlencode(str) { str = escape(str); return str.replace(/[*+\/@]|%20/g, function (s) { switch (s) { case "*": s = "%2A"; break; case "+": s = "%2B"; break; case "/": s = "%2F"; break; case "@": s = "%40"; break; case "%20": s = "+"; break; } return s; } ); } function enviar_mail_registro(mail) { servi_http = 'www.mediamarkt.es';urlinicio = 'http://'+servi_http+'/'; if(!check_email(mail))alert("El formato del mail no es correcto.") else location.href = urlinicio + "apuntate/registre.php?mail_registro_index="+php_urlencode(mail) } function check_email(e) { ok = "1234567890qwertyuiop[]asdfghjklzxcvbnm.@-_QWERTYUIOPASDFGHJKLZXCVBNM"; for(i=0; i < e.length ;i++){ if(ok.indexOf(e.charAt(i))<0){ return (false); } } if (document.images) { re = /(@.*@)|(\.\.)|(^\.)|(^@)|(@$)|(\.$)|(@\.)/; re_two = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/; if (!e.match(re) && e.match(re_two)) { return (-1); } } } function ocultaswf(){ var flashObjects = document.getElementsByTagName("object"); for (i = 0; i < flashObjects.length; i++) { flashObjects[i].style.visibility = "hidden"; } var flashEmbeds = document.getElementsByTagName("embed"); for (i = 0; i < flashEmbeds.length; i++) { flashEmbeds[i].style.visibility = "hidden"; } } function muestraswf(){ var flashObjects = document.getElementsByTagName("object"); for (i = 0; i < flashObjects.length; i++) { flashObjects[i].style.visibility = "visible"; } var flashEmbeds = document.getElementsByTagName("embed"); for (i = 0; i < flashEmbeds.length; i++) { flashEmbeds[i].style.visibility = "visible"; } } function VerGaleria(foto,num_fotos,nombre,ruta){ capasx = document.getElementById('sexyBG0').style.display if (capasx == "none") { num1 = 4000 num2 = 999999 var generator = Math.random()*(num2-num1); generator = Math.round(num1+generator); altura = document.body.scrollHeight anchura = document.body.clientWidth scrollaltura = document.body.scrollTop alturatot =altura if (scrollaltura >= 1 && infor.navegador == "ie") { document.getElementById('prelograf0').style.top=scrollaltura+"px" document.getElementById('mensajeprelo0').style.top=scrollaltura+"px" } else { document.body.scrollTop = "0" } servi_http = 'www.mediamarkt.es'; document.getElementById('sexyBG0').style.display = "block" hazgen(0) //document.body.style.overflow = "auto"; //document.body.style.overflow = "hidden"; } idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/galeria/galeria.php?idioma='+idiomaj+'&foto='+foto+'&num_fotos='+num_fotos+'&nombre='+nombre+'&ruta='+ruta; iframetxp = "" document.getElementById('mensajeprelo0').innerHTML = '
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } function VerVideo(ruta){ capasx = document.getElementById('sexyBG0').style.display if (capasx == "none") { num1 = 4000 num2 = 999999 var generator = Math.random()*(num2-num1); generator = Math.round(num1+generator); altura = document.body.scrollHeight anchura = document.body.clientWidth scrollaltura = document.body.scrollTop //alturatot =altura+scrollaltura //alert(document.body.scrollHeight) alturatot =altura if (scrollaltura >= 1 && infor.navegador == "ie") { //document.getElementById('sexyBG0').style.top=scrollaltura+"px" document.getElementById('prelograf0').style.top=scrollaltura+"px" document.getElementById('mensajeprelo0').style.top=scrollaltura+"px" } else { document.body.scrollTop = "0" } servi_http = 'www.mediamarkt.es'; document.getElementById('sexyBG0').style.display = "block" hazgen(0) //document.body.style.overflow = "auto"; //document.body.style.overflow = "hidden"; } idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/video/video.php?idioma='+idiomaj+'&ruta='+ruta; iframetxp = "" document.getElementById('mensajeprelo0').innerHTML = '
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } function VerNotaLegal(marca){ //ocultaswf() capasx = document.getElementById('sexyBG0').style.display if (capasx == "none") { num1 = 4000 num2 = 999999 var generator = Math.random()*(num2-num1); generator = Math.round(num1+generator); altura = document.body.scrollHeight anchura = document.body.clientWidth scrollaltura = document.body.scrollTop //alturatot =altura+scrollaltura //alert(document.body.scrollHeight) alturatot =altura if (scrollaltura >= 1 && infor.navegador == "ie") { //document.getElementById('sexyBG0').style.top=scrollaltura+"px" document.getElementById('prelograf0').style.top=scrollaltura+"px" document.getElementById('mensajeprelo0').style.top=scrollaltura+"px" } else { document.body.scrollTop = "0" } servi_http = 'www.mediamarkt.es'; document.getElementById('sexyBG0').style.display = "block" hazgen(0) //document.body.style.overflow = "auto"; //document.body.style.overflow = "hidden"; } idiomaj = '0';urlacceso = 'http://'+servi_http+'/apuntate/notalegal.php?idioma='+idiomaj+'#'+marca; iframetxp = "" cerrar_aspa = "Nota legal" document.getElementById('mensajeprelo0').innerHTML = '
'+cerrar_aspa+'
'+iframetxp+'
'; document.getElementById('sexyBG0').innerHTML = '
 
' document.getElementById("mensajeprelo0").style.visibility = "visible" document.getElementById('mensajeprelo0').style.display = "block" } function enviar_codigo(codigo,quien){ capasx2 = document.getElementById('sexyBG2').style.display if (capasx2 == "none") { num1 = 4000 num2 = 999999 var generator = Math.random()*(num2-num1); generator = Math.round(num1+generator); altura2 = document.body.clientHeight anchura2 = document.body.clientWidth scrollaltura2 = document.body.scrollTop //alert (altura2); //alert (anchura2); //alert (scrollaltura2); //alturatot =altura if (scrollaltura2 >= 1 && infor.navegador == "ie") { document.getElementById('sexyBG2').style.top=scrollaltura2+"px" document.getElementById('prelograf2').style.top=scrollaltura2+"px" document.getElementById('mensajeprelo2').style.top=scrollaltura2+"px" } else { document.body.scrollTop = "0" } servi_http = 'www.mediamarkt.es'; document.getElementById('sexyBG2').style.display = "block" //hazgen(0) } if (quien=='movil'){ idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/enviar_codigo.php?idioma='+idiomaj+'&codigo_wws='+codigo; iframetxp2 = ""; cerrar_aspa = "Envíate el código al móvil"; } else if (quien=='amigo'){ idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/enviar_amigo.php?idioma='+idiomaj+'&codigo_wws='+codigo; iframetxp2 = ""; cerrar_aspa = "Recomiéndaselo a un amigo"; } else { idiomaj = '0';urlacceso = 'http://'+servi_http+'/includes/enviar_error.php?idioma='+idiomaj+'&codigo_wws='+codigo; iframetxp2 = ""; cerrar_aspa = "Avisar de un error"; } //document.getElementById('sexyBG2').innerHTML = '
 
'; document.getElementById('mensajeprelo2').innerHTML = '
'+cerrar_aspa+'
'+iframetxp2+'
'; document.getElementById("mensajeprelo2").style.visibility = "visible"; document.getElementById('mensajeprelo2').style.display = "block"; } function pflash(){ servi_http = 'www.mediamarkt.es';urlacceso = 'http://'+servi_http+'/includes/pflash.php'; var ventanaflash; ventanaflash = window.open(urlacceso,"tabla","resizable=no,scrollbars=no,width=300, height=150,top=300,left=480"); } function funcionresi() { alturatot = document.body.scrollHeight document.getElementById('sexyBG0').innerHTML = '
 
' } window.onresize = funcionresi; function cierrasesiones() { cadenares = "script=1&dirh=";urlcerrar = 'http://www.mediamarkt.es//includes/cerrar_sesiones.php';loadScript(urlcerrar,cadenares); } function cierrasesion() { cadenares = "script=1&dirh=";urlcerrar = 'http://www.mediamarkt.es//includes/cerrar_sesion.php';loadScript(urlcerrar,cadenares); } function haz_votos(wws) { idiomaj = '0';cadenares = "wws="+wws+"&idioma="+idiomaj;urlcerrar = 'http://www.mediamarkt.es//productos/hazvotos.php';loadScript(urlcerrar,cadenares); } function haz_comentarios(wws,acc,inicio,numpag) { comentario = ""; if (acc == "hazcomen")comentario = escape(document.getElementById('comments').value) haz_progress("capa_comentarios") idiomaj = '0';cadenares = "comentario="+comentario+"&inicio="+inicio+"&accion="+acc+"&wws="+wws+"&idioma="+idiomaj+"&numpag="+numpag;urlcerrar = 'http://www.mediamarkt.es//productos/hazcomentarios.php';loadScript(urlcerrar,cadenares); } function haz_comentarios_mini(wws,acc,inicio,numpag) { comentario = ""; if (acc == "hazcomen")comentario = escape(document.getElementById('comments').value) haz_progress("capa_comentarios") idiomaj = '0';cadenares = "comentario="+comentario+"&inicio="+inicio+"&accion="+acc+"&wws="+wws+"&idioma="+idiomaj+"&numpag="+numpag;urlcerrar = 'http://www.mediamarkt.es//productos/hazcomentarios_mini.php';loadScript(urlcerrar,cadenares); } function votar(voto) { idiomaj = '0';cadenares = "wws="+pagina.wws+"&idioma="+idiomaj+"&vota="+voto;urlcerrar = 'http://www.mediamarkt.es//productos/vota.php';loadScript(urlcerrar,cadenares); } function haz_progress(capa) { txt = '
 
'; document.getElementById(capa).innerHTML = txt; document.getElementById(capa).style.visibility = "visible" } var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return }f(H);if(h.ie&&h.win){try{K.write("