// parses set of checkboxes with names starting with string specified in
// variable name to store values of checked ones into form element with id
// set in hidden_id
function parse_checkbox_set(name, hidden_id) {
var i;
var checkboxes = document.getElementsByTagName("INPUT");
var result = "";

	// look through all checkboxes on the page
	for (i in checkboxes) {
		var obj = checkboxes[i];

		var re = new RegExp("^"+name+"\[[0-9a-z'\"]+\]$", "i");

		if (String(obj.type).toLowerCase() == "checkbox" &&
			obj.name.match(re) && obj.checked) {

			if (result != "") result += ", ";
			result += obj.value;

		}
	}

	// put result into another field
	var hidden_field = document.getElementById(hidden_id);
	hidden_field.value = result;

//	alert(name + " => " + result);
//	alert("hidden = " + hidden_field.value);
}

// onsubmit event handler
function parse_onsubmit(form) {

	// store information about checkbox set into hidden fields
	parse_checkbox_set('contact', '00N50000001IpvN');
	parse_checkbox_set('found', '00N50000001IptW');
	parse_checkbox_set('pr', '00N50000001IpvS');
//	return false;
}

// switching imgs
function switch_img(img_obj_id){
var img_obj = document.getElementById(img_obj_id);

	if (String(img_obj.src).indexOf('plus') > 0) {
		img_obj.src = 'img/minus.gif';
	} else {
		img_obj.src = 'img/plus.gif';
	}

}

// switch visibility of an element
function switch_obj(obj_id){
var obj = document.getElementById(obj_id);

	if (obj.style.display) {
		obj.style.display='';
	} else {
		obj.style.display='none';
	}

}


var im_plus = new Image();
	im_plus.src = 'img/plus.gif';
var im_minus = new Image();
	im_minus.src = 'img/minus.gif';


sf="";
cmpg="";
group="";
others="";
qstr=parent.document.URL.replace("%20"," ");
kw1=qstr.substring(qstr.indexOf('?')+1, qstr.length);
kw2=kw1.split("&");
for (var i = 0;i < kw2.length;i++) {
if (kw2[i].substring(0,3)=='sf='|| kw2[i].substring(0,3)=='SF=') {
sf=kw2[i].substring(kw2[i].indexOf('=')+1, kw2[i].length);
}
}
for (var i = 0;i < kw2.length;i++) {
if (kw2[i].substring(0,5)=='cmpg='|| kw2[i].substring(0,5)=='CMPG=') {
cmpg=kw2[i].substring(kw2[i].indexOf('=')+1, kw2[i].length);
}
}
for (var i = 0;i < kw2.length;i++) {
if (kw2[i].substring(0,6)=='group='|| kw2[i].substring(0,6)=='GROUP=') {
group=kw2[i].substring(kw2[i].indexOf('=')+1, kw2[i].length);
}
}
for (var i = 0;i < kw2.length;i++) {
if (kw2[i].substring(0,7)=='others='|| kw2[i].substring(0,7)=='OTHERS=') {
others=kw2[i].substring(kw2[i].indexOf('=')+1, kw2[i].length);
}
}

var protex=new Array();
protex[0]=new Array("Breast augmentation","This popular procedure has helped literally thousands of women around the world to improve the overall appearance of their breasts. A variety of different techniques may be performed, all of which have been thoroughly mastered by Dr Marcinkus. Also known as augmentation mammoplasty, the procedure helps increase the volume, firmness and fullness of the breasts to improve overall appearance. Breast augmentation has benefited breast cancer patients and women with beasts disfigured by genetic disorders or by trauma. Dr. Marcinkus has many years experience in the practice of breast augmentation and if you require more information about your suitability for augmentation mammoplasty click <a href='contact-us.asp' class='tl2' style='font-size:12px'>here</a> so that we can contact you to discuss your particular needs and arrange a personal consultation.");
protex[1]=new Array("Liposuction","Most people have heard of this very effective procedure which is popular amongst both men and women for re-contouring the body and reducing fat in localized areas of the body. Dr. Marcinkus’ patients have reported amazing results, thanks to the tried and tested methods of liposuction, saying that they feel slimmer, healthier and more confident in no time! Under Dr Marcinkus’ expert supervision, liposuction can be an effective and appropriate procedure for removing excessive accumulation of fat in the hips, abdomen, thighs, buttocks, upper arms or even the cheeks, neck or chin. Although no alternative to exercise or healthy living, liposuction can provide relief when traditional methods have failed.");
protex[2]=new Array("Tummy Tuck","The tummy tuck, or abdominoplasty is a surgical procedure for the removal of excess fat or skin on the abdomen, to restore a more youthful and flat look. By tightening the muscles, even the stretch marks left by child-bearing can be reduced. All plastic surgeons have been trained in the technique of abdominoplasty, but Dr Marcinkus remains ahead of the field in producing results that distinguish his excellent results from the ordinary work of other practitioners. Ever conscious of the need to minimize visible scarring, for example, he will focus on placing it below the bikini or bathing suit line, where it is easily hidden. He will also focus on the creation of a realistic and visually attractive belly button.");
protex[3]=new Array("Hair Restoration","‘Thinning’ hair and a receding hairline can cause a great deal of concern and embarrassment. In men it can be the beginning of male pattern balding. Hair transplants performed at Dr Marcinkus’ Desert Surgery are an effective solution and use the latest, most successful techniques. Hair from the sides and back of the head is transplanted to the bald areas where it will continue to grow. Hair transplants not only enhance appearance, but patients who have shared the benefit of Dr Marcinkus’ expertise in this area also say how big a boost to their self-esteem the hair transplant has been.");
protex[4]=new Array("Face Lifts","Think of cosmetic surgery and you’re almost certain to think of face lifts. Never one to perform the ordinary when the superlative can be achieved, however, Dr Marcinkus brings all his training, experience and latest techniques to create truly outstanding results. Face lifts are probably the most popularly known procedures, because they address the natural process of ageing. As the skin on the face ages, it loses some of its elasticity and may look wrinkled or creased. A face lift will help to reverse that process by tightening and firming up any sagging skin on the face and neck. Generally combined with other procedures such as a brow lift, eyelid surgery or nose re-shaping, the face lift is perennially popular thanks to the excellent results obtained by professionals such as Dr Marcinkus.");
protex[5]=new Array("G Spot Enhancement","Leading the way in revolutionary new methods for enhancing the quality of almost every aspect of our lives, Dr Marcinkus is an expert advocate of G-Spot enhancement or amplification. The G-Shot is the very latest new technique for enhancing sexual stimulation and gratification. It is administered with a special speculum into the G-Spot (the Grafenburg spot) in order to enlarge it. Collagen is injected after the application of a local anesthetic. The entire procedure takes about 10 minutes with no recovery time. In a pilot study, 87% of the women surveyed after receiving a G-Shot reported enhanced sexual arousal and gratification. Dr Marcinkus has perfected the administration of this very effective procedure and will be happy to discuss its suitability for you. Just click <a href='contact-us.asp' class='tl2' style='font-size:12px'>here</a> so that we can contact you to discuss your particular needs and arrange a personal consultation.");
protex[6]=new Array("Thermage","A highly effective alternative to the surgical face lift, thermage uses radio waves to enhance the body’s natural collagen production and so shrink and tighten the skin, while also promoting the production of fresh collagen over time. Dr Marcinkus’ patients report that it’s a practically painless way to get fresher, younger looking skin in just a few hours without surgery and the recovery time and aftercare which that involves.");
protex[7]=new Array("French Lift","Because it treats just a half or one third of the face, a French Lift can be seen as a reduced version of the full face lift. Dr Marcinkus will ensure that the results are very similar, however, by smoothing out folds and creases in particular problem areas of the face. A more youthful appearance can be gained by slightly pulling back the affected skin or by removing unwanted folds of skin. With minimal scarring, your face will appear revitalized and refreshed.");
protex[8]=new Array("Eyelid Surgery","Blepharoplasty can make your eyes look brighter and younger. Dr Marcinkus can perform eyelid surgery on either or both the upper and lower lids with minimal scarring and recovery time. This procedure is very popular as the results are long lasting. It is highly effective for puffy and heavy eye lids. By re-contouring the lids, eyelid surgery will definitely make your eyes more attractive.");
protex[9]=new Array("Ear Surgery/Otopasty","Surgery in Dr Marcinkus’ expert hands can push back prominent ears so they lie closer to the head or the ears themselves can be reduced in size.");
protex[10]=new Array("Collagen Injections","Collagen injections offer a simple, yet relatively long-lasting way of restoring the elasticity and youthfulness of your skin. The injections replace the collagen that has lost its tone and strength by penetrating deep into the second layer of your skin (the dermis) that moisturizers and collagen creams alone cannot reach.");
protex[11]=new Array("Radiance Injections","Radiance injections – of Radiesse T – can restore the natural radiance of your face by reducing the lines near the mouth and nose. Radiance injections tend to be longer-lasting than most other similar therapies and can be effective for almost a year.");
protex[12]=new Array("Botox Injections","Botox acts by impeding the nerve endings, temporarily paralyzing the muscles that cause wrinkles when smiling, laughing etc, while giving the skin a smoother, more refreshed appearance.");
protex[13]=new Array("Fat Injections","This popular procedure involves the transplantation of fat from one part of the body to another. Fat tissue is taken from where it’s not needed and re-injected to help reduce fine lines and wrinkles and to give the face a long-lasting fuller appearance.");
protex[14]=new Array("Hylaform Injections","Ageing and other environmental factors can reduce the skin’s natural production of hyaluronan, making the skin look older and wrinkled. Hylaform injections can replace the loss and – unlike collagen – does not require an allergy test before commencing the procedure.");
protex[15]=new Array("Chemical Peels","Under Dr Marcinkus’ professional supervision, it’s possible carefully to strip away the skin’s damaged surface layer with chemical peels such as alpha hydroxyl acids, trichloroacetic acid (TCA), phenol, etc. The exposed new skin will be softer, smoother and suppler.");
protex[16]=new Array("Photofacial Rejuvenation","Using pulsed light to penetrate beneath the skin, photofacial rejuvenation can repair the damage caused by acne, pigmentation blemishes, dark spots and the like, which are too small to be corrected by surgery or even filler injections. It is completely painless and quick.");
protex[17]=new Array("Facial, Cheek, Chin Implants","Implants into the jaw, cheek or chin can be made under a local or general anesthetic, under minor surgery usually taking no more than 1-2 hours – the actual length will of course depend on the part of the face to be treated. Facial implants are generally straight forward and recovery can be expected after about one week.");
protex[18]=new Array("Brow Lift - Open or Endoscopic","This self-explanatory procedure will reduce the fine lines on your forehead, raising your eyelids and making your eyes appear bigger. The endoscopic procedure entails a series of tiny incisions along the hairline, while the open method involves a single incision. The procedure takes one to two hours and the benefits are visible for about 5-10 years.");
protex[19]=new Array("Rhinoplasty (Nose)","Plastic surgery to change the size ort shape of your nose or to narrow the width of your nostrils could be chosen for cosmetic or medical reasons. The procedure will generally last between one and two hours and can be performed from within the nose or as an “open” procedure.");
protex[20]=new Array("Lip Augmentation","The injection of synthetic or natural material or surgical reconstruction can be performed to re-sculpt your lips. Collagen or the patient’s own fat are the most frequently used injectibles, allowing a minimal recovery period of a few hours to a day.");
protex[21]=new Array("Laser Resurfacing","A carbon dioxide laser acts like a magic wand and vaporizes the surface of damaged or blemished skin. Since it is highly accurate, Laser Resurfacing can be targeted towards specific areas or applied to the whole of the face. Although still quite a new method, Laser Resurfacing (or ‘laser peel’) causes less bleeding and discomfort than more traditional resurfacing procedures.");
protex[22]=new Array("Laser Micro Peel","The Laser Micro Peel goes deeper than a micro-derm abrasion but is not as intensive as complete skin resurfacing. It removes the outermost layer of skin, taking with it wrinkles, acne scars and uneven pigmentation. With a Laser Micro Peel, your skin will feel and look smoother and clearer and the effects can last from 6-12 months.");
protex[23]=new Array("Oxygen Facial","Pure oxygen has a therapeutic and rejuvenating effect on the skin that can be used for cosmetic or medical reasons. The procedure will kill surface bacteria, leaving the skin refreshed and revitalized.");
protex[24]=new Array("Retin A Treatments","Retin A Treatment is usually performed in preparation for other treatments like a face lift or a chemical peel, but can also be done as a complete treatment in itself. The procedure involves a simple application of Retin A cream or gel to the face. It is highly effective in combating the effects of sun damage and reducing fine wrinkles. It works equally well in young and old patients.");
protex[25]=new Array("Resurfacing","Pigmentation and facial scars can be treated layer by layer. Resurfacing is normally performed with a laser, so there is very little bleeding and discomfort. Skin resurfacing is a very effective way of removing scarring in localized areas.");
protex[26]=new Array("Breast lifts","Mastopexy is commonly referred to as a breast lift. With the passage of time or after pregnancy and breast-feeding, breasts tend to loose their firmness and sag. Dr Marcinkus will employ minimal scar surgery to ensure that the result is as discrete and as natural as possible. A breast lift can enhance the shape of the breast and reduce the size of the areola. Surgery may be combined with breast implants to improve the fullness and shape of the breasts.");
protex[27]=new Array("Breast Reduction","Breast reduction may be sought by women with very large breasts that may be the source of neck and back pain as well as skin irritation. Breast reduction can address these problems and restore self-confidence in appearance by removing excess fat and skin from the breasts to make them more firm and regular.");
protex[28]=new Array("Breast Contouring","Breast contouring sculpts the breasts to improve and enhance their overall shape. This could also involve a breast reduction to remove excess fat. As with all his procedures, Dr Marcinkus is keenly aware of the need for minimal scarring and for ensuring that any necessary scarring fades rapidly in a short time.");
protex[29]=new Array("Breast Reconstruction","When one or both breasts have been removed following illness, injury or cancer treatment, the effects are naturally emotionally traumatic. Breast reconstruction aims at rebuilding the shape and size of the breast to look like a normal breast. Tissue may be taken from the back, the abdomen or other parts to re-create the breast mound. The results are very effective and although some scars may remain Dr Marcinkus’ techniques strive for minimal scarring.");
protex[30]=new Array("Breast Rejuvenation","When the size and shape of the breasts is a source of dissatisfaction, breast rejuvenation can be an effective remedy. Breast size can be reduced or augmented as the case may be. Breasts can also be contoured to enhance their appearance. Uneven breasts can be made to look symmetrical and similar.");
protex[31]=new Array("Nipple Augmentation ","Nipple augmentation is normally carried out after a breast lift, breast reconstruction or breast augmentation. It is suitable for both men and women who want to increase the size of the nipple so that it is proportionate to the breast as a whole. This safe surgical procedure can also re-shape the nipple if so desired.");
protex[32]=new Array("Nipple Reduction","Large nipples can be a source of embarrassment to both men and women. Nipple reduction accurately reduces the size of the nipple so it is proportionate with the breast. Nipple reduction is normally carried out in combination with other breast rejuvenation procedures. Sensation in the nipple is retained and scars are minimal.");
protex[33]=new Array("Tumescent & Ultrasonic Liposuction","A variation of liposuction techniques, tumescent liquid – a combination of lidocaine and adrenaline – is passed through the fat so that it swells and becomes firm. The excess fat is then removed through liposuction. The tumescent technique is popular because it reduces bleeding, requires less anesthetic and is more comfortable.");
protex[34]=new Array("Dermasonic - Liposuction Alternative","Dermasonic treatment penetrates the layer of fat, inducing the break up of fibrosis, enhancing lymphatic drainage and thereby dispersing the fatty tissue. The result is a reduction in the presence of cellulite and the appearance of a well-contoured and fit body. The results are visible after just one treatment and the procedure is an effective alternative to liposuction. ");
protex[35]=new Array("Buttocks Enhancement","The size and shape of the buttocks can be enhanced through a variety of techniques including liposuction contouring or fat grafting. These surgical procedures are ideal for those with a sagging bottom, since a buttock lift or buttocks enhancement can sculpt and redefine the way you look.");
protex[36]=new Array("Total Body Lift","A total body lift – or body contouring - focuses on the abdomen, the thighs, sides of the legs and the buttocks. It tackles excess skin on the body and fat pockets that may mar the overall contours of the body. A total body lift may entail liposuction, buttock lift and/or an inner and outer thigh lift. Though the procedure may seem long, patients report that the results are well worthwhile!");
protex[37]=new Array("Inner Thigh Lift","Available as a separate procedure, or combined with a total body lift, the inner thigh lift is ideal for those with sagging inner thighs that result from excessive skin. In some cases liposuction is done to get rid of the fatty tissue. Once the result is analyzed an inner thigh lift is conducted to firm up the shape. This procedure often extends as far as the inner knee.");
protex[38]=new Array("Outer Thigh Lift","An Outer Thigh Lift may be performed to restore the thighs to their slim and shapely form. Excess skin over the thighs and buttocks is lifted and removed with incisions that leave minimal scarring.");
protex[39]=new Array("Body Piercing","Body piercing is highly fashionably and generally used for cosmetic purposes. Sometimes it may be performed as part of a mental discipline to withstand pain or as part of a religious ritual. Jewelry or other adornments are inserted into the pierced skin. Great care must be taken to ensure that body piercing is done in the most hygienic and clinical manner possible.");
protex[40]=new Array("Tattoo Removal","Times and fashions change! A tattoo that may once have inspired you or represented your spirit to the world may now seem a poor choice. Provided you seek appropriate medical advice and assistance, Tattoo Removal procedures will erase the tattoo and protect the skin from scarring and peeling.");
protex[41]=new Array("Brown Spot Removal","Brown spots on the face, neck, the back of the hands and so forth are normally caused by overexposure to the sun or by advancing age.  They can make the skin look discolored and damaged. There are a variety of brown spot removal methods. Common methods involve the clinical application of bleaches and chemical peels. More sophisticated options advised by Dr Marcinkus include Laser Resurfacing and Pulsed light Therapy.");
protex[42]=new Array("Spider Vein Removal","Spider Veins – which give the appearance of a small lattice of spider webs – are caused by tiny veins that are visible through the skin because they lie so close to the surface. They appear as red or blue clusters and can be unsightly.  A Spider Vein Removal procedure called sclerotherapy involves the injection of a solution into the veins causing them to collapse and fade from view.");
protex[43]=new Array("Hair Removal","For both cosmetic reasons and for hygiene considerations the elimination of body hair is widely held to be desirable. Although many techniques and methods are widely available, only electrolysis can claim any degree of permanence, with laser treatment being a close contender.");
protex[44]=new Array("SkinMaster","The proprietary SkinMaster procedure uses a flat metal spatula which is run over the skin and which emits high speed and low frequency ultrasound vibrations. These scrub the skin’s surface clean. Users report that it is completely painless and requires no recovery time.");
protex[45]=new Array("Microdermabrasion","Microdermabrasion is a simple and popular treatment for restoring the vitality and freshness of the surface of the skin. It literally polishes the skin by gently spraying it with various crystals and then vacuuming them off.");
protex[46]=new Array("Neck Lift","Neck lift surgery may involve either or both cervicoplasty to remove excess skin and platysmaplasty to change the structure of the neck muscles. Both procedure can be done under general or local anesthesia and Dr Marcinkus’ patients have all reported that the procedure goes a long way to looking trimmer and more youthful.");
protex[47]=new Array("Vaginal Rejuvenation","The vagina can sometimes get stretched due to pregnancy and child birth. This can result in lowered sexual gratification because of reduced friction. Vaginal rejuvenation helps to restore a pre-pregnancy state in women, and has been found to be highly effective for tightening the vagina. Surgery generally uses conventional or laser techniques.");
protex[48]=new Array("Laser Rejuvenation","LVR or laser vaginal rejuvenation is a specific form of vaginal rejuvenation that combats vaginal relaxation by tightening the muscles of the vagina. It enhances the control and strength of the muscles thus increasing the friction felt during sexual intercourse. An extension of this treatment can also be used to treat stress urinary incontinence.");
protex[49]=new Array("Male Enhancement","Decreased blood flow into the male organ may result in a weakened erection. Such erectile dysfunction may also be caused by stress, fear or anxiety. In such an event, our male enhancement treatment may be the cure. Treatment may be done internally or externally to enhance the sexual experience.");
protex[50]=new Array("Labial Rejuvenation","This surgical procedure aims at reshaping the lips of the labia in order to improve their appearance and also to enhance sexual gratification. Enlarged labia can be a cause for concern. During labial rejuvenation, the excess tissue on the labia minora is reduced while other tissue is left untouched. Labial rejuvenation is a simple procedure that leaves almost no marks or scars.");
protex[51]=new Array("Removal of Skin Lesions & Cancer","Skin that is blemished by moles, freckles, rough brown spots etc, can be surgically removed. Any skin lesion that changes color or bleeds must, of course, be tested for possible malignancy. In the majority of cases, however, it is simply the safe and permanent removal of an unsightly growth or blemish.");
protex[52]=new Array("Scalp Reduction","Also called Alopecia reduction, scalp reduction is an innovative solution to premature balding. In this procedure, the head is practically restructured. The bald portions of the scalp are surgically removed and the sides with hair growth are stretched to cover the entire head. Patients can usually return to work with 4-5 days.");
protex[53]=new Array("The Unigraft Technique","It's simple and it's logical.<br><br>Individual, microscopic skin and hair follicle sections are moved from healthy scalp and implanted into balding areas. This procedure is performed under magnification. Because of this microsurgical procedure, scars are not apparent.<br><br>Creation of the hairline is done from the back of the balding area toward the front. For front hairlines, grafts with 1-2 individual hairs are used; 3-5 hair sections are used for top and back fill in areas. So, a gradual replacement occurs with no \"corn-row\" or obvious plugs visible.<br><br>As simple as it sounds, the results are impressive in the first session. The number of sessions required depend on your desired look. Generally, our patients find satisfaction in just two or three sessions.");
protex[54]=new Array("Skalp Expansion","Remaining hair is stretched. When this is complete it is used to cover the bald area. Two procedures usually accomplish this.");
protex[55]=new Array("Flap Technique","Sections of thick hair and scalp are moved to the front and top of the head to cover baldness and establish hairlines.");
function procedures(texnum){
tit=protex[texnum][0];
tex=protex[texnum][1];
document.getElementById('proc').innerHTML="<b>"+tit+"</b><br><br>"+tex+"<br><br>";
document.getElementById('focus').focus();
}
function procedures_2(texnum){
tit=protex[texnum][0];
tex=protex[texnum][1];
document.write("<b>"+tit+"</b><br><br>"+tex+"<br><br>");
}


//#############################################
//Form validation
//#############################################
function validate_required(field,alerttxt,yes)
{
with (field)
{
if (value==null||value=="")
  {
  if(yes==1){
	  alert(alerttxt);
	  }else{
	  var msg = document.getElementById("errormsg");
	  msg.innerHTML=alerttxt;
	  }
	  return false
  }
else {return true}
}
}

function validate_email(field,alerttxt,yes)
{
with (field)
{
apos=value.indexOf("@")
dotpos=value.lastIndexOf(".")
if (apos<1||dotpos-apos<2) 
  {
	  if(yes==1){
	  alert(alerttxt);
	  }else{
	  var msg = document.getElementById("errormsg");
	  msg.innerHTML=alerttxt;
	  }
	  return false
  }
else {return true}
}
}

function validate_form(thisform)
{
with (thisform)
{
	if (validate_required(fname,"Please enter your name!",1)==false)
	  {fname.focus(); return false}
	if (validate_required(email,"Email must be filled out!",1)==false)
	  {email.focus();return false}
	  else
		{
			if (validate_email(email,"Not a valid e-mail address!",1)==false)
			{email.focus();return false}
		}
	if (validate_required(phone,"Phone must be filled out!",1)==false)
	  {phone.focus();return false}
}
}


function validate_form2(thisform)
{
with (thisform)
{
	if (validate_required(fname,"Please enter your name!",0)==false)
	  {
		  fname.focus();
		  return false
	  }
	if (validate_required(email,"Email must be filled out!",0)==false)
	  {email.focus();return false}
	  else
		{
			if (validate_email(email,"Not a valid e-mail address!",0)==false)
			{email.focus();return false}
		}
	if (validate_required(phone,"Phone must be filled out!",0)==false)
	  {phone.focus();return false}
	  else
		{
			if (MatchPattern(phone, "Enter valid phone number!")==false)
			{phone.focus();return false}
		}
}
}

function MatchPattern(field, txtstr) {
  var str = /^(?:\([2-9]\d{2}\)\ ?|[2-9]\d{2}(?:\-?|\ ?|\.?))[2-9]\d{2}[- \.]?\d{4}$/;
  var re = new RegExp(str);
  if (field.value.match(re)) {
	  return true   
  } else {
	  		var msg = document.getElementById("errormsg");
		    msg.innerHTML=txtstr;
			//alert(txtstr);
	  		return false
	  	 }
}


//#####################Google Maps################

//<![CDATA[

function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(33.794199,-116.405854), 13);
// Our info window content
var infoTabs = [
  new GInfoWindowTab("Address", "<div style='color:red'>Desert Plastic Surgery Center</div><br>35280 Bob Hope Dr.<br>Suite 105<br>Rancho Mirage,CA 92270"),
  new GInfoWindowTab("Phone", "<div style='color:red'>Desert Plastic Surgery Center</div><br>Toll-free 800-715-6299<br>Phone: 760-340-3402")
];
// Place a marker in the center of the map and open the info window
// automatically
var marker = new GMarker(map.getCenter());
GEvent.addListener(marker, "click", function() {
  marker.openInfoWindowTabsHtml(infoTabs);
});
map.addOverlay(marker);
marker.openInfoWindowTabsHtml(infoTabs);
      }
    }
    //]]>

//#############################################



