var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575793&x=4459',
		'title': '',
		'imageId': '68575793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575797&x=4459',
		'title': '',
		'imageId': '68575797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575795&x=4459',
		'title': '',
		'imageId': '68575795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575794&x=4459',
		'title': '',
		'imageId': '68575794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575798&x=4459',
		'title': '',
		'imageId': '68575798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575796&x=4459',
		'title': '',
		'imageId': '68575796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575800&x=4459',
		'title': '',
		'imageId': '68575800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575801&x=4459',
		'title': '',
		'imageId': '68575801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575803&x=4459',
		'title': '',
		'imageId': '68575803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575802&x=4459',
		'title': '',
		'imageId': '68575802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575799&x=4459',
		'title': '',
		'imageId': '68575799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949575&docid=68575775&x=4459',
		'title': '',
		'imageId': '68575775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949575';

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