/* USE WORDWRAP AND MAXIMIZE THE WINDOW TO SEE THIS FILE
========================================
 NewsBar v1.4
 License : Freeware (Enjoy it!)
 (c)2004 VASIL DINKOV- PLOVDIV, BULGARIA
========================================
 For IE4+, NS4+, Opera7+ & Konqueror2+
========================================
 Get the NewsBar script at:
 http://www.smartmenus.org/
 LEAVE THESE NOTES PLEASE - delete the comments if you want */

// BUG in Opera:
// If you want to be able to control the body margins
// put the script right after the BODY tag, not in the HEAD!!!

// === 1 === FONT, COLORS, EXTRAS...
n_font='Geneva, Arial, Helvetica, sans-serif';
n_fontSize='12px';
n_fontSizeNS4='12px';
n_fontWeight='bold';
n_fontColor='#0070B8';
n_textDecoration='none';
n_fontColorHover='#007AC9';//		| won't work
n_textDecorationHover='none';//	| in Netscape4
n_bgColor='#FFFFFF';//set [='transparent'] for transparent
n_top=3;//	|
n_left=3;//	| defining
n_width=500;//	| the box
n_height=15;//	|
n_position='relative';// absolute/relative
n_timeOut=8;//seconds
n_pauseOnMouseOver=true;
n_speed=50;//1000 = 1 second
n_leadingSign='_';
n_alternativeHTML='Real Asset Management Hot Topics';
// for not supported browsers like Opera<7 - usually
// you may want to put a link to your news page 

// === 2 === THE CONTENT - ['href','text','target']
n_content=[
[ 'press/articles/derby-hospitals.php' , 'NEWS: Derby Hospitals NHS Foundation Trust uses Asset4000','_self'],
[ 'press/articles/worthing-homes.php' , 'NEWS: Worthing Homes Selects Asset4000 ','_self'],
[ 'press/articles/broadacres-housing.php' , 'Broadacres Housing Association Selects Asset4000 ','_self'],
[ 'press/articles/southwark_council.php' , 'NEWS: Southwark Council selects Asset4000 ','_self'],
[' press/articles/Salford-PCT.php','NEWS: Salford Primary Care Trust selects Asset4000','_self'],
[' press/articles/newlon-housing.php','NEWS: Newlon Housing Trust selects RAM to manage &pound;644 million asset base','_self'],
[' press/articles/viridian-housing.php','NEWS: Viridian Housing selects Asset4000 from Real Asset Management','_self'],
[' press/articles/lancaster-city.php','NEWS: Lancaster City Council implements Real Asset Management','_self'],
[' press/articles/broadland-district-council.php','NEWS: Broadland District Council selects Asset4000','_self'],
['/press/articles/east-staffordshire.php','NEWS: East Staffordshire selects Asset4000','_self'],
['/press/articles/south-staffordshire-district.php','NEWS: South Staffordshire District Council selects Asset4000','_self'],
['/press/articles/st%20mary.php','NEWS: St Mary Magdalene Academy selects Real Asset Management','_self'],
['/press/case_studie/NHS/basildon_and_thurrock_nhs_foundation_trust.php','NEWS: Basildon and Thurrock NHS FT implements asset management solution','_self'],
['/press/articles/iSOFT%20Business.php','NEWS: iSOFT Business Solutions works in partnership with RAM','_self'],
['/press/case_studie/Government/essex.php','NEWS: Essex County Council selects Asset4000 ','_self'],
['/press/case_studie/Government/ipswich borough counicl.php','NEWS: Ipswich Borough Council selects Series4000  ','_self'],
['/press/case_studie/Government/mole_valley_district_council.php','NEWS: Mole Valley District Council implements Asset4000 ','_self'],
['/press/case_studie/Government/westminster.php','NEWS: Westminster City Council Selects Asset4000 ','_self'],
['/press/case_studie/NHS/hampshire.php','NEWS: Largest PCT selects Asset4000','_self'],
['/press/case_studie/Education/kingston_university.php','NEWS: Kingston University implements a university wide asset management system','_self'],
['/press/articles/partnership.php','NEWS: RAM partners with COA Solutions','_self'],
['/press/case_studie/NHS/west_suffolk_hospital.php','LATEST NEWS: The West Suffolk Hospital NHS Trust selects Asset4000 ','_self'],
['/press/case_studie/Government/bolsover.php','LATEST NEWS: Bolsover District council selects Asset4000 from RAM','_self'],
['/press/case_studie/Finance/BC.php','LATEST NEWS: Bell & Clements supports business growth and IFRS compliance','_self'],
['http://blog.realassetmgt.co.uk/104/uk-firms-unprepared-for-disaster-idc-warns-does-your-business-have-a-dr-plan/','BLOG: UK firms unprepared for disaster, IDC warns. Does your business have a DR plan? ','_self'],
['http://www.realassetmgt.co.uk/press/whitepapers.php','WHITE PAPER: Managing assets in compliance with IFRS','_self'],
['/press/case_studie/Housing_Associations/southern-housing-group.php','LATEST NEWS: Southern Housing Group addresses component accounting ','_self']
];


// THE SERIOUS SCRIPT - PLEASE DO NOT TOUCH
n_nS4=document.layers?1:0;n_iE=document.all&&!window.innerWidth&&navigator.userAgent.indexOf("MSIE")!=-1?1:0;n_nSkN=document.getElementById&&(navigator.userAgent.indexOf("Opera")==-1||document.body.innerHTML)&&!n_iE?1:0;n_t=0;n_cur=0;n_l=n_content[0][1].length;n_timeOut*=1000;n_fontSize2=n_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?n_fontSizeNS4:n_fontSize;document.write('<style>.nnewsbar,a.nnewsbar,a.nnewsbar:visited,a.nnewsbar:active{font-family:'+n_font+';font-size:'+n_fontSize2+';color:'+n_fontColor+';text-decoration:'+n_textDecoration+';font-weight:'+n_fontWeight+'}a.nnewsbar:hover{color:'+n_fontColorHover+';text-decoration:'+n_textDecorationHover+';'+'float: left;'+'}</style>');n_p=n_pauseOnMouseOver?" onmouseover=clearTimeout(n_TIM) onmouseout=n_TIM=setTimeout('n_new()',"+n_timeOut+")>":">";n_k=n_nS4?"":" style=text-decoration:none;color:"+n_fontColor;function n_new(){if(!(n_iE||n_nSkN||n_nS4))return;var O,mes;O=n_iE?document.all['nnewsb']:n_nS4?document.layers['n_container'].document.layers['nnewsb']:document.getElementById('nnewsb');mes=n_content[n_t][0]!=""&&n_cur==n_l?("<a href='"+n_content[n_t][0]+"' target='"+n_content[n_t][2]+"' class=nnewsbar"+n_p+n_content[n_t][1].substring(0,n_cur)+n_leadingSign+"</a>"):("<span class=nnewsbar"+n_k+">"+n_content[n_t][1].substring(0,n_cur)+n_leadingSign+"</span>");if(n_nS4)with(O.document){open();write(mes);close()}else O.innerHTML=mes;if(n_cur++==n_l){n_cur=0;n_TIM=setTimeout("n_new()",n_timeOut);n_t++;if(n_t==n_content.length)n_t=0;n_l=n_content[n_t][1].length}else{setTimeout("n_new()",n_speed)}};document.write('<div '+(n_nS4?"name":"id")+'=n_container style="position:'+n_position+';top:'+n_top+'px;left:'+n_left+'px;width:'+n_width+'px;height:'+n_height+'px;clip:rect(0,'+n_width+','+n_height+',0)"><div '+(n_nS4?"name":"id")+'=nnewsb style="position:absolute;top:0px;left:0px;width;float:left'+n_width+';height:'+n_height+'px;clip:rect(0,'+n_width+','+n_height+',0);background-color:'+n_bgColor+';layer-background-color:'+n_bgColor+';text-decoration:none;color:'+n_fontColor+'" class=nnewsbar>'+n_alternativeHTML+'</div></div>');if(!n_nS4)setTimeout("n_new()",1000);else window.onload=n_new;if(n_nS4)onresize=function(){location.reload()}
