//OpenWindow

function OpenBrWindow(theURL,winName,features) { //v2.0
//	title=winName;
w=window.open(theURL,winName,features);
w.document.write("<HTML><HEAD><TITLE>"+winName+"</TITLE><meta http-equiv='Imagetoolbar' content='No'></HEAD>");
w.document.write("<BODY leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
w.document.write("<a href='javascript:window.close()'><IMG src='"+theURL+"' border=0 alt='Klicka för att stänga'></a>");
w.document.write("</BODY></HTML>");
w.moveTo(0,0);
w.focus(winName);
w.document.close();
}
function openNewWindow(winURL,winWidth,winHeight,winConfig)
{
	mmConfig=""
	mmConfig="width="+winWidth+","
	mmConfig+="height="+winHeight+","
	mmConfig+=winConfig
	var mmWin=open(winURL,"",mmConfig);
	mmWin.focus();
}

function openIFrame(iFrameId,winURL)
{
	ifId=gmobj(iFrameId)
	ifId.src=winURL
}