// Vagipe external Chat loader
// V1.1 2008-02-27
// http://www.vagipe.com
function showEnter()
{
var asite = window.location.hostname.replace(/www./, "");
if (asite == "first-date.de.tl" || asite == "ishareporn.com" || asite == "seksikolog.tr.gg" || asite == "fkkgallery.com")
{
document.write('This site has violated the Vagipe terms of service. If you are the operator of this site, please contact webmaster@vagipe.com.');
} else {
document.write('
');
}
}
function openCamChat() {
var addOpt = "";
if (document.getElementById('VAGuser')) var user = document.getElementById('VAGuser').value;
if (document.getElementById('VAGlang')) var lang = document.getElementById('VAGlang').options[document.getElementById('VAGlang').selectedIndex].value;
if (document.getElementById('VAGgender')) var gender = document.getElementById('VAGgender').options[document.getElementById('VAGgender').selectedIndex].value;
if (document.getElementById('VAGage')) var age = document.getElementById('VAGage').value;
if (typeof(roomid)=="undefined") roomid = window.location.hostname.replace(/www./, "");
else if (!roomid) roomid = window.location.hostname.replace(/www./, "");
if (typeof(bgurl) != "undefined") addOpt += "&bgurl="+bgurl;
user = user.replace(/[\<\>]/g, "");
age = age.replace(/[\<\>]/g, "");
gender = gender.replace(/[\<\>]/g, "");
camwindow=window.open('http://www.vagipe.com/webcam_window_pub.php?version=camChat.swf&user='+user+'&lang='+lang+'&setage='+age+"&setgender="+gender+"&setroom="+encodeURIComponent(roomid)+addOpt, 'VagipeExt',"resizable,width=1000,height=655");
camwindow.focus();
}