function rand(n)
{
  return(Math.floor(Math.random() * n + 1));
}

// Store some random image URL's

var rooturl = "http://www.axsys.co.uk/"

var random_images = new Array();
random_images[0] = rooturl + "images/img1.jpg";
random_images[1] = rooturl + "images/img2.jpg";
random_images[2] = rooturl + "images/img3.jpg";
random_images[3] = rooturl + "images/img4.jpg";
random_images[4] = rooturl + "images/img5.jpg";
random_images[5] = rooturl + "images/img6.jpg";
random_images[6] = rooturl + "images/img7.jpg";
random_images[7] = rooturl + "images/img8.jpg";
random_images[8] = rooturl + "images/img9.jpg";
random_images[9] = rooturl + "images/img10.jpg";
random_images[10] = rooturl + "images/img11.jpg";
random_images[11] = rooturl + "images/img12.jpg";
random_images[12] = rooturl + "images/img13.jpg";
random_images[13] = rooturl + "images/img14.jpg";
random_images[14] = rooturl + "images/img15.jpg";
random_images[15] = rooturl + "images/img16.jpg";
random_images[16] = rooturl + "images/img17.jpg";
random_images[17] = rooturl + "images/img18.jpg";
random_images[18] = rooturl + "images/img19.jpg";
random_images[19] = rooturl + "images/img20.jpg";
random_images[20] = rooturl + "images/img21.jpg";

// Store some random quotes

var random_quotes = new Array();
random_quotes[0] = "<TR><TD align=left><IMG SRC='"+rooturl+"images/quot1.gif' WIDTH='23' HEIGHT='19' BORDER='0'><span class='Blacktxtsm'>...AxSys Technology Ltd have appreciated fully, the clinical requirements for sharing of images and data.</span><IMG SRC='"+rooturl+"images/quot2.gif' WIDTH='23' HEIGHT='19' BORDER='0' align=absmiddle></TD></TR><TR><TD align=right><span class='Blacktxtsm'><B>Project Manager</B></span></TD></TR>";

random_quotes[1] = "<TR><TD align=left><IMG SRC='"+rooturl+"images/quot1.gif' WIDTH='23' HEIGHT='19' BORDER='0'><span class='Blacktxtsm'>...When I switch on the system, I want to see everything about the patient that's important to me - and immediately. I don't want to have to wade through reams of data to find the latest chest X-ray or microbiology result.</span><IMG SRC='"+rooturl+"images/quot2.gif' WIDTH='23' HEIGHT='19' BORDER='0' align=absmiddle></TD></TR><TR><TD align=right><span class='Blacktxtsm'><B>Consultant Oncologist</B></span></TD></TR>";
random_quotes[2] = "<TR><TD align=left><IMG SRC='"+rooturl+"images/quot1.gif' WIDTH='23' HEIGHT='19' BORDER='0'><span class='Blacktxtsm'>...AxSys Technology have excellent clinical and technical skills which were prime reasons for selecting them to meet the challenges in a Trust with over 7000 staff.</span><IMG SRC='"+rooturl+"images/quot2.gif' WIDTH='23' HEIGHT='19' BORDER='0' align=absmiddle></TD></TR><TR><TD align=right><span class='Blacktxtsm'><B>Systems Integration Manager</B></span></TD></TR>";
random_quotes[3] = "<TR><TD align=left><IMG SRC='"+rooturl+"images/quot1.gif' WIDTH='23' HEIGHT='19' BORDER='0'><span class='Blacktxtsm'>...I want to be able to capture patient information that I need, without having to request changes to the system from the manufacturer. I also want to be able to design my own letters or documents and have them stored as part of my patient's record.</span><IMG SRC='"+rooturl+"images/quot2.gif' WIDTH='23' HEIGHT='19' BORDER='0' align=absmiddle></TD></TR><TR><TD align=right><span class='Blacktxtsm'><B>Consultant Obstetrician</B></span></TD></TR>";
random_quotes[4] = "<TR><TD align=left><IMG SRC='"+rooturl+"images/quot1.gif' WIDTH='23' HEIGHT='19' BORDER='0'><span class='Blacktxtsm'>...I have no hesitation in recommending AxSys as a forward thinking company with an excellent product that is patient centred and easy for clinicians to use.</span><IMG SRC='"+rooturl+"images/quot2.gif' WIDTH='23' HEIGHT='19' BORDER='0' align=absmiddle></TD></TR><TR><TD align=right><span class='Blacktxtsm'><B>Consultant Orthodontist</B></span></TD></TR>";
random_quotes[5] = "<TR><TD align=left><IMG SRC='"+rooturl+"images/quot1.gif' WIDTH='23' HEIGHT='19' BORDER='0'><span class='Blacktxtsm'>...For my managed clinical network to work effectively, we need to meet frequently as an entire group. Unfortunately, it is almost impossible to get everyone together at the same time.</span><IMG SRC='"+rooturl+"images/quot2.gif' WIDTH='23' HEIGHT='19' BORDER='0' align=absmiddle></TD></TR><TR><TD align=right><span class='Blacktxtsm'><B>Cleft Lip and Palate NMCN Co-ordinator</B></span></TD></TR>";
random_quotes[6] = "<TR><TD align=left><IMG SRC='"+rooturl+"images/quot1.gif' WIDTH='23' HEIGHT='19' BORDER='0'><span class='Blacktxtsm'>...I only get to review my out-patients every six months. I wish I could follow them up more frequently.</span><IMG SRC='"+rooturl+"images/quot2.gif' WIDTH='23' HEIGHT='19' BORDER='0' align=absmiddle></TD></TR><TR><TD align=right><span class='Blacktxtsm'><B>Consultant Rheumatologist</B></span></TD></TR>";

var random_casestudies = new Array();
random_casestudies[0] = "<A HREF='excelicare_in_use/web_multi.pdf' class='a1' target='_blank'>The Multidisciplinary Team Meeting</A><br><span class='Greytxt'><b>(<img src='images/pdf.gif' width='14' height='14' border='0' alt=''> 393 KB)</b></span><br>Consultant Gynaecological Oncologist, Dr Jonathan Davis discusses 'The Multidisciplinary team meeting – Its role and benefits in the treatment of Gynaecological Cancer in the West of Scotland'";

random_casestudies[1] = "<A HREF='excelicare_in_use/axsys_infection_leaflet.pdf' class='a1' target='_blank'>Award Winning Solution for Infection Control at the Golden Jubilee National Hospital</A><br><span class='Greytxt'><b>(<img src='images/pdf.gif' width='14' height='14' border='0' alt=''> 370 KB)</b></span><br>Infection Control Team develop innovative, automated telephone system based on Excelicare Direct to help monitor Surgical Site Infection rates.";

random_casestudies[2] = "<A HREF='excelicare_in_use/cancer.pdf' class='a1' target='_blank'>West of Scotland Managed Clinical Network for Cancer</A><br><span class='Greytxt'><b>(<img src='images/pdf.gif' width='14' height='14' border='0' alt=''> 539 KB)</b></span><br>The Excelicare solution was chosen as the CIIMS to support the West of Scotland MCN for Gynaecological Cancer.";

random_casestudies[3] = "<A HREF='excelicare_in_use/chlamydia.pdf' class='a1' target='_blank'>The Wirral Chlamydia Screening Programme</A><br><span class='Greytxt'><b>(<img src='images/pdf.gif' width='14' height='14' border='0' alt=''> 318 KB)</b></span><br>Excelicare provides an integrated computer system for Chlamydia and related genito-urinary diseases.";

random_casestudies[4] = "<A HREF='excelicare_in_use/cleft.pdf' class='a1' target='_blank'>National Managed Clinical Network for Cleft Services in Scotland</A><br><span class='Greytxt'><b>(<img src='images/pdf.gif' width='14' height='14' border='0' alt=''> 414 KB)</b></span><br>Excelicare helped overcome many of the complexities previously involved in maintaining a cohesive and agreed record of care.";



