// JavaScript Document
function affichedesc(ID,Content) 
  {
  if (document.getElementById)
    {
    document.getElementById("ID").innerHTML = Content;
    }
  else if (document.all) 
    {
    document.all["ID"].innerHTML = Content;
    }
  }

function modifyflags_aloopass(e) {
     /*var t2 = document.getElementById("big_flag");
	 Champ_pay=document.getElementById('country').options[document.getElementById('country').selectedIndex].value;
     t2.src = '/images/big_flags/'+Champ_pay+'.gif';  
	 document.getElementById('go').disabled=false;*/

	  if ((e== 'FR') || (e== 'BE')){
                       document.getElementById('note').innerHTML='IMPORTANT: tu dois avoir l\'acc&egrave;s WAP activ&eacute; sur ton mobile&nbsp;';
					  document.getElementById('note1').innerHTML='Vous recevez un lien wap pour t&eacute;lecharger votre contenu&nbsp;';
					   }else if(e=='DE'){
					 document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;'
					  document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;'
					}else if((e=='ES') || (e=='PT')){
				 document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;'
					document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;'
					}else{
                     document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;'
					  document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;'
                     }
					
	 switch (e) {
   case 'FR':
     document.getElementById('indicatif').value='+33';
	 document.getElementById('cod_allopass').innerHTML='Votre code d\'acc&eacute;s';
	 document.getElementById('numero_allopass').innerHTML='Votre num&eacute;ro de mobile';
       break;
	     case 'AU':
       document.getElementById('indicatif').value='+61';
	    document.getElementById('cod_allopass').innerHTML='Your access code';
		document.getElementById('numero_allopass').innerHTML='Your mobile number';
	   break;
	   case 'LU':
     document.getElementById('indicatif').value='+352';
     document.getElementById('cod_allopass').innerHTML='Votre code d\'acc&eacute;s';
	 document.getElementById('numero_allopass').innerHTML='Votre num&eacute;ro de mobile';
	break;
	   case 'UK':
       document.getElementById('indicatif').value='+44';
	   document.getElementById('cod_allopass').innerHTML='Your access code';
	   document.getElementById('numero_allopass').innerHTML='Your mobile number';
      break;
	         case 'CA':
       document.getElementById('indicatif').value='+1';
	   document.getElementById('cod_allopass').innerHTML='Your access code';
	   document.getElementById('numero_allopass').innerHTML='Your mobile number';
      break;
   case 'BE':
       document.getElementById('indicatif').value='+32';
	   //document.getElementById('cod_allopass').value='Your access code';
	   //document.getElementById('numero_allopass').value='Your mobile number';
	   //affichedesc('cod_allopass','Your access code');
	   //affichedesc('numero_allopass','Your mobile number');
	     document.getElementById('cod_allopass').innerHTML='Votre code d\'acc&eacute;s';
	     document.getElementById('numero_allopass').innerHTML='Votre num&eacute;ro de mobile';
      break;
	   case 'HK':
       document.getElementById('indicatif').value='+852';
	   document.getElementById('cod_allopass').innerHTML='Your access code';
	   document.getElementById('numero_allopass').innerHTML='Your mobile number';
      break;
	      case 'NZ':
       document.getElementById('indicatif').value='+64';
	   document.getElementById('cod_allopass').innerHTML='Your access code';
	   document.getElementById('numero_allopass').innerHTML='Your mobile number';
      break;
	case 'IT':
       document.getElementById('indicatif').value='+39';
	   document.getElementById("cod_allopass").innerHTML = "Il vostro codice di accesso";
	   document.getElementById("numero_allopass").innerHTML = "Il vostro numero mobile";
    break;
	case 'DE':
       document.getElementById('indicatif').value='+49';
	    document.getElementById('cod_allopass').innerHTML='Ihr Zugangscode';
		document.getElementById('numero_allopass').innerHTML='Deine bewegliche Zahl';
	  // document.getElementById('custom').focus();
      break;
	  case 'NL':
       document.getElementById('indicatif').value='+31';
	  document.getElementById('cod_allopass').innerHTML='Your access code';
	  document.getElementById('numero_allopass').innerHTML='Your mobile number';
	   //document.getElementById('number').focus();
	   
      break;
	  case 'CH':
       document.getElementById('indicatif').value='+41';
	    document.getElementById('cod_allopass').innerHTML='Your access code';
		document.getElementById('numero_allopass').innerHTML='Your mobile number';
	 
      break;
	  case 'PT':
       document.getElementById('indicatif').value='+351';
	     document.getElementById('cod_allopass').innerHTML='Seu c&oacute;digo de acesso'; 
		 document.getElementById('numero_allopass').innerHTML='Seu n&uacute;mero móvel';
      break;
	  case 'HU':
       document.getElementById('indicatif').value='+36';
	     document.getElementById('cod_allopass').innerHTML='Your access code';
		document.getElementById('numero_allopass').innerHTML='Your mobile number';

      break;
	  case 'DK':
       document.getElementById('indicatif').value='+45';
	    document.getElementById('cod_allopass').innerHTML='Your access code';
		document.getElementById('numero_allopass').innerHTML='Your mobile number';

      break;
	  case 'ES':
       document.getElementById('indicatif').value='+34';
	   document.getElementById('cod_allopass').innerHTML='Tu c&oacute;digo de acceso';
	   document.getElementById('numero_allopass').innerHTML='Tu n&uacute;mero m&oacute;vil';
	  
      break;
	      case 'AU':
       document.getElementById('indicatif').value='+61';
	    document.getElementById('cod_allopass').innerHTML='Your access code';
		document.getElementById('numero_allopass').innerHTML='Your mobile number';
	   
      break;
	  break;
	      case 'AT':
       document.getElementById('indicatif').value='+43';
	    document.getElementById('cod_allopass').innerHTML='Your access code';
		document.getElementById('numero_allopass').innerHTML='Your mobile number';
	   
      break;
	      case 'FI':
       document.getElementById('indicatif').value='+358';
	    document.getElementById('cod_allopass').innerHTML='Your access code';
		document.getElementById('numero_allopass').innerHTML='Your mobile number';
	  
      break;
	   case 'US':
       document.getElementById('indicatif').value='+1';
	   document.getElementById('cod_allopass').innerHTML='Your access code';
	   document.getElementById('numero_allopass').innerHTML='Your mobile number';
	   break;
     default:
      document.getElementById('indicatif').value='+33';
	  document.getElementById('cod_allopass').innerHTML='Votre code d\'acc&eacute;s';
	document.getElementById('numero_allopass').innerHTML='Votre num&eacute;ro de mobile';
	  
      break;
}  
   }
   
function garder(){
  Champ1=document.getElementById('cvs_contry').options[document.getElementById('cvs_contry').selectedIndex].value;
                }


function modifyflags_bil1() {
     var t2 = document.getElementById("big_flag");
	 Champ1=document.getElementById('cvs_contry').options[document.getElementById('cvs_contry').selectedIndex].value;
	t2.src = '/images/big_flags/'+Champ1+'.gif'; 
	}
	
	
function modifyflags() {
		
	var t2 = document.getElementById("big_flag");
	Champ1=document.getElementById('country').options[document.getElementById('country').selectedIndex].value;
	t2.src = '/images/big_flags/'+Champ1+'.gif';  
		var xhr_object = null;
	 	if(window.XMLHttpRequest) // Firefox
		xhr_object = new XMLHttpRequest();
	else if(window.ActiveXObject) // Internet Explorer
		xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
	else { // XMLHttpRequest non supporté par le navigateur
		alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
		return;
	}

	xhr_object.open("GET","http://www.mobilezic.com/billing/get_billing.php?contry=" + Champ1, false);
	xhr_object.send(null);
	if(xhr_object.readyState == 4)  document.getElementById('billing_sms').innerHTML = xhr_object.responseText;
	e=Champ1;
	  if ((e== 'FR') || (e== 'BE')){
                       document.getElementById('note').innerHTML='IMPORTANT: tu dois avoir l\'acc&egrave;s WAP activ&eacute; sur ton mobile&nbsp;';
					  document.getElementById('note1').innerHTML='Vous recevez un lien wap pour t&eacute;lecharger votre contenu&nbsp;';
					   }else if(e=='DE'){
					 document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;';
					  document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;';
					}else if((e=='ES') || (e=='PT')){
				 document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;';
					document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;';
					}else{
                     document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;';
					  document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;';
                     }
 
	 	 switch (Champ1) {
        case 'FR':
                  document.getElementById('choix_sol').innerHTML='Pour t&eacute;l&eacute;charger ce produit sur votre mobile s&eacute;lectionner la solution de paiement qui vous convient:';
				   break;
     case 'BE':
      document.getElementById('choix_sol').innerHTML='Pour t&eacute;l&eacute;charger ce produit sur votre mobile s&eacute;lectionner la solution de paiement qui vous convient:';
      break;
	case 'IT':
    document.getElementById('choix_sol').innerHTML='Per trasferire questo prodotto dal sistema centrale verso i satelliti sul vostro mobile selezionare la soluzione del pagamento che è adatto voi:';
      break;
	 case 'DE':
       document.getElementById('choix_sol').innerHTML='Um dieses Produkt auf deinem Mobile zu downloaden die Lösung der Zahlung vorwählen die zu dir angebracht ist:';
	  break;
	  case 'NL':
     	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
       break;
	  case 'CH':
	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
	   break;
	  case 'PT':
      	   document.getElementById('choix_sol').innerHTML='Para download este produto em seu móbil selecionar a solução do pagamento que é apropriado a você:';
       break;
	  case 'HU':
     	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	  case 'DK':
      	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
       break;
	  case 'ES':
      	   document.getElementById('choix_sol').innerHTML='Para descargar este producto en tu móvil seleccionar la solución del pago que te es apropiado: ';
      break;
	      case 'AU':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
       break;
	      case 'FI':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'US':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	    case 'CA':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'GR':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'NO':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'CZ':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'RU':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'SE':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'UK':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	   case 'AT':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
	    case 'BU':
            	   document.getElementById('choix_sol').innerHTML='To download this product on your mobile select the solution of payment which is appropriate to you :';
      break;
     default:
      document.getElementById('choix_sol').innerHTML='Pour t&eacute;l&eacute;charger  ce produit sur votre mobile s&eacute;lectionner la solution de paiement qui vous convient:';
      break;
	   }
   }
   function modifyflags_paypal() {
     var t2 = document.getElementById("big_flag");
	 Champ_pay=document.getElementById('country').options[document.getElementById('country').selectedIndex].value;
     t2.src = '/images/big_flags/'+Champ_pay+'.gif';  
	 /*document.getElementById('go').disabled=false;*/
	  if ((Champ_pay== 'FR') || (Champ_pay== 'BE')){
                      document.getElementById('tit_paypal').innerHTML='T&eacute;l&eacute;charger par Paypal :';
					  document.getElementById('mobile').innerHTML='Votre num&eacute;ro de mobile :';
					  document.getElementById('note').innerHTML='IMPORTANT: tu dois avoir l\'acc&egrave;s WAP activ&eacute; sur ton mobile&nbsp;';
					  document.getElementById('note1').innerHTML='Vous recevez un lien wap pour t&eacute;lecharger votre contenu&nbsp;';
					  document.forms['cvs_payment_paypal'].submit123.value ='T&eacute;l&eacute;charger';
					  document.forms['cvs_payment_paypal'].Submit3.value ='Modifier';
					  
	
					   }else if(Champ_pay=='DE'){
					document.getElementById('tit_paypal').innerHTML='Download durch Paypal';
					document.getElementById('mobile').innerHTML='Deine bewegliche Zahl';
					document.forms['cvs_payment_paypal'].submit123.value ='Dieses';
					document.forms['cvs_payment_paypal'].Submit3.value ='&Auml;ndern';
					}else if((Champ_pay=='ES') || (Champ_pay=='PT')){
					
					document.getElementById('tit_paypal').innerHTML='Transferencia directa de Paypal';
					document.getElementById('mobile').innerHTML='Tu n&uacute;mero m&oacute;vil';
				    document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;'
					document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;'
					document.forms['cvs_payment_paypal'].submit123.value ='Descarga';
					document.forms['cvs_payment_paypal'].Submit3.value ='Modificarse';
					}else{
                      document.getElementById('tit_paypal').innerHTML='Download by Paypal';
					  document.getElementById('mobile').innerHTML='Your mobile number';
					   document.getElementById('note').innerHTML='IMPORTANT: you must have access WAP activated on your mobile&nbsp;'
					  document.getElementById('note1').innerHTML='You receive a pushwap to download your contents.&nbsp;'
                     document.forms['cvs_payment_paypal'].submit123.value ='Download';
					document.forms['cvs_payment_paypal'].Submit3.value ='Modify';
					 }
					
	 switch (Champ_pay) {
   case 'FR':
     document.getElementById('indicatif').value='+33';
	 document.getElementById('custom').focus();
	 
    break;
   case 'BE':
       document.getElementById('indicatif').value='+32';
	   document.getElementById('custom').focus();
	  
      break;
	case 'IT':
       document.getElementById('indicatif').value='+39';
	   document.getElementById('custom').focus();
	 
      break;
	case 'DE':
       document.getElementById('indicatif').value='+49';
	   document.getElementById('custom').focus();
      break;
	  case 'NL':
       document.getElementById('indicatif').value='+31';
	   document.getElementById('custom').focus();
      break;
	  case 'CH':
       document.getElementById('indicatif').value='+41';
	   document.getElementById('custom').focus();
      break;
	  case 'PT':
       document.getElementById('indicatif').value='+351';
	   document.getElementById('custom').focus();
      break;
	  case 'HU':
       document.getElementById('indicatif').value='+36';
	   document.getElementById('custom').focus();
      break;
	  case 'DK':
       document.getElementById('indicatif').value='+45';
	   document.getElementById('custom').focus();
      break;
	  case 'ES':
       document.getElementById('indicatif').value='+34';
	   document.getElementById('custom').focus();
      break;
	      case 'AU':
       document.getElementById('indicatif').value='+61';
	   document.getElementById('custom').focus();
      break;
	      case 'FI':
       document.getElementById('indicatif').value='+358';
	   document.getElementById('custom').focus();
      break;
	case 'PT':
       document.getElementById('indicatif').value='+351';
	     document.getElementById('custom').focus();
	 break;
	  case 'HU':
       document.getElementById('indicatif').value='+36';
	     document.getElementById('custom').focus();
	    break;
	  case 'DK':
       document.getElementById('indicatif').value='+45';
	     document.getElementById('custom').focus();
	break;
	  case 'ES':
       document.getElementById('indicatif').value='+34';
	     document.getElementById('custom').focus();
        break;
	      case 'AU':
       document.getElementById('indicatif').value='+61';
	   document.getElementById('custom').focus();
	   break;
	      case 'FI':
       document.getElementById('indicatif').value='+358';
	     document.getElementById('custom').focus();
	   break;
	   case 'US':
       document.getElementById('indicatif').value='+1';
	     document.getElementById('custom').focus();
		  break;
		   case 'CA':
       document.getElementById('indicatif').value='+1';
	     document.getElementById('custom').focus();
		  break;
		    case 'CZ':
         document.getElementById('indicatif').value='+420';
	     document.getElementById('custom').focus();
		 break;
	  	    case 'RU':
         document.getElementById('indicatif').value='+7';
	     document.getElementById('custom').focus();
		 break;
		   case 'NO':
         document.getElementById('indicatif').value='+47';
	     document.getElementById('custom').focus();
		 break;
		  case 'GR':
         document.getElementById('indicatif').value='+30';
	     document.getElementById('custom').focus();
		 break;
     default:
      document.getElementById('indicatif').value='+33';
	  document.getElementById('custom').focus();
      break;
}  
   }
   
   
	/*function affiche(){
    var i;
    var Champ="";
	document.getElementById('go').disabled=false;
           Champ=document.getElementById('country').options[document.getElementById('country').selectedIndex].value;
	 switch (Champ) {
   case 'FR':
     document.getElementById('custom').value='+33';
	 document.getElementById('custom').focus();
      break;
   case 'BE':
       document.getElementById('custom').value='+32';
	   document.getElementById('custom').focus();
      break;
	case 'IT':
       document.getElementById('custom').value='+39';
	   document.getElementById('custom').focus();
      break;
	case 'DE':
       document.getElementById('custom').value='+49';
	   document.getElementById('custom').focus();
	  case 'NL':
       document.getElementById('custom').value='+31';
	   document.getElementById('custom').focus();
      break;
	  case 'CH':
       document.getElementById('custom').value='+41';
	   document.getElementById('custom').focus();
      break;
	  case 'PT':
       document.getElementById('custom').value='+351';
	   document.getElementById('custom').focus();
      break;
	  case 'HU':
       document.getElementById('custom').value='+36';
	   document.getElementById('custom').focus();
      break;
	  case 'DK':
       document.getElementById('custom').value='+45';
	   document.getElementById('custom').focus();
      break;
	  case 'ES':
       document.getElementById('custom').value='+34';
	   document.getElementById('custom').focus();
      break;
	      case 'AU':
       document.getElementById('custom').value='+61';
	   document.getElementById('custom').focus();
      break;
	      case 'FI':
       document.getElementById('custom').value='+358';
	   document.getElementById('custom').focus();
      break;
	  
     default:
      document.getElementById('custom').value='+33';
	  document.getElementById('custom').focus();
      break;
}
}*/
   

   
