var winwidth = screen.availWidth - 10; var winheight = screen.availHeight - 30; function getWH( ) { winwidth = screen.availWidth - 10; winheight = screen.availHeight - 30; } function getVidSE( id ){ getWH(); url = 'http://www.sexedenfer.com/infos.php?id=' + id + '&wref=835&tpl=paymentVidBeurette'; window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable=yes'); } function getVidCD( url ){ winwidth = 380; winheight = 270; window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable=yes'); } function getVidWF( id ){ getWH(); url = 'http://www.videosdesexe.com/cbm/details.php?id=' + id + '&pid=odile&t=payWhityMicro'; window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable=yes'); } function getVidSM( id ){ getWH(); url = 'http://www.smartmovies.net/partners/maker/acces.php?id_doc=67190&id_vid='+id; window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable=yes'); } function getVidBZ( id ){ getWH(); url = 'http://odile.bandez.com/detail_video.html?idv='+id+'&mp=1'; window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable=yes'); } function getVidCA( id, lang ){ getWH(); url = 'http://www.vidsatomix.com/paiement.php?profil=j3BWIJbedj&docid='+id; window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable=yes'); }