function popup_window1(id, width, height ) {
	//extract the url parameters if any, and pass them to the called html
	var tempvar=document.location.toString(); // fetch the URL string
	var passedparams = tempvar.lastIndexOf("?");

	var url = document.getElementById("rDummy").value;

	if(passedparams > -1)
		url += tempvar.substring(passedparams);
	popup = window.open(url, id, 'toolbar=yes,scrollbars=yes,location=no,statusbar=no,menubar=yes,resizable=no,top=50,left=500,width=450,height=600,screenX=450,screenY=600' );
	popup.focus();
}



function popup_window2( url, id, width, height ) {
	//extract the url parameters if any, and pass them to the called html
	var tempvar=document.location.toString(); // fetch the URL string
	var passedparams = tempvar.lastIndexOf("?");
	if(passedparams > -1)
		url += tempvar.substring(passedparams);
	popup = window.open( url, id, 'toolbar=yes,scrollbars=yes,location=yes,statusbar=no,menubar=yes,resizable=yes,top=50,left=150,width=' + width + ',height=' + height + '' );
	popup.focus();
}


function popup_window3( url, id, top, left, width, height ) {
	//extract the url parameters if any, and pass them to the called html
	var tempvar=document.location.toString(); // fetch the URL string
	var passedparams = tempvar.lastIndexOf("?");
	if(passedparams > -1)
		url += tempvar.substring(passedparams);
	popup = window.open( url, id, 'toolbar=yes,scrollbars=yes,location=no,statusbar=no,menubar=yes,resizable=yes,top=' + top + ',left=' + left + ', width=' + width + ',height=' + height + '' );
	popup.focus();
}


function popup_window4( url, id, width, height ) {
	//extract the url parameters if any, and pass them to the called html
	var tempvar=document.location.toString(); // fetch the URL string
	var passedparams = tempvar.lastIndexOf("?");
	if(passedparams > -1)
		url += tempvar.substring(passedparams);
	popup = window.open( url, id, 'toolbar=yes,scrollbars=yes,location=no,statusbar=no,menubar=yes,resizable=yes,top=50,left=150,width=' + width + ',height=' + height + '' );
	popup.focus();
}

function popup_window5( url, id, width, height ) {
	//extract the url parameters if any, and pass them to the called html
	var tempvar=document.location.toString(); // fetch the URL string
	var passedparams = tempvar.lastIndexOf("?");
	if(passedparams > -1)
		url += tempvar.substring(passedparams);
	popup = window.open( url, id, 'toolbar=no,scrollbars=yes,location=no,statusbar=no,menubar=no,resizable=yes,top=50,left=150,width=' + width + ',height=' + height + '' );
	popup.focus();
}