<!-- //
if (document.images) {

	abouton = new Image(); abouton.src = "/images/about2.gif";
	aboutoff = new Image(); aboutoff.src = "/images/about1.gif";
	
	paymenton = new Image(); paymenton.src = "/images/payment2.gif";
	paymentoff = new Image(); paymentoff.src = "/images/payment1.gif";
	
	referon = new Image(); referon.src = "/images/refer2.gif";
	referoff = new Image(); referoff.src = "/images/refer1.gif";
	
	patienton = new Image(); patienton.src = "/images/patient2.gif";
	patientoff = new Image(); patientoff.src = "/images/patient1.gif";
	
	insuranceon = new Image(); insuranceon.src = "/images/insurance2.gif";
	insuranceoff = new Image(); insuranceoff.src = "/images/insurance1.gif";
	
	serviceson = new Image(); serviceson.src = "/images/services2.gif";
	servicesoff = new Image(); servicesoff.src = "/images/services1.gif";
	
	staffon = new Image(); staffon.src = "/images/staff2.gif";
	staffoff = new Image(); staffoff.src = "/images/staff1.gif";
	
	contacton = new Image(); contacton.src = "/images/contact2.gif";
	contactoff = new Image(); contactoff.src = "/images/contact1.gif";
	
	newson = new Image(); newson.src = "/images/news2.gif";
	newsoff = new Image(); newsoff.src = "/images/news1.gif";
	
	locationson = new Image(); locationson.src = "/images/locations2.gif";
	locationsoff = new Image(); locationsoff.src = "/images/locations1.gif";
	
	medicaon = new Image(); medicaon.src = "/images/4medica2.gif";
	medicaoff = new Image(); medicaoff.src = "/images/4medica1.gif";
	
}

function act(imgName){
  if (document.images)  document[imgName].src = eval(imgName + 'on.src')	
}

function inact(imgName) {
	if (document.images)  document[imgName].src = eval(imgName + 'off.src')
}

//Pre-loading Images script
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 update_qte(elt, value)
{
	var obj = document.getElementById(elt);
	if (Number(value) == -1)
	{
		if(Number(obj.value) != 1)
			obj.value = Number(obj.value) + Number(value);
	}
	else
		obj.value = Number(obj.value) + Number(value);
	document.form1.submit();
}
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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

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_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];}
}