/* USE WORDWRAP AND MAXIMIZE THE WINDOW TO SEE THIS FILE
========================================
 V-NewsTicker v2.2
 License : Freeware (Enjoy it!)
 (c)2003 VASIL DINKOV- PLOVDIV, BULGARIA
========================================
 For IE4+, NS4+, Opera5+, Konqueror3.1+
========================================
 Get the NewsTicker 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 */

// 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...
v_actu_font='verdana,arial,sans-serif';
v_actu_fontSize='10px';
v_actu_fontSizeNS4='11px';
v_actu_fontWeight='normal';
v_actu_fontColor='#3973AC';
v_actu_textDecoration='none';
v_actu_fontColorHover='#3973AC';//		| won't work
v_actu_textDecorationHover='none';//	| in Netscape4
v_actu_bgColor='transparent';
// set [='transparent'] for transparent
// set [='url(image_source)'] for image
v_actu_top=0;//	|
v_actu_left=0;//	| defining
v_actu_width=171;//	| the box
v_actu_height=85;//	|
v_actu_paddingTop=0;
v_actu_paddingLeft=10;
v_actu_position='relative';// absolute/relative
v_actu_timeout=2500;//1000 = 1 second
v_actu_slideSpeed=20;
v_actu_slideDirection=1;//0=down-up;1=up-down
v_actu_pauseOnMouseOver=true;
// v2.2+ new below
v_actu_slideStep=3;//pixels
v_actu_textAlign='left';// left/center/right
v_actu_textVAlign='middle';// top/middle/bottom - won't work in Netscape4

// === 2 === THE CONTENT - ['href','text','target']
// Use '' for href to have no link item

// ===
v_actu_ua=navigator.userAgent;v_actu_nS4=document.layers?1:0;v_actu_iE=document.all&&!window.innerWidth&&v_actu_ua.indexOf("MSIE")!=-1?1:0;v_actu_oP=v_actu_ua.indexOf("Opera")!=-1&&document.clear?1:0;v_actu_oP7=v_actu_oP&&document.appendChild?1:0;v_actu_oP4=v_actu_ua.indexOf("Opera")!=-1&&!document.clear;v_actu_kN=v_actu_ua.indexOf("Konqueror")!=-1&&parseFloat(v_actu_ua.substring(v_actu_ua.indexOf("Konqueror/")+10))<3.1?1:0;v_actu_count=v_actu_content.length;v_actu_cur=1;v_actu_cl=0;v_actu_d=v_actu_slideDirection?-1:1;v_actu_TIM=0;v_actu_fontSize2=v_actu_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?v_actu_fontSizeNS4:v_actu_fontSize;v_actu_canPause=0;function v_actu_getOS(a){return v_actu_iE?document.all[a].style:v_actu_nS4?document.layers["v_actu_container"].document.layers[a]:document.getElementById(a).style};function v_actu_start(){var o,px;o=v_actu_getOS("v_actu_1");px=v_actu_oP&&!v_actu_oP7||v_actu_nS4?0:"px";if(parseInt(o.top)==v_actu_paddingTop){v_actu_canPause=1;if(v_actu_count>1)v_actu_TIM=setTimeout("v_actu_canPause=0;v_actu_slide()",v_actu_timeout);return}o.top=(parseInt(o.top)-v_actu_slideStep*v_actu_d)*v_actu_d>v_actu_paddingTop*v_actu_d?parseInt(o.top)-v_actu_slideStep*v_actu_d+px:v_actu_paddingTop+px;if(v_actu_oP&&o.visibility.toLowerCase()!="visible")o.visibility="visible";setTimeout("v_actu_start()",v_actu_slideSpeed)};function v_actu_slide(){var o,o2,px;o=v_actu_getOS("v_actu_"+v_actu_cur);o2=v_actu_getOS("v_actu_"+(v_actu_cur<v_actu_count?v_actu_cur+1:1));px=v_actu_oP&&!v_actu_oP7||v_actu_nS4?0:"px";if(parseInt(o2.top)==v_actu_paddingTop){if(v_actu_oP)o.visibility="hidden";o.top=v_actu_height*v_actu_d+px;v_actu_cur=v_actu_cur<v_actu_count?v_actu_cur+1:1;v_actu_canPause=1;v_actu_TIM=setTimeout("v_actu_canPause=0;v_actu_slide()",v_actu_timeout);return}if(v_actu_oP&&o2.visibility.toLowerCase()!="visible")o2.visibility="visible";if((parseInt(o2.top)-v_actu_slideStep*v_actu_d)*v_actu_d>v_actu_paddingTop*v_actu_d){o.top=parseInt(o.top)-v_actu_slideStep*v_actu_d+px;o2.top=parseInt(o2.top)-v_actu_slideStep*v_actu_d+px}else{o.top=-v_actu_height*v_actu_d+px;o2.top=v_actu_paddingTop+px}setTimeout("v_actu_slide()",v_actu_slideSpeed)};if(v_actu_nS4||v_actu_iE||v_actu_oP||document.getElementById&&!v_actu_kN&&!v_actu_oP4){
document.write("<style>.vnewsticker,a.vnewsticker{font-family:"+v_actu_font+";font-size:"+v_actu_fontSize2+";color:"+v_actu_fontColor+";text-decoration:"+v_actu_textDecoration+";font-weight:"+v_actu_fontWeight+"}a.vnewsticker:hover{font-family:"+v_actu_font+";font-size:"+v_actu_fontSize2+";color:"+v_actu_fontColorHover+";text-decoration:"+v_actu_textDecorationHover+"}</style>");v_actu_temp="<div "+(v_actu_nS4?"name":"id")+"=v_actu_container style='position:"+v_actu_position+";top:"+v_actu_top+"px;left:"+v_actu_left+"px;width:"+v_actu_width+"px;height:"+v_actu_height+"px;background:"+v_actu_bgColor+";layer-background"+(v_actu_bgColor.indexOf("url(")==0?"-image":"-color")+":"+v_actu_bgColor+";clip:rect(0,"+v_actu_width+","+v_actu_height+",0);overflow:hidden'>"+(v_actu_iE?"<div style='position:absolute;top:0px;left:0px;width:100%;height:100%;clip:rect(0,"+v_actu_width+","+v_actu_height+",0)'>":"");for(v_actu_i=0;v_actu_i<v_actu_count;v_actu_i++)
v_actu_temp+="<div "+(v_actu_nS4?"name":"id")+"=v_actu_"+(v_actu_i+1)+" style='position:absolute;top:"+(v_actu_height*v_actu_d)+"px;left:"+v_actu_paddingLeft+"px;width:"+(v_actu_width-v_actu_paddingLeft*2)+"px;height:"+(v_actu_height-v_actu_paddingTop*2)+"px;clip:rect(0,"+(v_actu_width-v_actu_paddingLeft*2)+","+(v_actu_height-v_actu_paddingTop*2)+",0);overflow:hidden"+(v_actu_oP?";visibility:hidden":"")+";text-align:"+v_actu_textAlign+"' class=vnewsticker>"+(!v_actu_nS4?"<table width="+(v_actu_width-v_actu_paddingLeft*2)+" height="+(v_actu_height-v_actu_paddingTop*2)+" cellpadding=0 cellspacing=0 border=0><tr><td width="+(v_actu_width-v_actu_paddingLeft*2)+" height="+(v_actu_height-v_actu_paddingTop*2)+" align="+v_actu_textAlign+" valign="+v_actu_textVAlign+" class=vnewsticker>":"")+(v_actu_content[v_actu_i][0]!=""?"<a href='"+v_actu_content[v_actu_i][0]+"' target='"+v_actu_content[v_actu_i][2]+"' class=vnewsticker"+(v_actu_pauseOnMouseOver?" onmouseover='if(v_actu_canPause&&v_actu_count>1){clearTimeout(v_actu_TIM);v_actu_cl=1}' onmouseout='if(v_actu_canPause&&v_actu_count>1&&v_actu_cl)v_actu_TIM=setTimeout(\"v_actu_canPause=0;v_actu_slide();v_actu_cl=0\","+v_actu_timeout+")'":"")+">":"<span"+(v_actu_pauseOnMouseOver?" onmouseover='if(v_actu_canPause&&v_actu_count>1){clearTimeout(v_actu_TIM);v_actu_cl=1}' onmouseout='if(v_actu_canPause&&v_actu_count>1&&v_actu_cl)v_actu_TIM=setTimeout(\"v_actu_canPause=0;v_actu_slide();v_actu_cl=0\","+v_actu_timeout+")'":"")+">")+v_actu_content[v_actu_i][1]+(v_actu_content[v_actu_i][0]!=""?"</a>":"</span>")+(!v_actu_nS4?"</td></tr></table>":"")+"</div>";v_actu_temp+=(v_actu_iE?"</div>":"")+"</div>";document.write(v_actu_temp);setTimeout("v_actu_start()",1000);if(v_actu_nS4)onresize=function(){location.reload()}}
