var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050264&x=4313',
		'title': '',
		'imageId': '70050264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050266&x=4313',
		'title': '',
		'imageId': '70050266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050265&x=4313',
		'title': '',
		'imageId': '70050265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050267&x=4313',
		'title': '',
		'imageId': '70050267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050246&x=4313',
		'title': '',
		'imageId': '70050246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050251&x=4313',
		'title': '',
		'imageId': '70050251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050254&x=4313',
		'title': '',
		'imageId': '70050254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050257&x=4313',
		'title': '',
		'imageId': '70050257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050247&x=4313',
		'title': '',
		'imageId': '70050247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050245&x=4313',
		'title': '',
		'imageId': '70050245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050263&x=4313',
		'title': '',
		'imageId': '70050263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050262&x=4313',
		'title': '',
		'imageId': '70050262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050249&x=4313',
		'title': '',
		'imageId': '70050249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050253&x=4313',
		'title': '',
		'imageId': '70050253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050258&x=4313',
		'title': '',
		'imageId': '70050258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050261&x=4313',
		'title': '',
		'imageId': '70050261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050260&x=4313',
		'title': '',
		'imageId': '70050260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050255&x=4313',
		'title': '',
		'imageId': '70050255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050250&x=4313',
		'title': '',
		'imageId': '70050250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050259&x=4313',
		'title': '',
		'imageId': '70050259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050256&x=4313',
		'title': '',
		'imageId': '70050256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050252&x=4313',
		'title': '',
		'imageId': '70050252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991936&docid=70050248&x=4313',
		'title': '',
		'imageId': '70050248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991936';

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