var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704450&x=159',
		'title': '',
		'imageId': '68704450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704451&x=159',
		'title': '',
		'imageId': '68704451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704452&x=159',
		'title': '',
		'imageId': '68704452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704453&x=159',
		'title': '',
		'imageId': '68704453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704454&x=159',
		'title': '',
		'imageId': '68704454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704461&x=159',
		'title': '',
		'imageId': '68704461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704462&x=159',
		'title': '',
		'imageId': '68704462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704463&x=159',
		'title': '',
		'imageId': '68704463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704468&x=159',
		'title': '',
		'imageId': '68704468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955268&docid=68704449&x=159',
		'title': '',
		'imageId': '68704449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955268';

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