// JavaScript Document
var msg="BIJOUX BIJOUX .EU";
function disableIE() {if (document.all) {alert(msg);return false;}
}
function disableNS(e) {
  if (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2||e.which==3) {alert(msg);return false;}
  }
}
if (document.layers) {
  document.captureEvents(Event.MOUSEDOWN);document.onmousedown=disableNS;
} else {
  document.onmouseup=disableNS;document.oncontextmenu=disableIE;
}
document.oncontextmenu=new Function("alert(msg);return false")


function PopupImage(img) {
	titre="BIJOUX GUENITA";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE><meta http-equiv=imagetoolbar content=no></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0 OnContextMenu='return false;'><a href=# ><IMG src='"+img+"' border=0 onClick=javascript:self.close()></a>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
function fullwin(where){
   var newwin = window.open(where,"newwin",'fullscreen=no,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=yes,resizable=0,width=' + screen.width + ',height=' + screen.height);
   newwin.moveTo(0,0);newwin.focus();
 }
   function OpenLayer(id){
   if(document.getElementById(id).style.display == "block") {
    document.getElementById(id).style.display = "none" ;

   } else {
    document.getElementById(id).style.display = "block" ;

   }
   window.status =  document.getElementById(id).style.display;
 }
 
 function p_att(){
window.open('','spplus','width=670,height=535,status=1');
document.x.action="http://kits.spplus.net/cgi-bin/hmac_guenita.exe";
document.x.target="spplus";
document.x.method="POST";
document.x.devise.value="978"
document.x.w_ret.value="main_frame";
document.x.submit();
document.f.action="";
document.f.method="POST";
document.f.submit();
}
function CheckLen(Target) 
	{
		// calcule et affiche le nbre de caracteres saisi pour le message a envoyer
		StrLen = Target.value.length
		if (StrLen > 200 )
		{
			Target.value = Target.value.substring(0,200);
			CharsLeft = 200;
		}
		else 
		{
			CharsLeft = StrLen;
		}
		document.f.caracteres.value = CharsLeft;
	}
	
	
		
navvers = navigator.appVersion.substring(0,1);

if (navvers > 3)
{
navok = true;
}
else
{
navok = false;
}

today = new Date;
jour = today.getDay();
numero = today.getDate();
mois = today.getMonth();
if (navok)
annee = today.getFullYear();
else
annee = today.getYear();
TabJour = new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi");
TabMois = new Array("Janvier","F&eacute;vrier","Mars","Avril","Mai","Juin","Juillet","Ao&ucirc;t","Septembre","Octobre","Novembre","D&eacute;cembre");
date_fr = TabJour[jour] + " " + numero + " " + TabMois[mois] + " " + annee;

TabJour_en = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
TabMois_en = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
date_en = TabJour_en[jour] + " " + TabMois_en[mois]+ " " + numero  + " " + annee;




var msg1 = "";
var spacer = " ";
var pos = 0;
function ScrollMessage()
{
window.status = msg1.substring(pos, msg1.length) + spacer + msg1.substring(0,pos);
pos++;
if (pos > msg1.length) pos = 0;
window.setTimeout("ScrollMessage()", 10);
}
ScrollMessage();

function ln(i) {
var i;
i=window.location.href = ""+i+"";
}
