var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973629&x=354',
		'title': '',
		'imageId': '69973629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973628&x=354',
		'title': '',
		'imageId': '69973628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973634&x=354',
		'title': '',
		'imageId': '69973634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973638&x=354',
		'title': '',
		'imageId': '69973638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973631&x=354',
		'title': '',
		'imageId': '69973631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973645&x=354',
		'title': '',
		'imageId': '69973645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973633&x=354',
		'title': '',
		'imageId': '69973633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973642&x=354',
		'title': '',
		'imageId': '69973642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973643&x=354',
		'title': '',
		'imageId': '69973643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010595&docid=69973640&x=354',
		'title': '',
		'imageId': '69973640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010595';

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