function puzzle() {
win = window.open("games/Puzzle_Fun.htm","puzzle",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=720,height=540');
var width = 770; 
var height = 500;
var aw = screen.availWidth; 
var ah = screen.availHeight; 
var xPos = (aw - width)/2; 
var yPos = (ah - height)/2; 
win.moveTo(xPos,yPos);
}

function giftgrab() {
win = window.open("games/Gift_Grab.htm","gift",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=770,height=500');
var width = 770; 
var height = 500;
var aw = screen.availWidth; 
var ah = screen.availHeight; 
var xPos = (aw - width)/2; 
var yPos = (ah - height)/2; 
win.moveTo(xPos,yPos);
}
function color() {
win = window.open("games/elf_paint_01.html","color",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=750,height=500');
var width = 750; 
var height = 500;
var aw = screen.availWidth; 
var ah = screen.availHeight; 
var xPos = (aw - width)/2; 
var yPos = (ah - height)/2; 
win.moveTo(xPos,yPos);
}
function matching() {
win = window.open("games/elf_memory.html","matching",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=750,height=500');
var width = 750; 
var height = 500;
var aw = screen.availWidth; 
var ah = screen.availHeight; 
var xPos = (aw - width)/2; 
var yPos = (ah - height)/2; 
win.moveTo(xPos,yPos);
}

function Open(url,windowname,horz,vert) {
	window.open(url, windowname,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + horz + ',height=' + vert );
}

function gallery(url) {
win = window.open(url,"gallery",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=338');
var width = 600; 
var height = 338;
var aw = screen.availWidth; 
var ah = screen.availHeight; 
var xPos = (aw - width)/2; 
var yPos = (ah - height)/2; 
win.moveTo(xPos,yPos);
}
