// JavaScript Document

var floattext=new Array()
floattext[0]='<p class="titcar"><b>Germany (Subsidiary)</b></p><p>e-cube Germany</p> @ ASW GmbH <br>Marie Curie Str. 3c<br /> 38268 - Lengede<br /> tel: +49(0) 5344 803990<br/>fax: +49(0) 5344 8039928<br /> <a href="http://www.e-cube.info" target="_blank">www.e-cube.info </a>'
floattext[1]='<p class="titCar"><b>Denmark</b></p> <p class="titMap">SMT Solutions ApS</p> Sortb&aelig;rvej 52<br />  DK-8600   Silkeborg<br> tel:&nbsp;&nbsp;+45(0) 8724 8050<br/>fax: +45(0) 8724 805<br /> <a href="http://www.smtsolutions.dk" target="_blank">www.smtsolutions.dk</a> '
floattext[2]='<p class="titCar"><b>United Kingdom</b></p>  <p class="titMap">Altus Group</p> Muirhead, Michelston Industrial Estate <br />Kirkcaldy<br/> tel:&nbsp;&nbsp;+44(0) 1592 655 400<br/>fax: ;+44(0) 1592 655 401<br /> <a href="http://www.altusgroup.biz" target="_blank" >www.altusgroup.biz</a><br/><br/>'
floattext[3]='<p class="titCar">Russia</p> <p class="titMap">Taberu Ltd</p> 124482, Savelkinsky proezd<br /> Zelenograd - Moscow<br/> tel:&nbsp;&nbsp;+7 495 995 3408 <br/>fax: +7 495 995 3408<br /> <a href="http://www.tabe.ru" target="_blank">www.tabe.ru </a>  '
floattext[4]='<p class="titCar"><b>Sweden</b></p> <p class="titMap">Benic elektronic ab</p> Flygf&auml;ltsgatan 12<br /> SE - 128 30 Skarpn&auml;ck<br/> tel:&nbsp;&nbsp;+46(0) 872 402 75<br/>fax: +46(0) 872 402 78<br /> <a href="http://www.benic.se" target="_blank">www.benic.se</a> '
floattext[5]='<p class="titCar"><b>Romania</b></p> <p class="titMap">LTHD</p> Str. Ardealul 70<br />300153 -  Timisoara<br/> tel:&nbsp;&nbsp;+40(0) 256 202 286<br/>fax: +40(0) 256 490 813 <br /> <a href="http://www.lthd.com" target="_blank">www.lthd.com</a>'
floattext[6]='<p class="titCar"><b>Romania (Subsidiary)</b></p> <p class="titMap">e-cube Romania</p>Str. Ardealul 70<br /> 300153 - Timisoara<br/> tel:&nbsp;&nbsp;+40(0) 256 202 286<br/>fax:  +40(0) 256 490 813<br /> <a href="mailto:info@e-cube.info">info@e-cube.info</a> '
floattext[7]='<p class="titCar"><b>Switzerland (Subsidiary)</b></p><p class="titMap">e-cube Switzerland</p> Via Al Funti 17<br /> CH-6834 - Morbio Inferiore <br /> '
floattext[8]='<p class="titCar"><b>Switzerland</b></p> <p class="titMap">Benetec</p>Herenholzweg 33<br /> CH-8906 - Bonstetten<br/> tel:&nbsp;&nbsp;+41(0) 44 700 24 18<br/>fax:&nbsp;+41(0) 44 700 24 19  <br /> <a href="http://www.benetec.ch" target="_blank">www.benetec.ch</a>  <br/><br/> <p class="titMap">Neutec electronic ag</p>Mettlenbachstrasse 29 <br/>CH-8617 - Moenchaltorf<br/> tel:&nbsp;&nbsp;+41(0) 44 948 17 11<br/> fax:&nbsp;+41(0) 44 948 17 37<br/> <a href="http://www.prodelecgroup.com/" target="_blank">www.prodelecgroup.com</a>'
floattext[9]=''
floattext[10]='<p class="titCar"> <p class="titCar"><b>Spain</b></p> <p class="titMap">Estanflux s/a</p> C. Biscaia 383 <br /> 08027 - Barcelona <br/>tel:&nbsp;&nbsp;+34(0) 93 351 61 51<br/>fax:&nbsp;+34(0) 93 352 38 45  <br /> <a href="http://www.estanflux.com" target="_blank">www.estanflux.com</a>'
floattext[11]='<p class="titMap">Laryo srl</p> via dell\'Artigianato, 21<br/>20049 - Concorezzo (MI) <br> tel:&nbsp;&nbsp;+39 039 688 644 9<br/>fax:&nbsp;+39 039 690 749 0 <br /> <a href="http://www.laryo.it" target="blank">www.laryo.it</a>'
floattext[12]='<p class="titCar"><b>Italy (Subsidiary)</b></p><p class="titMap">e-cube Italia</p> via Carolina Romani, 23 <br/>20091 Bresso (MI)<br/>tel:&nbsp;&nbsp;+39 02 610 348 1<br/>fax:&nbsp;+39 02 610 348 10 <br /> <a href="http://www.e-cube.info">www.e-cube.info</a>'
 



var floatiewidth="160px" //default width of floatie in px
var floatieheight="" //default height of floatie in px. Set to "" to let floatie content dictate height.
var floatiebgcolor="" //default bgcolor of floatie
var fadespeed=70 //speed of fade (5 or above). Smaller=faster.

var baseopacity=0
function slowhigh(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",fadespeed)
}

function instantset(degree){
cleartimer()
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}

function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}

function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.1, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function paramexists(what){
return(typeof what!="undefined" && what!="")
}

function showfloatie(thetext, e, optbgColor, optWidth, optHeight){

var dsocx=(window.pageXOffset)? pageXOffset: ietruebody().scrollLeft;
var dsocy=(window.pageYOffset)? pageYOffset : ietruebody().scrollTop;

var floatobj=document.getElementById("dhtmlfloatie")
// floatobj.style.left="0px"
floatobj.style.display="block"
floatobj.style.backgroundColor=paramexists(optbgColor)? optbgColor : floatiebgcolor
floatobj.style.width=paramexists(optWidth)? optWidth+"px" : floatiewidth
floatobj.style.height=paramexists(optHeight)? optHeight+"px" : floatieheight!=""? floatieheight : ""
floatobj.innerHTML=thetext
var floatWidth=floatobj.offsetWidth>0? floatobj.offsetWidth : floatobj.style.width
var floatHeight=floatobj.offsetHeight>0? floatobj.offsetHeight : floatobj.style.width
var winWidth=document.all&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winHeight=document.all&&!window.opera? ietruebody().clientHeight : window.innerHeight
e=window.event? window.event : e
floatobj.style.left="0px"

//winWidth-floatWidth-5+"px"
if (e.clientX>winWidth-floatWidth && e.clientY+20>winHeight-floatHeight)
floatobj.style.top=5+"px"
else
floatobj.style.top="40px"

//winHeight-floatHeight-5+"px"
slowhigh(floatobj)
}

function hidefloatie(){
}

