var pinkcherry37_data = [ {"nom7bit": "Tout est rouge", "id": "1137", "nom": "Tout est rouge", "items": [{ "type" : "Högklackat", "marque" : "New look" }] }, 
{"nom7bit": "My feet look Gorgeous1", "id": "1155", "nom": "My feet look Gorgeous1", "items": [{ "type" : "Sandaler", "marque" : "New look" }] }, 
{"nom7bit": "Parcourrs", "id": "1172", "nom": "Parcourrs", "items": [{ "type" : "Pumps", "marque" : "Parcours" }] }, 
{"nom7bit": "Jai la popuee dET dans ma Golf GTI", "id": "1187", "nom": "J'ai la popuée d'E.T dans ma Golf GTI", "items": [{ "type" : "Topp", "marque" : "New look" }, { "type" : "Jeans", "marque" : "Levi's" }, { "type" : "Ballerinaskor", "marque" : "New look" }, { "type" : "Dator", "marque" : "Asus" }] }, 
{"nom7bit": "Dans le moment dapproche il a le mou membre en poche", "id": "1189", "nom": "Dans le moment d'approche, il a le mou membre en poche.", "items": [{ "type" : "Örhängen", "marque" : "Réserve naturelle" }] }, 
{"nom7bit": "Euh FBI Fausse Bonne Idee2", "id": "1192", "nom": "Euh F.B.I: Fausse Bonne Idée2", "items": [{ "type" : "Topp", "marque" : "Edeis" }, { "type" : "Linne", "marque" : "H&M" }, { "type" : "Jeans", "marque" : "Total Look" }, { "type" : "Ballerinaskor", "marque" : "New look" }] }, 
{"nom7bit": "I cried for you on the kitchen floor", "id": "1193", "nom": "I cried for you on the kitchen floor", "items": [{ "type" : "Ballerinaskor", "marque" : "New look" }] }, 
{"nom7bit": "Je me laisse pousser les envies", "id": "1196", "nom": "Je me laisse pousser les envies", "items": [{ "type" : "Skjorta", "marque" : "Stradivarius" }, { "type" : "Jeans", "marque" : "Bershka" }, { "type" : "Tennis", "marque" : "Just women" }] }, 
{"nom7bit": "Californiia Caiforniia Here we come", "id": "1245", "nom": "Californiia Caiforniia! Here we come!", "items": [{ "type" : "Topp", "marque" : "Stradivarius" }, { "type" : "Väst", "marque" : "Soft Grey" }, { "type" : "Jeans", "marque" : "Levi's" }, { "type" : "Stövlar", "marque" : "Andre" }, { "type" : "Halsband", "marque" : "Femme actuelle" }, { "type" : "Örhängen", "marque" : "Réserve naturelle" }] }, 
{"nom7bit": "Jappuie sur le starter et voila que je quitte la terre", "id": "1283", "nom": "J'appuie sur le starter et voila que je quitte la terre.", "items": [{ "type" : "Kavaj", "marque" : "Zara" }, { "type" : "Jeans", "marque" : "Zara" }, { "type" : "Ballerinaskor", "marque" : "New look" }, { "type" : "Handväska", "marque" : "BHV" }, { "type" : "Mobil", "marque" : "Samsung" }, { "type" : "Annat", "marque" : "Airoh" }, { "type" : "Annat", "marque" : "Peugeot" }] }, 
{"nom7bit": "Je suis charme qui vous coute des larmes1", "id": "1284", "nom": "Je suis charme qui vous coute des larmes.1", "items": [{ "type" : "Klänning", "marque" : "H&M" }, { "type" : "Topp", "marque" : "Stradivarius" }, { "type" : "Tights/Stumpbyxor", "marque" : "H&M" }] }, 
{"nom7bit": "Une nuit dhiver il est entre a petits pas dans mon univers", "id": "1378", "nom": "Une nuit d'hiver il est entré à petits pas dans mon univers", "items": [{ "type" : "Linne", "marque" : "Mango" }, { "type" : "Klänning", "marque" : "Zara" }, { "type" : "Tights/Stumpbyxor", "marque" : "H&M" }, { "type" : "Ballerinaskor", "marque" : "Andre" }] }, 
{"nom7bit": "Etre mince rend intelligent", "id": "1409", "nom": "Être mince rend intelligent.", "items": [{ "type" : "Skjorta", "marque" : "Fait Maison" }] }, 
{"nom7bit": "El unico fruto del amor es la bananaa", "id": "1410", "nom": "El unico fruto del amor es la bananaa.", "items": [{ "type" : "Skjorta", "marque" : "Fait Maison" }, { "type" : "Jeans", "marque" : "H&M" }, { "type" : "Skärp", "marque" : "H&M" }] }, 
{"nom7bit": "Je suis excessive jaime quand ca desaxe quand la vie sexhibe ce", "id": "1451", "nom": "Je suis excessive j'aime quand ça désaxe, quand la vie s'exhibe", "items": [{ "type" : "Linne", "marque" : "Carla B" }, { "type" : "Linne", "marque" : "Bershka" }, { "type" : "Väst", "marque" : "Jennyfer" }, { "type" : "Väst", "marque" : "Mim" }, { "type" : "Jeans", "marque" : "Soft Grey" }, { "type" : "Sneakers", "marque" : "Converse All Star" }, { "type" : "Halsband", "marque" : "Femme actuelle" }] }, 
{"nom7bit": "Nothing in this whole world dont mean a thing if i aint got him", "id": "1478", "nom": "Nothing in this whole world don't mean a thing if i ain't got h", "items": [{ "type" : "Undertröja", "marque" : "Camaieu" }, { "type" : "Väst", "marque" : "Soft Grey" }, { "type" : "Jeans", "marque" : "Levi's" }, { "type" : "Sandaler", "marque" : "New look" }, { "type" : "Halsband", "marque" : "Made in Madagascar" }] }, 
{"nom7bit": "De zero en hero3", "id": "1482", "nom": "De zéro en héro.3", "items": [{ "type" : "Linne", "marque" : "Zara" }, { "type" : "Blus", "marque" : "Active Wear" }, { "type" : "Halsband", "marque" : "Malgache" }] }, 
{"nom7bit": "I cant stop this feeling1", "id": "1507", "nom": "I can't stop this feeling.1", "items": [{ "type" : "Stövlar", "marque" : "Pastelle Chaussures" }] }, 
{"nom7bit": "Chat noir", "id": "1524", "nom": "Chat noir", "items": [{ "type" : "Skor", "marque" : "Minelli" }] }, 
{"nom7bit": "TOURBILLON", "id": "1848", "nom": "TOURBILLON", "items": [] }];

var pinkcherry37_tofindex = 17;

function pinkcherry37_updatetof() {
  var tag = document.getElementById('look_pinkcherry37');
  var dbgstr = pinkcherry37_tofindex + "\n" + tag.src + "\n";
  var new_src = 'http://sv.cloziz.com/look/thumb/lookid/' + pinkcherry37_data[pinkcherry37_tofindex].id;
  var new_link = 'http://sv.cloziz.com/look/show/lookid/' + pinkcherry37_data[pinkcherry37_tofindex].id;
  if (tag) {
    tag.setAttribute("src", new_src);
    tag.setAttribute("alt", pinkcherry37_data[pinkcherry37_tofindex].nom);
  }
  dbgstr += tag.src + "\n";
  tag = document.getElementById('nomlook_pinkcherry37');
  if (tag) {
    tag.innerHTML = pinkcherry37_data[pinkcherry37_tofindex].nom;
    tag.href = new_link;
  }
  tag = document.getElementById('detaillook_pinkcherry37');
  if (tag) {
    var items = pinkcherry37_data[pinkcherry37_tofindex].items;
    tag.innerHTML = "";
    for(var i=0; i<items.length; i++) {
      tag.innerHTML += '<li style="display: inline;">';
      tag.innerHTML += items[i].type + " : " + items[i].marque;
      if(i<items.length-1)
        tag.innerHTML += ',';
      tag.innerHTML += "</li>  ";
    }
  }
  tag = document.getElementById('link1_pinkcherry37');
  if (tag) tag.href = new_link;
  tag = document.getElementById('link2_pinkcherry37');
  if (tag) tag.href = new_link;
  return true;
}

function pinkcherry37_nexttof() {
  pinkcherry37_tofindex++;
  if(pinkcherry37_tofindex == pinkcherry37_data.length)
    pinkcherry37_tofindex = 0;
  return pinkcherry37_updatetof();
}

function pinkcherry37_prevtof() {
  if(pinkcherry37_tofindex==0)
    pinkcherry37_tofindex = pinkcherry37_data.length;
  pinkcherry37_tofindex--;
  return pinkcherry37_updatetof();
}

document.write('<div style="margin: 0 auto; width: 230px; font-family: Arial, sans-serif;">');
document.write('<div style="height: 40px; margin: 0 5px; background: url(http://sv.cloziz.com/images/widget/widget_top_bg-left.gif) left top no-repeat;">');
document.write('<div style="height: 40px; margin: 0 auto; background: url(http://sv.cloziz.com/images/widget/widget_top_bg-right.gif) right top no-repeat;">');
document.write('<div style="padding: 2px 0 0 5px;">');
document.write('<a href="http://sv.cloziz.com">');
document.write('<img style="border: 0; padding: 0;" src="http://sv.cloziz.com/images/widget/widget_top_clozizlogo.gif" alt="" /></a>');
document.write('</div></div></div>');

document.write('<div style="margin: 0 5px; padding: 0 10px; background: url(http://sv.cloziz.com/images/widget/widget_mid_bg_top.gif) repeat-x bottom #C5C5C5;">'); // mid mcontent
document.write('<div style="height: 5px; background: url(http://sv.cloziz.com/images/widget/widget_mid_content_top_bg-left.gif) left bottom no-repeat;">'); // content-top left
document.write('<div style="height: 5px; background: url(http://sv.cloziz.com/images/widget/widget_mid_content_top_bg-right.gif) right bottom no-repeat;">'); // content-top right
document.write('</div></div>');
document.write('<div style="padding: 3px 0 6px 0; background: #fff; text-align: center;">'); // content
document.write('<div>'); // photo
document.write('<a target="_blank" id="link1_pinkcherry37" href="http://sv.cloziz.com/pinkcherry37/look/Tout+est+rouge"><img id="look_pinkcherry37" alt="Tout est rouge" style="border: 1px solid #313131; padding: 0; margin: 0;" src="http://sv.cloziz.com/look/thumb/lookid/1137" /></a>\n');
document.write('</div>');
document.write('</div>');
document.write('</div>');
document.write('<div style="width: 100%; height: 60px;">'); //mid nav
document.write('<div style="float: left; width: 25px; height: 60px;">');  // nav previous
document.write('<a href="#" onClick="pinkcherry37_prevtof(); return false;">');
document.write('<img style="margin: 0; padding: 0; width: 25px; height: 60px; border: 0; background: url(http://sv.cloziz.com/images/widget/widget_mid_nav_prev.gif) top no-repeat;" src="http://sv.cloziz.com/images/widget/void.gif" alt="previous" onmouseover="style.backgroundPosition=\'bottom\'" onmouseout="style.backgroundPosition=\'top\'">');
document.write('</a>');
document.write('</div>');
document.write('<div style="float: right; width: 25px; height: 60px;">'); // nav next
document.write('<a href="#" onClick="pinkcherry37_nexttof(); return false;">');
document.write('<img style="margin: 0; padding: 0; width: 25px; height: 60px; border: 0; background: url(http://sv.cloziz.com/images/widget/widget_mid_nav_next.gif) top no-repeat;" src="http://sv.cloziz.com/images/widget/void.gif" alt="next" onmouseover="style.background=\'url(http://sv.cloziz.com/images/widget/widget_mid_nav_next.gif) bottom no-repeat;\'" onmouseout="style.background=\'url(http://sv.cloziz.com/images/widget/widget_mid_nav_next.gif) top no-repeat;\'">');
document.write('</a>');
document.write('</div>');

document.write('<div style="margin: 0 25px; padding: 0 1px; text-align: center; background: #fff;">'); // lookdata
document.write('<h1 style="margin: 0; padding: 0; border: 0; height: 18px; font-size: 14px; font-weight: bold;">');
document.write('<a style="color: #d0517e; text-decoration: none;" href="#" id="nomlook_pinkcherry37" onmouseover="style.color=\'#910134\'" onmouseout="style.color=\'#d0517e\'">Nomdulook</a>');
document.write('</h1>');
document.write('<ul style="margin: 0; padding: 0 10px; height: 42px; list-style: none; text-align: center; line-height: 10px; overflow: hidden; font-size: 10px; color: #000;" id="detaillook_pinkcherry37">');
document.write('<li>detail</li>');
document.write('</ul>');
document.write('</div>');
document.write('</div>');
document.write('<div style="clear: both;">'); // clear
document.write('</div>');
document.write('<div style="margin: 0 5px; padding: 0 10px; height: 20px; background: url(http://sv.cloziz.com/images/widget/widget_mid_bg_btm.gif) repeat-x top #C5C5C5;">'); // mid links
document.write('<div style="padding: 2px 10px 0 10px; background: #fff; line-height: 16px; text-align: right;">'); // links
document.write('<a href="http://sv.cloziz.com" style="font-size: 10px; text-decoration: none; color: #910134;" onmouseover="style.color=\'#5d0122\'" onmouseout="style.color=\'#910134\'" id="link2_pinkcherry37">Le reste sur cloziz.com</a>');
document.write('</div>');
document.write('<div style="height: 5px; font-size: 0px; background: url(http://sv.cloziz.com/images/widget/widget_mid_content_btm_bg-left.gif) left top no-repeat;">'); // content-btm left
document.write('<div style="height: 5px; font-size: 0px; background: url(http://sv.cloziz.com/images/widget/widget_mid_content_btm_bg-right.gif) right top no-repeat;">'); // content-btm right
document.write('</div>');
document.write('</div>');
document.write('</div>');
document.write('<div style="margin: 0 auto; height: 10px; font-size: 0px;">'); // wbtm
document.write('<div style="margin: 0 5px; height: 10px; background: url(http://sv.cloziz.com/images/widget/widget_btm_bg-left.gif) left top no-repeat;">'); // wbtm bleft
document.write('<div style="height: 10px; background: url(http://sv.cloziz.com/images/widget/widget_btm_bg-right.gif) right top no-repeat;">'); // wbtm bright
document.write('</div>');
document.write('</div>');
document.write('</div>');

document.write('</div>');

pinkcherry37_updatetof();


