Нещо да не му е наред на кода?

What

Registered
Код:
newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body bgcolor= \"' + colour + '\"> <center>');
newwindow.document.writeln('<a title="Hit to close!" href="javascript:window.close();">');
newwindow.document.writeln('<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase=\"'www.download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0'\" width='+ pwidth +' height='+pheight + '>');
newwindow.document.writeln('<param name='movie' value='+ url +'>');
newwindow.document.writeln('<param name='quality' value='high'>');
newwindow.document.writeln('<embed src='+ url +' quality='high' pluginspage='www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='+ pwidth +' height='+pheight +'><\/embed>');
newwindow.document.writeln('<\/object> ');
newwindow.document.writeln('<\/center> <\/body> <\/html>');
 
newwindow.document.writeln('<html> <head> <title>' + title + '<\title> <\head> <body bgcolor= "' + colour + '"> <center>');
newwindow.document.writeln('<a title="Hit to close!" href="javascript:window.close();">');
newwindow.document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="www.download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+ pwidth +'" height="'+pheight +'">');
newwindow.document.writeln('<param name="movie" value="'+ url +'">');
newwindow.document.writeln('<param name="quality" value="high">');
newwindow.document.writeln('<embed src="'+ url +'" quality="high" pluginspage="www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ pwidth +'" height="'+pheight +'"><\embed>');
newwindow.document.writeln('<\object>');
newwindow.document.writeln('<\center><\body><\html>');

Кавичките боза...

И от къде идва този обект newwindow ?
 
ами направих си функция за отваряна на popup само че за flash елементи

Код:
newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',resizable=1,top=50,left=10');
 

Back
Горе