var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=70025093&x=2859',
		'title': '',
		'imageId': '70025093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=70025092&x=2859',
		'title': '',
		'imageId': '70025092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=70025094&x=2859',
		'title': '',
		'imageId': '70025094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=70025137&x=2859',
		'title': '',
		'imageId': '70025137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=70025138&x=2859',
		'title': '',
		'imageId': '70025138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=64864238&x=2859',
		'title': '',
		'imageId': '64864238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=64864244&x=2859',
		'title': '',
		'imageId': '64864244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=70024816&x=2859',
		'title': '',
		'imageId': '70024816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=64864239&x=2859',
		'title': '',
		'imageId': '64864239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=64864250&x=2859',
		'title': '',
		'imageId': '64864250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=64864245&x=2859',
		'title': '',
		'imageId': '64864245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012859&docid=64864249&x=2859',
		'title': '',
		'imageId': '64864249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012859';

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