Hello,
I want to open another HTML file "FILE2.html" for example when a link in "File1.html" is clicked, and I want to control the appearance of the opened file "File2.html" to have no menubar, toolbar, and control its width or height, ... etc

I know that this is done by Javascript and here is the function to do it:

function OpenWindow(URL, Name)
{
open(URL,Name, "width=640,height=480,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scroll bars=yes,status=0,toolbar=0")
}


but What I want is to transfer this code to the opened file, so I need not to run JavaScript in the source file "File1.html".

Can this be done?