var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271345&x=5353',
		'title': '',
		'imageId': '69271345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271349&x=5353',
		'title': '',
		'imageId': '69271349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271346&x=5353',
		'title': '',
		'imageId': '69271346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271348&x=5353',
		'title': '',
		'imageId': '69271348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271341&x=5353',
		'title': '',
		'imageId': '69271341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271347&x=5353',
		'title': '',
		'imageId': '69271347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271350&x=5353',
		'title': '',
		'imageId': '69271350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271344&x=5353',
		'title': '',
		'imageId': '69271344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271342&x=5353',
		'title': '',
		'imageId': '69271342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980317&docid=69271343&x=5353',
		'title': '',
		'imageId': '69271343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980317';

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