function Item(){
this.length = Item.arguments.length 
for (var i = 0; i < this.length; i++)
  this[i] = Item.arguments[i]
}

function Today() {
var nmes = new Item('January','February','March','April','May','June','July','August','September','October','November','December')
var ahora
var fecha = new Date()
var ano = fecha.getYear()
var mes = fecha.getMonth()
var dia = fecha.getDay()
var aux = "" + fecha

if (ano<10) {
 ano2 = "200" + eval(ano)
}
else if (ano<80) {
 ano2 = "20" + ano
} 
else if (ano<=99) {
 ano2 = "19" + ano
}
else if (ano<1000) {
 ano2 = eval(ano) + eval(1900)
}
else {
 ano2 = ano
}

ahora = eval(aux.substring(7, 10)) + " " + nmes[mes] + " " + ano2
return ahora
}

function Moneycorp(currency,from,to){
 
  conPopUpWin = open( 'http://www.moneycorp.com/tools/currency_converter/autoConverterIndex.cfm?amount=' + currency  + '&fromCurrency='+ from +'&toCurrency='+ to + '&ReferringAgentID=10005156', 'conPopUpWin', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbar=yes,resizable=yes,copyhistory=yes,width=335,height=370,left=180, top=180,screenX=180,screenY=180');
}

function PCGGraph(value){
  conPopUpWin = open( 'http://www.investinoffplan.com/invcalc.php?amount=' + value, 'conPopUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,width=450,height=450,left=10, top=10,screenX=10,screenY=10');
}

function insertBanner() 
{ 
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="150" height="150">'); 
      document.write('<param name="movie" value="http://www.intasure-b2b.com/links/link120x120_uk.swf?introducer=125002" />'); 
      document.write('<param name="quality" value="high" />'); 
      document.write('<embed src="http://www.intasure-b2b.com/links/link120x120_uk.swf?introducer=125002" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="150"></embed>'); 
      document.write('</object>'); 
} 
