function openchromeless(playerstyle,id,type,wname, W, H, windowREALtit) 
{
	var WArr=W.split(",");
	var HArr=H.split(",");
	var windowW = parseInt(WArr[0])+parseInt(WArr[1])+parseInt(WArr[2]);
	var windowH = parseInt(HArr[0])+parseInt(HArr[1])+parseInt(HArr[2]);
	var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );
	var windowY = Math.ceil( (window.screen.height - windowH) / 2 );

	s = ",width="+windowW +",height="+windowH;
	if (type!=0) type=1;
	var chromeFRMhtml = '' +
	'<HTML>'+ '\n'+
	'<HEAD>'+ '\n'+
	'<TITLE>'+ windowREALtit +'</TITLE>'+ '\n'+
	'</HEAD>'+ '\n'+
	'<frameset framespacing="0" border="0" rows="'+H+'" frameborder="0">'+ '\n'+
	'  <frame name=chromewint scrolling="no" noresize src="'+playerstyle+'rstars_movie_ver2r_top.asp" marginwidth="0" marginheight="0">'+ '\n'+
	'  <frameset cols="'+W+'">'+ '\n'+
	'  <frame name=main scrolling="no" marginwidth="0" marginheight="0" noresize src="'+playerstyle+'rstars_movie_ver2r_show.asp?id=' +id+ '">'+ '\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);

	splashWin.resizeTo( Math.ceil( windowW ) , Math.ceil( windowH ) );
	splashWin.moveTo  ( Math.ceil( windowX ) , Math.ceil( windowY ) );

	splashWin.document.open();
	splashWin.document.write( chromeFRMhtml );
	splashWin.document.close();


	splashWin.focus();
}                                                                               
                                                                                
function quitasaltolinea(txt) 
{
  var salida = txt.toString()
  var re     = /\\/g; var salida = salida.replace(re, "\\\\");
  var re     = /\//g; var salida = salida.replace(re, "\\\/");
  var re     = /\"/g; var salida = salida.replace(re, "\\\"");
  var re     = /\'/g; var salida = salida.replace(re, "\\\'");
  var re     = /\n/g; var salida = salida.replace(re, "\\n");
  var re     = /  /g; var salida = salida.replace(re, "");
  var re     = /\t/g; var salida = salida.replace(re, "");
  var re     = /\r/g; var salida = salida.replace(re, "");

  return salida
}
