var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69832996&x=5320',
		'title': '',
		'imageId': '69832996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69832997&x=5320',
		'title': '',
		'imageId': '69832997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69832998&x=5320',
		'title': '',
		'imageId': '69832998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69833001&x=5320',
		'title': '',
		'imageId': '69833001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69833002&x=5320',
		'title': '',
		'imageId': '69833002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69832999&x=5320',
		'title': '',
		'imageId': '69832999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69833000&x=5320',
		'title': '',
		'imageId': '69833000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69833004&x=5320',
		'title': '',
		'imageId': '69833004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69833003&x=5320',
		'title': '',
		'imageId': '69833003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004810&docid=69833005&x=5320',
		'title': '',
		'imageId': '69833005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004810';

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