/****************************************
 *	Macromedia JS Functions				*
 ****************************************/
 
// quick browser tests
var ns4 = (document.layers) ? true : false;
//var ie4 = (document.all && !document.getElementById) ? true : false;
var ie5 = (document.all && document.getElementById) ? true : false;
//var ns6 = (!document.all && document.getElementById) ? true : false;

if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
 

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.0
  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 && document.getElementById) x=document.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 FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}

function formrule(field) {
	if (field.defaultValue == field.value) field.value = "";
}


function VwuXtnxi3E(e83,e51,e27)
{
	var htm1 = "&#109;&#97;&#105;&#108;";
	var htm2 = "&#116;&#111;&#58;";
	var text = "<a href=" + htm1 + htm2 + e27 + "&#64;" + e83 + "." + e51 + ">" + e27 + "&#64;" + e83 +  "." + e51 + "</a>";
	document.write(text);
}

function winOpener(page,w,h,left,right){
 
window.open("http://www.triana-institute.com/Plastic_Surgery/"+page+"","ro","scrollbars=no,resizable=no,toolbar=no,menubar=no,width="+w+",height="+h+",left="+left+",top="+right+"");
  
}



function topMenu(){

document.write('<td align="center" width="114" background="http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTab.gif" style="background-image: url(\'http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTab.gif\'); background-repeat: no-repeat; background-position: right top">');
document.write('<a href="http://www.triana-institute.com/index.asp">HOME</a></td>');
document.write('<td align="center" width="124" style="background-image: url(\'http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTabTL.gif\'); background-repeat: no-repeat; background-position: right top" width="159">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/drTriana.asp">DR. TRIANA</a></td>');
document.write('<td align="center" width="134" style="background-image: url(\'http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTabTL.gif\'); background-repeat: no-repeat; background-position: right top" width="174">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/ourPractice.asp">OUR PRACTICE</a></td>');
document.write('<td align="center" width="134" onMouseOut="vis(true,\'popmenuSub\');" onMouseOver="vis(false,\'popmenuSub\');"');
document.write(' style="background-image: url(\'http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTab.gif\'); background-repeat: no-repeat; background-position: right top" width="166">PROCEDURES</td>');
document.write('<td align="center" width="114" style="background-image: url(\'http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTab.gif\'); background-repeat: no-repeat; background-position: right top" width="144">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/FAQs.asp">FAQ\'S</a></td>');
document.write('<td align="center" width="114" style="background-image: url(\'http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTab.gif\'); background-repeat: no-repeat; background-position: right top" width="142">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/links.asp">LINKS</a></td>');
document.write('<td align="center" width="134" style="background-image: url(\'http://www.triana-institute.com/Plastic_Surgery/Images/TopMenuBar/topNavTab.gif\'); background-repeat: no-repeat; background-position: right top" width="153">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/contactUs.asp">CONTACT US</a></td>');
}

function topMenuPB(){

document.write('<td align="center" width="120" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabTLPB.gif\'); background-repeat: no-repeat; background-position: right top">');
document.write('<a href="http://www.porebaby.com">HOME</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabTLPB.gif\'); background-repeat: no-repeat; background-position: right top" width="150">');
document.write('<a href="http://www.porebaby.com/Skin_Care/cleansers.asp">CLEANSERS</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="160">');
document.write('<a href="http://www.porebaby.com/Skin_Care/exfoliators.asp">EXFOLIATORS</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="140">');
document.write('<a href="http://www.porebaby.com/Skin_Care/toner.asp">TONER</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="150">');
document.write('<a href="http://www.porebaby.com/Skin_Care/antiaging.asp">ANTI-AGING</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="150">');
document.write('<a href="http://www.porebaby.com/Skin_Care/antioxidants.asp">ANTI-OXIDANTS</a></td></TR>');
document.write('<TR height="30"><td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="120">');
document.write('<a href="http://www.porebaby.com/Skin_Care/acne.asp">ACNE</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="150">');
document.write('<a href="http://www.porebaby.com/Skin_Care/eyeslips.asp">EYES AND LIPS</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="160">');
document.write('<a href="http://www.porebaby.com/Skin_Care/pigment.asp">&nbsp;&nbsp;PIGMENT CORRECTION</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="140">');
document.write('<a href="http://www.porebaby.com/Skin_Care/moisture.asp">MOISTURE</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="150">');
document.write('<a href="http://www.porebaby.com/Skin_Care/sunprotection.asp">&nbsp;&nbsp;SUN PROTECTION</a></td>');
document.write('<td align="center" style="background-image: url(\'http://www.porebaby.com/Skin_Care/Images/TopMenuBar/topNavTabPB.gif\'); background-repeat: no-repeat; background-position: right top" width="150">');
document.write('<a href="http://www.porebaby.com/Skin_Care/masks.asp">&nbsp;&nbsp;CORRECTIVE MASKS</a></td>');


}

function footerMenu(){

document.write('<a href="http://www.triana-institute.com/index.asp">Home</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/drTriana.asp">Dr. Triana</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/ourPractice.asp">Our Practice</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/procedures.asp">Procedures</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/FAQs.asp">FAQ\'s</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/links.asp">Links</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/contactUs.asp">Contact Us</a>');

}

function footerMenuPB(){

document.write('<a href="http://www.porebaby.com/">Home</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/cleansers.asp">Cleansers</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/exfoliators.asp">Exfoliators</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/toner.asp">Toner</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/antiaging.asp">Anti-Aging</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/antioxidants.asp">Anti-Oxidants</a>&nbsp;|&nbsp;</td></tr><tr><td bgcolor="#C1457D" class="footerPB">');
document.write('<a href="http://www.porebaby.com/Skin_Care/acne.asp">Acne</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/eyeslips.asp">Eyes and Lips</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/pigment.asp">Pigment Correction</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/moisture.asp">Moisture</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/sunprotection.asp">Sun Protection</a>&nbsp;|&nbsp;');
document.write('<a href="http://www.porebaby.com/Skin_Care/masks.asp">Corrective Masks</a>');

}


function leftMenu(){

document.write('<td align="center">&nbsp;</td></tr><tr>');
document.write('<td align="center" onmouseover=tdback("op",1,"#0BBBFF","#000000","#B28F4B","#ffffff");vis(false,"op2") onmouseout=tdback("op",0,"#0BBBFF","#000000","#B28F4B","#ffffff");vis(true,"op2") id="op">');
 if(isIE){ 
document.write('<p align="center">OUR PRODUCTS<div style="position: absolute; width: 133px; height: 35px; z-index: 2; left: 194px; top: 267px; visibility:hidden" id="op2">');
document.write('<table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#0BBBFF" id="table11" height="15" class="myleftnavSub"><tr>');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/drJava.asp"><td style="text-align: center" onmouseover=tdback("drj",1,"#0BBBFF","#000000","#0BBBFF","#ffffff") ');
document.write('onmouseout=tdback("drj",0,"#0BBBFF","#000000","#0BBBFF","#ffffff") id="drj">Dr. Java Coffee</td></a></tr><tr>');
document.write('<a href="http://www.porebaby.com"><td style="text-align: center" onmouseover=tdback("pb",1,"#0BBBFF","#000000","#0BBBFF","#ffffff") ');
document.write('onmouseout=tdback("pb",0,"#0BBBFF","#000000","#0BBBFF","#ffffff") id="pb">Pore Baby</td></a></tr></table></div></td></tr><tr>');
 }else{
document.write('<p align="center">OUR PRODUCTS<div style="position: absolute; width: 133px; height: 35px; z-index: 2; left: 194px; top: 261px; visibility:hidden" id="op2">');
document.write('<table border="0" width="100%" cellspacing="0" cellpadding="3" bgcolor="#0BBBFF" id="table11" height="15" class="myleftnavSub"><tr>');
document.write('<td style="text-align: center" onmouseover=tdback("drj",1,"#0BBBFF","#000000","#0BBBFF","#ffffff") onmouseout=tdback("drj",0,"#0BBBFF","#000000","#0BBBFF","#ffffff") id="drj">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/drJava.asp">&nbsp;&nbsp;&nbsp;&nbsp;Dr. Java Coffee&nbsp;&nbsp;&nbsp;&nbsp;</a></td></tr><tr>');
document.write('<td style="text-align: center" onmouseover=tdback("pb",1,"#0BBBFF","#000000","#0BBBFF","#ffffff") onmouseout=tdback("pb",0,"#0BBBFF","#000000","#0BBBFF","#ffffff") id="pb">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/poreBaby.asp">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pore Baby&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td></tr></table></div></td></tr><tr>');
 }
document.write('<td align="center"><p align="center">&nbsp;</td></tr><tr>');
document.write('<td align="center"><a href="http://www.triana-institute.com/Plastic_Surgery/drJava.asp"><img border="0" src="http://www.porebaby.com/Skin_Care/Images/drJavaWwht_sml.gif" width="165" height="182"></a></td></tr><tr>');
document.write('<td align="center"><a href="http://www.porebaby.com"><img border="0" src="http://www.triana-institute.com/Plastic_Surgery/Images/poreBaby_sml.gif" width="165" height="136"></a></td>');
}

function leftMenuPB(){

document.write('<td align="right" class="mytopnavPB"><a href="http://www.triana-institute.com"><font size="3"><b>');
document.write('THE INSTITUTE&nbsp;&nbsp;</b></font></a></td><tr><td align="center"><font size="1">&nbsp;</font></td></tr><tr>');
document.write('<td align="right"><u><font face="verdana" color="#000000" size="3"><b>SPA PACKAGES</u>&nbsp;&nbsp;</b></font></td>');
document.write('</tr><tr><td align="right"><a href="http://www.porebaby.com/Skin_Care/glow.asp" style="text-decoration: none">GLOW&nbsp;&nbsp;</a></td>');
document.write('</tr><tr><td align="right"><a href="http://www.porebaby.com/Skin_Care/vanish.asp" style="text-decoration: none">VANISH&nbsp;&nbsp;</a></td></tr>');
document.write('<tr><td align="right"><a href="http://www.porebaby.com/Skin_Care/lift.asp" style="text-decoration: none">LIFT&nbsp;&nbsp;</a></td></tr>');
document.write('<tr><td align="right"><a href="http://www.porebaby.com/Skin_Care/face.asp" style="text-decoration: none">FACE&nbsp;&nbsp;</a></td>');
document.write('</tr><tr><td align="right"><a href="http://www.porebaby.com/Skin_Care/body.asp" style="text-decoration: none">BODY&nbsp;&nbsp;</a></td>');
document.write('</tr><tr><td align="right"><a href="http://www.porebaby.com/Skin_Care/handsfeet.asp" style="text-decoration: none">HANDS &amp; FEET&nbsp;&nbsp;</a></td></tr>');
document.write('<tr><td><img src="http://www.porebaby.com/Skin_Care/Images/spacer.gif"</td></tr><tr><td align="center">');
document.write('<a href="http://www.triana-institute.com/Plastic_Surgery/drJava.asp"><img border="0" src="http://www.porebaby.com/Skin_Care/Images/drJavaWwht_sml.gif" width="165" height="182"></a></td>');
}

function vis(x,obj) {
// show/hide the divisions

//if (x && (ie4 || ie5) ) document.all[obj].style.visibility = 'hidden';
//if (!x && (ie4 || ie5) ) document.all[obj].style.visibility = 'visible';
//if (x && ns4||ns6) document.layers[obj].visibility = 'hidden';
//if (!x && ns4) document.layers[obj].visibility = 'visible';

if (x==false){
if (document.layers) document.layers[''+obj+''].visibility = "show";
else if (document.all) document.all[''+obj+''].style.visibility = "visible";
else if (document.getElementById) document.getElementById(''+obj+'').style.visibility = "visible";
}
else
if (x==true){
if (document.layers) document.layers[''+obj+''].visibility = "hide";
else if (document.all) document.all[''+obj+''].style.visibility = "hidden";
else if (document.getElementById) document.getElementById(''+obj+'').style.visibility = "hidden";
}
}

function tdback(id,flagit,bc1,fc1,bc0,fc0){

if (flagit=="1"){
document.getElementById(''+id+'').style.backgroundColor= bc1;
document.getElementById(''+id+'').style.cursor= "hand";
document.getElementById(''+id+'').style.color= fc1;

}
else
if (flagit=="0"){
document.getElementById(''+id+'').style.backgroundColor= bc0;
document.getElementById(''+id+'').style.color= fc0;
}
}


//Pop-it menu- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var linksetBR=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT
//linksetBR[0]='<div onMouseOver=vis(false,"popmenuSub");tdback("al",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("al",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><font color="0BBBFF" face="Verdana" size="1"><b>&nbsp;&nbsp;AFFORDABLE LUXURY</b></font></a></div><hr onMouseOver=tdback("al",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=tdback("al",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")>'
linksetBR[0]='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("al",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("al",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/breast_Augmentation.asp">&nbsp;&nbsp;Breast Augmentation</a></div>'
linksetBR[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("al",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("al",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/breast_Lift.asp">&nbsp;&nbsp;Breast Lift</a></div>'
linksetBR[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("al",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("al",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/breast_Reduction.asp">&nbsp;&nbsp;Breast Reduction</a></div>'

var linksetBO=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT
//linksetBO[0]='<div onMouseOver=vis(false,"popmenuSub");tdback("pl",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pl",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><font color="0BBBFF" face="Verdana" size="1"><b>&nbsp;&nbsp;PREMIUM LUXURY</b></font></a></div><hr onMouseOver=tdback("pl",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=tdback("pl",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")>'
linksetBO[0]='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pl",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pl",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/body_Lift.asp">&nbsp;&nbsp;Body Lift</a></div>'
linksetBO[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pl",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pl",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/laserSkin_Resurfacing.asp">&nbsp;&nbsp;Laser Skin Resurfacing</a></div>'
linksetBO[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pl",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pl",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/liposuction.asp">&nbsp;&nbsp;Liposuction</a></div>'
//linksetBO[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pl",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pl",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://caribbean-vacation-properties.com/CVP04/cvpVillaHammond.html">&nbsp;&nbsp;Playa Chiquita - Villa Hammond</a></div>'
linksetBO[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pl",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pl",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/tummy_Tuck.asp">&nbsp;&nbsp;Tummy Tuck</a></div>'


var linksetF=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT
//linksetF[0]='<div onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><font color="0BBBFF" face="Verdana" size="1"><b>&nbsp;&nbsp;PREMIER COLLECTION</b></font></a></div><hr onMouseOver=tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")>'
linksetF[0]='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/botox_Treatment.asp">&nbsp;&nbsp;Botox Treatments</a></div>'
linksetF[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/chemical_Peels.asp">&nbsp;&nbsp;Chemical Peels</a></div>'
linksetF[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/chinChk_Implants.asp">&nbsp;&nbsp;Chin and Cheek Implants</a></div>'
linksetF[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/ear_Surgery.asp">&nbsp;&nbsp;Ear Surgery</a></div>'
linksetF[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/eyelid_Surgery.asp">&nbsp;&nbsp;Eyelid Surgery</a></div>'
linksetF[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/facelift.asp">&nbsp;&nbsp;Facelift</a></div>'
linksetF[0]+='<div class="menuitems" onMouseOver=vis(false,"popmenuSub");tdback("pc",false,"#0BBBFF","#000000","#0BBBFF","#FFFFFF") onMouseOut=vis(true,"popmenuSub");tdback("pc",true,"#0BBBFF","#000000","#0BBBFF","#FFFFFF")><a href="http://www.triana-institute.com/Plastic_Surgery/nose_Surgery.asp">&nbsp;&nbsp;Nose Surgery</a></div>'



////No need to edit beyond here

var ie4=document.all
var ns6=document.getElementById&&!document.all
var ns4=document.layers

function showmenu(e,which,arrSet){

if (!document.all&&!document.getElementById&&!document.layers)
return

clearhidemenu()

menuobj=ie4? document.all.popmenu : ns6? document.getElementById("popmenu") : ns4? document.popmenu : ""
menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj

if (ie4||ns6)
menuobj.innerHTML=which
else{
menuobj.document.write('<layer name=gui bgColor=#0BBBFF width=165 onmouseover="clearhidemenu()" onmouseout="hidemenu()">'+which+'</layer>')
menuobj.document.close()
}

menuobj.contentwidth=(ie4||ns6)? menuobj.offsetWidth : menuobj.document.gui.document.width
menuobj.contentheight=(ie4||ns6)? menuobj.offsetHeight : menuobj.document.gui.document.height
eventX=ie4? event.clientX : ns6? e.clientX : e.x
eventY=ie4? event.clientY : ns6? e.clientY : e.y

//Find out how close the mouse is to the corner of the window
var rightedge=ie4? document.body.clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie4? document.body.clientHeight-eventY : window.innerHeight-eventY

//if the horizontal distance isn't enough to accomodate the width of the context menu
 if (rightedge<menuobj.contentwidth)
  //move the horizontal position of the menu to the left by it's width
  menuobj.thestyle.left=ie4? 530  : ns6? 530  : 530  
 else
  //position the horizontal position of the menu where the mouse was clicked
  menuobj.thestyle.left=ie4? 530  : ns6? 530  : 530  

//same concept with the vertical position

if (arrSet=="BR"){
 if (bottomedge<menuobj.contentheight)
  menuobj.thestyle.top=ie4? 232 : ns6? 227 : 232 
 else
  menuobj.thestyle.top=ie4? 232 : ns6? 227 : 232 
  menuobj.thestyle.visibility="visible"
 return false
 } 
if (arrSet=="BO"){
  if (bottomedge<menuobj.contentheight)
  menuobj.thestyle.top=ie4? 261: ns6? 256 : 261 
 else
  menuobj.thestyle.top=ie4? 261 : ns6? 256 : 261 
  menuobj.thestyle.visibility="visible"
 return false
 } 
if (arrSet=="F"){
  if (bottomedge<menuobj.contentheight)
  menuobj.thestyle.top=ie4? 290 : ns6? 285 : 290 
 else
  menuobj.thestyle.top=ie4? 290 : ns6? 285 : 290
  menuobj.thestyle.visibility="visible"
 return false
 }
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.thestyle.visibility=(ie4||ns6)? "hidden" : "hide"
}

function dynamichide(e){
if (ie4&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
if (ie4||ns6||ns4)
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

function highlightmenu(e,state){
if (document.all)
source_el=event.srcElement
else if (document.getElementById)
source_el=e.target
if (source_el.className=="menuitems"){
source_el.id=(state=="on")? "mouseoverstyle" : ""
}
else{
while(source_el.id!="popmenu"){
source_el=document.getElementById? source_el.parentNode : source_el.parentElement
if (source_el.className=="menuitems"){
source_el.id=(state=="on")? "mouseoverstyle" : ""
}
}
}
}



  document.write("<div id=popmenu class=procMenuSub onMouseover=clearhidemenu();highlightmenu(event,'on');vis(false,'popmenuSub'); onMouseout=highlightmenu(event,'off');dynamichide(event);vis(true,'popmenuSub');></div>");

 if(isIE){ 
  document.write('<div id=popmenuSub style="position:absolute; width: 132px; background-color:#0BBBFF; border:0px solid black; font:bold 10px Verdana; line-height:24px; z-index:100; visibility:hidden; left: 400px; top: 228px" onMouseOver=vis(false,"popmenuSub") onMouseOut=vis(true,"popmenuSub")>');
 }else{ 
  document.write('<div id=popmenuSub style="position:absolute; width: 132px; background-color:#0BBBFF; border:0px solid black; font:bold 10px Verdana; line-height:24px; z-index:100; visibility:hidden; left: 400px; top: 222px" onMouseOver=vis(false,"popmenuSub") onMouseOut=vis(true,"popmenuSub")>');
 }
  document.write('<table width="132px" class=procMenu height="88px" cellpadding="5" cellspacing="-1"><tr><td id=al onMouseOut=delayhidemenu();tdback("al",true,"#0BBBFF","#FFFFFF","#0BBBFF","#ffffff") onMouseOver=showmenu(event,linksetBR[0],"BR");tdback("al",false,"#0BBBFF","#ffffff","#0BBBFF","#FCDC9A")><a href="http://www.triana-institute.com/Plastic_Surgery/Procedures_Breast.asp">BREAST &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img border="0" src="http://www.triana-institute.com/Plastic_Surgery/Images/arrow.gif"></a></td></tr>');
  document.write('<tr><td id=pl onMouseOut=delayhidemenu();tdback("pl",true,"#0BBBFF","#ffffff","#0BBBFF","#ffffff") onMouseOver=showmenu(event,linksetBO[0],"BO");tdback("pl",false,"#0BBBFF","#ffffff","#0BBBFF","#FCDC9A")><a href="http://www.triana-institute.com/Plastic_Surgery/Procedures_Body.asp">BODY &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img border="0" src="http://www.triana-institute.com/Plastic_Surgery/Images/arrow.gif"></a></td></tr>');
  document.write('<tr><td id=pc onMouseOut=delayhidemenu();tdback("pc",true,"#0BBBFF","#ffffff","#0BBBFF","#ffffff") onMouseOver=showmenu(event,linksetF[0],"F");tdback("pc",false,"#0BBBFF","#ffffff","#0BBBFF","#FCDC9A")><a href="http://www.triana-institute.com/Plastic_Surgery/Procedures_Face.asp">FACE &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img border="0" src="http://www.triana-institute.com/Plastic_Surgery/Images/arrow.gif"></a></td></tr></table></div>');


function nothing(){}