var scrollelement_count; var scroll_interval; var current_scrollelement = 0; var old_scrollelement = 0; var interval = 3000; var meeting_array = [{'domestic':'1','url':'http://www.cytopathology.org/\" class=\"meetingTitleDomestic\" target=\"_blank\">56th Annual Scientific Meeting of the American Society of Cytopathologyl','title':'56th Annual Scientific Meeting of the American Society of Cytopathology','link':'56th Annual Scientific Meeting of the American Society of Cytopathology','date':'11/7/2008-11/12/2008','location':'Orlando, FL; USA'},{'domestic':'1','url':'http://www.acaai.org/nr/rdonlyres/ac4e72c7-1b2f-4de7-a974-97d70f076eb0/0/acaai_prelimprog08.pdf\" class=\"meetingTitleDomestic\" target=\"_blank\">2008 Annual Meeting of the American College of Allergy, Asthma and Immunology (ACAAI)l','title':'2008 Annual Meeting of the American College of Allergy, Asthma and Immunology (ACAAI)','link':'2008 Annual Meeting of the American College of Allergy, Asthma and Immunology (ACAAI)','date':'11/7/2008-11/12/2008','location':'Seattle, WA; USA'},{'domestic':'1','url':'http://www.aao.org/meetings/annual_meeting/program/onlineprogram08.cfm\" class=\"meetingTitleDomestic\" target=\"_blank\">112th Annual Meeting of the American Academy of Ophthalmology (AAO) held jointly with the European Society of Ophthalmology (SOE)l','title':'112th Annual Meeting of the American Academy of Ophthalmology (AAO) held jointly with the European Society of Ophthalmology (SOE)','link':'112th Annual Meeting of the American Academy of Ophthalmology (AAO) held jointly with the European Society of Ophthalmology (SOE)','date':'11/8/2008-11/11/2008','location':'Atlanta, GA; USA'},{'domestic':'1','url':'http://www.asrm.org/professionals/meetings/sanfrancisco2008/preliminary/2008_preliminaryprogram_index.html','title':'64th Annual Meeting of the American Society for Reproductive Medicine (ASRM)','link':'64th Annual Meeting of the American Society for Reproductive Medicine (ASRM)','date':'11/8/2008-11/12/2008','location':'San Francisco, CA; USA'},{'domestic':'1','url':'http://www.westernsurg.org/wsa2008attendee1.pdf\" class=\"meetingTitleDomestic\" target=\"_blank\">116th Scientific Session of the Western Surgical Associationl','title':'116th Scientific Session of the Western Surgical Association','link':'116th Scientific Session of the Western Surgical Association','date':'11/9/2008-11/12/2008','location':'Santa Fe, NM; USA'},{'domestic':'1','url':'http://www.aapspharmaceutica.com/meetings/annualmeet/am08/index.asp\" class=\"meetingTitleDomestic\" target=\"_blank\">2008 Annual Meeting of the American Association of Pharmaceutical Scientists (AAPS)l','title':'2008 Annual Meeting of the American Association of Pharmaceutical Scientists (AAPS)','link':'2008 Annual Meeting of the American Association of Pharmaceutical Scientists (AAPS)','date':'11/16/2008-11/20/2008','location':'Atlanta, GA; USA'},{'domestic':'1','url':'http://aapmr.abstractcentral.com/planner\" class=\"meetingTitleDomestic\" target=\"_blank\">69th Annual Assembly of the American Academy of Physical Medicine and Rehabilitation (AAPMR)l','title':'69th Annual Assembly of the American Academy of Physical Medicine and Rehabilitation (AAPMR)','link':'69th Annual Assembly of the American Academy of Physical Medicine and Rehabilitation (AAPMR)','date':'11/20/2008-11/23/2008','location':'San Diego, CA; USA'},{'domestic':'1','url':'http://rsna2008.rsna.org/\" class=\"meetingTitleDomestic\" target=\"_blank\">94th Scientific Assembly and Annual Meeting of the Radiological Society of North America (RSNA)l','title':'94th Scientific Assembly and Annual Meeting of the Radiological Society of North America (RSNA)','link':'94th Scientific Assembly and Annual Meeting of the Radiological Society of North America (RSNA)','date':'11/30/2008-12/5/2008','location':'Chicago, IL; USA'},{'domestic':'1','url':'http://www.aesnet.org/go/meetings-and-events/annual-meeting\" class=\"meetingTitleDomestic\" target=\"_blank\">62nd Annual Meeting of the American Epilepsy Society held jointly with the American Clinical Neurophysiology Societyl','title':'62nd Annual Meeting of the American Epilepsy Society held jointly with the American Clinical Neurophysiology Society','link':'62nd Annual Meeting of the American Epilepsy Society held jointly with the American Clinical Neurophysiology Society','date':'12/5/2008-12/9/2008','location':'Seatlle, WA; USA'},{'domestic':'1','url':'http://www.csrs.org\" class=\"meetingTitleDomestic\" target=\"_blank\">36th Annual Meeting of the Cervical Spine Research Societyl','title':'36th Annual Meeting of the Cervical Spine Research Society','link':'36th Annual Meeting of the Cervical Spine Research Society','date':'12/5/2008-12/6/2008','location':'New Orleans, LA; USA'},{'domestic':'1','url':'http://www.acnp.org/\" class=\"meetingTitleDomestic\" target=\"_blank\">47th Annual Meeting of the American College of Neuropsychopharmacology (ACNP)l','title':'47th Annual Meeting of the American College of Neuropsychopharmacology (ACNP)','link':'47th Annual Meeting of the American College of Neuropsychopharmacology (ACNP)','date':'12/7/2008-12/11/2008','location':'Scottsdale, AZ; USA'},{'domestic':'1','url':'http://www.aarc.org\" class=\"meetingTitleDomestic\" target=\"_blank\">54th International Respiratory Congress of the American Association for Respiratory Care (AARC)l','title':'54th International Respiratory Congress of the American Association for Respiratory Care (AARC)','link':'54th International Respiratory Congress of the American Association for Respiratory Care (AARC)','date':'12/13/2008-12/16/2008','location':'Anaheim, CA; USA'},{'domestic':'1','url':'http://www.ascb.org/\" class=\"meetingTitleDomestic\" target=\"_blank\">48th Annual Meeting of the American Society for Cell Biology (ASCB)l','title':'48th Annual Meeting of the American Society for Cell Biology (ASCB)','link':'48th Annual Meeting of the American Society for Cell Biology (ASCB)','date':'12/13/2008-12/17/2008','location':'San Francisco, CA; USA'},{'domestic':'1','url':'http://www.microsurg.org/meeting.html','title':'2009 Annual Meeting of the American Society for Reconstructive Microsurgery','link':'2009 Annual Meeting of the American Society for Reconstructive Microsurgery','date':'1/10/2009-1/13/2009','location':'Maui, HI; USA'},{'domestic':'1','url':'http://www.sccm.org/annual_congress/pages/default.aspx\" class=\"meetingTitleDomestic\" target=\"_blank\">38th Critical Care Congress of the Society of Critical Care Medicine (SCCM)l','title':'38th Critical Care Congress of the Society of Critical Care Medicine (SCCM)','link':'38th Critical Care Congress of the Society of Critical Care Medicine (SCCM)','date':'1/31/2009-2/4/2009','location':'Nashville, TN; USA'},{'domestic':'1','url':'http://www.aad.org/meetings/annual/\" class=\"meetingTitleDomestic\" target=\"_blank\">67th Annual Meeting of the American Academy of Dermatology (AAD)l','title':'67th Annual Meeting of the American Academy of Dermatology (AAD)','link':'67th Annual Meeting of the American Academy of Dermatology (AAD)','date':'3/6/2009-3/11/2009','location':'San Francisco, CA; USA'},{'domestic':'1','url':'http://www.sirweb.org\" class=\"meetingTitleDomestic\" target=\"_blank\">34th Annual Scientific Meeting of the Society of Interventional Radiology (SIR)l','title':'34th Annual Scientific Meeting of the Society of Interventional Radiology (SIR)','link':'34th Annual Scientific Meeting of the Society of Interventional Radiology (SIR)','date':'3/7/2009-3/12/2009','location':'San Diego, CA; USA'},{'domestic':'1','url':'http://www.biophysics.org/default.aspx?alias=www.biophysics.org/2009meeting\" class=\"meetingTitleDomestic\" target=\"_blank\">53rd Annual Meeting of the Biophysical Societyl','title':'53rd Annual Meeting of the Biophysical Society','link':'53rd Annual Meeting of the Biophysical Society','date':'3/7/2009-3/11/2009','location':'Fort Lauderdale, FL; USA'},{'domestic':'1','url':'http://www.sirmeeting.org/index.cfm?fuseaction=custom.content&menuid=1011\" class=\"meetingTitleDomestic\" target=\"_blank\">34th Annual Scientific Meeting of the Society of Interventional Radiologyl','title':'34th Annual Scientific Meeting of the Society of Interventional Radiology','link':'34th Annual Scientific Meeting of the Society of Interventional Radiology','date':'3/7/2009-3/12/2009','location':'San Diego, CA; USA'},{'domestic':'','url':'','title':'','link':'2009 Annual Symposium of the Sports Medicine Council of British Columbia','date':'3/10/2009-3/13/2009','location':'Whistler, BC; Canada'},{'domestic':'1','url':'','title':'','link':'65th Annual Meeting of the American Academy of Allergy, Asthma and Immunology','date':'3/13/2009-3/18/2009','location':'Washington, DC; USA'},{'domestic':'1','url':'','title':'','link':'237th National Meeting of the American Chemical Society ','date':'3/22/2009-3/26/2009','location':'Salt Lake City, UT; USA'},{'domestic':'1','url':'http://www.oregondental.org/oda/section.cfm?wsectionid=911\" class=\"meetingTitleDomestic\" target=\"_blank\">2009 Annual Conference of the Oregon Dental Associationl','title':'2009 Annual Conference of the Oregon Dental Association','link':'2009 Annual Conference of the Oregon Dental Association','date':'4/2/2009-4/4/2009','location':'Portland, OR; USA'},{'domestic':'1','url':'http://www.aium.org\" class=\"meetingTitleDomestic\" target=\"_blank\">2009 Annual Convention of the American Institute of Ultrasound in Medicine (AIUM)l','title':'2009 Annual Convention of the American Institute of Ultrasound in Medicine (AIUM)','link':'2009 Annual Convention of the American Institute of Ultrasound in Medicine (AIUM)','date':'4/2/2009-4/5/2009','location':'New York, NY; USA'},{'domestic':'1','url':'http://www.ascrs.org/\" class=\"meetingTitleDomestic\" target=\"_blank\">2009 American Society of Cataract and Refractive Surgery Symposium on Cataract, IOL and Refractive Surgery (ASCRS), American Society of Ophthalmic Administrators Congress on Ophthalmic Practice Management (ASOA), and Clinical and Surgical Staff Programl','title':'2009 American Society of Cataract and Refractive Surgery Symposium on Cataract, IOL and Refractive Surgery (ASCRS), American Society of Ophthalmic Administrators Congress on Ophthalmic Practice Management (ASOA), and Clinical and Surgical Staff Program','link':'2009 American Society of Cataract and Refractive Surgery Symposium on Cataract, IOL and Refractive Surgery (ASCRS), American Society of Ophthalmic Administrators Congress on Ophthalmic Practice Management (ASOA), and Clinical and Surgical Staff Program','date':'4/4/2009-4/8/2009','location':'San Francisco, CA; USA'},{'domestic':'1','url':'http://www.aacr.org\" class=\"meetingTitleDomestic\" target=\"_blank\">100th Annual Meeting of the American Association for Cancer Research (AACR)l','title':'100th Annual Meeting of the American Association for Cancer Research (AACR)','link':'100th Annual Meeting of the American Association for Cancer Research (AACR)','date':'4/18/2009-4/22/2009','location':'Denver, CO; USA'},{'domestic':'1','url':'http://www.faseb.org\" class=\"meetingTitleDomestic\" target=\"_blank\">2009 Experimental Biology Annual Meetingl','title':'2009 Experimental Biology Annual Meeting','link':'2009 Experimental Biology Annual Meeting','date':'4/18/2009-4/22/2009','location':'New Orleans, LA; USA'},{'domestic':'1','url':'http://www.ismrm.org/dates/#future%20ismrm\" class=\"meetingTitleDomestic\" target=\"_blank\">17th Annual Scientific Meeting and Exhibition of the International Society for Magnetic Resonance in Medicinel','title':'17th Annual Scientific Meeting and Exhibition of the International Society for Magnetic Resonance in Medicine','link':'17th Annual Scientific Meeting and Exhibition of the International Society for Magnetic Resonance in Medicine','date':'4/18/2009-4/24/2009','location':'Honolulu, HI; USA'},{'domestic':'1','url':'http://www.acoem.org/education/conference.asp?event_id=426\" class=\"meetingTitleDomestic\" target=\"_blank\">2009 American Occupational Health Conference (AOHC)l','title':'2009 American Occupational Health Conference (AOHC)','link':'2009 American Occupational Health Conference (AOHC)','date':'4/23/2009-4/29/2009','location':'San Diego, CA; USA'},{'domestic':'','url':'http://www.euro-endo.org/\" class=\"meetingTitle\" target=\"_blank\">11th European Congress of Endocrinology (ECE)l','title':'11th European Congress of Endocrinology (ECE)','link':'11th European Congress of Endocrinology (ECE)','date':'4/25/2009-4/29/2009','location':'Istanbul; Turkey'},{'domestic':'1','url':'http://www.acr.org\" class=\"meetingTitleDomestic\" target=\"_blank\">86th Annual Meeting of the American College of Radiologyl','title':'86th Annual Meeting of the American College of Radiology','link':'86th Annual Meeting of the American College of Radiology','date':'5/2/2009-5/7/2009','location':'Washington, DC; USA'},{'domestic':'1','url':'http://www.aans.org\" class=\"meetingTitleDomestic\" target=\"_blank\">77th Annual Meeting of the American Association of Neurological Surgeons (AANS)l','title':'77th Annual Meeting of the American Association of Neurological Surgeons (AANS)','link':'77th Annual Meeting of the American Association of Neurological Surgeons (AANS)','date':'5/2/2009-5/7/2009','location':'San Diego, CA; USA'},{'domestic':'1','url':'http://www.aps-spr.org\" class=\"meetingTitleDomestic\" target=\"_blank\">119th Annual Meeting of the American Pediatric Society/78th Annual Meeting for the Society for Pediatric Researchl','title':'119th Annual Meeting of the American Pediatric Society/78th Annual Meeting for the Society for Pediatric Research','link':'119th Annual Meeting of the American Pediatric Society/78th Annual Meeting for the Society for Pediatric Research','date':'5/2/2009-5/5/2009','location':'Baltimore, MD; USA'},{'domestic':'1','url':'','title':'','link':'109th Annual Sessions of the American Association of Orthodontists','date':'5/2/2009-5/5/2009','location':'Boston, MA; USA'},{'domestic':'1','url':'','title':'','link':'2009 Annual Meeting of the Association for Research in Vision and Ophthalmology (ARVO)','date':'5/3/2009-5/7/2009','location':'Fort Lauderdale, FL; USA'},{'domestic':'1','url':'http://www.issls.org\" class=\"meetingTitleDomestic\" target=\"_blank\">36th Annual Meeting of the International Society for the Study of the Lumbar Spine (ISSLS)l','title':'36th Annual Meeting of the International Society for the Study of the Lumbar Spine (ISSLS)','link':'36th Annual Meeting of the International Society for the Study of the Lumbar Spine (ISSLS)','date':'5/4/2009-5/8/2009','location':'Miami, FL; USA'},{'domestic':'1','url':'http://www.aai.org/\" class=\"meetingTitleDomestic\" target=\"_blank\">2009 Annual Meeting of the American Association of Immunologists (AAI)l','title':'2009 Annual Meeting of the American Association of Immunologists (AAI)','link':'2009 Annual Meeting of the American Association of Immunologists (AAI)','date':'5/8/2009-5/12/2009','location':'Seatlle, WA; USA'},{'domestic':'1','url':'http://www.hsc.usf.edu/nocms/medicine/medmicro/virology/future_dates.htm\" class=\"meetingTitleDomestic\" target=\"_blank\">25th Annual Clinical Virology Symposium and Annual Meeting of the Pan American Society for Clinical Virologyl','title':'25th Annual Clinical Virology Symposium and Annual Meeting of the Pan American Society for Clinical Virology','link':'25th Annual Clinical Virology Symposium and Annual Meeting of the Pan American Society for Clinical Virology','date':'5/10/2009-5/13/2009','location':'Clearwater Beach, FL; USA'},{'domestic':'','url':'http://www.csohns.com\" class=\"meetingTitle\" target=\"_blank\">63rd Annual Meeting of the Canadian Society of Otolaryngology - Head and Neck Surgeryl','title':'63rd Annual Meeting of the Canadian Society of Otolaryngology - Head and Neck Surgery','link':'63rd Annual Meeting of the Canadian Society of Otolaryngology - Head and Neck Surgery','date':'5/10/2009-5/13/2009','location':'Halifax, NS; Canada'},{'domestic':'1','url':'http://www.sgim.org\" class=\"meetingTitleDomestic\" target=\"_blank\">32nd Annual Meeting of the Society of General Internal Medicinel','title':'32nd Annual Meeting of the Society of General Internal Medicine','link':'32nd Annual Meeting of the Society of General Internal Medicine','date':'5/13/2009-5/16/2009','location':'Miami, FL; USA'},{'domestic':'1','url':'http://www.sobp.org\" class=\"meetingTitleDomestic\" target=\"_blank\">64th Annual Scientific Convention of the Society of Biological Psychiatryl','title':'64th Annual Scientific Convention of the Society of Biological Psychiatry','link':'64th Annual Scientific Convention of the Society of Biological Psychiatry','date':'5/14/2009-5/16/2009','location':'San Francisco, CA; USA'},{'domestic':'','url':'http://www.asnr.org\" class=\"meetingTitle\" target=\"_blank\">47th Annual Meeting of the American Society of Neuroradiology (ASNR)l','title':'47th Annual Meeting of the American Society of Neuroradiology (ASNR)','link':'47th Annual Meeting of the American Society of Neuroradiology (ASNR)','date':'5/16/2009-5/22/2009','location':'Vancouver, BC; Canada'},{'domestic':'1','url':'http://www.ispor.org\" class=\"meetingTitleDomestic\" target=\"_blank\">14th Annual International Meeting of the International Society for Pharmacoeconomics and Outcomes Research (ISPOR)l','title':'14th Annual International Meeting of the International Society for Pharmacoeconomics and Outcomes Research (ISPOR)','link':'14th Annual International Meeting of the International Society for Pharmacoeconomics and Outcomes Research (ISPOR)','date':'5/16/2009-5/20/2009','location':'Orlando, FL; USA'},{'domestic':'1','url':'http://www.psych.org/\" class=\"meetingTitleDomestic\" target=\"_blank\">162nd Annual Meeting of the American Psychiatric Associationl','title':'162nd Annual Meeting of the American Psychiatric Association','link':'162nd Annual Meeting of the American Psychiatric Association','date':'5/16/2009-5/21/2009','location':'San Francisco, CA; USA'},{'domestic':'1','url':'','title':'','link':'BIO 2009 Annual International Convention','date':'5/17/2009-5/20/2009','location':'Atlanta, GA; USA'}]; $(document).ready(function(){ function rotate() { current_scrollelement = (old_scrollelement + 1) % scrollelement_count; //console.log('inside rotate'); //if($("div.scrollelement:eq(" + old_scrollelement + ")").attr('domestic') == 1){$('#scroll_container').css('background-color','#fff19b');} $("div.scrollelement:eq(" + old_scrollelement + ")").animate({ 'opacity': 0},"slow", function() {$(this).css('top', '130px').css('opacity',1);}); //if($("div.scrollelement:eq(" + current_scrollelement + ")").attr('domestic') == 1){$('#scroll_container').css('background-color','#fea');} $("div.scrollelement:eq(" + current_scrollelement + ")").css('opacity',0).animate({'top': 0, 'opacity': 1},"slow"); old_scrollelement = current_scrollelement; } $("#scroll_container").before("
Upcoming Meetings
"); $("#scroll_container").after(""); $("#scroll_widget").css({'overflow': 'hidden','width': '160px','height': '126px','background-color': '#fff19b','background-image':'url("/images/yellow_grad.gif")', 'margin-bottom':'17px', 'font-family':'Arial, Helvetica, sans-serif', 'font-size': '13px', 'line-height':'1.5em'}); $("#scroll_container").css({'position': 'relative','overflow': 'hidden','width': '160px','height': '106px','font-size':'11px'}); for (var i in meeting_array){ $("#scroll_container").append("
"+ meeting_array[i].link +"
"+ meeting_array[i].location +" -- "+ meeting_array[i].date +"
"); } $(".scrollelement").filter(".loud").css('font-weight','bold'); scrollelement_count = $("#scroll_container").children().size(); //alert(scrollelement_count); $("div.scrollelement:eq(" + current_scrollelement + ")").css('top', '5px'); scroll_interval = setInterval(rotate,interval); $('#scroll_container').hover( function() { clearInterval(scroll_interval);}, function() { scroll_interval = setInterval(rotate,interval); rotate();} ); });