/* 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/
 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...
v2_font='verdana,arial,sans-serif';
v2_fontSize='10px';
v2_fontSizeNS4='10px';
v2_fontWeight='normal';
v2_fontColor='#636363';
v2_textDecoration='none';
v2_fontColorHover='#BBBBBB';//		| won't work
v2_textDecorationHover='none';//	| in Netscape4
v2_bgColor='url(bg.jpg)';
// set [='transparent'] for transparent
// set [='url(image_source)'] for image
v2_top=0;//	|
v2_left=0;//	| defining
v2_width=180;//	| the box
v2_height=146;//	|
v2_paddingTop=2;
v2_paddingLeft=2;
v2_position='relative';// absolute/relative
v2_timeout=2500;//1000 = 1 second
v2_slideSpeed=25;
v2_slideDirection=0;//0=down-up;1=up-down
v2_pauseOnMouseOver=true;
// v2.2+ new below
v2_slideStep=1;//pixels
v2_textAlign='left';// left/center/right
v2_textVAlign='middle';// top/middle/bottom - won't work in Netscape4

// === 2 === THE CONTENT - ['href','text','target']
// Use '' for href to have no link item
v2_content=[
['','Ask brochures and info about our projects. We still have good investment units.','_blank'],
['','Personalized mortgage services with leading bank institutions.','_blank'],
['','Legal and technical assistance during the whole selling process.','_blank'],
['','Inspection visit: Still available our inspection visit program. Better than 1.000 of words, discover our developments through your live experience! Contact us to know all the details about the opportunity to stay with our team couple of days and see all our unique development proposals. Ask more details.','_blank']
];

// ===
v2_ua=navigator.userAgent;v2_nS4=document.layers?1:0;v2_iE=document.all&&!window.innerWidth&&v2_ua.indexOf("MSIE")!=-1?1:0;v2_oP=v2_ua.indexOf("Opera")!=-1&&document.clear?1:0;v2_oP7=v2_oP&&document.appendChild?1:0;v2_oP4=v2_ua.indexOf("Opera")!=-1&&!document.clear;v2_kN=v2_ua.indexOf("Konqueror")!=-1&&parseFloat(v2_ua.substring(v2_ua.indexOf("Konqueror/")+10))<3.1?1:0;v2_count=v2_content.length;v2_cur=1;v2_cl=0;v2_d=v2_slideDirection?-1:1;v2_TIM=0;v2_fontSize2=v2_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?v2_fontSizeNS4:v2_fontSize;v2_canPause=0;function v2_getOS(a){return v2_iE?document.all[a].style:v2_nS4?document.layers["v2_container"].document.layers[a]:document.getElementById(a).style};function v2_start(){var o,px;o=v2_getOS("v2_1");px=v2_oP&&!v2_oP7||v2_nS4?0:"px";if(parseInt(o.top)==v2_paddingTop){v2_canPause=1;if(v2_count>1)v2_TIM=setTimeout("v2_canPause=0;v2_slide()",v2_timeout);return}o.top=(parseInt(o.top)-v2_slideStep*v2_d)*v2_d>v2_paddingTop*v2_d?parseInt(o.top)-v2_slideStep*v2_d+px:v2_paddingTop+px;if(v2_oP&&o.visibility.toLowerCase()!="visible")o.visibility="visible";setTimeout("v2_start()",v2_slideSpeed)};function v2_slide(){var o,o2,px;o=v2_getOS("v2_"+v2_cur);o2=v2_getOS("v2_"+(v2_cur<v2_count?v2_cur+1:1));px=v2_oP&&!v2_oP7||v2_nS4?0:"px";if(parseInt(o2.top)==v2_paddingTop){if(v2_oP)o.visibility="hidden";o.top=v2_height*v2_d+px;v2_cur=v2_cur<v2_count?v2_cur+1:1;v2_canPause=1;v2_TIM=setTimeout("v2_canPause=0;v2_slide()",v2_timeout);return}if(v2_oP&&o2.visibility.toLowerCase()!="visible")o2.visibility="visible";if((parseInt(o2.top)-v2_slideStep*v2_d)*v2_d>v2_paddingTop*v2_d){o.top=parseInt(o.top)-v2_slideStep*v2_d+px;o2.top=parseInt(o2.top)-v2_slideStep*v2_d+px}else{o.top=-v2_height*v2_d+px;o2.top=v2_paddingTop+px}setTimeout("v2_slide()",v2_slideSpeed)};if(v2_nS4||v2_iE||v2_oP||document.getElementById&&!v2_kN&&!v2_oP4){
document.write("<style>.vnewsticker,a.vnewsticker{font-family:"+v2_font+";font-size:"+v2_fontSize2+";color:"+v2_fontColor+";text-decoration:"+v2_textDecoration+";font-weight:"+v2_fontWeight+"}a.vnewsticker:hover{font-family:"+v2_font+";font-size:"+v2_fontSize2+";color:"+v2_fontColorHover+";text-decoration:"+v2_textDecorationHover+"}</style>");v2_temp="<div "+(v2_nS4?"name":"id")+"=v2_container style='position:"+v2_position+";top:"+v2_top+"px;left:"+v2_left+"px;width:"+v2_width+"px;height:"+v2_height+"px;background:"+v2_bgColor+";layer-background"+(v2_bgColor.indexOf("url(")==0?"-image":"-color")+":"+v2_bgColor+";clip:rect(0,"+v2_width+","+v2_height+",0);overflow:hidden'>"+(v2_iE?"<div style='position:absolute;top:0px;left:0px;width:100%;height:100%;clip:rect(0,"+v2_width+","+v2_height+",0)'>":"");for(v2_i=0;v2_i<v2_count;v2_i++)
v2_temp+="<div "+(v2_nS4?"name":"id")+"=v2_"+(v2_i+1)+" style='position:absolute;top:"+(v2_height*v2_d)+"px;left:"+v2_paddingLeft+"px;width:"+(v2_width-v2_paddingLeft*2)+"px;height:"+(v2_height-v2_paddingTop*2)+"px;clip:rect(0,"+(v2_width-v2_paddingLeft*2)+","+(v2_height-v2_paddingTop*2)+",0);overflow:hidden"+(v2_oP?";visibility:hidden":"")+";text-align:"+v2_textAlign+"' class=vnewsticker>"+(!v2_nS4?"<table width="+(v2_width-v2_paddingLeft*2)+" height="+(v2_height-v2_paddingTop*2)+" cellpadding=0 cellspacing=0 border=0><tr><td width="+(v2_width-v2_paddingLeft*2)+" height="+(v2_height-v2_paddingTop*2)+" align="+v2_textAlign+" valign="+v2_textVAlign+" class=vnewsticker>":"")+(v2_content[v2_i][0]!=""?"<a href='"+v2_content[v2_i][0]+"' target='"+v2_content[v2_i][2]+"' class=vnewsticker"+(v2_pauseOnMouseOver?" onmouseover='if(v2_canPause&&v2_count>1){clearTimeout(v2_TIM);v2_cl=1}' onmouseout='if(v2_canPause&&v2_count>1&&v2_cl)v2_TIM=setTimeout(\"v2_canPause=0;v2_slide();v2_cl=0\","+v2_timeout+")'":"")+">":"<span"+(v2_pauseOnMouseOver?" onmouseover='if(v2_canPause&&v2_count>1){clearTimeout(v2_TIM);v2_cl=1}' onmouseout='if(v2_canPause&&v2_count>1&&v2_cl)v2_TIM=setTimeout(\"v2_canPause=0;v2_slide();v2_cl=0\","+v2_timeout+")'":"")+">")+v2_content[v2_i][1]+(v2_content[v2_i][0]!=""?"</a>":"</span>")+(!v2_nS4?"</td></tr></table>":"")+"</div>";v2_temp+=(v2_iE?"</div>":"")+"</div>";document.write(v2_temp);setTimeout("v2_start()",1000);if(v2_nS4)onresize=function(){location.reload()}}