<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html lang="es" xmlns="http://www.w3.org/1999/xhtml">

<!-- #BeginTemplate "Templates/project.dwt" -->

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- #BeginEditable "doctitle" -->
<title>Cesta de Compras | CakeyParty</title>
<meta name="robots" content="noindex" />
<!-- #EndEditable -->
<meta http-equiv="content-language" content="es-ES" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="Language" content="es-ES" />
<meta name="country" content="ES" />
<meta name="author" content="Miguel Ponte" />
<meta name="publisher" content="MD cake, Ltd." />
<meta name="copyright" content="Copyright © 2009-2012 MDcake" />
<meta name="rating" content="general" />
<link href="../favicon.ico" rel="shortcut icon" />
<link href="style_es.css" rel="stylesheet" type="text/css" />
<link href="../print.css" rel="stylesheet" type="text/css" media="print" />
<!-- #BeginEditable "css" -->
<style type="text/css">
.input{border:1px solid #e2e2e2;font-size:11px;line-height:14px;padding-left:2px;}
</style>
<!-- #EndEditable -->
</head>
<body oncontextmenu="return false" ondragstart="return false" onselectstart="return false">
<div id="top">
<img alt="" src="../images/header_top.png" width="850px" height="13px" /></div>
<div id="main">
<div id="banner">
<div id="flyer">
<!-- #BeginEditable "TopText" -->
<img alt="" src="../../images/commas_left.png" width="12" height="9" /> 
Bienvenido à CakeyParty - España, la tienda online donde encontrarás todo para la decoración de tartas y fiestas infantiles.
<img alt="" src="../../images/commas_right.png" width="12" height="9" />
<!-- #EndEditable -->
</div>
<div class="flyer_minicart">

<div class="minicartoneline">

	<div class="minicartoneline1">0 Artículo(s) en cesta  | </div>
	<div class="minicartoneline2">Totales € 0,00 | </div>

	<div class="minicartoneline3"><img src="images/littlecart1.gif" align="top" width="16" height="15" alt="cesta" /> &nbsp;<a class="ectlink mincart" href="http://www.cakeyparty.com/es/cart.asp">cesta</a></div>
</div>

</div>
<div class="flyer_currency">
EU 
<img alt="Precios en euros" title="Click to change currency" src="../images/EUR.gif" width="16px" height="11px" onclick="ycc_convert_page('EUR')" style="CURSOR: pointer"/>&nbsp;
GB 
<img alt="Precios en Libras" title="Click to change currency" src="../images/GBP.gif" width="16px" height="11px" onclick="ycc_convert_page('GBP')" style="CURSOR: pointer"/>&nbsp;
CH 
<img alt="Precios en Francos Suiços" title="Click to change currency" src="../images/CHF.gif" width="16px" height="11px" onclick="ycc_convert_page('CHF')" style="CURSOR: pointer"/>&nbsp;
BR 
<img alt="Precios en Reales de Brazil" title="Click to change currency" src="../images/REAL.gif" width="16px" height="11px" onclick="ycc_convert_page('BRL')" style="CURSOR: pointer"/>
</div>
<div class="flyer_search">
<form method="post" action="search.asp">
<input type="hidden" name="posted" value="1" />&nbsp;<input type="text" name="stext" onfocus="if(this.value==' Busqueda...')this.value='';" value=" Busqueda..." size="16" style="width: 110px" />
<input name="Submit" type="image" src="../images/topsearchbut.png" style="vertical-align: top" value="Search" />
</form>
</div>
</div>
<div id="root">
<div id="menu">
<ul>
<li class="home_es"><a href="default.asp"></a></li>
<li class="aboutus_es"><a href="nosotros.asp"></a></li>
<li class="customersupport_es"><a href="formulario-ayuda.asp"></a></li>
<li class="support_es"><a href="preguntas-frecuentes.asp"></a></li>
<li class="contact_es"><a href="contacto.asp"></a></li>
<li class="viewbasket_es"><a href="cart.asp"></a></li>
<li class="affiliate_es"><a href="afiliados.asp"></a></li>
<li class="blog_es"><a href="http://cakeyparty.blogspot.com"></a></li>
<li class="promo_es"><a href="regalos.asp"></a></li>
</ul>
</div>
<div style="background-color: #B1DB44; height: 5px">&nbsp;</div>
<div id="croot">
<div id="path">
<div style="float:left">
<a class="ectlink2" href="default.asp">Início</a> 
<!-- #BeginEditable "Breadcrumbs" -->
» <b>Cesta</b> 
<!-- #EndEditable -->
</div>
<div style="float:right">
<a class="ectlink2" href="cart.asp?mode=newaccount">Registro de nuevo cliente</a> <b>|</b> 
<a class="ectlink2" href="cart.asp?mode=acct">Ver cuenta de cliente</a> <b>|</b>  
<a class="ectlink2" href="orderstatus.asp">Ver estado del pedido</a>
</div>
<!-- #BeginEditable "Top" -->
<div class="fl">
<strong></strong> <a href="#"></a>
</div>
<!-- #EndEditable -->
</div>
<div id="left_side">
<h2 class="bolos_es"></h2>
<div class="testimonials_menu">
<br />
<ul class="menu_produtos">
<li class="menu_produtos">
<a href="products.asp?cat=Figuras+de+Novios" title="Figuras de novios para pastel" class="menu_produtos_link">
Figuras de novios</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Figuras+de+Bautizo" title="Figuras de bautizo para pastel" class="menu_produtos_link">
Figuras de bautizo</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Kits+de+Decoracion" title="Figuras infantiles para decoración de tartas" class="menu_produtos_link">
Figuras infantiles</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Obleas" title="Obleas para decoración de tartas" class="menu_produtos_link">
Obleas</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Velas+de+Cumpleanos" title="Velas para tarta de cumpleaños" class="menu_produtos_link">
Velas de Cumpleaños</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Moldes+para+Magdalenas" title="Moldes para madalenas, cupcakes o muffins" class="menu_produtos_link">
Moldes para madalenas</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Moldes" title="Moldes para tartas/pasteles" class="menu_produtos_link">
Moldes para tartas</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Cortadores+Galletas" title="Cortadores para Galletas" class="menu_produtos_link">
Cortantes para galletas</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Pastas" title="Pastas y glaciados" class="menu_produtos_link">
Pastas y colorantes</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Gel+y+Colorantes" title="Colorantes y gel" class="menu_produtos_link">
Colorantes y gel</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Bandejas+y+Platos" title="Bandejas y platos para pasteles" class="menu_produtos_link">
Bandejas y platos</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Utillaje+para+pastelaria" title="Utillaje para decoración de pasteles" class="menu_produtos_link">
Utillaje</a></li>
</ul>
</div>
<h2 class="x3"></h2>
<h2 class="x0"></h2>
<div style="text-align: center">
<a href="informacion-pago.asp">
<img alt="Informaciones sobre formas de pago." src="images/pago.gif" width="153px" height="72px" /></a><br />
<br />
<br />
<a href="informacion-pago.asp">
<img alt="" src="images/metodos_pagamento.png" width="109px" height="296px" /></a>
<br /><br /><br />
</div>
</div>
<div id="content">
<!-- #BeginEditable "Body" -->

<img src="images/Passo1.gif" alt="Passo 1 de 3"/><br/>
<!--<img alt='comma' src='../images/commas_left.png' class='question_mark'/> No lo pierdas! En pedidos de valor superior a €35 recibirás 1 regalo CakeyParty. <img alt=&quot;comma&quot; src=&quot;../images/commas_right.png&quot; class=&quot;question_mark&quot;/>
<p>  Por favor haga <a href=&quot;#ofertas&quot;>« clic aquí »</a> para seleccionar el regalo que desea recibir junto con su pedido.</p>-->
<br/>

<br/>
<script language="javascript" type="text/javascript">/* <![CDATA[ */
var checkedfullname=false;
function checknewaccount(){
var frm=document.forms.checkoutform;
if(frm.name.value==""){
	alert("Entre un valor en este campo  \"Nombre \".");
	frm.name.focus();
	return(false);
}
var regex=/ /;
if(!checkedfullname && !regex.test(frm.name.value)){
	alert("Este mensaje no aparecerá de nuevo.\\nAsegúrese de colocar su nombre y apellido en la casilla  \"Nombre \".");
	frm.name.focus();
	checkedfullname=true;
	return(false);
}
var regex = /[^@]+@[^@]+\.[a-z]{2,}$/i;
if(!regex.test(frm.email.value)){
	alert("Indique una dirección de correo electrónico válida.");
	frm.email.focus();
	return(false);
}
if(frm.pass.value==""){
	alert("Entre un valor en este campo  \"Contraseña\".");
	frm.pass.focus();
	return(false);
}
var regex=/^[0-9A-Za-z\_\@\.\-]+$/;
if (!regex.test(frm.pass.value)){
    alert("Entre sólamente caracteres alfa-numéricos sin espacios en este campo  \"Contraseña\".");
    frm.pass.focus();
    return(false);
}
frm.mode.value='donewaccount';
frm.action='cart.asp';
return true;
}
function checkchecked(){
	ischecked=false
	var inputs = document.getElementsByTagName('input');
	for(var i = 0; i < inputs.length; i++)
		if(inputs[i].type == 'checkbox'){
			if(inputs[i].checked&&inputs[i].name.substr(0,5)=='delet') ischecked = true;
		}
	if(! ischecked) alert("You haven't selected any items.");
	return(ischecked);
}

function doupdate(){
	document.forms.checkoutform.mode.value='update';
	document.forms.checkoutform.action='cart.asp';
	document.forms.checkoutform.onsubmit='';
	document.forms.checkoutform.submit();
	return false;
}
var savemenuaction='saveitem';
function dosaveitem(lid){
	if(savemenuaction=='saveitem'){
		if(!checkchecked()) return;
		document.forms.checkoutform.mode.value='savecart';
		document.forms.checkoutform.listid.value=lid;
		document.forms.checkoutform.action='cart.asp';
		document.forms.checkoutform.onsubmit='';
		document.forms.checkoutform.submit();
	}else{
		document.location='cart.asp?mode=sc&lid='+lid;
	}
}
function movetocart(){
	if(!checkchecked()) return(false);
	document.forms.checkoutform.mode.value='movetocart';
	document.forms.checkoutform.action='cart.asp';
	document.forms.checkoutform.onsubmit='';
	document.forms.checkoutform.submit();
	return(false);
}
var cartoversldiv;
function cartdispsavelist(isleft,wantextras,evt,twin){
	cartoversldiv=false
	var theevnt=(!evt)?twin.event:evt;//IE:FF
	if(wantextras){
		document.getElementById('savelistcartrow').style.display='';
		document.getElementById('savelistcreaterow').style.display='';
	}else{
		document.getElementById('savelistcartrow').style.display='none';
		document.getElementById('savelistcreaterow').style.display='none';
	}
	var sld = document.getElementById('savecartlist');
	var scrolltop=(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);
	var scrollleft=(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft);
	sld.style.left = ((theevnt.clientX+scrollleft)-(isleft?0:sld.offsetWidth))+'px';
    sld.style.top = (theevnt.clientY+scrolltop)+'px';
	sld.style.visibility = "visible";
	setTimeout('cartchecksldiv()',2000);
	return(false);
}
function cartchecksldiv(){
	var sld = document.getElementById('savecartlist');
	if(! cartoversldiv)
		sld.style.visibility = 'hidden';
}
function selaltrate(id){
	document.forms.checkoutform.altrates.value=id;
	doupdate();
}

/* ]]> */</script>
	<form method="post" name="checkoutform" action="cart.asp">
	<input type="hidden" name="mode" value="checkout" />
	<input type="hidden" name="sessionid" value="827711840" />
	<input type="hidden" name="PARTNER" value="" />
	<input type="hidden" name="cart" value="" />
	<input type="hidden" name="listid" value="" />

			<table class="cobtbl" width="100%" border="0" cellspacing="1" cellpadding="3">

			  <tr>
				<td class="cobllb" height="90" colspan="6" align="center">Usted no ha aún iniciado sesión.<br/> Para entrar <a class="ectlink" href="cart.asp?mode=login"><strong>haga clic aquí</strong></a>  | Para registrarse <a class="ectlink" href="cart.asp?mode=newaccount"><strong>haga clic aquí</strong></a> <br/><br/><strong>¿No quiere crear una cuenta?<br/></strong>Simplemente haga clic en el botón 'Continuar' para completar el pedido o en el botón 'volver' para continuar comprando.</td>
			  </tr>

			  <tr>
			    <td class="cobll" colspan="6" align="center">
				  <p>&nbsp;</p><p></p><p>Si desea empezar a navegar por nuestra tienda por favor <a class="ectlink" href="default.asp"><strong>haga clic aquí</strong></a>.</p>
<p>&nbsp;</p>
<script language="javascript" type="text/javascript">/* <![CDATA[ */
var ectvalue=Math.floor(Math.random()*10000 + 1);
document.cookie = "ECTTESTCART=" + ectvalue + "; path=/";
if((document.cookie+";").indexOf("ECTTESTCART=" + ectvalue + ";") < 0) document.write("Aparentemente los cookies no están activados en su navegador. Esto puede significar que el sistema de cesta de compras de esta página web no funcionará correctamente. Si Ud. encuentre problemas, verifique que la seguridad de su navegador no es ajustado a un nivel demasiado alto y también que no haya bloqueo por barrera de fuego, \"cookies\" o \"javascript\".");
/* ]]> */</script>
<noscript>Aparentemente el "Javascript" de su navegador es desactivado. Esto puede significar que el sistema de cesta de compras de esta página web no funcionará correctamente. Si Ud. encuentre problemas, verifique que la seguridad de su navegador no es ajustado a un nivel demasiado alto y también que no haya bloqueo por barrera de fuego, "cookies" o "javascript".</noscript>
				  <p><img border="0" src="images/imgcontshop.gif" onmouseover="this.style.cursor='pointer';window.status='Continuar comprando';return true" onmouseout="window.status='';return true" onclick="document.location='default.asp'" alt="Continuar comprando" /></p><p>&nbsp;</p>
				</td>
			  </tr>
			</table>
	</form>
<a name="ofertas"></a>
<br/><br/>


<style type="text/css">.buybutton{position:relative;left:-225px}td.prodimage{vertical-align:middle;}td.optiontext{width:0px}span.prodoption{display:none}.cstitle{margin-bottom:-40px;}.detailsbutton{display:none}img.cs1prodimage{border:1px #e2e2e2 solid;padding:4px;margin:0px 0px 0px -5px}</style>

<p class="cstitle"><strong>Aviso:</strong> Cuando su pedido llegar a 35 euros, el botón 'añadir' aparecerá junto a las opciones disponibles. Por favor tenga en cuenta que sólo recibirá nuestra oferta si pulsar el botón 'añadir', adjuntando el regalo pretendido a el carrito.</strong></p>

<style>
.prodname {
	display:none
}
</style>



<div id="notifyinstockcover" style="filter:alpha(opacity=50);opacity:0.5;background:#AAAAAA;position:fixed;visibility:hidden;top:0px;left:0px;width:100%;height:auto;z-index:99;">&nbsp;</div>
<div id="notifyinstockdiv" style="position:absolute;visibility:hidden;top:10px;left:10px;height:auto;z-index:100;">
<table class="cobtbl" cellspacing="1" cellpadding="3" bgcolor="#B1B1B1">
<tr><td class="cobhl" bgcolor="#EBEBEB" colspan="2" align="right"><a href="javascript:closeinstock()"><img src="images/close.gif" border="0" alt="Close" /></a></td></tr>
<tr id="notifyoption"><td class="cobll" bgcolor="#FFFFFF" style="white-space:nowrap;text-align:center" colspan="2">Lo siento, esta opción está agotada en este momento</td></tr>
<tr><td class="cobll" bgcolor="#FFFFFF" style="white-space:nowrap" colspan="2">Por favor, introduzca su dirección de correo electrónico y le enviaremos un mensaje cuando este producto vuelva a estar disponible.</td></tr>
<tr><td class="cobll" bgcolor="#FFFFFF" align="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email:</td><td class="cobll" bgcolor="#FFFFFF"><input type="text" id="nsemailadd" size="35" /></td></tr>
<tr><td class="cobll" bgcolor="#FFFFFF" style="white-space:nowrap" colspan="2" align="center"><input type="button" value="Continuar" onclick="regnotifystock()" /> &nbsp; <input type="button" value="Cancelar" onclick="closeinstock()" /></td></tr>
</table></div>
<input type="hidden" id="hiddencurr" value="€ 0,00" /><script language="javascript" type="text/javascript">
/* <![CDATA[ */

var notifystockid;
var notifystocktid;
var notifystockoid;
var nsajaxobj;
function notifystockcallback(){
	if(nsajaxobj.readyState==4){
		var rstxt=nsajaxobj.responseText;
		if(rstxt!='SUCCESS')alert(rstxt);else alert("Se le notificará por e-mail cuando el producto vuelva a estar disponible.");
		closeinstock();
	}
}
function regnotifystock(){
	var regex = /[^@]+@[^@]+\.[a-z]{2,}$/i;
	var theemail = document.getElementById('nsemailadd');
	if(!regex.test(theemail.value)){
		alert("Indique una dirección de correo electrónico válida.");
		theemail.focus();
		return(false);
	}else{
		nsajaxobj=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("MSXML2.XMLHTTP");
		nsajaxobj.onreadystatechange = notifystockcallback;
		nsajaxobj.open("GET", "vsadmin/ajaxservice.asp?action=notifystock&pid="+encodeURIComponent(notifystockid)+'&tpid='+encodeURIComponent(notifystocktid)+'&oid='+encodeURIComponent(notifystockoid)+'&email='+encodeURIComponent(theemail.value),true);
		nsajaxobj.send(null);
	}
}
function closeinstock(){
	document.getElementById('notifyinstockdiv').style.visibility='hidden';
	document.getElementById('notifyinstockcover').style.visibility='hidden';
}
function notifyinstock(isoption,pid,tpid,oid){
	notifystockid=pid;
	notifystocktid=tpid;
	notifystockoid=oid;
	var ie=document.all && !window.opera;
	var bsd = document.getElementById('notifyinstockdiv');
	var isc = document.getElementById('notifyinstockcover');
	var viewportwidth=600;
	var viewportheight=400;
	if (typeof window.innerWidth != 'undefined'){
		viewportwidth = window.innerWidth;
		viewportheight = window.innerHeight;
	}else if(typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth!='undefined' && document.documentElement.clientWidth != 0){
		viewportwidth = document.documentElement.clientWidth;
		viewportheight = document.documentElement.clientHeight;
	}
	var scrolltop=(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);
	var scrollleft=(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft);
	var notifyoption=document.getElementById('notifyoption');
	notifyoption.style.display=(isoption?'':'none');
	isc.style.height='2000px';
	isc.style.visibility='visible';
	bsd.style.left = (scrollleft+((viewportwidth-bsd.offsetWidth)/2))+'px';
    bsd.style.top = (scrolltop+((viewportheight-bsd.offsetHeight)/2))+'px';
	bsd.style.visibility = 'visible';
	return(false);
}

function subformid(tid){
	var tform=document.getElementById('ectform'+tid);
	if(tform.onsubmit())tform.submit();
	return(false);
}
var op=[]; // Option Price Difference
var aIM=[]; // Option Alternate Image
var dIM=[]; // Default Image
var pIM=[]; // Product Image
var pIX=[]; // Product Image Index
var ot=[]; // Option Text
var pp=[]; // Product Price
var pi=[]; // Alternate Product Image
var or=[]; // Option Alt Id
var cp=[]; // Current Price
var oos=[]; // Option Out of Stock Id
var rid=[]; // Resulting product Id
var otid=[]; // Original product Id
var opttype=[];
var optperc=[];
var optmaxc=[];
var optacpc=[];
var fid=[];
var baseid='';
var oS=[];
var ps=[];
function checkStock(x,i){
if((i!=''&&oS[i]>0)||or[i])return(true);

notifyinstock(true,x.form.id.value,x.form.id.value,i);

x.focus();return(false);
}
var isW3 = (document.getElementById&&true);
var tax=16;
function dummyfunc(){};
function pricechecker(cnt,i){
if(i!=''&&i in op)return(op[i]);return(0);}
function regchecker(cnt,i){
if(i!='')return(or[i]);return('');}
function enterValue(x){
alert("Entre un valor en el lugar indicado.");
x.focus();return(false);}
function invalidChars(x){
alert("The following characters are invalid: " + x);
return(false);}
function enterDigits(x){alert("Sólo entre números enteros en este campo.");x.focus();return(false);}
function enterMultValue(){alert("Entre la cantidad para por lo menos una de las opciones.");return(false);}
function chooseOption(x){
alert("Escoja entre las opciones del artículo.");
x.focus();return(false);}
function dataLimit(x,numchars){
alert("Entre máximo 255 caracteres en el campo.".replace(255,numchars));
x.focus();return(false);}
var hiddencurr='';
function addCommas(ns,decs,thos){
if((dpos=ns.indexOf(decs))<0)dpos=ns.length;
dpos-=3;
while(dpos>0){
	ns=ns.substr(0,dpos)+thos+ns.substr(dpos);
	dpos-=3;
}
return(ns);
}
function formatprice(i, currcode, currformat){
if(hiddencurr=='')hiddencurr=document.getElementById('hiddencurr').value;var pTemplate=hiddencurr;
if(currcode!='') pTemplate=' 0,00' + (currcode!=' '?'<strong>'+currcode+'<\/strong>':'');if(currcode==' JPY')i=Math.round(i).toString();
else if(i==Math.round(i))i=i.toString()+".00";
else if(i*10.0==Math.round(i*10.0))i=i.toString()+"0";
else if(i*100.0==Math.round(i*100.0))i=i.toString();
i=addCommas(i.toString().replace(/\./,','),',','.');if(currcode!='')pTemplate = currformat.toString().replace(/%s/,i.toString());else pTemplate = pTemplate.toString().replace(/\d[,.]*\d*/,i.toString());return(pTemplate);}
function openEFWindow(id,askq){

var ecx = window.pageXOffset ? window.pageXOffset : document.documentElement && document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body ? document.body.scrollLeft : 0;
var ecy = window.pageYOffset ? window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body ? document.body.scrollTop : 0;
var viewportwidth=600;
if (typeof window.innerWidth != 'undefined'){
	viewportwidth = window.innerWidth;
}else if(typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth!='undefined' && document.documentElement.clientWidth != 0){
	viewportwidth = document.documentElement.clientWidth;
}
efrdiv = document.createElement('div');
efrdiv.setAttribute('id', 'efrdiv');
efrdiv.style.zIndex=1000;
efrdiv.style.position = 'absolute';
efrdiv.style.width = '100%';
efrdiv.style.height = '2000px';
efrdiv.style.top = '0px';
efrdiv.style.left = ecx + 'px';
efrdiv.style.textAlign = 'center';
efrdiv.style.backgroundImage='url(images/opaquepixel.png)';
document.body.appendChild(efrdiv);
ajaxobj=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("MSXML2.XMLHTTP");
ajaxobj.open("GET", 'emailfriend.asp?'+(askq?'askq=1&':'')+'id='+id, false);
ajaxobj.send(null);
efrdiv.innerHTML=ajaxobj.responseText;
document.getElementById('emftable').style.top = (ecy+100)+'px';
document.getElementById('emftable').style.left = (((viewportwidth-500)/2))+'px';

}
function updateoptimage(theitem,themenu,opttype){
if(imageitem=document.getElementById("prodimage"+theitem)){
var imageitemsrc='';
if(opttype==1){
	theopt=document.getElementsByName('optn'+theitem+'x'+themenu)
	for(var i=0; i<theopt.length; i++)
		if(theopt[i].checked)theid=theopt[i].value;
}else{
	theopt=document.getElementById('optn'+theitem+'x'+themenu)
	theid=theopt.options[theopt.selectedIndex].value;
}
if(aIM[theid]){
	if(typeof(imageitem.src)!='unknown')imageitem.src=aIM[theid];
}
}
}
function updateprodimage(theitem,isnext){
var imlist=pIM[theitem].split('\|');
if(isnext) pIX[theitem]++; else pIX[theitem]--;
if(pIX[theitem]<0) pIX[theitem]=imlist.length-2;
if(pIX[theitem]>imlist.length-2) pIX[theitem]=0;
document.getElementById("prodimage"+theitem).src=imlist[pIX[theitem]];
document.getElementById("extraimcnt"+theitem).innerHTML=pIX[theitem]+1;
return false;
}

function sz(szid,szprice,szstock,szimage){
ps[szid]=szstock;

	pp[szid]=szprice;
	szimage = szimage.replace("|", "prodimages/")
	szimage = szimage.replace("<", ".gif")
	szimage = szimage.replace(">", ".jpg")
	if(szimage!='')pi[szid]=szimage;
}
function gfid(tid){
	if(tid in fid)
		return(fid[tid]);
	fid[tid]=document.getElementById(tid);
	return(fid[tid]);
}
function applyreg(arid,arreg){
	if(arreg&&arreg!=''){
		arreg = arreg.replace('%s', arid);
		if(arreg.indexOf(' ')>0){
			var ida = arreg.split(' ', 2);
			arid = arid.replace(ida[0], ida[1]);
		}else
			arid = arreg;
	}
	return(arid);
}
function getaltid(theid,optns,prodnum,optnum,optitem,numoptions){
	var thereg = '';
	for(var index=0; index<numoptions; index++){
		if(Math.abs(opttype[index])==4){
			thereg = or[optitem];
		}else if(Math.abs(opttype[index])==2){
			if(optnum==index)
				thereg = or[optns.options[optitem].value];
			else{
				var opt=gfid("optn"+prodnum+"x"+index);
				thereg = or[opt.options[opt.selectedIndex].value];
			}
		}else if(Math.abs(opttype[index])==1){
			opt=document.getElementsByName("optn"+prodnum+"x"+index);
			if(optnum==index){
				thereg = or[opt[optitem].value];
			}else{
				for(var y=0;y<opt.length;y++)
					if(opt[y].checked) thereg = or[opt[y].value];
			}
		}else
			continue;
		theid = applyreg(theid,thereg);
	}
	return(theid);
}
function getnonaltpricediff(optns,prodnum,optnum,optitem,numoptions,theoptprice){
	var nonaltdiff=0;
	for(index=0; index<numoptions; index++){
		var optid = '';
		if(Math.abs(opttype[index])==4){
			optid=optitem;
		}else if(Math.abs(opttype[index])==2){
			if(optnum==index)
				optid = optns.options[optitem].value;
			else{
				var opt=gfid("optn"+prodnum+"x"+index);
				optid = opt.options[opt.selectedIndex].value;
			}
		}else if(Math.abs(opttype[index])==1){
			var opt=document.getElementsByName("optn"+prodnum+"x"+index);
			if(optnum==index)
				optid = opt[optitem].value;
			else{
				for(var y=0;y<opt.length;y++){ if(opt[y].checked) optid=opt[y].value; }
			}
		}else
			continue;
		if(!or[optid]&&optid in op)
			if(optperc[index])nonaltdiff+=(op[optid]*theoptprice)/100.0;else nonaltdiff+=op[optid];
	}
	return(nonaltdiff);
}
function updateprice(numoptions,prodnum,prodprice,origid,thetax,stkbyopts,taxexmpt){
	baseid=origid;
	if(!isW3) return;
	oos[prodnum]='';
	var origprice=prodprice;
	var hasmultioption=false;
	for(cnt=0; cnt<numoptions; cnt++){
		if(Math.abs(opttype[cnt])==2){
			optns=gfid("optn"+prodnum+"x"+cnt);
			baseid=applyreg(baseid,regchecker(prodnum,optns.options[optns.selectedIndex].value));
		}else if(Math.abs(opttype[cnt])==1){
			optns=document.getElementsByName("optn"+prodnum+"x"+cnt);
			for(var i=0;i<optns.length;i++){ if(optns[i].checked) baseid=applyreg(baseid,regchecker(prodnum,optns[i].value)); }
		}
		if(baseid in pp)prodprice=pp[baseid];
	}
	var baseprice=prodprice;
	for(cnt=0; cnt<numoptions; cnt++){
		if(Math.abs(opttype[cnt])==2){
			optns=gfid("optn"+prodnum+"x"+cnt);
			if(optperc[cnt])
				prodprice+=((baseprice*pricechecker(prodnum,optns.options[optns.selectedIndex].value))/100.0);
			else
				prodprice+=pricechecker(prodnum,optns.options[optns.selectedIndex].value);
		}else if(Math.abs(opttype[cnt])==1){
			optns=document.getElementsByName("optn"+prodnum+"x"+cnt);
			if(optperc[cnt])
				for(var i=0;i<optns.length;i++){ if(optns[i].checked) prodprice+=((baseprice*pricechecker(prodnum,optns[i].value))/100.0); }
			else
				for(var i=0;i<optns.length;i++){ if(optns[i].checked) prodprice+=pricechecker(prodnum,optns[i].value); }
		}
	}
	var totalprice=prodprice;
	for(cnt=0; cnt<numoptions; cnt++){
		if(Math.abs(opttype[cnt])==2){
			var optns=gfid("optn"+prodnum+"x"+cnt);
			for(var i=0;i<optns.length;i++){
				if(optns.options[i].value!=''){
					theid = origid;
					optns.options[i].text=ot[optns.options[i].value];
					theid = getaltid(theid,optns,prodnum,cnt,i,numoptions);
					theoptprice = (theid in pp?pp[theid]:origprice);
					if(pi[theid]&&pi[theid]!=''&&or[optns.options[i].value])aIM[optns.options[i].value]=pi[theid];
					theoptstock=((theid in ps&&or[optns.options[i].value])||!stkbyopts ? ps[theid] : oS[optns.options[i].value]);
					if(theoptstock<=0&&optns.selectedIndex==i){oos[prodnum]="optn"+prodnum+"x"+cnt;rid[prodnum]=theid;otid[prodnum]=origid;}
					canresolve=(!or[optns.options[i].value]||theid in ps)?true:false;
					var staticpricediff = getnonaltpricediff(optns,prodnum,cnt,i,numoptions,theoptprice);
					theoptpricediff=(theoptprice+staticpricediff)-totalprice;
if(theoptstock>0||!stkbyopts||!canresolve)optns.options[i].className='';else optns.options[i].className='oostock';
				}
			}
		}else if(Math.abs(opttype[cnt])==1){
			optns=document.getElementsByName("optn"+prodnum+"x"+cnt);
			for(var i=0;i<optns.length;i++){
				theid = origid;
				optn=gfid("optn"+prodnum+"x"+cnt+"y"+i);
				optn.innerHTML=ot[optns[i].value];
				theid = getaltid(theid,optns,prodnum,cnt,i,numoptions);
				theoptprice = (theid in pp?pp[theid]:origprice);
				if(pi[theid]&&pi[theid]!=''&&or[optns[i].value])aIM[optns[i].value]=pi[theid];
				theoptstock = ((theid in ps&&or[optns[i].value])||!stkbyopts ? ps[theid] : oS[optns[i].value]);
				if(theoptstock<=0&&optns[i].checked){oos[prodnum]="optn"+prodnum+"x"+cnt+"y"+i;rid[prodnum]=theid;otid[prodnum]=origid;}
				canresolve = (!or[optns[i].value]||theid in ps)?true:false;
				var staticpricediff = getnonaltpricediff(optns,prodnum,cnt,i,numoptions,theoptprice);
				theoptpricediff=(theoptprice+staticpricediff)-totalprice;
if(theoptstock>0||!stkbyopts||!canresolve)optn.className='';else optn.className='oostock';
			}
		}else if(Math.abs(opttype[cnt])==4){
			var tstr="optm"+prodnum+"x"+cnt+"y";
			var tlen=tstr.length;
			var optns=document.getElementsByTagName("input");
			hasmultioption=true;
			for(var i=0;i<optns.length;i++){
				if(optns[i].id.substr(0,tlen)==tstr){
					theid = origid;
					var oid=optns[i].name.substr(4);
					var optn=optns[i]
					var optnt=gfid(optns[i].id.replace(/optm/,"optx"));
					optnt.innerHTML='&nbsp;- '+ot[oid];
					theid = getaltid(theid,optns,prodnum,cnt,oid,numoptions);
					theoptprice = (theid in pp?pp[theid]:origprice);
				theoptstock = ((theid in ps&&or[oid])||!stkbyopts ? ps[theid] : oS[oid]);
				if(theoptstock<=0&&optns[i].checked){oos[prodnum]="optm"+prodnum+"x"+cnt+"y"+i;rid[prodnum]=theid;otid[prodnum]=origid;}
				canresolve = (!or[oid]||(applyreg(theid,or[oid]) in ps))?true:false;
				var staticpricediff = getnonaltpricediff(optns,prodnum,cnt,oid,numoptions,theoptprice);
				theoptpricediff=(theoptprice+staticpricediff)-totalprice;
if(theoptstock>0||(or[oid]&&!canresolve)){optn.className='multioption';optn.disabled=false;optn.style.backgroundColor='#FFFFFF';}else{optn.className='multioption oostock';optn.disabled=true;optn.style.backgroundColor='#EBEBE4';}
				}
			}
		}else if(Math.abs(opttype[cnt])==3){
			//prodprice+=xxx;
		}
	}
	if(hasmultioption)oos[prodnum]='';
	if((!cp[prodnum]||cp[prodnum]==0)&&prodprice==0)return;
	cp[prodnum]=prodprice;
}
function ectvalidate(theForm,numoptions,prodnum,stkbyopts){
	for(cnt=0; cnt<numoptions; cnt++){
		if(Math.abs(opttype[cnt])==4){
			var intreg = /^(\d*)$/;var inputs = theForm.getElementsByTagName('input');var tt='';
			for(var i=0;i<inputs.length;i++){if(inputs[i].type=='text'&&inputs[i].id.substr(0,4)=='optm'){if(! inputs[i].value.match(intreg))return(enterDigits(inputs[i]));tt+=inputs[i].value;}}if(tt=='')return(enterMultValue());
		}else if(Math.abs(opttype[cnt])==3){
			var voptn=eval('theForm.voptn'+cnt);
			if(optacpc[cnt].length>0){ var re = new RegExp("["+optacpc[cnt]+"]","g"); if(voptn.value.replace(re, "")!='')return(invalidChars(voptn.value.replace(re, ""))); }
			if(opttype[cnt]==3&&voptn.value=='')return(enterValue(voptn));
			if(voptn.value.length>(optmaxc[cnt]>0?optmaxc[cnt]:255))return(dataLimit(voptn,optmaxc[cnt]>0?optmaxc[cnt]:255));
		}else if(Math.abs(opttype[cnt])==2){
			optn=document.getElementById("optn"+prodnum+"x"+cnt);
			if(opttype[cnt]==2){ if(optn.selectedIndex==0)return(chooseOption(eval('theForm.optn'+cnt))); }
			if(stkbyopts&&optn.options[optn.selectedIndex].value!=''){ if(!checkStock(optn,optn.options[optn.selectedIndex].value))return(false); }
		}else if(Math.abs(opttype[cnt])==1){
			havefound='';optns=document.getElementsByName('optn'+prodnum+'x'+cnt);
			if(opttype[cnt]==1){ for(var i=0; i<optns.length; i++) if(optns[i].checked)havefound=optns[i].value;if(havefound=='')return(chooseOption(optns[0])); }
			if(stkbyopts){ if(havefound!=''){if(!checkStock(optns[0],havefound))return(false);} }
		}
	}
if(oos[prodnum]&&oos[prodnum]!=''){notifyinstock(true,otid[prodnum],rid[prodnum],0);document.getElementById(oos[prodnum]).focus();return(false);}
return(true);
}
/* ]]> */
</script>
			<table class="products" width="100%" border="0" cellspacing="3" cellpadding="3">

			  <tr>
				<td colspan="3" align="center" class="pagenums"><p class="pagenums">
				  <img src="images/clearpixel.gif" width="300" height="8" alt="" /></p></td>
			  </tr>

              <tr> 
                <td width="26%" rowspan="3" align="center" class="prodimage">
<script language="javascript" type="text/javascript">
/* <![CDATA[ */

function setvals0(){optacpc[0]='';optmaxc[0]=0;opttype[0]=1;optperc[0]=false;

}

function formvalidator0(theForm){
setvals0();return(ectvalidate(theForm,1,0,true));
}

function updateprice0(){setvals0();updateprice(1,0,0,'Regalo',16,true,false);
}
/* ]]> */
</script><img id="prodimage0" class="cs1prodimage" src="/images/small-gift.gif" border="0" alt="Regalo" /></td><td width="59%">
<div class="prodname">Regalo</div>
                </td>
				<td width="15%" align="right" valign="top">&nbsp;</td>
			  </tr>
			  <tr>
				<td colspan="2" class="proddescription"><form method="post" name="tForm0" id="ectform0" action="cart.asp" style="margin:0;padding:0;" onsubmit="return formvalidator0(this)"><input type="hidden" name="id" value="Regalo" />
<input type="hidden" name="mode" value="add" />
<input type="hidden" name="quant" id="qnt0x" value="" /><div class="proddescription"></div><div class="prodoptions"><table class="prodoptions" border="0" cellspacing="1" cellpadding="1" width="100%"><tr><td align="right" valign="baseline" width="30%" class="optiontext"><strong><span class="prodoption">Regalo:</span></strong></td><td align="left" class="options"> <input type="radio" class="prodoption" style="vertical-align:middle" onclick="updateoptimage(0,0,1);updateprice0();" name="optn0x0" value='1098' /><span id="optn0x0y0">Cupón de 10% de descuento en su próximo pedido</span><br />
<input type="radio" class="prodoption" style="vertical-align:middle" onclick="updateoptimage(0,0,1);updateprice0();" name="optn0x0" value='1099' /><span id="optn0x0y1">Sortido de 25 globos con la inscripción "Felicidades"</span><br />
<input type="radio" class="prodoption" style="vertical-align:middle" onclick="updateoptimage(0,0,1);updateprice0();" name="optn0x0" checked="checked" value='1205' /><span id="optn0x0y2">No estoy interesada en las ofertas presentadas</span><br />
</td></tr></table></div><script language="javascript" type="text/javascript">/* <![CDATA[ */oS[1098]=975;ot[1098]="Cupón de 10% de descuento en su próximo pedido";aIM[1098]='/images/small-gift.gif';
oS[1099]=33;ot[1099]="Sortido de 25 globos con la inscripción \"Felicidades\"";
oS[1205]=10000;ot[1205]="No estoy interesada en las ofertas presentadas";aIM[1205]='/images/small-gift.gif';
sz('Regalo',0,10000,'/images/small-gift<');/* ]]> */</script></form></td>
			  </tr>
			  <tr>
				<td width="59%" align="center">&nbsp;
                </td>
			    <td align="right" valign="bottom" style="white-space:nowrap;">&nbsp;</td>
			  </tr>
			  <tr>
				<td colspan="3" align="center" class="pagenums"><p class="pagenums"><br />
				<img src="images/clearpixel.gif" width="300" height="1" alt="" /></p></td>
			  </tr>
			</table>
<script language="javascript" type="text/javascript">updateprice0();</script>

<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script>

<script type="text/javascript">_uacct = "UA-23911910-2"; urchinTracker("/es/passo1.asp");</script>

<!-- #EndEditable -->
<br /><br /><br /><br />
<!-- AddThis Button BEGIN -->
<p style="text-align:center">Comparta nuestra tienda online con sus amigos:</p>
<div style="width:150px; margin:0 auto" class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_blogger"></a>
<a class="addthis_button_google"></a>
</div>
<!-- AddThis Button END -->
</div>
<div id="right_side">
<h2 class="festas_es"></h2>
<div class="testimonials_menu">
<br />
<ul class="menu_produtos">
<li class="menu_produtos">
<a href="categories.asp?cat=Temas+para+Fiestas+Infantiles" title="Temas infantiles para fiestas" class="menu_produtos_link">
Todos los temas</a></li>
<li class="menu_produtos">
<a href="categories.asp?cat=Colores+Lisas" title="Temas coloridos para fiestas infantiles" class="menu_produtos_link">
Paquetes básicos</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Guirnaldas" title="Guirnaldas y Banderines" class="menu_produtos_link">
Guirnaldas y Banderines</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Invitaciones" title="Invitaciones infantiles para fiesta de cumpleaños" class="menu_produtos_link">
Invitaciones Infantiles</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Regalitos" title="Regalitos infantiles" class="menu_produtos_link">
Regalitos Infantiles</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Bolsas+para+Regalitos" title="Bolsas para regalos infantiles" class="menu_produtos_link">
Bolsas de regalos</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Gorros+y+Tiaras" title="Gorros, tiaras y coronas para fiestas infantiles" class="menu_produtos_link">
Gorros y Tiaras</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Globos" title="Globos para fiestas infantiles" class="menu_produtos_link">
Globos Infantiles</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Pinatas" title="Piñatas" class="menu_produtos_link">
Piñatas</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Platos" title="Platos para fiestas infantiles" class="menu_produtos_link">
Platos y</a>
<a href="products.asp?cat=Vasos" title="Vasos para fiestas infantiles" class="menu_produtos_link">
Vasos</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Manteles" title="Manteles para fiestas infantiles" class="menu_produtos_link">
Manteles y</a>
<a href="products.asp?cat=Servilletas" title="Servilletas para fiestas infantiles" class="menu_produtos_link">
Servilletas</a></li>
<li class="menu_produtos">
<a href="products.asp?cat=Dulces" title="Dulces y Golosinas" class="menu_produtos_link">
Dulces y Golosinas</a></li>
</ul>
</div>
<h2 class="x3"></h2>
<h2 class="x0"></h2>
<a href="informacion-envios.asp">
<img alt="Informaciones sobre plazos e portes de envio" src="images/envio.gif" width="153px" height="72px" />
</a><br /><br />
<h2 class="x0"></h2>
<div style="text-align: center">
<a href="http://www.twitter.com/CakeyParty_ES">
<img alt="Sigua nos en Twitter" src="images/follow_bird-b.png" /></a>
<br />
<br />
<a href="http://www.facebook.com/pages/CakeyParty-ES/452279280540">
<img alt="Haga clic aquí e sea nuestro fan en Facebook." src="images/fb.jpg" /></a>
<br />
<br />
<h2>NEWSLETTER</h2>

<script language="javascript" type="text/javascript">/* <![CDATA[ */
function mlvalidator(frm){
	var mlsuemail=document.getElementById('mlsuname');
	if(mlsuemail.value == ""){
		alert("Entre un valor en este campo  \"Nombre \".");
		mlsuemail.focus();
		return (false);
	}
	var mlsuemail=document.getElementById('mlsuemail');
	if(mlsuemail.value == ""){
		alert("Entre un valor en este campo  \"Email\".");
		mlsuemail.focus();
		return (false);
	}
	var regex = /[^@]+@[^@]+\.[a-z]{2,}$/i;
	if(!regex.test(mlsuemail.value)){
		alert("Indique una dirección de correo electrónico válida.");
		mlsuemail.focus();
		return(false);
	}
	return (true);
}
/* ]]> */
</script>
<div id="ectform" class="minimailsignup">
	<form action="cart.asp" method="post" onsubmit="return mlvalidator(this)">
		<input type="hidden" name="mode" value="mailinglistsignup" />
		<input type="hidden" name="rp" value="/es/cart.asp" />
		<input class="minimailsignup" type="text" name="mlsuname" id="mlsuname" value=" Nombre ..." maxlength="50" onfocus="if(this.value==' Nombre ...')this.value='';"/>
		<br/><br/>
		<input class="minimailsignup" type="text" name="mlsuemail" id="mlsuemail" value=" Email..." maxlength="50" onfocus="if(this.value==' Email...')this.value='';"/>
		<input type="image" src="images/mailsubmit.gif" alt="Continuar" class="minimailsignup minimailsubmit" />
		<div class="spacer"></div>
		<input type="hidden" name="posted" value="1" />
	</form>
</div>

<br />
<br />
<!-- #BeginEditable "LittleAdd" -->

<!-- #EndEditable -->
&nbsp;</div>
</div>
<div class="clear cx"></div>
</div>
</div>
</div>
<div id="bottom">
<img alt="" src="../images/bottom.png" width="850px" height="12px" /> </div>
<div style="height: 22px; color:white; text-align:center">
<br />
<a href="testemonios.asp" class="ectlink2">Lo que dicen los clientes</a><span class="ectlink2"> 
- </span><a href="formulario-testimonio.asp" class="ectlink2">Deje 
su testimonio</a><span class="ectlink2"> - </span>
<a class="ectlink2" href="devoluciones.asp">Política de devoluciones</a><span class="ectlink2"> 
- </span><a href="javascript:addfav()" class="ectlink2">Anadir a los favoritos</a><span class="ectlink2"><br />
<br />
Copyright © 2009-2012 MDcake, Ltd.<br />
CakeyParty, Productos para decoración de tartas y fiestas infantiles - España<br />
Todos los derechos reservados.
</span></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<!-- #BeginEditable "async" -->
<!-- #EndEditable -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23911910-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);})();
</script>
<script type="text/javascript">var addthis_config = {data_ga_property:'UA-23911910-2',data_track_clickback: true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dc5e1703c1c5f5b"></script>
<span id='ycclink' style='display:none'><a href="http://www.yourcurrencyconverter.com">geolocation - multi currency</a></span><script type="text/javascript">var curdate = new Date(); var datenum= curdate.getMonth()+'-'+curdate.getDay()+'-'+curdate.getYear(); var scriptstart = '<SCR'+'IPT '; var jslink = 'SRC=//server2.YourCurrencyConverter.com/ConvertCurrency.ashx?id=2566g1h0sh4551jrzl554wd0jl45x4&spoofCountry=PT&date=' + datenum; var scriptend = ' LANGUAGE=Javascript></SCR'+'IPT>'; var jsinclude = scriptstart+jslink+scriptend; document.write(jsinclude);</script>
</body>
<!-- #EndTemplate -->
</html>
