/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function initThickbox(){
    tb_init('a.thickbox');//pass where to apply thickbox
    imgLoader = new Image();// preload image
    imgLoader.src = tb_pathToImage;
}

$(document).ready(function () {
   initThickbox();
});