function source(file) {
		loc = document.location.href
		loc = loc.substring(0,loc.lastIndexOf('/')+1)
				loc += file
		document.location.href = 'view-source:'+loc
}
function sample(file,w,h) {
    eval("window.open(file,'mywindow1','width="+w+",height="+h+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');");
}


function open_image(path,title,xx,yy)
{
open(path);
}


function open_images(path,title,xx,yy)
{
open('galla.php?foto='+path, ''+title, 'width='+xx+', height='+yy+'');
}

function open_add1(path,title,xx,yy)
{
open(path, ''+title, 'width='+xx+', height='+yy+',scrollbars=yes');
}

