function Log() {

	var popwin = open("log.php", "log",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function Log_protected() {

	var popwin = open("../log.php", "log",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function printHome() {

	var popwin = open("print_home.php", "print_home",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function printReunion() {

	var popwin = open("print_reunion.php", "print_reunion",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function printContribute() {

	var popwin = open("print_contribute.php", "print_contribute",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function printAbout() {

	var popwin = open("print_about.php", "print_about",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function homeGerman() {

	var popwin = open("home_german.php", "german",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function homeCzech() {

	var popwin = open("home_czech.php", "czech",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function storyGerman(id) {

	var URL = "story_german.php?id=" + id;

	var popwin = open(URL, "german",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function storyCzech(id) {

	var URL = "story_czech.php?id=" + id;

	var popwin = open(URL, "czech",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}


function printLineage(sid) {

	var URL = "print_lineage.php?sid=" + sid;

	var popwin = open(URL, "lineage",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function printRecord(sid) {

	var URL = "print_record.php?sid=" + sid;

	var popwin = open(URL, "record",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}


function printPeople(sid) {

	var URL = "print_people.php?sid=" + sid;

	var popwin = open(URL, "people",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function printStories(id) {

	var URL = "print_stories.php?id=" + id;

	var popwin = open(URL, "stories",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");
  	
	popwin.focus();

}

function printImages(id) {

	var URL = "print_images.php?id=" + id;

	var popwin = open(URL, "images",                
  	"width=625,height=400,scrollbars,resizable,menubar,status,screenx=100,screeny=100");

	popwin.focus();

}

function largerImage(name,width,height,scroll) {

	var URL = "largerimage.php?name=" + name;
	var dim = "width=" + width + ",height=" + height + "," + scroll + ",screenx=100,screeny=100";

	var popwin = window.open(URL,"larger_image",dim);
  	
	popwin.focus();
}


function slideshow(id,n,show) {
	var URL = "slideshow.php?slideshow=" + id + "&n=" + n + "&show=" + show;
	var popwin = open(URL, "slideshow",                
  	"width=750,height=500,resizable,status,screenx=10,screeny=10");
	popwin.focus();

}

function slideshow_lg(id,n,show) {
	var URL = "slideshow_lg.php?slideshow=" + id + "&n=" + n + "&show=" + show;
	var popwin = open(URL, "slideshow_lg",                
  	"width=800,height=700,resizable,status,screenx=10,screeny=10");
	popwin.focus();

}

function thumbnails(id) {
	var URL = "thumbnails.php?slideshow=" + id;
	var popwin = open(URL, "thumbnails",                
  	"width=750,height=500,resizable,status,screenx=10,screeny=10,scrollbars");
	popwin.focus();

}

function slideLarger(picname,width,height) {
	var URL = "../ryan/blog/images/" + picname;
	var dim = "width=" + width + ",height=" + height + ",screenx=10,screeny=10";
	var popwin = window.open(URL,"larger_image",dim);
	popwin.focus();

}

/* these are prototypes */


function fromThumbLarge(slideshow,n,show,width,height) {
	var URL = "slideshow_narr_lg.php?slideshow=" + slideshow + "&n=" + n + "&show=" + show;
	var dim = "width=" + width + ",height=" + height + ",screenx=10,screeny=10";
	var popwin = window.open(URL,"narrated_large",dim);
	popwin.focus();

}
