function openLink(url) {
    window.open(url,'mywindow','width=600,height=400,addressbar=yes,scrollbars=yes,toolbar=yes,resizable=yes,menubar=yes');
}
function openNewWin(url) {
    window.open(url,'NewWin','width=320,height=325,addressbar=no,scrollbars=no,toolbar=no,resizable=no,menubar=no');
}

function openImage(url, vHeight, vWidth)
{
	if (url == '')
	{
		return;
	}

	winDef = 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(vHeight).concat(',').concat('width=').concat(vWidth).concat(',');
	winDef = winDef.concat('top=').concat((screen.height - vHeight)/2 + 20).concat(',');
	winDef = winDef.concat('left=').concat((screen.width - vWidth)/2 + 20);
	newwin = open('', '_blank', winDef);

	newwin.document.writeln('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">');
	newwin.document.writeln('<a href="JavaScript:window.close()"><img src="', url, '" alt="', (fBrw) ? '&#272;&#243;ng l&#7841;i' : 'Dong lai', '" border=0></a>');
	newwin.document.writeln('</body>');
}


function myclick(objPath)
{
    document.frmRSSView.objPath.value = objPath;
    pathURL = document.frmRSSView.locationPath.value + "/RSS/news.rss?objPath=" + objPath
	document.frmRSSView.action = document.frmRSSView.locationPath.value + "/RSS/news.rss";
    window.open(pathURL, "", "toolbar=yes,location=no,directories=no,status=yes, menubar=no,scrollbars=yes,resizable=yes,copyhistory=no, width=800, height=500");
}