// copyright © Job 't Hart
// Internet Christians
// http://www.internet-christians.com

// HAY OTRO CAMINO
// http://www.hayotrocamino.com

// versión 1.0 23/04/2009
//   -> versión inicial

defSt="Hay otro camino"

langs=Array("es")
fldColor='rgb(46,78,0)'
fldFocusColor='rgb(46,78,0)'
fldBgColor='white'
fldFocusBgColor='rgb(210,220,188)'
fldDisBgColor='rgb(226,226,226)'

MYText["es"][0]="Por favor, introduzca el nombre de su entidad."
MYText["es"][1]="Por favor, seleccione el tipo de entidad."
MYText["es"][2]="Por favor, introduzca su nombre."
MYText["es"][3]="Por favor, introduzca su mensaje."

MYText["en"][0]="Please, enter the name of the organisation."
MYText["en"][1]="Please, select the type of organisation."
MYText["en"][2]="Please, enter your name."
MYText["en"][3]="Please, enter your inquiry."

MYText["nl"][0]="Voer de naam van de organisatie in, alstublieft."
MYText["nl"][1]="Selecteer de soort organisatie, alstublieft."
MYText["nl"][2]="Voer uw naam in, alstublieft."
MYText["nl"][3]="Voer uw boodschap in, alstublieft."

function MYInit(){
  var s2=new SWFObject('http://www.protestantedigital.com/new/TickerPD5.swf','TickerPD1','280px','100px','7','#FFFFFF')
	s2.setAttribute('style','color:black;');
	s2.addParam("allowfullscreen","false");
	s2.addParam("allowscriptaccess","sameDomain");
  s2.addParam("flashvars","internacional=1&espanna=1&sociedad=1&ciudades=1")
  s2.write("tickerPD")
}

function valContact() {
	disableDoc()
  var res=true
  res=valTxtFld(document.frm.nombre, 2)
  if (res) {
    res=valEmail(document.frm.email)
    if (res) res=valTxtFld(document.frm.mensaje, 3, 500)
  }
  if (!res) enableDoc()
  return res
}

var popAudioWin=null
function popAudio(pDoc){
	var l=800
	var t=600
	var w=532
	var h=532
  if (screen){if (screen.width && screen.height) {l=screen.width;t=screen.height}}
  l=(l-w)/2
  t=(t-h)/2
  popWin(popAudioWin,'AUDIO','/audio/'+pDoc,w,h,l,t,0,1)
}

var popAutorWin=null
function popAutor(pDoc){
	var l=800
	var t=600
	var w=532
	var h=600
  if (screen){if (screen.width && screen.height) {l=screen.width;t=screen.height}}
  h=t-200
  l=(l-w)/2
  t=(t-h)/2
  popWin(popAutorWin,'AUTOR','/autores/'+pDoc,w,h,l,t,0,1)
}
