var pptt=null;
function open_popup_verzoegert(i1_html_page,i1_width,i1_height,i1_name){

	if(i1_name==null)	pptt=window.open(i1_html_page,"","height="+i1_height+",width="+i1_width+",resizable=1,scrollbars");
	else 	pptt=window.open(i1_html_page,i1_name,"height="+i1_height+",width="+i1_width+",resizable=1,scrollbars");
	pptt.focus();
}
function open_popup(i_html_page,i_width,i_height){
	if(pptt !=null){ 
		//alert(pptt.closed);
		if(pptt.closed != true)pptt.close();
		pptt=null;
	}

	var befehl= new String();
	var i_name="test";
	if(document.all){
		i_width=i_width*1.07;
		i_height=i_height*1.05;
	}
	if(i_name!=null)	befehl="open_popup_verzoegert(\""+i_html_page+"\","+i_width+","+i_height+",\""+i_name+"\")";
	else befehl="open_popup_verzoegert(\""+i_html_page+"\","+i_width+","+i_height+")";
	setTimeout(befehl,10);
}



function open_popup_verzoegert_noresize(i1_html_page,i1_width,i1_height,i1_name){

	if(i1_name==null)	pptt=window.open(i1_html_page,"","height="+i1_height+",width="+i1_width+",resizable=no");
	else 	pptt=window.open(i1_html_page,i1_name,"height="+i1_height+",width="+i1_width+",resizable=no");
	pptt.focus();
}
function open_popup_noresize(i_html_page,i_width,i_height){
	if(pptt !=null){ 
		//alert(pptt.closed);
		if(pptt.closed != true)pptt.close();
		pptt=null;
	}

	var befehl= new String();
	var i_name="test";
	if(document.all){
		//i_width=i_width*1.07;
		//i_height=i_height*1.05;

		//i_width=parseInt(Number(i_width*1.015));
		//i_height=parseInt(Number(i_height*1.01));

	}else {
		//i_width=parseInt(Number(i_width*1.015));
		//i_height=parseInt(Number(i_height*1.01));
	
	}
	if(i_name!=null)	befehl="open_popup_verzoegert_noresize(\""+i_html_page+"\","+i_width+","+i_height+",\""+i_name+"\")";
	else befehl="open_popup_verzoegert_noresize(\""+i_html_page+"\","+i_width+","+i_height+")";
	setTimeout(befehl,10);
}