var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868533&x=365',
		'title': '',
		'imageId': '69868533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868531&x=365',
		'title': '',
		'imageId': '69868531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868537&x=365',
		'title': '',
		'imageId': '69868537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868534&x=365',
		'title': '',
		'imageId': '69868534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868535&x=365',
		'title': '',
		'imageId': '69868535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868530&x=365',
		'title': '',
		'imageId': '69868530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868538&x=365',
		'title': '',
		'imageId': '69868538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868532&x=365',
		'title': '',
		'imageId': '69868532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868539&x=365',
		'title': '',
		'imageId': '69868539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006437&docid=69868536&x=365',
		'title': '',
		'imageId': '69868536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006437';

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