function imgwin(src,w,h,name){
var win=window.open("",name,"width="+w+",height="+h+",resizable=0,scrollbars=0,top=0,left=0'")
win.document.open()
win.document.writeln("<html><head><title>SOLDAM Online</title></head>")
win.document.writeln("<body onBlur=closeWin() bgcolor=#ffffff leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>")
win.document.writeln("<img src='"+src+"'></body></html>")
win.document.writeln("<script language=javascript>function closeWin(){window.close();}</script>")
win.document.writeln("</body></html>")
win.document.close()
win.focus();
if(navigator.userAgent.indexOf("Mac")!=-1){
win.resizeTo(w,h)
}
}

function openWin(url,name,features) {
	var newWin=window.open(url,name,features);
	if  (newWin.opener == null)
		{newWin.opener = window;}
	else {newWin.focus();}
}

function MakeChild(strFileName)
{
	window.open(strFileName,"","width=600,height=450,resizable=1,scrollbars=1");
}

function MakeChild2(strFileName)
{
	window.open(strFileName,"","width=650,height=600,resizable=1,scrollbars=1");
}

function MakeChild3(strFileName)
{
	window.open(strFileName,"","width=900,height=650,resizable=1,scrollbars=1");
}

function MakeChild4(strFileName)
{
	window.open(strFileName,"","width=700,height=500,resizable=1,scrollbars=1");
}
