function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function snapIn(jumpSpaces,position) {
  var msg = "KARMAMASSAGE.RO | TEL: 327 38 84 | 0722 699 488 | 24H/24" 
  var out = ""
  if (killScroll) {return false}
  for (var i=0; i<position; i++)
    {out += msg.charAt(i)}
  for (i=1;i<jumpSpaces;i++)
    {out += " "}
  out += msg.charAt(position)
  window.status = out
  if (jumpSpaces <= 1) {
    position++
    if (msg.charAt(position) == ' ')
      {position++ }
    jumpSpaces = 100-position
  } else if (jumpSpaces >  3)
       {jumpSpaces *= .75}
  else
    {jumpSpaces--}
  if (position != msg.length) {
    var cmd = "snapIn(" + jumpSpaces + "," + position + ")";
    scrollID = window.setTimeout(cmd,5);
  } else {
    scrolling = false
    return false
  }
  return true
}
function snapSetup() {
 if (scrolling)
  if (!confirm('Re-initialize snapIn?'))
   return false
   killScroll = true
   scrolling = true
   var killID = window.setTimeout('killScroll=false',6)
   scrollID = window.setTimeout('snapIn(100,0)',10)
   return true
}
var scrollID = Object
var scrolling = false
var killScroll = false
