function PopupPic(sPicURL) {
	window.open( "popup.htm?"+sPicURL, "", "resizable=1, HEIGHT=200, WIDTH=200");
}
function winpop_edit(id){
	var windowpop = window.open("edit.php?id=" + id, "", 'toolbar=no, width=500, height=600, scrollbars=yes')
}
function winpop_edit_likutis(id){
	var windowpop = window.open("edit_likutis.php?id=" + id, "", 'toolbar=no, width=500, height=600, scrollbars=yes')
}
function winpop_edit_likutis_p(id, pid){
  var windowpop = window.open("edit_likutis.php?id=" + id + "&pid=" + pid, "", 'toolbar=no, width=500, height=600, scrollbars=yes')
}
function winpop_add(id){
	var windowpop = window.open("add.php?id=" + id, "", 'toolbar=no, width=200, height = 220, scrollbars=no, top=100,left=100')
}
function winpop_add_likutis(id){
	var windowpop = window.open("add_likutis.php?id=" + id, "", 'toolbar=no, width=220, height = 140, scrollbars=no, top=100,left=100')
}
function winpop_print(){
	var windowpop = window.open("print.php", "", 'menubar=yes, resizable=1, toolbar=no, width=760, height = 400, scrollbars=yes, top=100,left=100')
}
function winpop_print_u(){
	var windowpop = window.open("print_u.php", "", 'menubar=yes, resizable=1, toolbar=no, width=600, height = 400, scrollbars=yes, top=100,left=100')
}
function winpop_print_u_lt(){
    var windowpop = window.open("print_u_lt.php", "", 'menubar=yes, resizable=1, toolbar=no, width=600, height = 400, scrollbars=yes, top=100,left=100')
}
function winpop_print_sum(){
	var windowpop = window.open("print_sum.php", "", 'menubar=yes, resizable=1, toolbar=no, width=600, height = 400, scrollbars=yes, top=100,left=100')
}
function go_to(url){
	window.location = url;
}
function winpop_export(){
	var windowpop = window.open("export.php", "", 'resizable=1, menubar=yes, scrollbars=yes, height = 500, width = 700, top = 100, left = 100')
}
function confirm_(str, url){
if (confirm(str)== true) {
window.location = url;
}
}
