function printpage(lang) {
    var fileName = location.href;

	// uri-encode '&'
	regEx    = /&/g;
	fileName = fileName.replace(regEx, '%26');

	window.open("/_scripts/printpage.asp?f=" + fileName + "&l=" + lang,'','toolbar=no,menubar=no,resizable=yes,width=680,height=500,left=150px,top=150px,scrollbars=yes');
}
