/* USE WORDWRAP AND MAXIMIZE THE WINDOW TO SEE THIS FILE

========================================

 NewsBar v1.3

 License : Freeware (Enjoy it!)

 (c)2003 VASIL DINKOV- PLOVDIV, BULGARIA

========================================

 For IE4+, NS4+, Opera7+ & Konqueror2+

========================================

 Get the NewsBar script at:

 http://www.smartmenus.org/other.php

 and don't wait to get the Great SmartMenus script at:

 http://www.smartmenus.org

 LEAVE THESE NOTES PLEASE - delete the comments if you want */



// To work in Opera:

// Put the script right after the BODY tag, not in the HEAD!!!



// === 1 === FONT, COLORS, EXTRAS...

n_font='verdana,arial,sans-serif';

n_fontSize='15px';

n_fontSizeNS4='16px';

n_fontWeight='bold';

n_fontColor='#000000';

n_textDecoration='none';

n_fontColorHover='#ff0000';//		| won't work

n_textDecorationHover='underline';//	| in Netscape4

n_bgColor='#FAEAE1';//set [='transparent'] for transparent

n_top=57;//	|

n_left=30;//	| defining

n_width=600;//	| the box

n_height=20;//	|

n_timeOut=3;//seconds

n_pauseOnMouseOver=true;

n_speed=20;//1000 = 1 second

n_leadingSign='_';

n_alternativeHTML='';

// 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=[

['switch_gps.htm','Navigatori Satellitari Garmin','_self'],

['Serena.htm','Offertissima Preservativi Serena... clicca qui!','_self'],

['motoseghe.htm','Le nuovissime motoseghe elettriche','_self'],

['antifurto.htm','Proteggi la tua casa con il nuovissimo antifurto via radio TVlink','_self'],

['torte.htm','Torte di cera.....','_self'],

['pistole_ac.htm','Pistole a molla e scacciacani.','_self'],

['lettini_new.htm','On-line i nuovi lettini, le nuove poltrone e i nuovi accessori!!','_self'],

['pirogiochi.htm','Allieta le tue feste con i Giochi pirici!','_self'],

['palloncini.htm','Tanti palloncini per una festa in allegria.','_self'],

['stoviglie.htm','Le stoviglie di carta per ogni occasione.','_self'],

['difesa.htm','........Difesa Personale........','_self'],

['lampade.htm','Le nuove lampade per dare alla tua casa un tocco in pił.','_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{font-family:'+n_font+';font-size:'+n_fontSize2+';color:'+n_fontColor+';text-decoration:'+n_textDecoration+';font-weight:'+n_fontWeight+'}.nnewsbar:hover{font-family:'+n_font+';font-size:'+n_fontSize2+';color:'+n_fontColorHover+';text-decoration:'+n_textDecorationHover+'}</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['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 id=nnewsb style="position:absolute;top:'+n_top+'px;left:'+n_left+'px;width:'+n_width+'px;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>');if(!n_nS4)setTimeout("n_new()",1000);else window.onload=n_new;if(n_nS4)onresize=function(){location.reload()}
