// JavaScript file written by Raul Secan

function nothing() { }

function openWindow(page, width, height, scroll) 
{
	if (scroll == 'no') width = width + 20;
	if (scroll == 'no') height = height + 20;

	var winl = (width) ? (screen.width - width) / 2 : 1;
	var wint = (height) ? (screen.height - height) / 2 : 1;
	if (!width) width = 700;
	if (!height) height = 530;
	var windowToolbar = (scroll != 'no') ? 'toolbar=yes, status=yes' : 'toolbar=no, status=no';
	windowProperties = 'height='+height+', width='+width+', top='+wint+', left='+winl+', scrollbars='+scroll+', resizable=no, directories=no, location=no, menubar=no, titlebar=yes, '+windowToolbar;
	win = window.open(page, '_blank', windowProperties)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function isFrame(link)
{
	if (window != parent) top.location.href = link;
}