/*

 ' Program - Chobi Dekha
 ' File Name - chobi_dekha.js
 ' Author - Shovon
 ' Email - shuvorim@yahoo.com
 ' Web site - http://www29.websamba.com/shovon
 ' (C) ShuvoRim Pvt. Ltd.
 ' All rights reserved.

 ' Mailing Address-
 ' North Palace (8th Floor), Flat-9A
 ' 75, North Road, Dhanmondi
 ' Dhaka-1205, Bangladesh.


 ' This program is free software; you can redistribute it and/or modify
 ' it under the terms of the GNU General Public License as published by
 ' the Free Software Foundation; either version 2 of the License, or
 ' (at your option) any later version.

 ' This program is distributed in the hope that it will be useful,
 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ' GNU General Public License for more details.

 ' You should have received a copy of the GNU General Public License
 ' along with this program; if not, write to the Free Software
 ' Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

*/



var img = new Image();
var newWin;


/*************************************
 * Function: loadImage(arg1, arg2)
 * Purpose: Loads a new thumbnail for
 * preview.
 *************************************/
function loadImage(fileName, url)
{
  this.url = url;
  img.src = fileName;
  document.preview.src = img.src;
}


/**********************************************
 * Function: bigImage()
 * Purpose: Displays the bigger version of the
 * current thumbnail in a popup window.
 **********************************************/
function bigImage()
{
  newWin = window.open(url,"big","menubar=0,toolbar=0,status=0,resizable=0,scrollbars=0, width=1000, height=750");
}
