function openWindow(url, width, height)
{
	var newWindow;
	try 
	{
		width += 30;
		height += 35;
		newWindow = open(url, "", "width=" + width + ",height=" + height);
		newWindow.focus ();
	} 
	catch (e)
	{
		alert(e.message);
	}
	return true;
}
function openInFrame() {

	if (top.location == self.location) {
		//alert("called standalone");
		top.location.replace("index.html");
	}
}

