var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734079&x=110',
		'title': '',
		'imageId': '69734079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734073&x=110',
		'title': '',
		'imageId': '69734073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734078&x=110',
		'title': '',
		'imageId': '69734078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734071&x=110',
		'title': '',
		'imageId': '69734071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734072&x=110',
		'title': '',
		'imageId': '69734072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734069&x=110',
		'title': '',
		'imageId': '69734069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734074&x=110',
		'title': '',
		'imageId': '69734074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734070&x=110',
		'title': '',
		'imageId': '69734070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734076&x=110',
		'title': '',
		'imageId': '69734076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734075&x=110',
		'title': '',
		'imageId': '69734075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734077&x=110',
		'title': '',
		'imageId': '69734077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010065&docid=69734080&x=110',
		'title': '',
		'imageId': '69734080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010065';

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