var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991529&x=2447',
		'title': '',
		'imageId': '69991529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991534&x=2447',
		'title': '',
		'imageId': '69991534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991531&x=2447',
		'title': '',
		'imageId': '69991531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991533&x=2447',
		'title': '',
		'imageId': '69991533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991530&x=2447',
		'title': '',
		'imageId': '69991530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991525&x=2447',
		'title': '',
		'imageId': '69991525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991528&x=2447',
		'title': '',
		'imageId': '69991528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991535&x=2447',
		'title': '',
		'imageId': '69991535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991536&x=2447',
		'title': '',
		'imageId': '69991536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991532&x=2447',
		'title': '',
		'imageId': '69991532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991527&x=2447',
		'title': '',
		'imageId': '69991527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011438&docid=69991526&x=2447',
		'title': '',
		'imageId': '69991526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011438';

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