var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369758&x=1258',
		'title': '',
		'imageId': '68369758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369755&x=1258',
		'title': '',
		'imageId': '68369755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369754&x=1258',
		'title': '',
		'imageId': '68369754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369759&x=1258',
		'title': '',
		'imageId': '68369759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369768&x=1258',
		'title': '',
		'imageId': '68369768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369762&x=1258',
		'title': '',
		'imageId': '68369762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369760&x=1258',
		'title': '',
		'imageId': '68369760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369767&x=1258',
		'title': '',
		'imageId': '68369767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369761&x=1258',
		'title': '',
		'imageId': '68369761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369763&x=1258',
		'title': '',
		'imageId': '68369763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946544&docid=68369766&x=1258',
		'title': '',
		'imageId': '68369766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946544';

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