/*
channelmode=yes|no|1|0 Whether or not to display the window in theater mode. Default is no. IE only 
directories=yes|no|1|0 Whether or not to add directory buttons. Default is yes. IE only 
fullscreen=yes|no|1|0 Whether or not to display the browser in full-screen mode. Default is no. A window in full-screen mode must also be in theater mode. IE only 
height=pixels The height of the window. Min. value is 100 
left=pixels The left position of the window 
location=yes|no|1|0 Whether or not to display the address field. Default is yes 
menubar=yes|no|1|0 Whether or not to display the menu bar. Default is yes 
resizable=yes|no|1|0 Whether or not the window is resizable. Default is yes 
scrollbars=yes|no|1|0 Whether or not to display scroll bars. Default is yes 
status=yes|no|1|0 Whether or not to add a status bar. Default is yes 
titlebar=yes|no|1|0 Whether or not to display the title bar. Ignored unless the calling application is an HTML Application or a trusted dialog box. Default is yes 
toolbar=yes|no|1|0 Whether or not to display the browser toolbar. Default is yes 
top=pixels The top position of the window. IE only 
width=pixels The width of the window. Min. value is 100 
*/
var myWin;

function CurrencyCalculatorWindow() {

	var w = 530;
	var h = 170;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);
	
	var myWin = window.open ('', 'CurrencyCalculatorDialog',
	'width='+w+',height='+h+',status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);

}

function WorldTimesWindow() {

	var w = 600;
	var h = 450;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);
	
	var myWin = window.open ('', 'WorldTimesDialog',
	'width='+w+',height='+h+',status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);

}       

function PriceOptionWindow() {
	myWin = open('','PriceOptionDialog',
	'width=400,height=300,status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no,position=center');
}       

function OperatorWindow() {

	var w = 600;
	var h = 400;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);
	
	var myWin = window.open ('', 'OperatorDialog',
	'width='+w+',height='+h+',status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);

}

function PictureWindow() {
	myWin = open('','PictureDialog',
	'width=720,height=520,status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no,position=center');
}

function SimpleReportWindow() {
	myWin = open('','SimpleReportDialog',
	'width=750,height=400,status=no,toolbar=no,menubar=yes,directories=no,scrollbars=yes,location=no');
}

function VoucherWindow() {
	myWin = open('','VoucherDialog',
	'width=750,height=400,status=no,toolbar=no,menubar=yes,directories=no,scrollbars=yes,location=no');
}

/* BookDtlWindow must be printable... */
function ProductDtlWindow() {

	var w = 720;
	var h = 500;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);
	
	var myWin = window.open ('', 'ProductDialog',
	'width='+w+',height='+h+',location=yes,status=no,titlebar=no,toolbar=no,menubar=yes,directories=no,scrollbars=yes,copyhistory=no,top='+top+', left='+left);

}

/* BookDtlWindow must be printable... */
function BookDtlWindow() {

	var w = 720;
	var h = 500;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);
	
	var myWin = window.open ('', 'BookDtlDialog',
	'width='+w+',height='+h+',status=no,toolbar=no,menubar=yes,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);

}

function FindWindow() {
	var w = 720;
	var h = 500;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);

	myWin = open('','FindDialog',
	'width='+w+',height='+h+',status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);
}

function PaymRefWindow() {

	var w = 700;
	var h = 400;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);
	
	var myWin = window.open ('', 'PaymRefDialog',
	'width='+w+',height='+h+',titlebar=no,status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);

}

function FindCalendarSelectWindow() {

	var w = 650;
	var h = 300;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);

	myWin = open('','FindCalendarPopupDialog',
	'width='+w+',height='+h+',resizable=yes,status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);
}

function HelpWindow() {
	myWin = open('','HelpPopupDialog',
	'width=350,height=200,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no,directories=no,location=no');
}

function CountryInfoWindow() {
	myWin = open('','CountryInfoDialog',
	'width=750,height=500,status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no,position=center');
}

function WebPageWindow() {

	var w = 700;
	var h = 500;
	var left = (screen.width/2) - (w/2);
	var top = (screen.height/2) - (h/2);
	
	var myWin = window.open ('', 'WebPageDialog',
	'width='+w+',height='+h+',status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no, copyhistory=no, top='+top+', left='+left);

}       

function PictureWindow() {
	myWin = open('','PictureDialog',
	'width=600,height=500,status=no,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no,position=center');
}       

