////////////////////////////////////
// Created By: Kris Nicolaou
// Date: 2007-03-08
// Company: McGraw-Hill Ryerson
////////////////////////////////////

function popup_image(book, section, img_name, subsection){
    var iBook = "book="+book;
    var iSection = "section="+section;
    var iSubsection = "subsection="+subsection;
    var iImage = "img="+img_name;
    var completeUrl = "popup.php?"+iBook+"&"+iSection+"&"+iSubsection+"&"+iImage;
    //alert(completeUrl);
	var newWindow = window.open(completeUrl, "image_view", "status=1, height=400, width=400, resizable=1" )
    newWindow.focus();
}

/*
directories - the "LINKS" or "EXTRA" toolbar
location - the address or URL toolbar
menubar - the toolbar with FILE, EDIT, VIEW, etc.
resizable - allows the visitor to be able to resize the new window or not
scrollbars - forces vertical scrollbars to appear or not. Rarely used property
status - the status bar along the bottom of the browser window
toolbar - the toolbar with BACK, FORWARD, REFRESH, etc.
height,width - the height and width of the new window in pixels
*/
