function popupWindow(url) { 
	popupWindowSized(url, 640, 480); 
}

function popupWindowSized(url, width, height) { 
	var window = open(url, "popupWindow", "width="+width+",height="+height+",top=100,left=150,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no");
}

/**
 * Decryption works as follows:
 *   str = o?l?l?e?h?
 * becomes
 *   hello
 *
 * Use PHP function encode(string) to encode.
 */
function /*string*/ decode(/*string*/ str) {
	var c = str.split("?");
	var out = "";
			
	var i = 0;
	for (i = c.length-1; i >= 0; i--) { 
		out += c[i];
	}
	return out;
}

