var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431978&x=1532',
		'title': '',
		'imageId': '70431978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431982&x=1532',
		'title': '',
		'imageId': '70431982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431983&x=1532',
		'title': '',
		'imageId': '70431983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431986&x=1532',
		'title': '',
		'imageId': '70431986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431981&x=1532',
		'title': '',
		'imageId': '70431981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431984&x=1532',
		'title': '',
		'imageId': '70431984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431979&x=1532',
		'title': '',
		'imageId': '70431979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431985&x=1532',
		'title': '',
		'imageId': '70431985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431977&x=1532',
		'title': '',
		'imageId': '70431977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029199&docid=70431980&x=1532',
		'title': '',
		'imageId': '70431980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029199';

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