function setCookie(arg, value, expire) {
  if (expire > 0) {
    exdate = new Date();
    var x = exdate.getTime();
    exdate.setTime(exdate.getTime() + expire*1000);
  }
  document.cookie = arg + '=' + value + ( (expire > 0)? ';expires='+exdate.toGMTString() : '' ) + ';path=/';
}

function getCookie(type) {
  var dc = document.cookie;
  var prefix = type+"=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else {
    begin += 2;
  }
  var end = document.cookie.indexOf(";", begin);
  if (end == -1) {
    end = dc.length;
  }
  
  return unescape(dc.substring(begin + prefix.length, end));
}

function popVideo1(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/femme0607.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo2(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/mm6ah2006.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo3(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/artisanalah2006.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo4(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/femmepe05.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo5(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/mm6ah0506.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo6(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/margielah1.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo7(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/papfh2006.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo8(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/mm6pe2006.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo9(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/artisanalfh2006.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo10(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe71.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo11(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe710.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo12(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe7mm6.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo13(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe70010.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo14(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/ah04.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo15(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../video.swf?mvideo=../video/flower.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo16(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe81.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo17(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe8mm6.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo18(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/ah70010.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo19(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe41.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo20(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/ah8mm6.flv" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo21(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/ah03.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo22(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/ah81.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}


function popVideo23(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../video.swf?mvideo=../../video/pe9mm6.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}
function popVideo24(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videoflv.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo25(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videonews.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}
function popVideo26(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videonews.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}


function popVideo27(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videoblanc.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}


function popVideo28(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/line12.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}



function popVideo29(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/michaelstipe.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}


function popVideo30(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/collection_ss2010.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo31(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="media/popup_parfum.swf" width="500" height="247" alt="" border="0"></a>';;

  }
}

function popVideo32(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/untitled.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}

function popVideo33(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/line13.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}


function popVideo36(video) {
  var info = popup.getInfos(video);

  if (info) {
    var vid = video.substring(video.indexOf('-')+1);
    var body = top.document.getElementsByTagName('body')[0];
    var olddiv = top.document.getElementById('zediv');
	
    if (typeof(olddiv) == 'object' && olddiv != null) {
      body.removeChild(olddiv);
    }
	
    var div = top.document.createElement('DIV');
    div.style.position = 'absolute';
    div.style.zIndex = 100;
    div.id='zediv';
	
    body.appendChild(div);
	
    div.style.top = info.y;
    div.style.left = info.x;
    div.style.width = info.width;
    div.style.height = info.height;
 	div.innerHTML = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../../../same_video/collection-ah2010.swf" width="539" height="400" alt="" border="0"></a>';;

  }
}


function PopUp() {
  /** M&eacute;thodes **/
  this.pop = function() {
    this.baseurl = document.styleSheets[0].href.substring(0, document.styleSheets[0].href.lastIndexOf('/'));

    // on transforme l'objet des arguments en tableau
    this.list = new Array();
    for (var i = 0; i < this.args.length; i++) {
      this.list[i]= this.args[i] ;
    }
    

    // on m&eacute;lange la liste
    this.list.sort( this.randOrd );
    
    //alert('Random : ' + this.list );

    this.allowPopup = false;
// return;
    // on commence les v&eacute;rifications
    var d = new Date();
    var currentTime = d.getTime();
    var lastTime = this.getLastTime();
    
    
    var delai = 1;
    if (currentTime - lastTime > delai * 1) { 
      // au moins `delai` secondes entre l'affichage de 2 popups
      this.allowPopup = true;
    }

    
//    if (this.allowPopup == true) {
      // maximum une fois toutes les 4 pages
//      var vues = getCookie('vues');
//      if (vues == null) {
//	vues = 0;
//      } 
//      if (vues == 0 || vues >= 4) {
//	this.allowPopup = true;
//      }
//      else {
//	this.allowPopup = false;
//      }
//    }
    

    // on choisit une popup dans la liste
    if (this.allowPopup == true) {
      for (var i =0; i < this.list.length; i++) {
	this.type = this.list[i];

	if (this.getView()) {
	  // celle l・est bonne
	  this.allowPopup = true;
	  break;
	}
//	else {
	  // d&eacute;j・expos&eacute; ・cette popup
//	  this.allowPopup = false;
//	}
      }
    }
    
    if (this.allowPopup == true) {
      this.setTime(currentTime);
    }


    if (this.type != undefined && this.allowPopup) {
      var i = this.getInfos(this.type);
      if (i) {
	//alert(this.type);
	setCookie('exposed', true, 0);
	setCookie('vues', 0, 0);
	
	this.body = top.document.getElementsByTagName('body')[0];
	
	var olddiv = top.document.getElementById('zediv');
	
	if (typeof(olddiv) == 'object' && olddiv != null) {
	  this.body.removeChild(olddiv);
	}
	
	this.div = top.document.createElement('DIV');
	this.div.style.position = 'absolute';
	this.div.style.display = 'none';
	this.div.style.zIndex = 100;
	this.div.id='zediv';
	
	this.body.appendChild(this.div);
	
	
	this.div.style.top = i.y;
	this.div.style.left = i.x;
	this.div.style.width = i.width;
	this.div.style.height = i.height;
	this.div.innerHTML = i.html;

	this.div.style.display = 'block';
	this.setView(i.cookie, i.expire);
      }
    }
  } 

  this.getInfos = function(type) {

    switch(type) {

      case 'visite mmm':
      content = '';
      return {cookie:1, expire:0, html:content, x:250, y:100, width:6, height:300};
      break;

/*
      case 'premiere visite':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="311" height="137" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/firstime.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/firstime.swf" menu="false" quality="high" bgcolor="#ffffff" width="311" height="137" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:250, y:150, width:311, height:137};
      break;
*/	  

  case 'collection-ah2010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../../media/dialogue/video-ah2010.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:120, y:95, width:539, height:410};
      break;
	  

	  case 'online':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="'+this.baseurl+'/media/dialogue/online.swf" width="311" height="137" alt="" border="0" wmode="transparent"></a>';
      return {cookie:1, expire:0, html:content, x:160, y:150, width:311, height:137};
      break;
	  
	  case 'premiere visite':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="'+this.baseurl+'/media/dialogue/firstime.swf" width="311" height="137" alt="" border="0" wmode="transparent"></a>';
      return {cookie:1, expire:0, html:content, x:250, y:150, width:311, height:137};
      break;

/*
      case 'visite':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="539" height="410" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/visite.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/visite.swf" menu="false" quality="high" bgcolor="#ffffff" width="539" height="410" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:240, y:140, width:539, height:410};
      break;
	   align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"


      case 'visite':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="539" height="410" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/visite.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+'<embed src="'+this.baseurl+'/media/dialogue/visite.swf" width="539" height="410"></object></a>';
      return {cookie:1, expire:0, html:content, x:240, y:140, width:539, height:410};
      break;
*/
      case 'visite':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="'+this.baseurl+'/media/dialogue/visite.swf" width="539" height="410" wmode="transparent"></a>';
      return {cookie:1, expire:0, html:content, x:180, y:95, width:539, height:410};
      break;

 
	    case 'video-news-somerset':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/somerset.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  
	   case 'video-news-line13':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/line13.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;

	  
	   case 'video-news-untitled':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/untitled.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;

case 'video-parfum-en':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="media/popup_parfum.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:500, height:247};

case 'popup-somerset':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="media/promo/popup_somerset.swf" width="400" height="286" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:230, y:280, width:400, height:286};
	 break;
	 
	  
 case 'defile-ss2010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/collection_ss2010.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;

	case 'video-nonews-michaelstipe':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/michaelstipe.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	   case 'video-news-michaelstipe':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/michaelstipe.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;

	case 'video-nonews-line12':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/line12.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	   case 'video-news-line12':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/line12.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;


	case 'video-nonews-blanc':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videoblanc.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	   case 'video-news-blanc':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videoblanc.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;

	  case 'video-nonews':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videonews.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	   
	  
	  case 'video-news':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../same_video/videonews.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'videofr-flower':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-flower.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'videoen-flower':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-flower.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;	
	  
	  	 case 'defileen-pe2010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe2010.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  	 case 'defilefr-pe2010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe2010.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	 case 'defileen-aw91':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-aw91.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	 case 'defilefr-aw91':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-aw91.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defilefr-femme0607':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-femme0607.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      case 'defilefr-mm6ah2006':
	  content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-mm6ah2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      case 'defilefr-artisanalah2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-artisanalah2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defilefr-mm6pe2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-mm6pe2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defilefr-artisanalfh2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-artisanalfh2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {expire:0.001, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defilefr-papfh2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-papfh2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defilefr-margielah1':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-margielah1.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defilefr-mm6ah0506':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-mm6ah0506.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defilefr-femmepe05':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-femmepe05.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
	  case 'defilefr-pe71':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe71.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:120, y:95, width:539, height:410};
      break;
	  
	  case 'defilefr-pe81':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe81.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:120, y:95, width:539, height:410};
      break;
	  
      
	  case 'defilefr-pe710':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe710.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
	  case 'defilefr-pe7mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe7mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defilefr-pe8mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe8mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defilefr-pe9mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe9mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;	
	  
	  case 'defilefr-pe91':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe91.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defilefr-ah8mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-ah8mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;	
	  
	  case 'defilefr-ah81':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-ah81.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;	  
      
	  case 'defilefr-pe70010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe70010.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break; 
	  
	  case 'defilefr-ah70010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-ah70010.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break; 
      
	  case 'defilefr-ah04':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-ah04.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break; 

	  case 'defilefr-pe41':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-pe41.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break; 
	  
	  case 'defilefr-ah03':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videofr-ah03.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break; 	  
	        
	  case 'defileen-femme0607':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-femme0607.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      case 'defileen-mm6ah2006':
	  content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-mm6ah2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      case 'defileen-artisanalah2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-artisanalah2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defileen-mm6pe2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-mm6pe2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defileen-artisanalfh2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-artisanalfh2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defileen-papfh2006':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-papfh2006.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defileen-margielah1':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-margielah1.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defileen-mm6ah0506':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-mm6ah0506.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      
      case 'defileen-femmepe05':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-femmepe05.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;	  
	  
	  case 'defileen-pe71':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe71.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-pe81':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe81.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-pe710':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe710.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;		  
	  
	  case 'defileen-pe7mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe7mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-pe8mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe8mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-pe9mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe9mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-pe91':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe91.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-ah8mm6':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-ah8mm6.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-ah81':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-ah81.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;	  
	  
	  case 'defileen-pe70010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe70010.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;	
	  
	  case 'defileen-ah04':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-ah04.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-ah70010':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-ah70010.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;	
	  
	  case 'defileen-pe41':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-pe41.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
	  case 'defileen-ah03':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="../../media/dialogue/videoen-ah03.swf" width="539" height="400" wmode="transparent"></a>';
      return {cookie:1, expire:1, html:content, x:180, y:95, width:539, height:410};
      break;
	  
      case 'cv':
      content = '';
      return {cookie:1, expire:0, html:content, x:250, y:100, width:450, height:300};
      break;


      case 'player son':
      var lesSons = new Array( '2.mp3', '4.mp3', '288.mp3', '2272.mp3', '8030.mp3', '8037.mp3', '8166.mp3', '8226.mp3', '8274.mp3', '8437.mp3', '8655.mp3', '8671.mp3'); // '1.wav',
      var son = lesSons[Math.round(Math.random()*lesSons.length)];
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="260" height="30" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/sound.swf?mson='+this.baseurl+'/media/sounds/'+son+'" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/sound.swf?mson='+this.baseurl+'/media/sounds/'+son+'" menu="false" quality="high" bgcolor="#ffffff" width="260" height="30" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:3, expire:60, html:content, x:60, y:615, width:260, height:30};
      break;
/*

      case 'zuper':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'../../media/dialogue/poultroc.swf" alt="" width="320" height="240" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
      

      case 'amour':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><img src="'+this.baseurl+'/media/promo/amour.gif" width="450" height="300" alt="" border="0"></a>';
      return {cookie:1, expire:3600, html:content, x:250, y:100, width:450, height:300};
      break;
      

      case 'congratulations':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><img src="'+this.baseurl+'/media/promo/congratulations.gif" width="521" height="269" alt="" border="0"></a>';
      return {cookie:1, expire:3600, html:content, x:200, y:150, width:521, height:269};
      break;
      

      case 'clubing':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/poultroc2.swf" alt="" width="320" height="240" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
      

      case 'osez':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/phone.swf" alt="" width="320" height="240" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
     
      case 'bouche':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="204" height="139" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/bouche.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/bouche.swf" menu="false" quality="high" bgcolor="#ffffff" width="204" height="139" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:204, height:139};
      break;

      case 'bouche':
      case 'baiser':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/baiser.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/baiser.swf" menu="false" quality="high" bgcolor="#ffffff" width="320" height="240" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
	  
	  
*/	  
      case 'bouche':
      case 'baiser':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/baiser.swf" width="320" height="240" alt="" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
/*
      case 'oeil':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/oeil.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/oeil.swf" menu="false" quality="high" bgcolor="#ffffff" width="320" height="240" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
*/

      case 'oeil':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/oeil.swf" width="320" height="240" alt="" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;

/*
      case 'doigt':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/doigt.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/doigt.swf" menu="false" quality="high" bgcolor="#ffffff" width="320" height="240" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
*/

      case 'doigt':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/doigt.swf" width="320" height="240" alt="" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;

/*
      case 'sugarfree':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="284" height="175" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/sugarfree.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/sugarfree.swf" menu="false" quality="high" bgcolor="#ffffff" width="284" height="175" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:284, height:175};
      break;
*/
      case 'sugarfree':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/sugarfree.swf" width="284" height="175" alt="" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:284, height:175};
      break;

/*
      case 'haveaniceday':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="284" height="175" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/haveaniceday.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/haveniceday.swf" menu="false" quality="high" bgcolor="#ffffff" width="284" height="175" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:284, height:175};
      break;
*/

      case 'haveaniceday':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/haveaniceday.swf" width="284" height="175" alt="" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:284, height:175};
      break;

/*
      case 'closeme':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="300" height="333">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/closeme.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dalogue/closeme.swf" menu="false" quality="high" bgcolor="#ffffff" width="300" height="333" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:320, y:200, width:300, height:333};
      break;
*/

      case 'closeme':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/creature.swf" alt="" width="320" height="240" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:320, height:240};
      break;
	  
/*	  case 'closeme':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/closeme.swf" alt="" width="300" height="333" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:300, height:333};
      break;

	  

      case 'imagenplus':
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="284" height="175" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/media/dialogue/imagenplus.swf" />'+
'<param name="menu" value="false" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/media/dialogue/imagenplus.swf" menu="false" quality="high" bgcolor="#ffffff" width="284" height="175" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:284, height:175};
      break;
*/

      case 'imagenplus':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/media/dialogue/imagenplus.swf" width="284" height="175" alt="" border="0"></a>';
      return {cookie:1, expire:0, html:content, x:360, y:200, width:284, height:175};
      break;

	  case 'momu':
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0])"><embed src="/fr/media/dialogue/momu.swf" width="320" height="240" alt="" border="0" wmode="transparent"></a>';
      return {cookie:1, expire:0, html:content, x:149, y:150, width:320, height:240};
      break;
	  

/*
      case 'defile-mm6ah2006': //mm6-femme_automnehiver0607.flv     ok
      case 'defile-artisanalah2006': //artisanal_autohiver_0607.flv     ok
      case 'defile-femme0607': //collection_femme_0607.flv    ?????
      case 'defile-mm6pe2006': //mm6_printempsete06.flv    ok
      case 'defile-artisanalfh2006': //artisanal-femmehomme_2006.flv   ok
      case 'defile-papfh2006': //pretaporter_printempsete06.flv     ok
      case 'defile-margielah1': //MARGIELA_HOMME-01.flv   
      case 'defile-mm6ah0506': //mm6-femme_automnehiver0506.flv    ok
      case 'defile-femmepe05': //femme_pe05.flv   ok
      var vid = type.substring(type.indexOf('-')+1);
      content = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="539" height="410" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="movie" value="'+this.baseurl+'/video-confirm.swf?mvideo='+this.baseurl+'/video/'+vid+'.swf"/>'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'<param name="wmode" value="transparent"/>'+
'<embed src="'+this.baseurl+'/video-confirm.swf?mvideo='+this.baseurl+'/video/'+vid+'.swf" menu="false" quality="high" bgcolor="#ffffff" width="539" height="410" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';
      return {cookie:4, expire:4*60, html:content, x:260, y:160, width:539, height:410};
      break;


      case 'defile-mm6ah2006': //mm6-femme_automnehiver0607.flv     ok
      case 'defile-artisanalah2006': //artisanal_autohiver_0607.flv     ok
 //     case 'defile-femme0607': //collection_femme_0607.flv    ?????
      case 'defile-mm6pe2006': //mm6_printempsete06.flv    ok
      case 'defile-artisanalfh2006': //artisanal-femmehomme_2006.flv   ok
      case 'defile-papfh2006': //pretaporter_printempsete06.flv     ok
      case 'defile-margielah1': //MARGIELA_HOMME-01.flv   
      case 'defile-mm6ah0506': //mm6-femme_automnehiver0506.flv    ok
      case 'defile-femmepe05': //femme_pe05.flv   ok
	  var vid = type.substring(type.indexOf('-')+1);
      content = '<a href="javascript:void(top.document.getElementsByTagName(\'body\')[0].removeChild(top.document.getElementById(\'zediv\')))"><embed src="'+this.baseurl+'/video-confirm.swf?mvideo='+this.baseurl+'/video/'+vid+'.swf" width="539" height="410" alt="" border="0"></a>';
      return {cookie:1, expire:1, html:content, x:10, y:360, width:539, height:410};
      break;
*/

      default:
      return false;
      break;
    }

  }


  this.close = function() {
	var d = document.getElementById('zediv');
    d.style.display = 'none';
  }


  this.setTime = function(time) {
    setCookie('lastPop', time, 0);
  }


  this.setView = function(c, e) {
    var views = getCookie('view'+c);
    if (views == null) {
      views = '';
    }


    if (views.indexOf(this.type) == -1) {
      views += ',' + this.type;
      setCookie('view'+c, views, e);
      var cook = getCookie('cookies');
      if (cook == null) {
	cook = '';
      }
      var tmp = new Array();
      var ctab = cook.split('.');
      for (var i=0; i < ctab.length; i++) {
	if (c != ctab[i]) {
	  tmp.push(ctab[i]);
	}
      }
      tmp.push(c);
      cook = tmp.join('.');
      setCookie('cookies', cook);
    }
  }

  this.getView = function() {
    var c = getCookie('cookies');
    if (c == null) {
      c = '';
    }

    var popupviewed = '';

    var tab = c.split('.');
    for (var i = 0; i < tab.length; i++) {
      if (tab[i] != '') {
	var views = getCookie('view'+tab[i]);
	if (views == null) {
	  views = '';
	}
	popupviewed += views;
      }
    }


    var p = popupviewed.split(',');
    var onpop = true;

    for (var k = 0; k < p.length; k++) {
      if (this.type == p[k]) {
	onpop = false;
      }
    }

    return onpop;
  }


  this.getLastTime = function() {
    return getCookie('lastPop');
  }



  this.randOrd = function(a, b){
    return (Math.round(Math.random())-0.5); 
  }

  /************* fin des m&eacute;thodes ***********/

  // on re・it en argument une liste d'eventuelles popups ・afficher
  this.args = arguments;
}


var e = '';
e = getCookie('exposed');
if (e == null) {
  e = '';
}
if (e != '') {
  // on a &eacute;t&eacute; expos&eacute; ・des popup
  var v = getCookie('vues');
  if (v == null) {
    v = 0;
  }
  setCookie('vues', ++v);
}



function popAmbiance(img) {
  var body = top.document.getElementsByTagName('body')[0];

  closeAmbiance();
	
  if (typeof(olddiv) == 'object' && olddiv != null) {
    body.removeChild(olddiv);
  }

  var div = top.document.createElement('DIV');
  div.style.position = 'absolute';
  div.style.zIndex = 200;
  div.id='popdiv';
	
  body.appendChild(div);
	
	
  div.style.top = 80;
  div.style.left = 20;
  div.innerHTML = "<a href=\"javascript:closeAmbiance()\"><img src=\"images/pop-"+img+".jpg\" border=\"0\"/></a>";
}

function closeAmbiance() {
  var body = top.document.getElementsByTagName('body')[0];
  var olddiv = top.document.getElementById('popdiv');
	
  if (typeof(olddiv) == 'object' && olddiv != null) {
    body.removeChild(olddiv);
  }

}


