// Open new window in Flash
function openWindow(url, w, h) {
var windowprops = "menubar=No,toolbar=No,location=No,status=Yes,scrollbars,resizable,width=" + w + ",height=" + h;
popup = window.open(url,'remote',windowprops);
}
// Open new window
//function openWindow(url, w, h) {
//var windowprops = "menubar=No,toolbar=No,location=No,status=No,scrollbars,resizable,width=" + w + ",height=" + h;
//popup = window.open(url,'remote',windowprops);
//}

// All you have to do is put another text in the variable message.
// Don't forget to break all lines with a ^
// When you do not place a ^ at the end of all the message, the
// message will not repeat

  message     = "Call Day or Night 952 495 509 in Spain or FREE from UK 0800 081 1939^" +
                "^"
  scrollSpeed = 25
  lineDelay   = 1500

  // Do not change the text below //

  txt         = ""

  function scrollText(pos) {
    if (message.charAt(pos) != '^') {
      txt    = txt + message.charAt(pos)
      status = txt
      pauze  = scrollSpeed
    }
    else {
      pauze = lineDelay
      txt   = ""
      if (pos == message.length-1) pos = -1
    }
    pos++
    setTimeout("scrollText('"+pos+"')",pauze)
  }
//call it below
scrollText(0)

// empty text box when clicked on
var operation_done=0
	function emptyEBoxField(a)
{
 if(operation_done) return;
 a.value="";
 operation_done=1;
}

<!-------------------------------------------------------------------------------------//
//used for the price count down
String.prototype.toNumber = function() {
// convert number-formatted string into a numeric result
	var nbr = Number(this);
	return ((isNaN(nbr)) ? 0 : nbr);
}
Number.prototype.toCurrency = function() {
// convert number into a currency-formatted string result
	var symb = (arguments.length>0) ? arguments[0] : "€,.";
	symb = ((typeof(symb)=="string" && symb.length==3) ? symb : "€,.").split("");
	var nbr = this.toString().toNumber().toString();
	dec = Math.floor((nbr*100+0.5)%100);
	nbr = Math.floor((nbr*100+0.5)/100).toString();
	if (dec < 10) dec = "0" + dec;
	for (var i = 0; i < Math.floor((nbr.length-(1+i))/3); i++) {
		nbr = 

nbr.substring(0,nbr.length-(4*i+3))+symb[1]+nbr.substring(nbr.length-(4*i+3));
	}
	return (symb[0] + nbr + symb[2] + dec);
}
var USAcurrency = "€,.";




//-->
