// JavaScript Document
//<script type="text/javascript">
<!--
//alert("inside");
//accetps form object from calling form; searches all forms using keywords supplied in item[c] array, using frm.srchval.value
var item = new Array();

// "Page Name","path","Page Title","Many,Key,Words","Descriptive Comments"
c=0; item[c]=new Array("index.html","","Home | Craig McAllister, M.D.","knee,hip,shoulder,surgery,sports,medicine","Dr. McAllister is in private practice in Kirkland, Washington. He is a fellowship-trained subspecialist in arthritis surgery and sports medicine. His practice focuses on problems of the hip, knee, and shoulder.");
//knee
c++; item[c]=new Array("knee.html","","Knee Surgery | Craig McAllister, M.D.","knee,meniscus,tears,anterior,cruciate,ligament,injured,joint,arthritis,partial,replacement, minimally,invasive,rheumatoid,osteoarthritis","The knee is the most commonly injured joint in the body.  Sports injuries such as meniscus tears and anterior cruciate ligament tears commonly lead to surgery and are best managed in a specialized setting where advanced techniques can be chosen according to each patient’s specific needs.");
//total
c++; item[c]=new Array("knee-mis-total.html","","Knee Surgery | MIS Total | Craig McAllister, M.D.","knee,total ,computer,navigation,joint,3-D,3-d,imaging,total,MIS,minimally invasive total,trackers,knee replacement","MIS total knee replacement focus on smaller instruments, less soft tissue disruption, and gentler methods in an effort to allow easier recovery and better range of motion after knee replacement. With the new procedure, a surgeon can replace a knee joint with a 4-inch cut versus the standard 12-inch incision used in most total knee replacement surgery today.");
c++; item[c]=new Array("knee-mis-total-nav.html","","Knee Surgery | MIS Total | Computer Navigation | Craig McAllister, M.D.","knee,total ,computer,navigation,joint,3-D,3-d,imaging,total,MIS,minimally invasive total,osteoarthritis,knee replacement,implants,jigs,reconstruction,digital","Most knee replacements done today are done using alignment jigs and cutting blocks. These are relatively simple devices that rely on the surgeon’s ability to see and feel when the knee is properly alignment and balanced. Research has demonstrated that experienced surgeons using these traditional methods have limited success in properly balancing and aligning knee replacements.");
c++; item[c]=new Array("knee-mis-total-mis.html","","Knee Surgery | MIS Total | Minimally Invasive Surgery | Craig McAllister, M.D.","knee,total,computer,navigation,total,replacement,MIS,minimally,rehabilitation,smaller instruments","MIS total knee replacement focus on smaller instruments, less soft tissue disruption, and gentler methods in an effort to allow easier recovery and better range of motion after knee replacement. With the new procedure, a surgeon can replace a knee joint with a 4-inch cut versus the standard 12-inch incision used in most total knee replacement surgery today.");
//partial
c++; item[c]=new Array("knee-mis-partial.html","","Knee Surgery | MIS Partial | MIS Partial Knee Replacement | Craig McAllister, M.D.","knee,uni,unicondylar,replacement,osteoarthritis,rehabilitation,arthritic,partial,arthroplasty,minimally invasive partial,MIS,cruciate,ligaments,quadriceps,computer,navigation,computer,resurfacing,tibial,femoral","Outpatient Partial Knee Replacement. Osteoarthritis is one of the most common causes of severe pain in the active patient and is the most common diagnosis leading to knee replacement surgery.");
c++; item[c]=new Array("knee-mis-partial-mis.html","","Knee Surgery | MIS Partial | Minimally Invasive Surgery | Craig McAllister, M.D.","knee,MIS,partial, replacement,minimally,invasive,rehabilitation","We have performed over 1200 minimally invasive total and partial knee replacements. Our results of the first 140 MIS total knee replacements and MIS partial knee replacements were analyzed and compared to 100 total knee replacements done with traditional, full-sized incisions. These results have been published in multiple journals* and have documented improved early rehabilitation, range of motion, and function when MIS techniques are used.");
c++; item[c]=new Array("knee-mis-partial-nav.html","","Knee Surgery | MIS Partial | Computer Navigation | Craig McAllister, M.D.","knee,partial,replacement,MIS,minimally,invasive,MIS,computer,navigation,trackers","Research has consistently shown that partial knee replacements will last longer when the leg is correctly aligned after surgery and when the implants are placed precisely. Computer navigation greatly improves the surgeon’s ability to achieve these goals when performing partial knee replacement.");
//MAKO
c++; item[c]=new Array("knee-mako.html","","Knee Surgery | MAKOplasty&reg; - Robotic-Assisted Surgery | Craig McAllister, M.D.","knee,mako,MAKO,partial,resurfacing,robotic,assisted,RIO","MAKOplasty&reg; Partial Knee Resurfacing is an innovative treatment option for adults living with early to midstage osteoarthritis (OA) in either the medial (inner), patellofemoral (top), or both compartments of the knee. It is powered by the RIO&reg; Robotic Arm Interactive Orthopedic System, which allows for consistently reproducible precision in performing partial knee resurfacing.");
//ACL
c++; item[c]=new Array("knee-acl.html","","Knee Surgery | ACL | Craig McAllister, M.D.","knee,anterior cruciate ligament tear,anterior cruciate ligament,ACL,tear","The anterior cruciate ligament (ACL) is one of the most important of four strong ligaments connecting the bones of the knee joint. It can be ruptured in twisting injuries of the knee.");
c++; item[c]=new Array("knee-acl-arthroscopic.html","","Knee Surgery | ACL Surgery | Arthroscopic (MIS) Method | Craig McAllister, M.D.","knee,anterior,cruciate,ligament,tear,ACL,reconstruction,autograft,hamstrings,patellar,minimally,invasive,arthroscope,graft,tibia,femur,tunnels","Modern ACL reconstruction utilizes autograft tissue (hamstrings or patellar tendon) obtained from the patient with minimally invasive surgical methods. After the tissue is cleaned and prepared into the ideal length and diameter, an arthroscope is used to prepare the knee to receive the graft.");
c++; item[c]=new Array("knee-acl-patellar.html","","Knee Surgery | ACL Surgery | Patellar Tendon Graft | Craig McAllister, M.D.","knee,patellar,tendon,graft,ACL, reconstruction,graft,arthroscopic","The human patellar tendon is flat, broad, and attached to bone on both ends. The central third of the tendon can be used along with bone plugs from the patella and the upper end of the tibia.");
c++; item[c]=new Array("knee-acl-hamstring.html","","Knee Surgery | ACL Surgery | Hamstring Graft | Craig McAllister, M.D.","knee,ACL,reconstruction,hamstring graft,patellar tendon graft,arthroscopic,graft,tibia,femur","Many surgeons have moved away from the use of patellar tendon graft, choosing to use hamstring grafts. In this case, two of the hamstring tendons are harvested through a small incision in the front of the knee. They are cleaned and shaped to create a 4-bundled graft. This graft that is essentially as strong as the gold-standard patellar tendon graft.");
c++; item[c]=new Array("knee-acl-allograft.html","","Knee Surgery | ACL Surgery | Allograft | Craig McAllister, M.D.","knee,ACL,allograft,reconstruction,harvesting,ligaments,host-graft,reactions","Allograft tissue is graft material that is taken from deceased patients. The graft is typically sterilized with radiation and IS stored as frozen tissue in a variety of different tissue banks.");
//Meniscus
c++; item[c]=new Array("knee-meniscus.html","","Knee Surgery | Meniscus Surgery | Craig McAllister, M.D.","knee,anthroscopy,meniscus,meniscectomy,arthroscope,arthroscopic","Anthroscopy of the knee is done using a small fiber-optic TV camera that is placed through small portals (incisions) through the knee.  Generally speaking, the surgeon can frequently operate on many problems of the knee without opening the knee.");
c++; item[c]=new Array("knee-meniscus-repairs.html","","Knee Surgery | Meniscus Surgery | Meniscus Repairs | Craig McAllister, M.D.","knee,anthroscopy,meniscus,meniscectomy,arthroscope,arthroscopic,repair","The meniscus of the knee is an important structure.  It contributes to the stability of the knee, provides cushioning, distributes forces over larger area and reduces contact stress, and helps preserve the articular cartilage of the knee.");
c++; item[c]=new Array("knee-meniscus-meniscectomy.html","","Knee Surgery | Meniscus Surgery | Meniscectomy | Craig McAllister, M.D.","knee,anthroscopy,meniscus,meniscectomy,arthroscope,arthroscopic,repair","Meniscus tears can be relatively painless, especially when they are small and are in the knees of less active patients.  However, larger meniscus tears can be quite painful.  They can lead to locking, swelling, pain, and can grow is size especially in the active patient.");
//Hip
c++; item[c]=new Array("hip.html","","Hip Surgery | Craig McAllister, M.D.","hip,replacement,posterior,anterior","Total hip replacement has been refined over the last decade. Hip replacement can be done more safely, with shorter hospitalizations, with less discomfort and fewer complications.");
c++; item[c]=new Array("hip-anterior.html","","Hip Replacement | MIS Anterior Approach | Craig McAllister, M.D.","hip,replacement,anterior","The advantages of MIS hip replacement can include reduced blood loss, less pain, shorter hospital stays, and a faster recovery.");
c++; item[c]=new Array("hip-posterior.html","","Hip Replacement | MIS Posterior Approach | Craig McAllister, M.D.","hip,replacement,posterior","The posterior approach to total hip replacement has been the most commonly done, standard hip approach since the beginning of hip replacement.");
//Shoulder
c++; item[c]=new Array("shoulder.html","","Shoulder Surgery | Craig McAllister, M.D.","shoulder,humerus,clavicle,scapula","The shoulder is one of the most complex and versatile joints in the body.  It is composed of three bones (Figure 1: humerus, clavicle, and scapula) and comprises three separate joints.");
c++; item[c]=new Array("shoulder-arthritis-acjoint.html","","Shoulder Surgery | AC Joint Arthritis | Craig McAllister, M.D.","arthritis,AC,acromioclavicular,joint,collarbone,clavicle,shoulder,blade,scapula","The AC joint is the acromioclavicular joint.  It is the joint where the collarbone (clavicle) connects to the shoulder blade (scapula).");
c++; item[c]=new Array("shoulder-arthritis.html","","Arthritic Knee | Craig McAllister, M.D.","","");
c++; item[c]=new Array("shoulder-arthritis-replacement.html","","Shoulder Surgery | Arthritis | Replacement | Craig McAllister, M.D.","arthritis,shoulder,replacement,cartilage,osteoarthritis,rheumatoid","Shoulder arthritis occurs when the cartilage in the shoulder wears out or deteriorates.  Arthritis in the shoulder is much less common than in the knee or the hip.");
c++; item[c]=new Array("shoulder-arthroscopy-labral.html","","Shoulder Surgery | Arthroscopy | Labral Tears | Craig McAllister, M.D.","shoulder,labral,tears,SLAP,dislocation,superior,labrum,anterior,posterior","The labrum is a ring of specialized cartilage resting on the outer edge of the socket of the shoulder joint (figure 1).  The labrum serves to deepen the shoulder socket and make it more concave.  It helps keep the ball inside the socket.");
c++; item[c]=new Array("shoulder-arthroscopy.html","","Shoulder Surgery | Arthroscopy | Craig McAllister, M.D.","shoulder,arthroscopy","Arthrocsopy of the Shoulder");
c++; item[c]=new Array("shoulder-frozen.html","","Shoulder Surgery | Frozen | Craig McAllister, M.D.","shoulder,frozen","Frozen Shoulder");
c++; item[c]=new Array("shoulder-instability.html","","Shoulder Surgery | Instability | Craig McAllister, M.D.","shoulder,instability","Shoulder Instability");

//Misc Navigation
//About
c++; item[c]=new Array("about-dr-mcallister.html","","About Dr. McAllister | Craig McAllister, M.D.","research,development,education,Chief,Evergreen Hospital,University of Washington,Operative","In addition to his clinical practice, Dr. McAllister has maintained an active commitment to research, development, and education. He is the former Chief of Orthopedics at Evergreen Hospital and Medical Center, and serves as a Clinical Instructor at the University of Washington.");
c++; item[c]=new Array("about-education.html","","About Dr. McAllister | Education | Craig McAllister, M.D.","Education,education,Affiliations,affiliations,Residency,residency,Board,board,Status,status,Licensure,licensure,Professional,professional,Activity,activity,Community,community,Societies,societies,Awards,awards,Honors,honors","Education, Affiliations, Residency, Board Status, Licensure, Professional Activity, Community Activity, Professional Societies, Awards and Honors.");
c++; item[c]=new Array("about-res-pub.html","","About Dr. McAllister | Research and Publications | Craig McAllister, M.D.","Publications,Research,publications,research,knee,hip,shoulder","Research and Publications.");
c++; item[c]=new Array("about-superdoc.html","","About Dr. McAllister | SuperDoctors | Craig McAllister, M.D.","SuperDoctors,super,doctors,.com,magazine","Super Doctors identifies top doctors as selected by their peers and the independent research of Key Professional Media.");
c++; item[c]=new Array("about-topdoc.html","","About Dr. McAllister | Top Doctors | Craig McAllister, M.D.","425 Magazine,SuperDoctors,Best Doctors","425 Magazine asked medical professionals to tell us which of their colleagues deserved recognition as a doctor who is making a big diffeence for folks on the Eastside.");
c++; item[c]=new Array("canadian.html","","Canadian Patients | Craig McAllister, M.D.","travel,train,air,transportaion","As an Canadian patient, your care is facilitated from the moment you contact us about receiving treatment.");
c++; item[c]=new Array("office.html","","Office | Craig McAllister, M.D.","location,address,map,driving,directions,appointments,insurance,prescriptions","Office information: address, location and map.");
c++; item[c]=new Array("privacy-pol.html","","Privacy Policy | Craig McAllister, M.D.","privacy,private,HIPPA,information,records,law","We understand that health information about you and your health is personal. We are committed to protecting health information about you.");
c++; item[c]=new Array("patient-forms.html","","Patient Forms | Craig McAllister, M.D.","Office,Registration,Forms,office,registration,forms","Links to Office Registration Forms");
c++; item[c]=new Array("disclaimer.html","","Disclaimer | Craig McAllister, M.D.","disclaimer,guarantee,accuracy,content","Dr. McAllister maintains this website as a benefit for and service to his patients, as well as his community. While Dr. McAllister and his representatives strive to keep the information contained in this site current, no warranty or guarantee concerning accuracy of content is made.");
c++; item[c]=new Array("testimonials.html","","Testimonials | Craig McAllister, M.D.","testimonials","Testimonials");
page="<html><head><title>Search Results</title></head><body bgcolor='white'><table border='0' style='border-collapse:collapse' width='80%'>";
//border="0" style="border-collapse:collapse;
function search(frm) {
win = window.open("","","scrollbars");
win.document.write(page);
win.document.write("<br><h2>Craig McAllister, M.D. - Search Results</h2><hr><br>");
txt = frm.srchval.value.split(" "); //split string at space
fnd = new Array(); total=0;

for (i = 0; i < item.length; i++) {  //number of rows in array
fnd[i] = 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++) // order.length = 4
for (k = 0; k < txt.length; k++) // displays '1' in alert ??
//if (item[i][order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "") would only find lowercase keywords
//item[i]=page name through description; order[j]= 3 then 2 then 1 no matter search value?; txt[k]=search value
if (item[i][order[j]].indexOf(txt[k]) > -1 && txt[k] != "") 
fnd[i] += (j+1);
}
for (i = 0; i < fnd.length; i++) {
n = 0; w = -1;
for (j = 0;j < fnd.length; j++)
if (fnd[j] > n) { n = fnd[j]; w = j; };
if (w > -1) total += show(w, win, n);
fnd[w] = 0;
}
win.document.write("</table><br>Total found: "+total+"<br></body></html>");
win.document.close();
}
function show(which,wind,num) {
link = item[which][1] + item[which][0]; // 0 + page name 
line = "<tr><td><a href='"+link+"'>"+item[which][2]+"</a><br>";  // heading, separator, page name + title
line += item[which][4] + "<br>"+link+"</td></tr>"; // page name + title + description
wind.document.write(line);
return 1;
}
//-->
//</script>

