function openWallpaperPage(x, dir) {
	window.open(dir+"?img="+x);
}