/************************************************************************
*this script is provided by http://www.CoolandOfficial.com
*
*This script is released under the DuU-NO... License
*It is Cool and Official... You can reuse getHeight .js
*as long as this header stays in place 
*©2007, Samuel Hilson, All Rights Reserved   
*If you have any questions about this script just remember
* my time is more valuable than yours.
*************************************************************************/

// simply takes link from onclick event and opens in a new window.
function open_win(address) {
    window.open(address)
}
//requires 3 argumnets from link to pupup window.
function popUpWindow(SRC,imgwidth,imgheight) {
html = 'container.html?src='+SRC;
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(html, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+imgwidth+",height="+imgheight+",left = 200,top = 200');");
}

