// Client-side scripts for Wizarding World of Harry Potter
//
// Mediastation 2009

function pageScroll()
{
	window.scroll(0,110);	
}

function openPopup(url, target, params)
{
	try
	{
		var popup = window.open(url, target, params);
		if (popup == null)
			return false;
		if (window.opera)
			if (!popup.opera)
				return false;
	
	}
	catch(err)
	{
		return false;	
	}	
	return true;
}

function closeThisWindow()
{
	win = top;
	win.opener = top;
	win.close ();
}
 

 
