function remove_item(uri)
{
	if(confirm("Naozaj chcete odstrániť položku z košíka?"))
	{
		location.href=uri;
	}
}


/* onclick regexp replace image */
function display(url) {
	if(document.images) {
		document.getElementById('display_big').src = url.replace(/tnl/,'big');
	}
}

function enlarge(image){
	var image = document.getElementById(image).src.replace(/med/,'big');
	var large = window.open('','large','width=554,height=580,top=20,left=50');
	with(large.document){
		writeln('<html><head><title>::: ATAK :::</title></head>');
		writeln('<body ######="self.focus()" onblur="self.close()" style="margin:0; padding:0;">');
		writeln('<div style="text-align:center;">');
		writeln('<a href="javascript:close()">');
		writeln('<img src="'+image+'" border="0">');
		writeln('</a>');
		writeln('</div></body></html>');
		close();
	}
}

function imghelp(image){
	var large = window.open('','help','width=670,height=460,top=20,left=50');
	with(large.document){
		writeln('<html><head><title>::: ATAK :::</title></head>');
		writeln('<body ######="self.focus()" onblur="self.close()" style="margin:0; padding:0;">');
		writeln('<div style="text-align:center;">');
		writeln('<a href="javascript:close()">');
		writeln('<img src="'+image+'" border="0">');
		writeln('</a>');
		writeln('</div></body></html>');
		close();
	}
}

