function openchromeless(theURL)	//, wname)	//, W, H)	//, windowCERRARa, windowCERRARd, windowCERRARo, windowTIT, windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel) 
{
	var g_fIsSP2 = false;
   g_fIsSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
 
	if (g_fIsSP2)
	{

		W=500;//screen.width;
		H=500;//screen.height;
	
		wname = "home"
	
		//alert(theURL + " in func")
	
		var windowW = W;
		var windowH = H;
		var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );
		var windowY = Math.ceil( (window.screen.height - windowH) / 2 );

		if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) 
			isie=true
		else 
			isie=false

		if (isie) { H=H+20+2; W=W+2; }

		s = ",width="+W+",height="+H;

		if (isie) {
			//alert ("is IE");
			//var parameters = escape( theURL+"|"+windowCERRARa+"|"+windowCERRARd+"|"+windowCERRARo+"|"+windowTIT+"|"+windowBORDERCOLOR+"|"+windowBORDERCOLORsel+"|"+windowTITBGCOLOR+"|"+windowTITBGCOLORsel)

		splashWin = window.open( theURL , wname, "width="+W+",height="+H+",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0");

		splashWin.resizeTo( Math.ceil( W )       , Math.ceil( H ) )
		splashWin.moveTo  ( Math.ceil( windowX ) , Math.ceil( windowY ) )

		splashWin.document.open("text/html", "replace");
		splashWin.document.write("<html><style type='text/css'>\n");
		splashWin.document.write("body  { border: 1px solid #001B35; overflow: hidden; margin: 0pt; background-color:#000000}");
		splashWin.document.write("#stillloadingDiv 	{ position: absolute; left: 0px; top: 0px; width: 100%px; height: 19px; z-index: 1; background-color: #000000; layer-background-color: #000000; clip:rect(0,100%,19,0);}");
		splashWin.document.write("</style>\n");
		splashWin.document.write("<body bgcolor='#000000' onload=\"top.document.location.replace('"+theURL+"')\" TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scroll='no'>");
		splashWin.document.write("<div id=stillloadingDiv><table width=100% height=22 cellspacing=0 cellpadding=0 bgcolor=#000000><tr><td bgcolor=#000000 align=left valign=middle width=100%><FONT size=1 face=verdana color=#000000>&nbsp;&nbsp; L O A D I N G . . .</font></td></tr></table></div>");
		splashWin.document.write("</body></html>");
		splashWin.document.close();

	}
	else
	{
		//alert("hello123");
		//var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0"+s, true)
		var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0"+s, true)
	}

	splashWin.focus();
   
   //alert(g_fIsSP2);
   //This browser is Internet Explorer in SP2. 
   }
   else
   {
   //alert("My function");
   //This browser is not Internet Explorer in SP2.
  
 
	W=500;//screen.width;
	H=500;//screen.height;
	
	wname = "home"
	
	//alert(theURL + " in func")
	
	var windowW = W;
	var windowH = H;
	var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );
	var windowY = Math.ceil( (window.screen.height - windowH) / 2 );

	if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) isie=true
	else isie=false

	if (isie) { H=H+20+2; W=W+2; }

	s = ",width="+W+",height="+H;

	if (isie) {
		//alert ("is IE");
		//var parameters = escape( theURL+"|"+windowCERRARa+"|"+windowCERRARd+"|"+windowCERRARo+"|"+windowTIT+"|"+windowBORDERCOLOR+"|"+windowBORDERCOLORsel+"|"+windowTITBGCOLOR+"|"+windowTITBGCOLORsel)

		splashWin = window.open( theURL , wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0"+s)

		splashWin.resizeTo( Math.ceil( W )       , Math.ceil( H ) )
		splashWin.moveTo  ( Math.ceil( windowX ) , Math.ceil( windowY ) )

		splashWin.document.open("text/html", "replace");
		splashWin.document.write("<html><style type='text/css'>\n");
		splashWin.document.write("body  { border: 1px solid #001B35; overflow: hidden; margin: 0pt; background-color:#000000}");
		splashWin.document.write("#stillloadingDiv 	{ position: absolute; left: 0px; top: 0px; width: 100%px; height: 19px; z-index: 1; background-color: #000000; layer-background-color: #000000; clip:rect(0,100%,19,0);}");
		splashWin.document.write("</style>\n");
		splashWin.document.write("<body bgcolor='#000000' onload=\"top.document.location.replace('"+theURL+"')\" TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scroll='no'>");
		splashWin.document.write("<div id=stillloadingDiv><table width=100% height=22 cellspacing=0 cellpadding=0 bgcolor=#000000><tr><td bgcolor=#000000 align=left valign=middle width=100%><FONT size=1 face=verdana color=#000000>&nbsp;&nbsp; L O A D I N G . . .</font></td></tr></table></div>");
		splashWin.document.write("</body></html>");
		splashWin.document.close();

	}
	else
	{
		//alert ("is mozilla");
		//var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0"+s, true)
		var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0"+s, true)
	}

	splashWin.focus();
   }

}