function getMidX(width){
	return parseInt((screen.width-width)/2);
}
function getMidY(height){
	return parseInt((screen.height-height)/2);
}
