Bombons Sortidos

function GetAjaxReviews() {
var callback = function() {
//readyState
//0 = uninitialized
//1 = loading
//2 = loaded
//3 = interactive
//4 = complete
if (xmlhttp.readyState==4) {
//Verifica se status de retorno indica que está tudo certo (200 = OK)
if (xmlhttp.status == 200) {
//Este tratamento é necessário para poder vir com a acentuação correta
var string = new String(unescape(xmlhttp.responseText));
string = string.replace(/+/g, " ");
document.getElementById("resenhas").innerHTML = string;
location.href = "#reviews";
} else {
//alert(xmlhttp.status);
ReviewDefaultRedirect();
}
}
}
return getAjaxData("GET", "ajax_product_review.asp?Query=ProductPage&ProdTypeId=35&ProdId=1375676&PagePrefix=emporium&Ajax=1", callback, null);
}
function ReviewDefaultRedirect() {
//alert("nao conseguiu fazer via AJAX");
location.href = "emporium_productdetails.asp?Query=ProductPage&ProdTypeId=35&ProdId=1375676&ReviewAll=Y#reviews";
}
function ShowAllReviews() {
document.getElementById("resenhas").innerHTML = "Obtendo todas as resenhas..." + document.getElementById("resenhas").innerHTML;
if (!GetAjaxReviews()) {
ReviewDefaultRedirect();
}
}
Opine sobre este produto  |  Indique para um amigo
function MM_showHideLayers(nomeDiv, image, type){
var alturaTela = document.getElementById("divTotalPageGamesSize").offsetHeight;
var alturaFooter = document.getElementById("divTotalFooterGamesSize").offsetHeight;
var alturaBanner = alturaTela - (alturaFooter + 385);
document.getElementById(nomeDiv).style.top = alturaBanner;
document.getElementById(nomeDiv).innerHTML = ``;
if (type == `show`){
document.getElementById(nomeDiv).style.visibility = `visible`;
}
else if (type == `hide`){
document.getElementById(nomeDiv).style.visibility = `hidden`;
}
}
var bckMainImg;
function setImage(thumbName,prc_ProdTypeId)
{
if (prc_ProdTypeId == 11 || prc_ProdTypeId == 27 || prc_ProdTypeId == 31)
{
//Verificação apenas para manter esta função na chamada do link, pois ela será útil a outras funcionalidades da página.
}
else
{
//bckMainImg = document.mainImg.src;
//document.mainImg.src = thumbName.src.replace(`Width=38&Height=38`, `Width=180&Height=180`);
}
}
function setMainImage(thumbName,prc_ProdTypeId)
{
//document.mainImg.src = bckMainImg;
}
function abre(pageRefer) {
var strRefer
switch (pageRefer)
{
case 10: strRefer = `1FCC05623A5D05740898`;break;
case 13: strRefer = `561`;break;
case 3 : strRefer = `0C2E0562816205755F86`;break;
}
window.open("http://www.directtalk.com.br/server/directtalkr.dll/user?S=I&id_s=" + strRefer + "&origem=empo_1375676","janela","width=350,height=360,resizable=no,toolbar=0,location=0,directories=0,status=no,menubar=0");
}
function changeTab (tabNumber) {
var i
for (var i = 1; i
var xmlhttp=false;
function ConfigureXMLHTTP() {
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!=`undefined`) {
xmlhttp = new XMLHttpRequest();
}
}
function getAjaxData(strMethod, strURL, callbackfunction, sendvalue) {
try {
ConfigureXMLHTTP();
var now = new Date(); //Variavel utilizada para forçar o post da página e não deixá-la em cache
var strURL = strURL + "&rnd=" + now.getTime();
xmlhttp.open(strMethod, strURL, true);
xmlhttp.onreadystatechange = callbackfunction;
xmlhttp.send(sendvalue);
} catch(E) {
return false;
} finally {
return true;
}
}
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
var strDomain = `.submarino.com.br`;
document.cookie = name+"="+value+expires+"; path=/; domain=" + strDomain.substr(1,strDomain.length);
}
function eraseCookie(name)
{
createCookie("Track","");
location.reload();
}
function GetAjaxMyNavigation() {
var callback = function() {
//readyState
//0 = uninitialized
//1 = loading
//2 = loaded
//3 = interactive
//4 = complete
if (xmlhttp.readyState==4)
{
//Verifica se status de retorno indica que está tudo certo (200 = OK)
if (xmlhttp.status == 200) {
document.getElementById("mynavigation").innerHTML = xmlhttp.responseText;
}
}
}
var link = "/meusubmarino/mynavigation.aspx?x=1&Referrer=" + document.location;
return getAjaxData("GET", link, callback, null);
}
function vopenw()
{
tbar=`location=no,status=yes,resizable=yes,scrollbars=yes,width=560,height=535`;
sw = window.open(`https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=www.submarino.com.br&lang=pt`,`CRSN_Splash`,tbar);
sw.focus();
}



  • FORMAS DE PAGAMENTO
    Cartão de Crédito, Transferência Eletrônica, Financiamento e Boleto Bancário


  • SITE SEGURO
          


  • PRÊMIOS
    O melhor site da internet Brasileira




  • DÚVIDAS
    Central de Atendimento | Ajuda On-line | Trocas e Devoluções | Compra segura | Mapa do site | Compre pelo telefone 4003-2000 ou 02311 4003-2000




  • INSTITUCIONAL
    Quem somos | Trabalhe no Submarino | B2B - Negócios Corporativos | Garantia EstendidaRelações com investidores | Investor relations


  • PARCERIAS
    Programa de afiliados |
    Professor afiliado



Clique aqui para comprar este produto no Submarino.com.br Conheça outros produtos indicados pelo Planeta News