/* 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...

function DisplayMemberDetails(lMember)
{
	window.open('../members/ru/' + lMember+'.htm','MDetail','screenX=0,screenY=0,dependent=yes,toolbar=no,menubar=no,status=no,directories=no,width=590,height=500,resizable=yes,scrollbars=yes');
}

v5_font='verdana,arial,sans-serif';
v5_fontSize='10px';
v5_fontSizeNS4='11px';
v5_fontWeight='normal';
v5_fontColor='#4A49A8';
v5_textDecoration='none';
v5_fontColorHover='#ff0000';//		| won't work
v5_textDecorationHover='underline';//	| in Netscape4
v5_bgColor='#d2e4fc';
// set [='transparent'] for transparent
// set [='url(image_source)'] for image
v5_top=450;//	|
v5_left=screen.width/2+365;//	| defining
v5_width=120;//	| the box
v5_height=60;//	|
v5_paddingTop=0;
v5_paddingLeft=0;
v5_position='absolute';// absolute/relative
v5_timeout=2500;//1000 = 1 second
v5_slideSpeed=30;
v5_slideDirection=1;//0=down-up;1=up-down
v5_pauseOnMouseOver=true;
// v2.2+ new below
v5_slideStep=3;//pixels
v5_textAlign='left';// left/center/right
v5_textVAlign='middle';// top/middle/bottom - won't work in Netscape4

// === 2 === THE CONTENT - ['href','text','target']
// Use '' for href to have no link item
v5_content=[
['javascript:DisplayMemberDetails("concept");','<img src=../image/banners/concept.gif width=120 height=60 border=0>','_self'],
['javascript:DisplayMemberDetails("terra");','<img src=../image/banners/terra.gif width=120 height=60 border=0>','_self'],
['javascript:DisplayMemberDetails("topasia");','<img src=../image/banners/topasia.gif width=120 height=60 border=0>','_self']
];

// ===
v5_ua=navigator.userAgent;v5_nS4=document.layers?1:0;v5_iE=document.all&&!window.innerWidth&&v5_ua.indexOf("MSIE")!=-1?1:0;v5_oP=v5_ua.indexOf("Opera")!=-1&&document.clear?1:0;v5_oP7=v5_oP&&document.appendChild?1:0;v5_oP4=v5_ua.indexOf("Opera")!=-1&&!document.clear;v5_kN=v5_ua.indexOf("Konqueror")!=-1&&parseFloat(v5_ua.substring(v5_ua.indexOf("Konqueror/")+10))<3.1?1:0;v5_count=v5_content.length;v5_cur=1;v5_cl=0;v5_d=v5_slideDirection?-1:1;v5_TIM=0;v5_fontSize2=v5_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?v5_fontSizeNS4:v5_fontSize;v5_canPause=0;function v5_getOS(a){return v5_iE?document.all[a].style:v5_nS4?document.layers["v5_container"].document.layers[a]:document.getElementById(a).style};function v5_start(){var o,px;o=v5_getOS("v5_1");px=v5_oP&&!v5_oP7||v5_nS4?0:"px";if(parseInt(o.top)==v5_paddingTop){v5_canPause=1;if(v5_count>1)v5_TIM=setTimeout("v5_canPause=0;v5_slide()",v5_timeout);return}o.top=(parseInt(o.top)-v5_slideStep*v5_d)*v5_d>v5_paddingTop*v5_d?parseInt(o.top)-v5_slideStep*v5_d+px:v5_paddingTop+px;if(v5_oP&&o.visibility.toLowerCase()!="visible")o.visibility="visible";setTimeout("v5_start()",v5_slideSpeed)};function v5_slide(){var o,o2,px;o=v5_getOS("v5_"+v5_cur);o2=v5_getOS("v5_"+(v5_cur<v5_count?v5_cur+1:1));px=v5_oP&&!v5_oP7||v5_nS4?0:"px";if(parseInt(o2.top)==v5_paddingTop){if(v5_oP)o.visibility="hidden";o.top=v5_height*v5_d+px;v5_cur=v5_cur<v5_count?v5_cur+1:1;v5_canPause=1;v5_TIM=setTimeout("v5_canPause=0;v5_slide()",v5_timeout);return}if(v5_oP&&o2.visibility.toLowerCase()!="visible")o2.visibility="visible";if((parseInt(o2.top)-v5_slideStep*v5_d)*v5_d>v5_paddingTop*v5_d){o.top=parseInt(o.top)-v5_slideStep*v5_d+px;o2.top=parseInt(o2.top)-v5_slideStep*v5_d+px}else{o.top=-v5_height*v5_d+px;o2.top=v5_paddingTop+px}setTimeout("v5_slide()",v5_slideSpeed)};if(v5_nS4||v5_iE||v5_oP||document.getElementById&&!v5_kN&&!v5_oP4){
document.write("<style>.vnewsticker,a.vnewsticker{font-family:"+v5_font+";font-size:"+v5_fontSize2+";color:"+v5_fontColor+";text-decoration:"+v5_textDecoration+";font-weight:"+v5_fontWeight+"}a.vnewsticker:hover{font-family:"+v5_font+";font-size:"+v5_fontSize2+";color:"+v5_fontColorHover+";text-decoration:"+v5_textDecorationHover+"}</style>");v5_temp="<div "+(v5_nS4?"name":"id")+"=v5_container style='position:"+v5_position+";top:"+v5_top+"px;left:"+v5_left+"px;width:"+v5_width+"px;height:"+v5_height+"px;background:"+v5_bgColor+";layer-background"+(v5_bgColor.indexOf("url(")==0?"-image":"-color")+":"+v5_bgColor+";clip:rect(0,"+v5_width+","+v5_height+",0);overflow:hidden'>"+(v5_iE?"<div style='position:absolute;top:0px;left:0px;width:100%;height:100%;clip:rect(0,"+v5_width+","+v5_height+",0)'>":"");for(v5_i=0;v5_i<v5_count;v5_i++)
v5_temp+="<div "+(v5_nS4?"name":"id")+"=v5_"+(v5_i+1)+" style='position:absolute;top:"+(v5_height*v5_d)+"px;left:"+v5_paddingLeft+"px;width:"+(v5_width-v5_paddingLeft*2)+"px;height:"+(v5_height-v5_paddingTop*2)+"px;clip:rect(0,"+(v5_width-v5_paddingLeft*2)+","+(v5_height-v5_paddingTop*2)+",0);overflow:hidden"+(v5_oP?";visibility:hidden":"")+";text-align:"+v5_textAlign+"' class=vnewsticker>"+(!v5_nS4?"<table width="+(v5_width-v5_paddingLeft*2)+" height="+(v5_height-v5_paddingTop*2)+" cellpadding=0 cellspacing=0 border=0><tr><td width="+(v5_width-v5_paddingLeft*2)+" height="+(v5_height-v5_paddingTop*2)+" align="+v5_textAlign+" valign="+v5_textVAlign+" class=vnewsticker>":"")+(v5_content[v5_i][0]!=""?"<a href='"+v5_content[v5_i][0]+"' target='"+v5_content[v5_i][2]+"' class=vnewsticker"+(v5_pauseOnMouseOver?" onmouseover='if(v5_canPause&&v5_count>1){clearTimeout(v5_TIM);v5_cl=1}' onmouseout='if(v5_canPause&&v5_count>1&&v5_cl)v5_TIM=setTimeout(\"v5_canPause=0;v5_slide();v5_cl=0\","+v5_timeout+")'":"")+">":"<span"+(v5_pauseOnMouseOver?" onmouseover='if(v5_canPause&&v5_count>1){clearTimeout(v5_TIM);v5_cl=1}' onmouseout='if(v5_canPause&&v5_count>1&&v5_cl)v5_TIM=setTimeout(\"v5_canPause=0;v5_slide();v5_cl=0\","+v5_timeout+")'":"")+">")+v5_content[v5_i][1]+(v5_content[v5_i][0]!=""?"</a>":"</span>")+(!v5_nS4?"</td></tr></table>":"")+"</div>";v5_temp+=(v5_iE?"</div>":"")+"</div>";document.write(v5_temp);setTimeout("v5_start()",1000);if(v5_nS4)onresize=function(){location.reload()}}