function expandingWindow(website) {
var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes,resizable=yes,status=yes,toolbar=yes,directories=yes,location=yes,menubar=yes' // Set width, height, scrollbars etc. here - ad more if necessary 
var heightspeed = 4; // Vertical scrolling speed (higher = higher number)
var widthspeed = 10;  // Horizontal scrolling speed (slower = lower number)
var leftdist = 0;    // Distance only in px. to left edge of screen (window)
var topdist = 0;     // Distance only in px. to top edge of sreen (window)

if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {
var winwidth = window.screen.availWidth - leftdist;
var winheight = window.screen.availHeight - topdist;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)
sizer.resizeTo("1", sizeheight);
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)
sizer.resizeTo(sizewidth, sizeheight);
sizer.location = website;
}
else
window.open(website,'mywindow');
}

/*
Animated Window- By Rizwan Chand (rizwanchand@hotmail.com)
Modified by DD for NS compatibility
Comments modified by Breindal Design for better usability - http://design-af-hjemmesider.it-network.dk
Visit http://www.dynamicdrive.com for this script

Breindal Design:
You can use your own predefined .html documents like 'my_own.html', 'my_own01.html', 'my_own02.html' etc. as targets

You can also trigger the event by means of any other event handler like onMouseOver, onLoad etc.
*/