/* uzeto sa stranice seductivewife.com skripta se poziva ovako  onClick="byeBye()" */

var joining = 0;

function byeBye() {
    if (joining == 1) { exit = false };
    if (joining == 0) { 
	    girlfriends2 = window.open('','girlfriend2','scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1')
		girlfriends2.moveTo(0,0);
		girlfriends2.blur();
		girlfriends2.resizeTo(screen.availWidth,screen.availHeight);
		girlfriends2.location="http://www.like-my-nude-photo.com/topsites/out.php?ID=6";
	}
}

function byeBye2() {
    if (joining == 1) { exit = false };
    if (joining == 0) { 
	    girlfriends2 = window.open('','girlfriend2','scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1')
		girlfriends2.moveTo(0,0);
		girlfriends2.blur();
		girlfriends2.resizeTo(screen.availWidth,screen.availHeight);
		girlfriends2.location="http://www.like-my-nude-photo.com/topsites/out.php?ID=18";
	}
}

function byeBye3() {
    if (joining == 1) { exit = false };
    if (joining == 0) { 
	    girlfriends2 = window.open('','girlfriend2','scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1')
		girlfriends2.moveTo(0,0);
		girlfriends2.blur();
		girlfriends2.resizeTo(screen.availWidth,screen.availHeight);
		girlfriends2.location="http://www.like-my-nude-photo.com/topsites/out.php?ID=16";
	}
}

function openWin(location,width) { // opens a pop-up window to view the photos.
  var newHeight;
  
  if (screen.availHeight < 420) { 
      newHeight = screen.availHeight;
  } else { 
      newHeight = screen.availHeight - 120;
  }
  
  win=window.open(location,'Win',"width=" + width + ",height=" + newHeight + ",menubar=1,toolbar=1,resizable=1,scrollbars=1,top=1,left=1");
  //pics.document.bgColor='#006699';
  win.moveTo(0,0);
  win.focus();
}

function openWin(location,width) { // opens a pop-up window to view the photos.
  var newHeight;
  
  if (screen.availHeight < 420) { 
      newHeight = screen.availHeight;
  } else { 
      newHeight = screen.availHeight - 120;
  }
  
  win=window.open(location,'Win',"width=" + width + ",height=" + newHeight + ",menubar=1,toolbar=1,resizable=1,scrollbars=1,top=1,left=1");
  //pics.document.bgColor='#006699';
  win.moveTo(0,0);
  win.focus();
}

function openMe(location,width,height) { // opens a pop-up window to view the photos.
  pics=window.open(location,'picture',"width=" + width + ",height=" + height + "toolbars=1,resizable=1,scrollbars=1,top=1,left=1");
  pics.document.bgColor='black';
  pics.moveTo(0,0);
  pics.focus();
}

function openPic(location,width,height) { // opens a pop-up window to view the photos.
  pics=window.open('','',"width=" + width + ",height=" + height);
  pics.document.write('<html>');
  pics.document.write('<body bgcolor="#FFFFFF" bottommargin="0" leftmargin="0" marginheight="0" marginwidth="0" rightmargin="0" topmargin="0">');
  pics.document.write('<img src="' + location + '" alt="Click Image To Close" onClick="window.close();">');
  pics.document.write('</body></html>');
  pics.moveTo(0,0);
  pics.focus();
}