function showdevelop()
{
	alert("Fejlesztés alatt");
	
}

function SwapHL(kepnev, filename)
{
	document.getElementById(kepnev).src = "/images/system/" + filename + "_roll.jpg"
	
}

function SwapNormal(kepnev, filename)
{
	document.getElementById(kepnev).src = "/images/system/" + filename + ".jpg"
	
}

function popImage(e)
{
	if (!e) var e = window.event;
	if (e.target) 
	{
		var tnfile = e.target.src;
	}
	else
	{
		var tnfile = e.srcElement.src;	
	}
	
	
	var picfilepath = tnfile.substring(0,tnfile.indexOf("tn_"));
	var picfilename = tnfile.substring(tnfile.indexOf("tn_")+3);
	var picfile = picfilepath + picfilename;
	var kepx=800;
	var kepy= 600;
	
	xpos = (screen.width - kepx)/2;
	ypos = (screen.height - kepy)/2;
	var opt="scrollbars='0',status='0',width="+kepx+",height="+kepy+",left="+xpos+",top="+ypos;

	var AutoClose = false;
	
	imgWin=window.open('about:blank','',opt);
	
	with (imgWin.document)
	{
		writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');
		writeln("<script type='text/javascript'> function sizeme(){");
		writeln("iWidth = document.getElementById('actimage').width;");
		writeln("iHeight = document.getElementById('actimage').height;");
		writeln("window.resizeBy(iWidth-800, iHeight-600);");
		writeln("window.moveTo((screen.width-iWidth)/2,(screen.height-iHeight)/2);");
		writeln("}</script>")
		if (!AutoClose) writeln('</head><body onload="javascript:sizeme()" bgcolor=#a7d3f0 scroll="no" ;self.focus()">')
		
		writeln('<img id="actimage" src='+picfile+' style="display:block"></body></html>');
		close();	
		
	}

}