Index: lams_central/web/includes/javascript/thickbox.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/thickbox.js,v diff -u -r1.1 -r1.1.2.1 --- lams_central/web/includes/javascript/thickbox.js 11 Dec 2012 11:29:44 -0000 1.1 +++ lams_central/web/includes/javascript/thickbox.js 2 May 2015 08:16:42 -0000 1.1.2.1 @@ -7,13 +7,6 @@ /*This script has been modified by LAMS.*/ -// fixed according to: http://jamazon.co.uk/web/2008/03/14/jquerybrowserversion-doesnt-recognise-ie7/ -$.browser.msie6 = -$.browser.msie -&& /MSIE 6\.0/i.test(window.navigator.userAgent) -&& !/MSIE 7\.0/i.test(window.navigator.userAgent) -&& !/MSIE 8\.0/i.test(window.navigator.userAgent); - /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ //on page load call tb_init @@ -292,12 +285,6 @@ function tb_position() { jQuery("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); - var version = jQuery.browser.version; - if (version instanceof Object) - version=version.number(); - if ( !(jQuery.browser.msie6)) { // take away IE6; fixed according to: http://jamazon.co.uk/web/2008/03/14/jquerybrowserversion-doesnt-recognise-ie7/ - $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); - } } function tb_parseQuery ( query ) {