var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569531&x=5559',
		'title': '',
		'imageId': '69569531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569548&x=5559',
		'title': '',
		'imageId': '69569548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569539&x=5559',
		'title': '',
		'imageId': '69569539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569536&x=5559',
		'title': '',
		'imageId': '69569536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569543&x=5559',
		'title': '',
		'imageId': '69569543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569530&x=5559',
		'title': '',
		'imageId': '69569530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569541&x=5559',
		'title': '',
		'imageId': '69569541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569546&x=5559',
		'title': '',
		'imageId': '69569546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569533&x=5559',
		'title': '',
		'imageId': '69569533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569544&x=5559',
		'title': '',
		'imageId': '69569544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569545&x=5559',
		'title': '',
		'imageId': '69569545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569534&x=5559',
		'title': '',
		'imageId': '69569534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569532&x=5559',
		'title': '',
		'imageId': '69569532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569542&x=5559',
		'title': '',
		'imageId': '69569542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569547&x=5559',
		'title': '',
		'imageId': '69569547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=69569537&x=5559',
		'title': '',
		'imageId': '69569537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=59270515&x=5559',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986759&docid=59270516&x=5559',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986759';

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