

/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/


//NAVIGATION
var appointments=new Array()
appointments[0]='<p><a href="javascript:showWINDOW(\'https://secure.eyehub.com/secure/index.cfm?fuseaction=site.appointments&amp;domain=visionsource-palatinevision.com\',625,668);" class="list">Request an Appointment</a></p>'

appointments[1]='<p><a href="http://www.palatinevision.com/download/patientinfo.pdf" class="list" target="_blank">New Patient Information Form</a></p>'



//DISEASES AND EYE CONDITIONS
var refraction=new Array()
refraction[0]='<h3>Refraction</h3><p>The ability to focus light into your eyes, giving clear vision.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var glaucoma=new Array()
glaucoma[0]='<h3>Glaucoma</h3><p>Glaucoma is a group of eye diseases that cause damage to the optic nerve. Often called &quot;The Silent Thief&quot; of vision, gradually stealing vision often without warning or symptoms.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var cataract=new Array()
cataract[0]='<h3>Cataract</h3><p>The eye&#x2019;s natural lens is used for focusing near objects and is clear at birth. As we age, the lens begins to lose its clarity. This loss of transparency of the natural lens is called a cataract.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var retdetach=new Array()
retdetach[0]='<h3>Retinal Detachment</h3><p>A Retinal Detachment occurs when the retina becomes torn and detaches from the internal portion of the eye causing reduced vision, floaters and sometimes flashes of light.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var astigmatism=new Array()
astigmatism[0]='<h3>Astigmatism</h3><p>Astigmatism takes place when your cornea is shaped like a football with two different curvatures. Images appear blurred or ghost-like because light rays are not refracted equally.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var neovascularization=new Array()
neovascularization[0]='<h3>Neovascularization </h3><p>New blood vessel growth on the cornea, often caused by contact lens complications.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var keratoconus=new Array()
keratoconus[0]='<h3>Keratoconus</h3><p>A condition in which the cornea becomes thin and protrudes. This abnormal shape can cause serious distortion of visual images.</p>'

var dryeye=new Array()
dryeye[0]='<h3>Dry Eye</h3><p>A chronic condition that results from an insufficient production of tears or excessive evaporation of the tear film.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var conjunctivitis=new Array()
conjunctivitis[0]='<h3>Conjunctivitis</h3><p>Commonly known as "Pink Eye," conjunctivitis is redness and inflammation of the membranes (conjuctiva) covering the whites of the eyes and the membranes on the inner part of the eyelids. There are two types of conjunctivitis: viral and bacterial.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'



//PRODUCTS

var polarizedlens=new Array()
polarizedlens[0]='<h3>Polarized Lenses</h3><p>Lenses designed to reduce glare caused by reflections from water, snow and road surfaces. Ideal for fishing and bright light conditions.</p>'

var progressive=new Array()
progressive[0]='<h3>Progressive Lens</h3><p>A multi-focal lens with no visible lines of demarcation. Progressive lenses have a natural variable power range from distance in the top of the lens, arms-length vision just below the center and a reading range in the bottom of the lens.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var polycarbonate=new Array()
polycarbonate[0]='<h3>Polycarbonate Lens</h3><p>Polycarbonate lenses offer many benefits over traditional plastic lenses such as impact resistance, scratch resistance, light weight and 100% UV Protection.</p>'

var ar=new Array()
ar[0]='<h3>Anti-reflective treatment</h3><p>Anti-reflective (AR) lens treatment provides many benefits over regular plastic lenses - improved night vision, decreased computer glare, reduced eye strain, and less reflections on the surface of the lens. Our office strongly recommends choosing AR treatment for your lenses.</p>'

var transitions=new Array()
transitions[0]='<h3>Transitions<sup>&reg;</sup> Lenses</h3><p>Transitions lenses are clear indoors and at night but automatically adjust their level of tint to changing light conditions outdoors.</p><p><a href="http://www.transitions.com/" class="CTA" target="_blank">Learn more at transitions.com</a></p>'

var toric=new Array()
toric[0]='<h3>Toric Lenses</h3><p>Toric contact lenses are prescribed for patients with astigmatism. They can be either soft or Rigid Gas Permeable (RGP) lenses. They have two powers in them, created with curvatures at different angles (one for astigmatism, the other for either myopia or hyperopia).</p>'

var refractivesurgery=new Array()
refractivesurgery[0]='<h3>Refractive Surgery</h3><p>A surgical procedure that corrects refractive errors by changing the shape of the cornea. The goal of refractive surgery is to reduce or eliminate a persons dependence on glasses or contact lenses.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var rgp=new Array()
rgp[0]='<h3>Rigid Gas Permeable Lenses</h3><p>Plese Provide Definition.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var synergeyes=new Array()
synergeyes[0]='<h3>SynergEyes<sup>&reg;</sup> Contact Lenses</h3><p>SynergEyes is a new hybrid contact lens that has a soft skirt for comfort with a more "breathable" rigid center that helps keep eyes healthy while providing crisp, clear vision... even at night.</p><p><a href="http://www.synergeyes.com/" class="CTA" target="_blank">Learn More at synergeyes.com</a></p>'

var punctalplugs=new Array()
punctalplugs[0]='<h3>Punctal Plugs</h3><p>A treatment for Dry Eye in which small plugs are inserted in the corner of the eyes to slow tear drainage.</p>'

var siliconelenses=new Array()
siliconelenses[0]='<h3>Silicone-based Contact Lenses</h3><p>Silicone-based lenses are a new development in soft contact lens materials. Advantages of silicone hydrogel lenses over conventional soft lenses include: higher oxygen transmission, more resistance to protein deposits, less drying of the lenses, lower risk of eye infection, and easier handling due to increased rigidity of material.</p>'



//ANATOMY

var retina=new Array()
retina[0]='<h3>Retina</h3><p>The nerve layer that lines the back of the eye, senses light, and creates impulses that travel through the optic nerve to the brain.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var opticnerve=new Array()
opticnerve[0]='<h3>Optic Nerve</h3><p>Carries the impulses formed by the retina to the brain, which interprets them as images.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'

var cornea=new Array()
cornea[0]='<h3>Cornea</h3><p>The clear front window of the eye that transmits and focuses light onto the retina.</p><p><a href="javascript:showWINDOW(\'3dplayer.html\',480,482);" class="CTA">Learn More</a></p>'


		
var menuwidth='200px' //default menu widthvar menubgimg='url(images/dropbg.png)'  //menu bgcolorvar disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)var hidemenu_onclick="yes" //hide menu when user clicks within menu?/////No further editting neededvar ie4=document.allvar ns6=document.getElementById&&!document.allif (ie4||ns6)document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-image:'+menubgimg+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')function getposOffset(what, offsettype){var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;var parentEl=what.offsetParent;while (parentEl!=null){totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}return totaloffset;}function showhide(obj, e, visible, hidden, menuwidth){if (ie4||ns6)dropmenuobj.style.left=dropmenuobj.style.top="-500px"if (menuwidth!=""){dropmenuobj.widthobj=dropmenuobj.styledropmenuobj.widthobj.width=menuwidth}if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")obj.visibility=visibleelse if (e.type=="click")obj.visibility=hidden}function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}function clearbrowseredge(obj, whichedge){var edgeoffset=0if (whichedge=="rightedge"){var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15dropmenuobj.contentmeasure=dropmenuobj.offsetWidthif (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth}else{var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffsetvar windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18dropmenuobj.contentmeasure=dropmenuobj.offsetHeightif (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeightif ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge}}return edgeoffset}function populatemenu(what){if (ie4||ns6)dropmenuobj.innerHTML=what.join("")}function dropdownmenu(obj, e, menucontents, menuwidth){if (window.event) event.cancelBubble=trueelse if (e.stopPropagation) e.stopPropagation()clearhidemenu()dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudivpopulatemenu(menucontents)if (ie4||ns6){showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)dropmenuobj.x=getposOffset(obj, "left")dropmenuobj.y=getposOffset(obj, "top")dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"}return clickreturnvalue()}function clickreturnvalue(){if (ie4||ns6) return falseelse return true}function contains_ns6(a, b) {while (b.parentNode)if ((b = b.parentNode) == a)return true;return false;}function dynamichide(e){if (ie4&&!dropmenuobj.contains(e.toElement))delayhidemenu()else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))delayhidemenu()}function hidemenu(e){if (typeof dropmenuobj!="undefined"){if (ie4||ns6)dropmenuobj.style.visibility="hidden"}}function delayhidemenu(){if (ie4||ns6)delayhide=setTimeout("hidemenu()",disappeardelay)}function clearhidemenu(){if (typeof delayhide!="undefined")clearTimeout(delayhide)}if (hidemenu_onclick=="no")document.onclick=hidemenu