var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572795&x=325',
		'title': '',
		'imageId': '68572795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572801&x=325',
		'title': '',
		'imageId': '68572801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572804&x=325',
		'title': '',
		'imageId': '68572804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572803&x=325',
		'title': '',
		'imageId': '68572803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572793&x=325',
		'title': '',
		'imageId': '68572793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572797&x=325',
		'title': '',
		'imageId': '68572797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572800&x=325',
		'title': '',
		'imageId': '68572800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572796&x=325',
		'title': '',
		'imageId': '68572796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572799&x=325',
		'title': '',
		'imageId': '68572799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572794&x=325',
		'title': '',
		'imageId': '68572794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954484&docid=68572798&x=325',
		'title': '',
		'imageId': '68572798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954484';

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