var HoliVEEEE_data = [ {"nom7bit": "A little Bit fashion", "id": "41", "nom": "A little Bit fashion", "items": [{ "type" : "Unterpulli", "marque" : "Only fashion" }, { "type" : "Jeans", "marque" : "Kaporal 5" }, { "type" : "Sneakers", "marque" : "Asics" }] }, 
{"nom7bit": "Plagiste", "id": "400", "nom": "Plagiste", "items": [{ "type" : "Hemd", "marque" : "Boomrang" }, { "type" : "Shorts", "marque" : "Speedo" }, { "type" : "Pantoletten", "marque" : "Havaianas" }, { "type" : "Strümpfe", "marque" : "Decathlon" }, { "type" : "Sonnenbrille", "marque" : "Decathlon" }, { "type" : "Armband", "marque" : "Peace mais pas sur l'herbe" }] }, 
{"nom7bit": "Les rues de Paris", "id": "407", "nom": "Les rues de Paris", "items": [{ "type" : "Jacke", "marque" : "Rivaldi" }, { "type" : "Jeans", "marque" : "Temps des cerises" }, { "type" : "Schuhe", "marque" : "Converse" }] }, 
{"nom7bit": "Used1", "id": "449", "nom": "Used1", "items": [{ "type" : "Unterpulli", "marque" : "Diesel" }, { "type" : "Jacke", "marque" : "Energie" }, { "type" : "Jeans", "marque" : "Kaporal" }, { "type" : "Einstecktuch", "marque" : "I love U" }] }, 
{"nom7bit": "come back from NY1", "id": "537", "nom": "come back from NY1", "items": [{ "type" : "Poloshirt", "marque" : "Ralph Lauren" }, { "type" : "Bermudashorts", "marque" : "Decathlon" }, { "type" : "Sneakers", "marque" : "Converse" }, { "type" : "Sonnenbrille", "marque" : "Versace" }, { "type" : "Armbanduhr", "marque" : "Diesel" }, { "type" : "Sonstiges", "marque" : "Powerized" }] }, 
{"nom7bit": "Converses All star1", "id": "543", "nom": "Converses All star1", "items": [{ "type" : "Sneakers", "marque" : "Converse" }] }, 
{"nom7bit": "I love NY", "id": "596", "nom": "I love NY", "items": [{ "type" : "T-Shirt", "marque" : "I love NY" }, { "type" : "Armband", "marque" : "La redoute" }] }, 
{"nom7bit": "TennisMan1", "id": "603", "nom": "TennisMan1", "items": [{ "type" : "Unterpulli", "marque" : "Only One" }, { "type" : "Jeans", "marque" : "H.Landers" }, { "type" : "Sonnenbrille", "marque" : "Versace" }, { "type" : "Armbanduhr", "marque" : "Diesel" }, { "type" : "Sonstiges", "marque" : "Adidas" }] }];

var HoliVEEEE_tofindex = 5;

function HoliVEEEE_updatetof() {
  var tag = document.getElementById('look_HoliVEEEE');
  var dbgstr = HoliVEEEE_tofindex + "\n" + tag.src + "\n";
  var new_src = 'http://de.cloziz.com/look/thumb/lookid/' + HoliVEEEE_data[HoliVEEEE_tofindex].id;
  var new_link = 'http://de.cloziz.com/look/show/lookid/' + HoliVEEEE_data[HoliVEEEE_tofindex].id;
  if (tag) {
    tag.setAttribute("src", new_src);
    tag.setAttribute("alt", HoliVEEEE_data[HoliVEEEE_tofindex].nom);
  }
  dbgstr += tag.src + "\n";
  tag = document.getElementById('nomlook_HoliVEEEE');
  if (tag) {
    tag.innerHTML = HoliVEEEE_data[HoliVEEEE_tofindex].nom;
    tag.href = new_link;
  }
  tag = document.getElementById('detaillook_HoliVEEEE');
  if (tag) {
    var items = HoliVEEEE_data[HoliVEEEE_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_HoliVEEEE');
  if (tag) tag.href = new_link;
  tag = document.getElementById('link2_HoliVEEEE');
  if (tag) tag.href = new_link;
  return true;
}

function HoliVEEEE_nexttof() {
  HoliVEEEE_tofindex++;
  if(HoliVEEEE_tofindex == HoliVEEEE_data.length)
    HoliVEEEE_tofindex = 0;
  return HoliVEEEE_updatetof();
}

function HoliVEEEE_prevtof() {
  if(HoliVEEEE_tofindex==0)
    HoliVEEEE_tofindex = HoliVEEEE_data.length;
  HoliVEEEE_tofindex--;
  return HoliVEEEE_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://de.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://de.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://de.cloziz.com">');
document.write('<img style="border: 0; padding: 0;" src="http://de.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://de.cloziz.com/images/widget/widget_mid_bg_top.gif) repeat-x bottom #C5C5C5;">'); // mid mcontent
document.write('<div style="height: 5px; background: url(http://de.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://de.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_HoliVEEEE" href="http://de.cloziz.com/HoliVEEEE/look/A+little+Bit+fashion"><img id="look_HoliVEEEE" alt="A little Bit fashion" style="border: 1px solid #313131; padding: 0; margin: 0;" src="http://de.cloziz.com/look/thumb/lookid/41" /></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="HoliVEEEE_prevtof(); return false;">');
document.write('<img style="margin: 0; padding: 0; width: 25px; height: 60px; border: 0; background: url(http://de.cloziz.com/images/widget/widget_mid_nav_prev.gif) top no-repeat;" src="http://de.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="HoliVEEEE_nexttof(); return false;">');
document.write('<img style="margin: 0; padding: 0; width: 25px; height: 60px; border: 0; background: url(http://de.cloziz.com/images/widget/widget_mid_nav_next.gif) top no-repeat;" src="http://de.cloziz.com/images/widget/void.gif" alt="next" onmouseover="style.background=\'url(http://de.cloziz.com/images/widget/widget_mid_nav_next.gif) bottom no-repeat;\'" onmouseout="style.background=\'url(http://de.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_HoliVEEEE" 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_HoliVEEEE">');
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://de.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://de.cloziz.com" style="font-size: 10px; text-decoration: none; color: #910134;" onmouseover="style.color=\'#5d0122\'" onmouseout="style.color=\'#910134\'" id="link2_HoliVEEEE">Le reste sur cloziz.com</a>');
document.write('</div>');
document.write('<div style="height: 5px; font-size: 0px; background: url(http://de.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://de.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://de.cloziz.com/images/widget/widget_btm_bg-left.gif) left top no-repeat;">'); // wbtm bleft
document.write('<div style="height: 10px; background: url(http://de.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>');

HoliVEEEE_updatetof();


