var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68853337&x=5841',
		'title': '',
		'imageId': '68853337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68853334&x=5841',
		'title': '',
		'imageId': '68853334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68853336&x=5841',
		'title': '',
		'imageId': '68853336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68853335&x=5841',
		'title': '',
		'imageId': '68853335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803433&x=5841',
		'title': '',
		'imageId': '68803433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803425&x=5841',
		'title': '',
		'imageId': '68803425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803419&x=5841',
		'title': '',
		'imageId': '68803419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803435&x=5841',
		'title': '',
		'imageId': '68803435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803416&x=5841',
		'title': '',
		'imageId': '68803416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803423&x=5841',
		'title': '',
		'imageId': '68803423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803426&x=5841',
		'title': '',
		'imageId': '68803426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803427&x=5841',
		'title': '',
		'imageId': '68803427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803417&x=5841',
		'title': '',
		'imageId': '68803417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803424&x=5841',
		'title': '',
		'imageId': '68803424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803428&x=5841',
		'title': '',
		'imageId': '68803428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803430&x=5841',
		'title': '',
		'imageId': '68803430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803432&x=5841',
		'title': '',
		'imageId': '68803432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68803434&x=5841',
		'title': '',
		'imageId': '68803434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68879452&x=5841',
		'title': '',
		'imageId': '68879452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68879449&x=5841',
		'title': '',
		'imageId': '68879449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68879451&x=5841',
		'title': '',
		'imageId': '68879451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68879453&x=5841',
		'title': '',
		'imageId': '68879453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965786&docid=68879450&x=5841',
		'title': '',
		'imageId': '68879450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965786';

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";
	})
}
