/*---------------------------------------------------------BEGIN New Window--*/
/*---------------------------------------------------------------------------*/
/* NewWindow                                               Written by: quzax */
/*                                            email: quzax@mylamewebsite.com */
/*---------------------------------------------------------------------------*/
/* A small javascript for opening new windows. The properties for each       */
/* window are set differently so you can change sizes & toolbars etc.        */
/*                                                                           */
/*-***Instructions:***-------------------------------------------------------*/
/* 1. Place this JS inside the "href" of your anchor tag:                    */
/*
         javascript: NewWindow('linktopage.html', 'windowname', 'y/n',
		    'y/n', 'y/n', 'y/n', 'y/n', 'y/n', 'y/n', 'width', 'height');
                                                                             */
/* 2. The format of the variables is:                                        */
/*       NewWindow('PageURL', 'WindowName', 'ToolBar', 'Location',           */
/*          'Directories', 'Status', 'MenuBar', 'ScrollBars', 'Resizable',   */
/*          'Width', 'Height')                                               */
/*    PageURL: the URL "http://www.domain.com" or "page.html"                */
/*    WindowName: the name of the window "adwindow", use the same name if    */
/*       you want multiple links to open in the same window if it is left    */
/*       open. This is not the title of the page.                            */
/*    ToolBar, Location, Directories, Status, Menubar, ScrollBars,           */
/*       and Resizable: "y" or "n" depending on wether or not you want to    */
/*       enable/show that item.                                              */
/*    Width & Height: the width & height of the window in pixels (interior   */
/*       dimension.                                                          */
/*    EX:                                                                    */
/*
         <a href="javascript: NewWindow('http://www.mediabang.com', 'popup',
		    'no', 'no', 'no', 'no', 'no', 'no', 'no', '600', '300');">
			new window</a>
			                                                                 */
/* Would open a new window 600 pixels wide & 300 pixels tall without         */
/* toolbar, location bar, directory bar, status bar, menubar, scrollbars,    */
/* and the window would not be resizable.                                    */
/*---------------------------------------------------------------------------*/

/* do not modify below this line                                             */
/*---------------------------BEGIN New Window--------------------------------*/
function NewWindow(PageURL, WindowName, ToolBar, Location, Directories, Status, MenuBar, ScrollBars, Resizable, Width, Height) {
	var NewWin;
	NewWin = window.open(PageURL, WindowName, 'toolbar=' + ToolBar + ',location=' + Location + ',directories=' + Directories + ',status=' + Status + ',menubar=' + MenuBar + ',scrollbars=' + ScrollBars + ',resizable=' + Resizable + ',width=' + Width + ',height=' + Height);
	NewWin.focus();
}
/*---------------------------END New Window----------------------------------*/
/*-----------------------------------------------------------END New Window--*/




