function customPrint(){
	window.print();
}

function win_open(win_name, where, type_val) {
	var win_type = new Array();
	var W = new Array();
	var H = new Array();
win_type[0]="width=620,height=450,left=250,top=200,menubar=yes,scrollbars=yes,resizable=yes";	W[0]="620";	H[0]="450";
win_type[1]="width=620,height=450,left=250,top=200,menubar=no,scrollbars=yes,resizable=yes";	W[1]="620";	H[1]="450";
win_type[2]="width=700,height=450,left=250,top=200,menubar=no,scrollbars=yes,resizable=yes";	W[2]="700";	H[2]="450";
win_type[3]="width=650,height=450,left=250,top=200,menubar=no,scrollbars=yes,resizable=yes";	W[3]="650";	H[3]="450";
win_type[4]="width=760,height=550,left=250,top=200,menubar=no,scrollbars=yes,resizable=yes";	W[4]="760";	H[4]="550";
win_type[5]="width=720,height=550,left=250,top=200,menubar=no,scrollbars=no,resizable=no";		W[5]="720";	H[5]="550";
win_type[6]="width=500,height=500,left=250,top=200,menubar=yes,scrollbars=yes,resizable=yes";		W[6]="500";	H[6]="500";
win_type[7]="width=740,height=555,left=250,top=200,menubar=yes,scrollbars=yes,resizable=yes";		W[7]="740";	H[7]="555";
win_type[8]="width=325,height=225,left=250,top=200,menubar=no,scrollbars=no,resizable=no";		W[8]="325";	H[8]="225";
	win_name = window.open(where, win_name, win_type[type_val]);
	try {
		var l = (screen.width) ? (screen.width - W[type_val])/2 : 0;
		var t = (screen.height) ? (screen.height - H[type_val])/2 : 0;
		win_name.moveTo(l,t);
	}
	catch(e) {}
	win_name.focus();

}



