var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737436&x=3235',
		'title': '',
		'imageId': '68737436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737437&x=3235',
		'title': '',
		'imageId': '68737437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737438&x=3235',
		'title': '',
		'imageId': '68737438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737441&x=3235',
		'title': '',
		'imageId': '68737441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737442&x=3235',
		'title': '',
		'imageId': '68737442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737443&x=3235',
		'title': '',
		'imageId': '68737443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737444&x=3235',
		'title': '',
		'imageId': '68737444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737445&x=3235',
		'title': '',
		'imageId': '68737445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737439&x=3235',
		'title': '',
		'imageId': '68737439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956462&docid=68737440&x=3235',
		'title': '',
		'imageId': '68737440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956462';

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