var delayS = 30;              //Delay between iterations (fine tuning).
var scrollerDelay = 3000;      //Pause between msg scrolls. 1000 = 1 second. 
var scrollerWidth = '500px';    //Set width, height and bgcolor below.
var scrollerHeight = '240px';
var scrollerBgcolor = '';
var paddingTop = 16;             //Set stopping point, where message pauses.
var iteration = '1';            //Set iteration to the number of pixels to move between each delay.
var scrollerBackground = 'NeuromedicaEn-index_files/pozadina.jpg';   //Set to your image source ie: '../Images/imgSource.jpg' if you 
                              //don't wish to use a background image leave it empty.
															
//Add your messages below. You can input most any html into each mssg ie: <a>,<img/>,<b>,<font>
//You should keep each message to 4 lines of text or less.
var mssg=new Array()
mssg[0]='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;margin:3px 7px 0px 7px;">Neuromedica is the first private polyclinic in Republic of Macedonia. It is in this branch for more than 18 years. The provided health protection is on primary and secondary level with accent on provision of complete medical health care 24 hours per day, including services of home visits.</p>';
mssg[1]='<p style="font-color:bold;font-size: 14px; font-family:arial;color:#FFFFFF;text-decoration: none;margin:3px 7px 0px 7px;">The activity of Neuromedica in the field of Policlinic and Diagnostic services is spread in two locations in Skopje (Centar and Vlae), Polyclinic and Diagnostic Centre in Kumanovo, Diagnostic Centre in Kocani and Diagnostic Centre in Kilkis, Greece. These locations also include general practice medical offices as well as specialist services in all areas.</p>';
mssg[2]='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;margin:3px 7px 0px 7px;">Neuromedica is proud with its 90 full time employees as highly skilled medical personnel (General Practitioners, Specialists and Nurses) and Management Team. </p>';
mssg[3]='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;margin:3px 7px 0px 7px;">We would like to point out those services we can offer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em> General Practice, Gynecology, Dentistry, Pediatrics, Laboratory,  NMR, Computer Tomography, Psychiatry, Mammography, X-Ray, Panoramix, 4D Ultrasound diagnostics, Ophthalmology, Otorhinolaryngology, Internal Medicine with ultrasound diagnostic, Cardiology, Rheumatology, Dermatology and Venerology, Surgery and surgical treatments, Dental Surgery, Radiology, Urology, Psychology, Psychiatry, Neurology and Epileptology with EEG, Physical Therapy, all types of Medical Certificates and Annual Checkups with Labor Medicine. </em></p>'; 
mssg[4]='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;margin:3px 7px 0px 7px;">Neuromedica is the only polyclinic in the Republic of Macedonia that provides health protection services for the patients 24 hours a day. The medical home visit services as well as the medical transport are provided from  General Practitioners and  Senior Specialists from all medical branches, with the help of the specially equipped ambulance vehicles. Two of those special vehicles are equipped for medical transport of severe cases in foreign countries</p>';
mssg[5]='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;margin:3px 7px 0px 7px;">Neuromedica is the first and only policlinic that promotes the idea for family organized health protection.</p>';
mssg[6]='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;margin:3px 7px 0px 7px;">A specific for Neuromedica is an encircled and complete diagnosis and therapy process, the only of the kind in Macedonia, represented with:</p>';
mssg[6]+='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;text-align:left;margin:3px 7px 0px 7px;">1. Epilepsy Centre (Epileptologist, EEG, CT, NMR, Neurosurgeon)</p>';
mssg[6]+='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;text-align:left;margin:3px 7px 0px 7px;">2. Breast Disease Centre (Surgeon, Echography, Mammography, Cytodiagnosis)</p>';
mssg[6]+='<p style="font:bold 14px arial;color:#FFFFFF;text-decoration: none;text-align:left;margin:3px 7px 0px 7px;">3. Spine Disease Centre (Orthopedist, Neurologist, RTG, CT, NMR, Physical Therapy)</p>';
///////DO NOT EDIT PASS THIS LINE///////

var dom=document.getElementById;
if (mssg.length > 2) iv = 2;
else iv = 0;

function move(whichdiv){
tdiv=eval(whichdiv);
if (parseInt(tdiv.style.top) > 0 && parseInt(tdiv.style.top) <= iteration){
tdiv.style.top = 0 + "px";
setTimeout("move(tdiv)",scrollerDelay);
setTimeout("move2(second2_obj)",scrollerDelay);
return}
if (parseInt(tdiv.style.top) >= tdiv.offsetHeight * -1){
tdiv.style.top = parseInt(tdiv.style.top) - iteration + "px";
setTimeout("move(tdiv)",delayS);}
else{
tdiv.style.top=parseInt(scrollerHeight) + "px";
tdiv.innerHTML = mssg[iv];
if (iv == mssg.length-1) iv = 0;
else iv++}}

function move2(whichdiv){
tdiv2=eval(whichdiv);
if (parseInt(tdiv2.style.top) > 0 && parseInt(tdiv2.style.top) <= iteration){
tdiv2.style.top = 0 + "px";
setTimeout("move2(tdiv2)",scrollerDelay);
setTimeout("move(first2_obj)",scrollerDelay);
return}
if (parseInt(tdiv2.style.top) >= tdiv2.offsetHeight * -1){
tdiv2.style.top = parseInt(tdiv2.style.top) - iteration + "px";
setTimeout("move2(second2_obj)",delayS);}
else{
tdiv2.style.top = parseInt(scrollerHeight) + "px";
tdiv2.innerHTML = mssg[iv];
if (iv == mssg.length-1) iv = 0;
else iv++}}

function startScroll(){
first2_obj = document.getElementById("first2");
second2_obj = document.getElementById("second2");
move(first2_obj);
second2_obj.style.top = scrollerHeight;
second2_obj.style.visibility = 'visible' }

function pauseScroller(scrSpeed){delayS = scrSpeed}

document.writeln('<div id="main2" style="position:relative;width:'+scrollerWidth+';height:'+scrollerHeight+';overflow:hidden;background-color:'+scrollerBgcolor+' ;background-image:url('+scrollerBackground+');">');
document.writeln('<div style="position:absolute;width:'+scrollerWidth+';height:'+scrollerHeight+';left:0px;top:0px;">');
document.writeln('<div id="first2" style="position:absolute;padding-top:'+paddingTop+';width:'+scrollerWidth+';left:0px;top:1px;text-align: justify;">');
document.write(mssg[0]+'</div>');
document.writeln('<div id="second2" style="position:absolute;padding-top:'+paddingTop+';width:'+scrollerWidth+';left:0px;top:0px;visibility:hidden;text-align: justify;">');
document.write(mssg[dyndetermine=(mssg.length==1)? 0 : 1]);
document.writeln('</div></div></div>');

if (window.addEventListener)
window.addEventListener("load", startScroll, false)
else if (window.attachEvent)
window.attachEvent("onload", startScroll)
else if (dom)
window.onload=startScroll
//-->