function hidestatus(){
window.status='www.soigne.com.hk'
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus


function p_change(title_c,title_e,num,misc,sel){
	html='<font class="p_title">'+title_c+'<br>'+title_e+'</font><br><font class="p_misc">'+num+' '+misc+'</font>';

	if(sel==1) {
	  description_a.innerHTML=html;
	}
	if(sel==2) {
	  description_b.innerHTML=html;
	}
	if(sel==3) {
	  description_c.innerHTML=html;
	}
	if(sel==4) {
	  description_d.innerHTML=html;
	}
	if(sel==5) {
	  description_e.innerHTML=html;
	}
	if(sel==6) {
	  description_f.innerHTML=html;
	}
	if(sel==7) {
	  description_g.innerHTML=html;
	}
	if(sel==8) {
	  description_h.innerHTML=html;
	}
	if(sel==9) {
	  description_i.innerHTML=html;
	}		
	if(sel==10) {
	  description_j.innerHTML=html;
	}
}


function c_change(title_c,title_e,num,misc,sel){
	html='<font class="c_title">'+title_c+'<br>'+title_e+'</font><br><font class="c_misc">'+num+' '+misc+'</font>';

	if(sel==1) {
	  description_a.innerHTML=html;
	}
	if(sel==2) {
	  description_b.innerHTML=html;
	}
	if(sel==3) {
	  description_c.innerHTML=html;
	}
	if(sel==4) {
	  description_d.innerHTML=html;
	}
	if(sel==5) {
	  description_e.innerHTML=html;
	}
	if(sel==6) {
	  description_f.innerHTML=html;
	}
	if(sel==7) {
	  description_g.innerHTML=html;
	}	
	if(sel==8) {
	  description_h.innerHTML=html;
	}
	if(sel==9) {
	  description_i.innerHTML=html;
	}	
	if(sel==10) {
	  description_j.innerHTML=html;
	}	
}

function store_change(addr,tel){
	html='<p><font class="sl_hdr">address</font><br><font class="sl_body">'+addr+'</font><br><font class="sl_hdr">tel</font><br><font class="sl_body">'+tel+'</font></p>';
	
	if(addr=="" && tel=="") {
		html='';
	}

	description.innerHTML=html;
}

function openwin(url,w,h) {
	var bName = navigator.appName;

	if (bName == "Netscape") id='ns';
	else id='ie';
	
	if (bName == "Netscape") h=h+5;
	if (parseInt(navigator.appVersion) >= 4) {
		x = (screen.width - w) / 2;
		y = (screen.height - h) / 2;
	} else {
		x = 150;
		y = 200;
	}

	window.open(url, '_blank', 'height=' + h + ',width=' + w + ',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=' + x + ',top=' + y);
}

function imgPopup(imgName) {
	imgURL=imgName;
	i1 = new Image;
	i1.src = imgURL;
	html = '<HTML><HEAD><TITLE>S O I G N E</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="'+imgURL+'" BORDER=0 NAME=imgTest onLoad="window.resizeTo(document.imgTest.width+14,document.imgTest.height+32)"></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close();
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}