var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182959&x=443',
		'title': '',
		'imageId': '71182959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182976&x=443',
		'title': '',
		'imageId': '71182976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182977&x=443',
		'title': '',
		'imageId': '71182977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182940&x=443',
		'title': '',
		'imageId': '71182940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182942&x=443',
		'title': '',
		'imageId': '71182942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182945&x=443',
		'title': '',
		'imageId': '71182945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182944&x=443',
		'title': '',
		'imageId': '71182944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182958&x=443',
		'title': '',
		'imageId': '71182958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182960&x=443',
		'title': '',
		'imageId': '71182960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182961&x=443',
		'title': '',
		'imageId': '71182961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182962&x=443',
		'title': '',
		'imageId': '71182962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182965&x=443',
		'title': '',
		'imageId': '71182965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182974&x=443',
		'title': '',
		'imageId': '71182974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182975&x=443',
		'title': '',
		'imageId': '71182975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182978&x=443',
		'title': '',
		'imageId': '71182978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182941&x=443',
		'title': '',
		'imageId': '71182941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057238&docid=71182943&x=443',
		'title': '',
		'imageId': '71182943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057238';

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