function openchromeless(theURL, wname, W, H, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR, winBGCOLORsel) {

	if ( navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4 ) {
		isie=true;
		if ( navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5,navigator.appVersion.indexOf("MSIE ")+8) >= 5.5 ) {
			isv55=true;
		} else {
			isv55=false;
		}
	} else {
		isie=false;
	}
	
	if ( navigator.userAgent.toLowerCase().indexOf("win")!=-1 ) {
		iswin=true;
	} else {
		iswin=false;
	}

	if (isie) {
		H=H+44+3;
		W=W+2;
	}
	
	var windowW = W;
	var windowH = H;
	
	var windowX = Math.ceil( (window.screen.width  - windowW) - 18);
	var windowY = Math.ceil( (window.screen.height - windowH) - 53);

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

	if (isie && iswin) {

		var chromeFRMhtml = '' +
'<HTML>																							'+ '\n'+
'<HEAD>                                                                         													'+ '\n'+
'<TITLE>'+ titWIN +'</TITLE>                                          															'+ '\n'+
'</HEAD>                                                                        													'+ '\n'+
'<script> 																						'+ '\n'+
'top.mainloaded = false																					'+ '\n'+
'function generatetitle() { 																				'+ '\n'+
'	if( window.frames["bordeL"] && window.frames["bordeB"] && window.frames["bordeR"] && window.frames["bordeM"] ) {					'+ '\n'+
'		bordeL.document.bgColor="'+ winBORDERCOLOR +'"																'+ '\n'+
'		bordeR.document.bgColor="'+ winBORDERCOLOR +'"																'+ '\n'+
'		bordeB.document.bgColor="'+ winBORDERCOLOR +'"																'+ '\n'+
'		bordeT.document.bgColor="'+ winBORDERCOLOR +'"																'+ '\n'+
'	} else {																					'+ '\n'+
'		setTimeout("generatetitle()",20)																	'+ '\n'+
'	}																						'+ '\n'+
'}																							'+ '\n'+
'top.window.h='+H+'																					'+ '\n'+
'top.window.w='+W+'																					'+ '\n'+
'top.window.x='+windowX+'																				'+ '\n'+
'top.window.y='+windowY+'																				'+ '\n'+
'generatetitle()																					'+ '\n'+
'</script>																						'+ '\n'+
'<frameset onfocus="top.window.moveTo(top.window.x,top.window.y)" border=0 framespacing=0 frameborder=0 cols="1,100%,1"> 					'+ '\n'+
'	<frame name=bordeL src="about:blank" scrolling=no noresize> 															'+ '\n'+
'	<frameset onload="top.mainloaded=true" border=0 framespacing=0 frameborder=0 rows="1,100%,1">        													'+ '\n'+
'		<frame name=bordeT src="about:blank" scrolling=no noresize> 														'+ '\n'+
'		<frame name=main   src="'+theURL+'" scrolling=no noresize>                   															'+ '\n'+
'		<frame name=bordeB src="about:blank" scrolling=no noresize> 														'+ '\n'+
'	</frameset>                                                             													'+ '\n'+
'	<frame name=bordeR src="about:blank" scrolling=no noresize> 															'+ '\n'+
'</frameset> 																						'+ '\n'+
'</HTML>                                                                        													'

		splashWin = window.open( "" , wname, "fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0"+s);
	
		if (!(navigator.userAgent.toLowerCase().indexOf("mozilla/5")!=-1)) {
			splashWin.resizeTo( Math.ceil( W )       , Math.ceil( H ) );
		}
		
		splashWin.moveTo  ( Math.ceil( windowX ) , Math.ceil( windowY ) );
		splashWin.document.open();
		splashWin.document.write( chromeFRMhtml );
		splashWin.document.close();
		
		splashWin.focus();

	} else {
	  var top=(screen.height-H)-53;
    var left=(screen.width-W)-18;
		
		splashWin = window.open(theURL, wname, "top="+top+",left="+left+",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1"+s, true);
		splashWin.focus();
	}

	return splashWin
}
