if(document.images) {
pics = new Array(); 
pics[1] = new Image();
pics[1].src = "images/target_off.gif"; 
pics[2] = new Image();
pics[2].src = "images/target_on.gif";
}

function changer(from,to) {
if(document.images) {
document.images[from].src = pics[to].src;
}
}

function free() {
            ventana = window.open('free.php','free_conversion','scrollbars=no,statusbar=no,HEIGHT=320,WIDTH=416,left=120,top=120');
            //return true;
            }
function testimonial() {
            ventana = window.open('testimonial.php','testimonial','scrollbars=no,statusbar=no,HEIGHT=206,WIDTH=416,left=120,top=120');
            //return true;
            }

var win= null;
function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=yes';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

/* conversion */

function openwin(nombre,ancho,alto) {



ancho += 0;



alto += 0;



props = 'width=' + ancho + ',height=' + alto +



',top=0,left=0,scrollbars=no,resizable=no';



window.open(nombre,'',props)



}

/* prjmax */

function muestra_esconde_div(div_id){
	var existediv=document.getElementById(div_id);
	if (existediv){
		if (document.getElementById(div_id).style.display=='none'){
			muestra_div(div_id);
		}else{
			esconde_div(div_id);
		}
	}
}
function muestra_div(div_id){
	var existediv=document.getElementById(div_id);
	if (existediv){
		document.getElementById(div_id).style.display = '';
	}
}
function esconde_div(div_id){
	var existediv=document.getElementById(div_id);
	if (existediv){
		document.getElementById(div_id).style.display = 'none';
	}
}