﻿
function popOpen() {
	window.open("homePage.html","GS", 'status=yes,toolbar=no,location=no,directories=no,menubar=no,scrollbar=no,resizable=no,width=910,height=750' );
}

function pageClose() {
	self.opener = self;
	self.close();
}

function pageBack() {
	history.go(-1);
}

function autoScroll(){
	if(screen.height >= 690 && screen.width >= 998){
		 document.body.scroll = 'no';
	}else{
		 document.body.scroll = 'yes';
	}
}

function winCenter() { 
	if (document.layers) { var x = screen.width / 2 - outerWidth / 2; var y = screen.height / 2 - outerHeight / 2; } 
	else { var x = screen.width / 2 - document.body.offsetWidth / 2 -3; var y = -42 + screen.height / 2 - document.body.offsetHeight / 2; } 
	self.moveTo(x, y);
}  