var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389390&x=1616',
		'title': '',
		'imageId': '68389390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389391&x=1616',
		'title': '',
		'imageId': '68389391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389392&x=1616',
		'title': '',
		'imageId': '68389392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389393&x=1616',
		'title': '',
		'imageId': '68389393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389394&x=1616',
		'title': '',
		'imageId': '68389394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389395&x=1616',
		'title': '',
		'imageId': '68389395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389396&x=1616',
		'title': '',
		'imageId': '68389396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389397&x=1616',
		'title': '',
		'imageId': '68389397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389398&x=1616',
		'title': '',
		'imageId': '68389398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941034&docid=68389399&x=1616',
		'title': '',
		'imageId': '68389399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3941034';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
