var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979698&x=4411',
		'title': '',
		'imageId': '69979698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979703&x=4411',
		'title': '',
		'imageId': '69979703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979704&x=4411',
		'title': '',
		'imageId': '69979704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979707&x=4411',
		'title': '',
		'imageId': '69979707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979701&x=4411',
		'title': '',
		'imageId': '69979701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979700&x=4411',
		'title': '',
		'imageId': '69979700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979708&x=4411',
		'title': '',
		'imageId': '69979708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979702&x=4411',
		'title': '',
		'imageId': '69979702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979697&x=4411',
		'title': '',
		'imageId': '69979697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979705&x=4411',
		'title': '',
		'imageId': '69979705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979699&x=4411',
		'title': '',
		'imageId': '69979699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010729&docid=69979706&x=4411',
		'title': '',
		'imageId': '69979706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010729';

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