var check=1;
var taille="
Warning: Use of undefined constant taille - assumed 'taille' (this will throw an Error in a future version of PHP) in /home/chatencam/public_html/popup_s.php on line 16
normal";
function _moyen() {
if (check==1) {
taille="moyen";
}
}
function _normal() {
if (check==1) {
taille="normal";
}
}
function fermer() {
document.getElementById('textDiv').style.display = 'none';
}
function pop_it2(the_form) {
my_form = eval(the_form);
if (taille=="moyen") {
var hauteur="700";
var largeur="1050";
var haut=(screen.height-hauteur)/2;
var Gauche=(screen.width-largeur)/2;
}
else if (taille=="normal") {
var hauteur=(screen.height);
var largeur=(screen.width);
var haut=(screen.height-hauteur)/2;
var Gauche=(screen.width-largeur)/2;
}
window.open("/wait.php", "popup", "top="+haut+",left="+Gauche+",height="+hauteur+",width="+largeur+",resizable=yes,menubar='no',toolbar='no',location='no',status='no',scrollbars='no'");
my_form.target = "popup";
my_form.submit();
}
function facebook(the_form) {
my_form = eval(the_form)
var hauteur=(screen.height);
var largeur=(screen.width);
var haut=(screen.height-hauteur)/2;
var Gauche=(screen.width-largeur)/2;
window.open("http://www.espace-live.com/wait.php", "popup", "top="+haut+",left="+Gauche+",height="+hauteur+",width="+largeur+",resizable=yes,menubar='no',toolbar='no',location='no',status='no',scrollbars='no'");
my_form.target = "popup";
my_form.action="http://www.espace-live.com/fb.php";
my_form.submit();
}
var c,AcceptePV;
function AcceptPV(){
//alert("Vous avez choisi: "+document.getElementById('Apv').checked);
if ( document.getElementById('Apv').checked==true ) {
c=document.getElementById('cadre');
AcceptePV=document.createElement('input');
AcceptePV.setAttribute('type','hidden');
AcceptePV.setAttribute('name','AcceptePV');
AcceptePV.setAttribute('readonly','readonly');
AcceptePV.setAttribute('value', '0');
AcceptePV.setAttribute('style','border:none');
c.appendChild(AcceptePV);
}
else {
c.removeChild(AcceptePV);
}
}
function loginHover1(){
document.getElementById('login1').style.textDecoration='underline';
/*document.getElementById('login1').style.background='url(http://www.espace-live.com/btn_popupcha_hover.png) no-repeat';*/
}
function loginNormal1(){
document.getElementById('login1').style.textDecoration='none';
/*document.getElementById('login1').style.background='url(http://www.espace-live.com/btn_popupchat_normal.png) no-repeat';*/
}
function loginHover2(){
document.getElementById('login2').style.textDecoration='underline';
/*document.getElementById('login1').style.background='url(http://www.espace-live.com/btn_popupcha_hover.png) no-repeat';*/
}
function loginNormal2(){
document.getElementById('login2').style.textDecoration='none';
/*document.getElementById('login1').style.background='url(http://www.espace-live.com/btn_popupchat_normal.png) no-repeat';*/
}
function loginHover3(){
document.getElementById('login3').style.textDecoration='underline';
/*document.getElementById('login1').style.background='url(http://www.espace-live.com/btn_popupcha_hover.png) no-repeat';*/
}
function loginNormal3(){
document.getElementById('login3').style.textDecoration='none';
/*document.getElementById('login1').style.background='url(http://www.espace-live.com/btn_popupchat_normal.png) no-repeat';*/
}
var checkedTextDiv=false;
function subscribe() {
if ( document.chatform.nick.value == "" || document.chatform.age.value == "" || document.chatform.sexe.checked == true ) {
var base = "
X Veuillez remplir le formulaire pour entrer sur le tchat. |
X ChatEnCam.com (Réseau Mimacy) |