

// === 1 === FONT, COLORS, EXTRAS...
v1_font='Verdana, Arial, Helvetica, sans-serif';
v1_fontSize='12px';
v1_fontSizeNS4='12px';
v1_fontWeight='normal';
v1_fontColor='#222';
v1_textDecoration='none';
v1_fontColorHover='#000000';//		| won't work
v1_textDecorationHover='none';//	| in Netscape4
v1_bgColor='transparent';
// set [='transparent'] for transparent
// set [='url(image_source)'] for image
v1_top=5;//	|
v1_left=20;//	| defining
v1_width=350;//	| the box
v1_height=80;//	|
v1_paddingTop=0;
v1_paddingLeft=8;
v1_position='relative';// absolute/relative
v1_timeout=3000;//1000 = 1 second
v1_slideSpeed=40;
v1_slideDirection=0;//0=down-up;1=up-down
v1_pauseOnMouseOver=false;
// v2.2+ new below
v1_slideStep=1;//pixels
v1_textAlign='center';// left/center/right
v1_textVAlign='middle';// top/middle/bottom - won't work in Netscape4

// === 2 === THE CONTENT - ['href','text','target']
// Use '' for href to have no link item

// DA QUI CORREGGERE//
v1_content=[
['../../docs/AreaOfferte/offerte_pdf_1.php?Catalogo=Spagna','<font color="gold"><b>Canarie</b> - Lanzarote</font><br/> <font color="black"><i>Aparthotel Sol Lanzarote 4<img src=images/images_home/stella.gif width=8 height=9 border=0> </i><br/><b>Euro 899</b> in Mezza Pensione</font>','_blank'],

['../../docs/AreaOfferte/offerte_pdf_1.php?Catalogo=Tunisia/','<font color="MEDIUMBLUE"><B>Costa Tunisina</b> - Hammamet</font><br/><font color="black"><i>P.F. Hammamet Serail 4</i><img src=images/images_home/stella.gif width=8 height=9 border=0> <br/><b>Euro 479</b> in Pensione Completa</font>','_blank'],

['../../docs/AreaOfferte/offerte_pdf_1.php?Catalogo=Spagna','<font color="CORNFLOWERBLUE"><B>Canarie</b> - Tenerife</font><br/><font color="black"><i>Hotel Sol Tenerife 4</i><img src=images/images_home/stella.gif width=8 height=9 border=0> <br/><b>da Euro 999</b> in Mezza Pensione</font>','_blank'],

['../../docs/AreaOfferte/offerte_pdf_1.php?Catalogo=Mar%20Rosso','<font color="BROWN"><B>Egitto</b> - Crociera sul Nilo </font><br/><font color="black"><i>Crociera FIORI DI LOTO Motonave 5</i><img src=images/images_home/stella.gif width=8 height=9 border=0><br/> <b>Euro 939</b> in Pensione Completa</font>','_blank'],
// FINE CORREGGERE//
];

// ===
v1_ua=navigator.userAgent;v1_nS4=document.layers?1:0;v1_iE=document.all&&!window.innerWidth&&v1_ua.indexOf("MSIE")!=-1?1:0;v1_oP=v1_ua.indexOf("Opera")!=-1&&document.clear?1:0;v1_oP7=v1_oP&&document.appendChild?1:0;v1_oP4=v1_ua.indexOf("Opera")!=-1&&!document.clear;v1_kN=v1_ua.indexOf("Konqueror")!=-1&&parseFloat(v1_ua.substring(v1_ua.indexOf("Konqueror/")+10))<3.1?1:0;v1_count=v1_content.length;v1_cur=1;v1_cl=0;v1_d=v1_slideDirection?-1:1;v1_TIM=0;v1_fontSize2=v1_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?v1_fontSizeNS4:v1_fontSize;v1_canPause=0;
function v1_getOS(a){
	return v1_iE?document.all[a].style:v1_nS4?document.layers["v1_container"].document.layers[a]:document.getElementById(a).style};
	function v1_start(){
		var o,px;
		o=v1_getOS("v1_1");
		px=v1_oP&&!v1_oP7||v1_nS4?0:"px";
		if(parseInt(o.top)==v1_paddingTop){
			v1_canPause=1;
			if(v1_count>1)v1_TIM=setTimeout("v1_canPause=0;v1_slide()",v1_timeout);
			return
		}
		o.top=(parseInt(o.top)-v1_slideStep*v1_d)*v1_d>v1_paddingTop*v1_d?parseInt(o.top)-v1_slideStep*v1_d+px:v1_paddingTop+px;
		if(v1_oP&&o.visibility.toLowerCase()!="visible")o.visibility="visible";
		setTimeout("v1_start()",v1_slideSpeed)
	}
	function v1_slide(){
		var o,o2,px;
		o=v1_getOS("v1_"+v1_cur);
		o2=v1_getOS("v1_"+(v1_cur<v1_count?v1_cur+1:1));
		px=v1_oP&&!v1_oP7||v1_nS4?0:"px";
		if(parseInt(o2.top)==v1_paddingTop){
			if(v1_oP)o.visibility="hidden";
			o.top=v1_height*v1_d+px;
			v1_cur=v1_cur<v1_count?v1_cur+1:1;
			v1_canPause=1;
			v1_TIM=setTimeout("v1_canPause=0;v1_slide()",v1_timeout);
			return
		}
		if(v1_oP&&o2.visibility.toLowerCase()!="visible")o2.visibility="visible";
		if((parseInt(o2.top)-v1_slideStep*v1_d)*v1_d>v1_paddingTop*v1_d){
			o.top=parseInt(o.top)-v1_slideStep*v1_d+px;
			o2.top=parseInt(o2.top)-v1_slideStep*v1_d+px
		}
		else{
			o.top=-v1_height*v1_d+px;
			o2.top=v1_paddingTop+px}setTimeout("v1_slide()",v1_slideSpeed)
		}
		if(v1_nS4||v1_iE||v1_oP||document.getElementById&&!v1_kN&&!v1_oP4){
		document.write("<style>.vnewsticker,a.vnewsticker{font-family:"+v1_font+";font-size:"+v1_fontSize2+";color:"+v1_fontColor+";text-decoration:"+v1_textDecoration+";font-weight:"+v1_fontWeight+"}a.vnewsticker:hover{font-family:"+v1_font+";font-size:"+v1_fontSize2+";color:"+v1_fontColorHover+";text-decoration:"+v1_textDecorationHover+"}</style>");v1_temp="<div "+(v1_nS4?"name":"id")+"=v1_container style='position:"+v1_position+";top:"+v1_top+"px;left:"+v1_left+"px;width:"+v1_width+"px;height:"+v1_height+"px;background:"+v1_bgColor+";layer-background"+(v1_bgColor.indexOf("url(")==0?"-image":"-color")+":"+v1_bgColor+";clip:rect(0,"+v1_width+","+v1_height+",0);overflow:hidden'>"+(v1_iE?"<div style='position:absolute;top:0px;left:0px;width:100%;height:100%;clip:rect(0,"+v1_width+","+v1_height+",0)'>":"");
		for(v1_i=0;v1_i<v1_count;v1_i++)
		v1_temp+="<div "+(v1_nS4?"name":"id")+"=v1_"+(v1_i+1)+" style='position:absolute;top:"+(v1_height*v1_d)+"px;left:"+v1_paddingLeft+"px;width:"+(v1_width-v1_paddingLeft*2)+"px;height:"+(v1_height-v1_paddingTop*2)+"px;clip:rect(0,"+(v1_width-v1_paddingLeft*2)+","+(v1_height-v1_paddingTop*2)+",0);overflow:hidden"+(v1_oP?";visibility:hidden":"")+";text-align:"+v1_textAlign+"' class=vnewsticker>"+(!v1_nS4?"<table width="+(v1_width-v1_paddingLeft*2)+" height="+(v1_height-v1_paddingTop*2)+" cellpadding=0 cellspacing=0 border=0><tr><td width="+(v1_width-v1_paddingLeft*2)+" height="+(v1_height-v1_paddingTop*2)+" align="+v1_textAlign+" valign="+v1_textVAlign+" class=vnewsticker>":"")+(v1_content[v1_i][0]!=""?"<a href='../2012/js/"+v1_content[v1_i][0]+"' target='"+v1_content[v1_i][2]+"' class=vnewsticker"+(v1_pauseOnMouseOver?" onmouseover='if(v1_canPause&&v1_count>1){clearTimeout(v1_TIM);v1_cl=1}' onmouseout='if(v1_canPause&&v1_count>1&&v1_cl)v1_TIM=setTimeout(\"v1_canPause=0;v1_slide();v1_cl=0\","+v1_timeout+")'":"")+">":"<span"+(v1_pauseOnMouseOver?" onmouseover='if(v1_canPause&&v1_count>1){clearTimeout(v1_TIM);v1_cl=1}' onmouseout='if(v1_canPause&&v1_count>1&&v1_cl)v1_TIM=setTimeout(\"v1_canPause=0;v1_slide();v1_cl=0\","+v1_timeout+")'":"")+">")+v1_content[v1_i][1]+(v1_content[v1_i][0]!=""?"</a>":"</span>")+(!v1_nS4?"</td></tr></table>":"")+"</div>";
		v1_temp+=(v1_iE?"</div>":"")+"</div>";
		document.write(v1_temp);setTimeout("v1_start()",1000);
		if(v1_nS4)onresize=function(){location.reload()
	}
}
