var OldFunction = window.onload;
window.onload = function ()
{
welcomeInit();
OldFunction();
};
/* CDs */
function SubmitMultipleCDForm(frmForm) { var blnFormOK = false; var
MinLength = 2; var i = 0; ClearOtherSearchForms(frmForm); for (var i =
0; i < frmForm.elements.length; i++) { if ('select-one' ==
frmForm.elements[i].type) { var s =
frmForm.elements[i].options[frmForm.elements[i].selectedIndex].value;
if (s != '0') { blnFormOK = true; }
frmForm.elements['HiddenLabelName'].value =
frmForm.elements[i].options[frmForm.elements[i].selectedIndex].text; }
else { if ('text' == frmForm.elements[i].type) { s =
CheckTextChars(frmForm.elements[i].value); frmForm.elements[i].value =
s; if (s.length != 0) { if (s.length > MinLength) { blnFormOK =
true; } else { alert('A Palavra-chave deve ter mais de '+ MinLength + '
letras.\nFavor entre a informação de novo. '); return (false); } } } }
} if (blnFormOK == true) { frmForm.submit(); return (true); } else {
return (false); }
}
function checkSelect(vForm)
{ if(vForm.category.value=="") { alert('Selecione uma loja para
busca!'); vForm.category.focus(); return false; }else {
if(vForm.Search.value==""){
// alert('Campo Vazio');
// vForm.Search.focus(); return false; }else{ return
SetActionOnChange(vForm); } }
}
function GetSectionName() { document.frmSearch.SectionName.value =
document.frmSearch.SelectCategory[document.frmSearch.SelectCategory.selectedIndex].innerText;
}
function submitOnEnterSearch(e, button)
{
var key;
if (window.event)
key = window.event.keyCode;
else if (e)
key = e.which;
else
key = 0;
if (key == 13)
{
var Image = document.getElementById( button );
Image.click();
return false;
} else {
return true;
}
}
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i
function SearchSubmit(form) { ClearControlChars();
window.location =
"http://www.submarino.com.br/cds_searchresults.asp?Query=ProductPage&ProdTypeId=2&WhichForm=frmSearch&Search="
+ document.frmSearch.Search.value + getSearchQuery(); return false; }
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;
}
}
xdfw
Sertanejo e Country
:: Country
::CDs **** Sertanejo e Country **** Sertanejo
Marcelinho de Lima & Camargo - MARCELINHO DE LIMA & CAMARGO
function ShowWedding(){
document.getElementById("weddingradio").style.display='';
}
function SetList(thisform) {
thisform.radiobutton[0].checked = true;
}
function RedirectList(thisform) {
// place any other field validations that you require here
// validate myradiobuttons
myOption = -1;
for (i=thisform.radiobutton.length-1; i > -1; i--) {
if (thisform.radiobutton[i].checked) {
myOption = i; i = -1;
}
}
if (myOption == -1) {
alert("Favor selecione uma lista.");
return false;
}
Lista de Desejos
Lista de Casamento
Descrição
Dados Técnicos
Opinião dos clientes
Este é o álbum de estréia da dupla
Marcelinho de Lima & Camargo, que traz 14 faixas no melhor do
estilo. Marcelinho de Lima iniciou sua carreira em 1993, como
guitarrista, mas logo se tornou cantor solo. Camargo fazia parte da
dupla Cleiton & Camargo. Você não pode deixar de conferir!
Ano: 2006 Gênero: Sertanejo e Country Procedência:
Nacional Atração; ASIN: 7891916216059
Faixas
1. Tentação Cruel
2. Não Tenha Medo
3. Sapateia
4. Paixão Doida
5. Pago pra Ver
6. Tá Derramando Mulher
7. Por Amor Não Vou Sofrer
8. Vento da Manhã
9. Chega
10. Pra Ficar com Ela
11. Mete o Pé na Solidão
12. Acordo pra Sonhar
13. Tô no Ponto
14. Amor Matadeiro
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=2<
CLASS="xxxx&PagePrefix=cds&Ajax=1", callback, null); } function
ReviewDefaultRedirect() { //alert("nao conseguiu fazer via AJAX"); }
function ShowAllReviews() {
document.getElementById("resenhas").innerHTML = "Obtendo todas as
resenhas...
" + document.getElementById("resenhas").innerHTML;
if (!GetAjaxReviews()) {
ReviewDefaultRedirect();
}
}
//Execute a função a primeira vez para colocar a primeira aba sendo exibida como padrão
changeTab(1);
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;
}
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(); }