var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981381&x=214',
		'title': '',
		'imageId': '69981381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981382&x=214',
		'title': '',
		'imageId': '69981382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981384&x=214',
		'title': '',
		'imageId': '69981384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981389&x=214',
		'title': '',
		'imageId': '69981389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981385&x=214',
		'title': '',
		'imageId': '69981385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981379&x=214',
		'title': '',
		'imageId': '69981379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981390&x=214',
		'title': '',
		'imageId': '69981390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981380&x=214',
		'title': '',
		'imageId': '69981380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981383&x=214',
		'title': '',
		'imageId': '69981383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981386&x=214',
		'title': '',
		'imageId': '69981386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981387&x=214',
		'title': '',
		'imageId': '69981387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010757&docid=69981388&x=214',
		'title': '',
		'imageId': '69981388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010757';

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