var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661540&x=2926',
		'title': '',
		'imageId': '69661540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661538&x=2926',
		'title': '',
		'imageId': '69661538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661541&x=2926',
		'title': '',
		'imageId': '69661541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661532&x=2926',
		'title': '',
		'imageId': '69661532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661542&x=2926',
		'title': '',
		'imageId': '69661542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661534&x=2926',
		'title': '',
		'imageId': '69661534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661533&x=2926',
		'title': '',
		'imageId': '69661533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661536&x=2926',
		'title': '',
		'imageId': '69661536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661535&x=2926',
		'title': '',
		'imageId': '69661535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661543&x=2926',
		'title': '',
		'imageId': '69661543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661537&x=2926',
		'title': '',
		'imageId': '69661537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998112&docid=69661539&x=2926',
		'title': '',
		'imageId': '69661539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998112';

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