var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855264&x=118',
		'title': '',
		'imageId': '69855264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855272&x=118',
		'title': '',
		'imageId': '69855272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855269&x=118',
		'title': '',
		'imageId': '69855269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855268&x=118',
		'title': '',
		'imageId': '69855268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855266&x=118',
		'title': '',
		'imageId': '69855266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855273&x=118',
		'title': '',
		'imageId': '69855273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855270&x=118',
		'title': '',
		'imageId': '69855270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855271&x=118',
		'title': '',
		'imageId': '69855271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855267&x=118',
		'title': '',
		'imageId': '69855267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005803&docid=69855265&x=118',
		'title': '',
		'imageId': '69855265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005803';

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